beautypg.com

Rockwell Automation 1772-LP3 PLC - 2/30 Programmable Controller Programming and Operations Manual User Manual

Page 271

background image

Sequencer Instructions

Chapter 15

15Ć8

Figure 15.6

SEQUENCER OUTPUT Example Rung

SEQUENCER OUTPUT

COUNTER ADDR: 054
CURRENT STEP: 007
SEQ LENGTH: 009
WORDS PER STEP: 2
FILE: 600- 621
MASK: 211- 212

054

(EN)

17

054

(DN)

15

OUTPUT WORDS
1: 011
3:

2: 013
4:

|ą|

14

114

When switch 114/14 closes, the Sequencer Output instruction increments
to step 008 and controls the 32 outputs corresponding to the specified
output words (less those output that are masked). The control of the output
terminals will be in accordance with the data stored in step 008 of the
sequencer table and mask conditions as shown in Figure 15.7.

Figure 15.7

Control of Sequencer Outputs

0 1 1 0 0 1 0 1 1 0 0 1 0 1 1 0 1 1 1 0 1 1 0 0 1 0 0 1 1 0 1 0

1 1 1

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0

0 1 1 0 0 1 0 1 1 0 0 1 0 1 1 0 1 1 1 0 1 1 0 0 1 0

NOTE

17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00 17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00

Bit Numbers
Sequencer Table, Step 008
Mask Words
Mask Conditions
Output Status
Output Modules

1

211 212

011ąSlot 1 011ąSlot 0 013ąSlot 1 013ąSlot 0

NOTE: Masking excludes these outputs from the sequencer operation. They can be

controlled by other instructions in user program.

The procedure for using the data monitor mode to monitor, load or edit file
data is presented in Chapter 12. It may be necessary to use the data monitor
mode to set the mask word bits in order for the instruction to operate. It
may also be necessary to load data into the sequencer table.

The binary data monitor display for a Sequencer Output instruction with 9
steps and 2 words per step is shown in Figure 15.8. Differences between