
Ladder Logic Elements and Instructions
Standard Ladder Logic Elements, Continued
Standard Ladder
Logic
Instructions,
Continued
Symbol | Meaning | Nodes Consumed |
|
|
|
DX Matrix Instructions |
| |
|
|
|
AND | Logically ANDs two matrices | 3 |
|
|
|
OR | Does logical inclusive OR of two matrices | 3 |
|
|
|
XOR | Does logical exclusive OR of two matrices | 3 |
|
|
|
COMP | Performs logical complement of values in a matrix | 3 |
|
|
|
CMPR | Logically compares values in two matrices | 3 |
|
|
|
MBIT | Logical bit modify | 3 |
|
|
|
SENS | Logical bit sense | 3 |
|
|
|
BROT | Logical bit rotate | 3 |
|
|
|
AD16 | Signed/unsigned | 3 |
|
|
|
SU16 | Signed/unsigned | 3 |
|
|
|
TEST | Compares the magnitudes of the values in the top and | 3 |
| middle nodes |
|
|
|
|
MU16 | Signed/unsigned | 3 |
|
|
|
DV16 | Signed/unsigned | 3 |
|
|
|
ITOF | Signed/unsigned | 3 |
|
|
|
FTOI | Floating | 3 |
|
|
|
EMTH | Performs 38 math operations, including floating point | 3 |
| math operations and extra integer math operations |
|
| such as square root |
|
|
|
|
Ladder Logic Subroutine Instructions |
| |
|
|
|
JSR | Jumps from scheduled logic scan to a ladder logic | 2 |
| subroutine |
|
|
|
|
LAB | Labels the entry point of a ladder logic subroutine | 1 |
|
|
|
RET | Returns from the subroutine to scheduled logic | 1 |
|
|
|
Continued on next page
408 | 870 USE 101 10 V.2 |