Rockwell Automation 1772-LV Mini-PLC - 2/15 Programmable Controller (Series B) Programming and Operations User Manual
Page 120

Programming Applications
Chapter 9
9Ć3
Rung 6: Counter 034 counts the number of times the value falls below 190
0
F.
Therefore, when rung 4 is true the counter increments.
Rung 7: When the temperature equals 212
0
F, latch 11014 enables an alarm or
an annunciator device.
Rung 8: To unlatch the alarm, an operator would press a pushbutton connected
to address 01116 that would shut the alarm off.
Refer to Figure 9.2.
This application is similar to application one, but we are only recording the
converted temperature reading every five seconds. There is an explanation of
each rung:
Figure 9.2
Recording Temperature Values Every 5 Seconds
030
15
TON
030
1.0
Rung 1
PR 005
AC 002
030
15
JSR
02
Rung 2
200
100
X
203
900
G
200
009
G
X
202
000
Rung 3
LBL
203
900
:
206
000
G
204
005
G
:
205
180
Rung 4
205
180
+
210
212
G
207
032
G
Rung 5
RET
Rung 6
Subroutine Area
Rung 1: When rung 1 is true, the timer starts timing.
Rung 2: The JSR instruction jumps to the subroutine area label instruction
when the timer’s accumulated value reaches 5 seconds.
Application Two