EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1246
Text String Processing Instructions Section 3-33
Description CLR$(666) clears with NUL (00 hex) the entire text string from the first word
designated by S until the NUL code (00 hex). The maximum number of char-
acters that can be cleared is 4,096. If there is no NUL before the 4,096 char-
acter, only 4,096 characters will be cleared.
Note CLR$(666) can be processed in the background. Refer to the SYSMAC CS/
CJ/NSJ Series PLC Programming Manual (W394) for details.
Flags
Example In this example, CLR$(666) is used to clear text string ABCDE.
3-33-13INSERT INTO STRING: INS$(657)
Purpose Deletes a designated text string from the middle of a text string.
Ladder Symbol
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants ---
Data Registers ---
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
NUL
S
S
AB
DC
Name Label Operation
Error Flag ER 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.
S: S:
S
Text string ABCDE

Table of Contents

Related product manuals