Concatenate String: +$(656) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Text String Processing Instructions
Description
Flags
Precautions
Example

3-33-3 CONCATENATE STRING: +$(656)

Purpose
Ladder Symbol
Area
Index Registers
Indirect addressing
using Index Registers
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.
Name
Error Flag
ER
Equals Flag
=
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.
In this example, MOV$(664) is used to transfer the text string ABCDEF.
Links one text string to another text string.
+$(656)
S1
S2
D
S
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Label
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.
ON if 0000 (hex) is transferred to D.
OFF in all other cases.
S:
S1: Text string 1
S2: Text string 2
D: First destination word
Section 3-33
D
Operation
D:
0
1223

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents