EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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
Page #1141 background imageLoading...
Page #1141 background image
1103
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Text String Processing Instructions
3
CLR$
CLR$
Applicable Program Areas
Operands
S: Text String First Word
Note The data from S to S + the maximum 2,047 words must be in the same area.
z Operand Specifications
Flags
Function
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 characters
that can be cleared is 4,096. If there is no NUL before
the 4,096th character, only 4,096 characters will be
cleared
CLR$(666) can be processed in the background. Refer to the SYSMAC CS/CJ/NSJ Series PLC
Programming Manual (W394) or the CJ2 CPU Unit Software Operation Manual (W473) for details.
Instruction Mnemonic Variations
Function
code
Function
CLEAR STRING CLR$ @CLR$ 666 Clears an entire text string with NUL (00 hex).
Symbol
CLR$
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or transition
programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
S Text string first word UINT Variable
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
S OK OK OK OK OK OK OK OK OK OK --- --- --- OK --- --- --- ---
Name Label Operation
Error Flag ER • ON if the Communications Port Enabled Flag for the communications port number specified as the
Com Port number for Background Execution is OFF when background processing is specified.
• OFF in all other cases.
S: Text string first word
CLR$(666)
S
15 0
S
to to
Text string data: 4,095 characters max. + NUL
S + maximum 2,047 words
NUL
S
S
AB
DC

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals