6 - 3 6 - 3
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
[Operation Errors]
(1) There are no operation errors associated with the =, <>, >, <=, <, or >= instructions.
[Program Example]
(1) The following program compares the data at X0 to XF with the data at D3, and turns Y33 ON if
the data is identical.
[Ladder Mode] [List Mode]
Steps
Instruction
Device
(2) The following program compares BIN value K100 to the data at D3, and establishes continuity
if the data in D3 is something other than 100.
[Ladder Mode] [List Mode]
Steps
Instruction
Device
(3) The following program compares the BIN value 100 with the data in X0 to XF, and establishes
continuity if the D3 data is less than 100.
[Ladder Mode] [List Mode]
Steps
Instruction
Device
(4) The following program compares the data in D0 and D3, and if the data in D0 is equal to or
less than the data in D3, establishes continuity.
[Ladder Mode] [List Mode]
Steps
Instruction
Device
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com