Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1265

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Text String Processing Instructions
Description
Flags
Precautions
1226
Area
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
+$(664) connects the text string data designated by S1 to the text string data
designated by S2, and outputs the result to D as text string data (including the
final NUL).
The maximum number of characters that can be designated by S1 and S2 is
4,095 (0FFF hex). If there is no NUL until 4,096 characters, an error will be
generated and the Error Flag will turn ON. Moreover, the result of the linkage
can be no more than 4,095 characters (0FFF hex). If the linkage results in
more characters than that, only the first 4,095 characters (with NUL added as
the 4,096th) will be output to D.
If there is a NUL for both S1 and S2, the two NUL characters (0000 hex) will
be output to D.
+
Name
Label
Error Flag
ER
Equals Flag
=
If more than 4,095 characters are designated by S1 and S2, 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.
Do not overlap the beginning word designated by D with the character data
area for S2. If they overlap, the instruction cannot be executed properly.
S1
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0V to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Operation
ON if more than 4,095 characters are designated by S1
and S2.
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.
Section 3-33
S2
D

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents