![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681263.webp)
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
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...