7 Applied Instructions
7.4 Rotation and Shift Operation
226
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Program examples
1. Shifting devices with digit specification
3)
2) 1)
X007 X006 X005 X004 X003 X002 X001 X000
Y017 Y016 Y015 Y014 Y013 Y012 Y011Y010 Y007 Y006 Y005 Y004 Y003 Y002 Y001 Y000
Make sure that the number of digits is equivalent.(Kn )
Specify a same digit for devices with digit specification.
WSFR
EN
s
n1
ENO
d
n2
X000
K1X000
K1Y000
K4
K2
[Structured ladder]
[ ST ]
WSFR(X000, K1X000, K4, K2, K1Y000);