622
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
26.3 FNC202 – $+ / Link Character Strings
26.3 FNC202 – $+ / Link Character Strings
Outline
This instruction links a character string to another character string.
→ For handling of character strings, refer to Section 5.3.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation ($+ and $+P)
The character string data stored in and later is linked to the end of the character string data stored in and
later, and the linked data is stored to devices starting from .
A character string stored in or or later indicates the data from the specified device to the first "00H" in
units of byte.
• In linking, “00H” indicating the end of a character string specified in is ignored, and a character string
specified in is linked to the last character specified in .
When a character string is linked, “00H” is automatically added at the end.
- When the number of characters after linking is odd, “00H” is stored in the high-order byte of the device storing
the last character.
- When the number of characters after linking is even, “0000H” is stored in the device after the last character.
Operand Type Description Data Type
Head device number storing the link source data (character string) or directly specified
character string
Character string
Head device number storing the link data (character string) or directly specified character
string
Head device number storing the linked data (character string)
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
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
P
FNC 202
$+
Mnemonic Operation Condition
16-bit Instruction
7 steps
$+
$+P
Mnemonic Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
⎯
⎯
S
1
S
2
D
S
1
S
2
D
S
2
S
1
D
S
1
S
2
FNC202
$+
S
1
S
2
b15---b8
S
1
+1
S
1
S
1
+2
46H(F) 48H(H)
2DH(-) 41H(A)
+
b15---b8
+1
+2
35H(5) 31H(1)
39H(9) 33H(3)
00H
S
2
S
2
S
2
41H(A)
b15---b8
+1
+2
35H(5) 31H(1)
39H(9) 33H(3)
00H
41H(A)
46H(F) 48H(H)
2DH(-) 41H(A)
D
D
D
+3
+4
D
D
S
1
+1
S
1
+1
+2
S
2
S
2
S
2
Command
input
“00H” is automatically
stored.
D
b7----b0
b7----b0 b7---b0
00H
S
1
S
2
S
1