226
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
9.4 FNC 13 – SMOV / Shift Move
9.4
FNC 13 – SMOV / Shift Move
Outline
This instruction distributes and composes data in units of digit (4 bits).
1. Instruction format
2. Set data
3. Applicable devices
Operand Type
Description
Data Type
Word device number storing data whose digits will be moved
16-bit binary
m1
Head digit position to be moved
16-bit binary
m2
Number of digits to be moved
16-bit binary
Word device number storing data whose digits are moved
16-bit binary
n
Head digit position of movement destination
16-bit binary
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS
T
C
D
R U
\G
V
Z Modify K
H
E
"
"
P
3
3
3
3
3 3 3 3
3
3 3
3
m1
3 3
m2
3 3
3
3
3
3 3 3 3
3
3 3
3
n
3 3
P
FNC 13
SMOV
−
−
Mnemonic
Operation Condition
16-bit Instruction
11 steps
SMOV
SMOVP
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
S
D
S
D