The reset input (R) overrides the enable (EN) and always resets the sequencer. When R is
active, the current step number is set to the value passed in via the step number parameter.
If no step number is passed in, step is set to 1. All of the bits in the sequencer are set to 0,
except for the bit pointed to by the current step, which is set to 1.
When Enable is active and Reset is not active, the bit pointed to by the current step
number is cleared. The current step number is incremented or decremented, based on the
direction parameter. Then, the bit pointed to by the new step number is set to 1.
The parameter ST is optional. If it is not used, the Bit Seqencer function operates as
described above, except that no bits are set or cleared. The function just cycles the current
step number through its legal range.
10.1.12.1
Memory Required for a Bit Sequencer
Each bit sequencer uses three words (registers) of %R memory to store the information:
word 1
current step number
word 2
length of sequence (in bits)
word 3
control word
Word 3 (the control word) stores the state of the boolean inputs and outputs of its
associated function block, in the following format:
15
14
13
12
11
10
9
8
6
5
4
3
2
1
0
OK (status output)
7
EN (enable input)
Reserved
136
GFK-1503E
VersaMax PLC User Manual
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......