10 Applied Instructions (Rotation and Shift Operation)
10.7 WSFR / Word Shift Right
215
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied Instructions
(Program Flow)
8
Applied Instructions
(Move and
Compare)
9
Applied Instructions
(Arithmetic and
Logical Operation)
10
Applied Instructions
(Rotation and
Shift Operation)
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 Y001Y000
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/FBD]
[ ST ]
WSFR(X000, K1X000, K4, K2, K1Y000);