Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 1289

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

Advertisement

Text String Processing Instructions
Flags
Precautions
Example
Name
Label
Error Flag
ER
Equals Flag
=
The maximum number of characters for S1 and S2 is 4,095 (0FFF hex). If
there are more than that (i.e., if there is no NUL before the 4,096th character),
an error will be generated and the Error Flag will turn ON.
The range for the beginning position designated by S3 is 0 to 4,095. If the set-
ting is outside of this range, an error will be generated and the Error Flag will
turn ON.
If 0000 (hex) is output to D, the Equals Flag will turn ON.
Do not overlap the destination words designated by D with the text string data
designated by S2. If these overlap, the operation will not be executed properly.
In this example, INS$(657) is used to insert two characters.
Text string ABCDEFGHI
S1:
Operation
ON if more than 4,095 characters are designated by S1 or
S2.
ON if S3 exceeds 4,095 (0FFF hex).
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 output to D.
OFF in all other cases.
Text string JK
S2: D00200
S3: D00400
Section 3-33
Text string ABCDEFJKGHI
D:
1249

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents