Mitsubishi Electronics FX3G User Manual

Page of 964
252
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
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
S1: This function is supported only in FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 PLCs.
S2: This function is supported only in FX
3U
/FX
3UC
 PLCs.
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
S1
S2
m1
m2
S1
S2
n
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