DVP - ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming

Program Example 2:

1.When X0 is triggered, WSFRP instruction shifts X20~X27 into data stack Y20~Y37 and Y20~Y37 also shift to the right with a group of 4 devices.

2.The figure below illustrates the right shift of the devices in one scan

nY27~Y20 carry

oY37~Y30 Y27~Y20

pX27~X20 Y37~Y30 completed

When using Kn device, the specified Kn value (digit) must be the same.

X0

WSFRP K1X20 K1Y20

K4

K2

 

 

 

 

 

 

 

 

2 digits (8 devices)in a group

X27

X26

X25

X24

X23

X22

X21

X20

shift to the right

 

 

 

 

 

 

 

 

 

 

 

3

Y37 Y36 Y35 Y34 Y33 Y32 Y31 Y30 Y27 Y26 Y25 Y24 Y23 Y22 Y21 Y20

2

Carry

1

3 - 98

Page 214
Image 214
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Wsfrp K1X20 K1Y20