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 #1145 background imageLoading...
Page #1145 background image
1107
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Text String Processing Instructions
3
=$ , <>$ , <$ , <=$ , >$ , >=$
=$ , <>$ , <$ , <=$ , >$ , >=$
Applicable Program Areas
Operands
S: Text String 1
S: Text String 2
Note • The data from S1 to S1 + the maximum 2,047 words and from S2 to S2 + the maximum 2,047 words be in the same
area.
• The data from S1 to S1 + the maximum 2,047 words and from S2 to S2 + the maximum 2,047 words cannot over-
lap.
z Operand Specifications
Instruction Mnemonic Variations
Function
code
Function
String Comparison
=$ , <>$ , <$ ,
<=$ , >$ , >=$
--- 670 to 675
String comparison instructions (=$, <>$, <$, <=$,
>$, >=$) compare two text strings from the begin-
ning, in terms of value of the ASCII codes. If the
result of the comparison is true, an ON execution
condition is created for a LOAD, AND, or OR.
Symbol
LD (Load) AND (Series Connection) OR (Parallel Connection)
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
S1 Text string 1 UINT Variable
S2 Text string 2 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
S1, S2 OK OK OK OK OK OK OK OK OK OK --- --- --- OK --- --- --- ---
Mnemonic
S1
S2
S1: Text string 1
S2: Text string 2
Mnemonic
S1
S2
S1: Text string 1
S2: Text string 2
Mnemonic
S1
S2
S1: Text string 1
S2: Text string 2
15 0
S1
to to
Text string data: 4,095 characters max. + NUL
S1 + maximum 2,047 words
15 0
S2
to to
Text string data: 4,095 characters max. + NUL
S2 + maximum 2,047 words

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