EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Page 1148

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
Loading...
3. Instructions
1110
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Hint
String comparison instructions are used to rearrange the order of text strings in order of ASCII. For
example, the ASCII order from lower to higher is the order of the alphabet from A to Z, so text strings
can be arranged in alphabetical order.
Precaution
Place a right-hand instruction after these instructions. The String Comparison Instructions cannot
appear on the right side of the ladder diagram.
These instructions cannot be used on the last rung of a logic block.
Example Programming
In this example, string comparison instructions are used to compare data.
>
<>
---
---
---
000000
000001
000002
000003
000004
>= <>
D100
D200
D100
D200
D100
D200
Address Mnemonic Operand
Text string ABC
Text string ABCText string ABC
Text string ABDC
D100
0.01
0.02
0.00
0.00
0.01
0.02
0.03
0.04
0.04
0.03
D200
D100
D100
D101
D102
D100
D101
D200
D201
D200
D201
D200
D100
D200
D100
D200
D100
D200
D100
D200

Table of Contents

Related product manuals