Plc programming considerations appendix a – Rockwell Automation 2711 PANELBUILDER SOFTWARE USER MANUAL User Manual
Page 404

PLC Programming Considerations
Appendix A
A-40
Rung 2:11 sets a variable N30:8 to 1 when an Auto mode restart occurs.
This sets up a station status reset in the next rung.
Figure A.25
The Auto Mode Simulation Rungs (Rung 2:11)
23720
Rung 2:11
R38:0
] [
DN
MOV
MOVE
Source
Dest
1
N30:8
57
EQU
EQUAL
Source A
Source B
R38:0.POS
5
0
Rung 2:12 resets all STATION status indicators to “Stand-By” whose
Station Commands are “Select”.
Figure A.26
The Auto Mode Simulation Rungs (Rung 2:12)
23721
Rung 2:12
2
[ LBL ]
R38:0
] [
MOV
MOVE
Source
Dest
1
N33[N30:8]
1
EQU
EQUAL
Source A
Source B
R38:0.POS
5
0
DN
EQU
EQUAL
Source A
Source B
N34[N30:8]
1
1
ADD
ADD
Source A
Source B
Dest
1
N30:8
57
N30:8
57
LES
LESS THAN
Source A
Source B
N30:8
57
57
2
(JMP)
Rung 2:13 includes the Simulation Sequencer driven by the timer in rung
2:14. Rung 2:13 also sets the currently selected station status to “On”, and
the previous station status to “Complete” as the sequencer increments
through the 57 steps.