Delta DVP-ES2 User Manual
Page 214
D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g
3 - 9 8
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
n Y27~Y20
→ carry
o Y37~Y30
→ Y27~Y20
p X27~X20
→ Y37~Y30 completed
X0
WSFRP
K1X20
K4
K2
K1Y20
When using Kn device, the specified Kn value
(digit) must be the same.
X27
X26
X25
X24
Y37
Y36
Y35
Y34
Y33
Y32
Y31
Y30
Y27
Y26
Y25
Y24
Y23
Y22
Y21
Y20
1
2
3
2 digits (8 devices)in a group
shift to the right
Carry
X23
X22
X21
X20