Omron CJ - INSTRUCTIONS Reference Manual page 1145

Table of Contents

Advertisement

=$ , <>$ , <$ , <=$ , >$ , >=$
Instruction
String Comparison
Mnemonic
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S1
Text string 1
S2
Text string 2
S: Text String 1
15
S1
Text string data: 4,095 characters max. + NUL
to
S1 + maximum 2,047 words
S: Text String 2
15
S2
Text string data: 4,095 characters max. + NUL
to
S2 + maximum 2,047 words
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.
Operand Specifications
Word addresses
Area
CIO
WR
HR
S1, S2
OK
OK
OK
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
=$ , <>$ , <$ ,
---
<=$ , >$ , >=$
LD (Load)
S1
S1: Text string 1
S2
S2: Text string 2
Block program areas
Step program areas
OK
OK
Description
0
to
0
to
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Function
code
String comparison instructions (=$, <>$, <$, <=$,
>$, >=$) compare two text strings from the begin-
670 to 675
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.
AND (Series Connection)
Mnemonic
S1
S1: Text string 1
S2
S2: Text string 2
Subroutines
OK
Data type
UINT
UINT
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
---
---
3. Instructions
Function
OR (Parallel Connection)
Mnemonic
S1
S1: Text string 1
S2
S2: Text string 2
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
Variable
Variable
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
3
TR
bits
---
---
1107

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents