beautypg.com

Rockwell Automation 2711E-ND1 PanelBuilder 1400E Reference Manual User Manual

Page 147

background image

142

Scrolling Lists

Publication 2711E-820 – January 1998

Create the Auto Mode Simulation Rungs

Rungs 2:11 through 2:14 simulate a sequential process. This is for
example purposes only.

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.

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”.

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.

Rung 2:14 includes the timer that increments the simulation
sequencer each second.