FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
26.10 FNC209 – $MOV / Character String Transfer
Outline
This instruction transfers character string data.
1. Instruction format
FNC 209
$MOV
2. Set data
Operand Type
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
D
Explanation of function and operation
1. 16-bit operation ($MOV and $MOVP)
The character string data stored in the device specified by
D
and later.
From the device number specified by
are transferred at one time.
Command
input
FNC209
$MOV
b15
2nd character
S
S
+1
4th character
6th character
S
+2
Even if the device range "
range "
D
to
For example, when a character string stored in D10 to D13 is transferred to D11 to D14, the transfer is executed as
shown below:
Command
input
FNC209
$MOV
640
Mnemonic
16-bit Instruction
P
$MOV
5 steps
$MOVP
Directly specified character string (up to 32 characters) or head device number storing
character string which is handled as the transfer source
Head device number storing transferred character string
Digit Specification
S
S
D
b8 b7
1st character
3rd character
5th character
00H
"n"th character
00H indicates the end of
character string.
S
to
S
D
+n/2" storing the transferred character string data, transfer is executed.
D10
D11
26 Character String Control – FNC200 to FNC209
26.10 FNC209 – $MOV / Character String Transfer
→ For handling of character strings, refer to Section 5.3.
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
S
and later is transferred to the device specified by
to a device after that which stores "00H" in its high-order or low-order byte
b0
b15
D
D
+1
D
+2
+n" storing the transfer source character string data overlaps the device
Mnemonic
32-bit Instruction
⎯
⎯
Con-
Real
Index
stant
Number
V
Z Modify K
H
b8 b7
2nd character
1st character
4th character
3rd character
6th character
5th character
00H
"n"th character
Operation Condition
Data Type
Character string
Others
Charac-
Pointer
ter String
E
" "
P
b0