82
4
4 Instructions4.3.1 Contact Comparison
The following table lists the sequential control commands with support for intra-state processing:
Command
State
LD/LDI/LDP/LDF, AND/ANI/
ANDP/ANDF, OR/ORI/ORF, INV, OUT,
SET/RST, and PLS/PLF
ANB/ORB
MPS/MRD/MPP
MC/MCR
Initial and general states Available Available Unavailable
Branching and
merging states
Output
processing
Available Available Unavailable
Transfer
processing
Available Unavailable Unavailable
• The STL instruction cannot be used within interrupt programs and subprograms.
• Though jump instructions are not prohibited within the STL instruction, these instructions are not recommended
because of their complex actions.
4.3 Data Comparison
4.3.1 Contact Comparison
Contact
comparison
LD= LD contact comparison equal to
For details, see “LD#:
Contact status bit operation”
on Page 88
LD> LD contact comparison greater than
LD< LD contact comparison less than
LD<> LD contact comparison not equal to
LD>= LD contact comparison greater than or equal to
LD<= LD contact comparison less than or equal to
AND= AND contact comparison equal to
For details, see “AND☼: Data
comparison” on Page 86
AND> AND contact comparison greater than
AND< AND contact comparison less than
AND<> AND contact comparison not equal to
AND>= AND contact comparison greater than or equal to
AND<= AND contact comparison less than or equal to
OR= OR contact comparison equal to
For details, see “OR☼: Data
comparison” on Page 87
OR> OR contact comparison greater than
OR< OR contact comparison less than
OR<> OR contact comparison not equal to
OR>= OR contact comparison greater than or equal to
OR<= OR contact comparison less than or equal to
LD& LD logical AND operation
Logical operation is
performed bit by bit. 32-bit
(9-step) operation and 16-
bit (5-step) operation are
supported. Two operands are
included in every operation.
The execution result is used
as the contact status.
LD| LD logical OR operation
LD^ LD logical XOR operation
AND& LD logical AND operation
AND| AND logical OR operation
AND^ AND logical XOR operation
OR& OR logical AND operation
OR| OR logical OR operation
OR^ OR logical XOR operation