26 Applied Instructions (Character String Control)
26.3 $+ / Link Character Strings
630
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Program examples
In the program example shown below, a character string stored in D10 to D12 (abcde) is linked to the
character string "ABCD", and the result is stored to D100 and later when X000 turns ON.
X000
D11
D12
62H(b) 61H(a)
63H(c)
65H(e)
64H(d
62H(b) 61H(a)
63H(c)64H(d)
41H(A) 65H(e)
42H(B)
44H(D)
43H(C)
00H
00H
+
D10
"ABCD"
D100
"00H" is automatically stored.
$+
EN ENO
d1
s1
s2
D100
D10
"ABCD"
[Structured ladder/FBD]
D104
D101
D102
D103
b15---b8 b7---- b0 b15---b8 b7---- b0