5 Function blocks
5.30 SR, shift register
Control Relay easy800 11/11 MN04902001Z-EN www.eaton.com 251
?Example: Shift register DW mode, backward
Figure 183:Shift register SR..: Backwards operation in DW operating mode
a Initial situation:
– SR..EN is not activated, the function block is not active.
– SR..D2 contains the value 8, a 0 is contained in the other register fields.
b Transfer of value:
– SR..EN is activated, the function block is active.
– SR..I2 has the value 10.
– With the backwards pulse from SR..BP the register field SR..D8 shifts the content of all register fields
one place back and accepts the 10 from SR..I2.
c Transfer of value:
– SR..EN is activated, the function block is active.
– SR..I2 has the value 52.
– With the backwards pulse from SR..BP the register field SR..D8 shifts the content of all register fields
one place back and accepts the 52 from SR..I2.
d Reset of the register:
– SR..EN is activated, the function block is active.
– Activating SR..RE clears the content of the register.
Application example
Different workpieces are moved along a production line with several
machining stations. An operator determines the work required for the
individual workpieces, creates a production code for it and writes it into a
shift register.
Shift direction
Coil Control mode
BIT DW
Forwards FP FD I1 Relevant data
inputs
Reverse
BP BD I2
Memory 96 + per 4 Byte/Constant at function block input
Cycle time [μs]
easy800 standard easy800-SWD
BIT
No entry 16
DW
No entry 28