1224
Text String Processing Instructions
Section 3-33
Description
MOV$(664) transfers the text string data designated by S, just as it is, as text
string data (including the final NUL), to D. The maximum number of characters
that can be designated by S is 4,095 (0FFF hex).
Note
MOV$(664) can be processed in the background. Refer to the
SYSMAC CS/
CJ/NSJ Series PLC Programming Manual
(W394) for details.
Flags
Precautions
If more than 4,095 characters are designated by S, an error will be generated
and the Error Flag will turn ON.
If 0000 (hex) is transferred to D, the Equals Flag will turn ON.
Example
In this example, MOV$(664) is used to transfer the text string ABCDEF.
3-33-3 CONCATENATE STRING: +$(656)
Purpose
Links one text string to another text string.
Ladder Symbol
Index Registers
---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
S
D
Name
Label
Operation
Error Flag
ER
ON if more than 4,095 characters are designated by S.
ON if the Communications Port Enabled Flag for the com-
munications port number specified as the
Com Port num-
ber
for
Background Execution
is OFF when background
processing is specified.
OFF in all other cases.
Equals Flag
=
ON if 0000 (hex) is transferred to D.
OFF in all other cases.
S:
D:
0
+$(656)
S1
S2
D
S1
: Text string 1
S2
: Text string 2
D
: First destination word
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...