1011
Text String Processing Instructions Section 3-31
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).
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-31-3 CONCATENATE STRING: +$(656)
Purpose Links one text string to another text string.
Ladder Symbol
Variations
Applicable Program Areas
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 (CP1H only).
OFF in all other cases.
Equals Flag = ON if 0000 (hex) is transferred to D.
OFF in all other cases.
S: D0
D1
D2
D3
D: D100
D101
D102
D103
D0
D100
+$(656)
S1
S2
D
S1: Text string 1
S2: Text string 2
D: First destination word
Variations Executed Each Cycle for ON Condition +$(656)
Executed Once for Upward Differentiation @+$(656)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK