Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual
Page 213

Programming Techniques
Chapter 18
18-5
A synopsis of the operation’s cycle is:
Rung 1:
When the conditions are true the timer starts.
Rung 2:
When AC=PR (accumulated value equals preset value) of
the timer, counter 031 increments.
Rung 3:
When AC=PR of counter 031, counter 032 increments.
Rung 4:
When AC=PR of counter 031, 031/15 resets counter 031’s
accumulated value.
Rung 5:
When AC=PR of counter 032, 032/15 resets counter 032’s
accumulated value.
Do not use the following examples to program online production
equipment. These examples are for demonstration purposes only.
Application One
This application illustrates the conversion of temperature from degrees
Celsius to degrees Fahrenheit (Figure 18.6).
Figure 18.6
Converting Temperature Values
100
200
203
X
900
009
201
G
G
202
X
000
900
203
206
:
005
204
G
G
205
:
180. 000
180
205
210
+
032
207
G
G
212
212
210
033
TON
190
211
<
G
1.0
PR 003
AC 000
15
033
011
15
17
033
034
CTU
PR 999
AC 000
212
210
011
L
212
220
=
G
16
14
110
011
16
U
Temperature Conversions