beautypg.com

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

Page 275

background image

Sequencer Instructions

Chapter 15

15Ć12

An example rung containing the Sequence Input instruction is shown
in Figure 15.10. The following parameters have been entered into the
instruction:

Counter Address – 0055
Current Step – 006
Sequencer Length – 014
Words per Step – 4
File – 0430-0445
Mask – 0214-0217
Input Words – 0110, 0112, 0114, 0115

Figure 15.10

SEQUENCER INPUT Example Rung

SEQUENCER INPUT

COUNTER ADDR: 0055
CURRENT STEP: 006
SEQ LENGTH: 014
WORDS PER STEP: 4
FILE: 0430- 0517
MASK: 0214- 0217

INPUT WORDS
1: 0110
3: 0114

2: 0112
4: 0115

(ą)

01

356

When the status of all 64 inputs corresponding to the specified input words
(less those inputs that are masked) is equal to the status of all 64 bits of
data in step 006 of the sequencer table, the logic of the instruction is true.
The storage bit 356/01 is then turned on.

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 data
monitor display for the Sequencer Input instruction is similar to that of the
Sequencer Output instructions shown in Figure 15.8.