For details on the instructions, refer to the relevant instructions.Chapter 31 Logic Instruction List
Icons for each instruction are shown below.
Category |
Feature |
Instruction |
Icon |
---|---|---|---|
Basic Instructions (Bit Basic) |
Normally Open |
NO |
|
Normally Closed |
NC |
| |
Out |
OUT |
| |
Negative Out |
OUTN |
| |
Set |
SET |
| |
Reset |
RST |
| |
Basic Instructions (Pulse Basic) |
Positive Transition |
PT |
|
Negative Transition |
NT |
| |
Basic Instructions (Program Control) |
Jump |
JMP |
|
Jump to Subroutine |
JSR |
| |
Return |
RET |
| |
Repeated Process (Start) |
FOR |
| |
Repeated Process (End) |
NEXT |
| |
Inverse |
INV |
| |
Exit |
EXIT |
| |
Power Bar Control |
PBC |
| |
Power Bar Reset |
PBR |
| |
Logic Wait Instruction |
LWA |
| |
Operation Instructions (Arithmetic) |
Add |
ADD |
|
Subtract |
SUB |
| |
Multiplication |
MUL |
| |
Division |
DIV |
| |
Modulation |
MOD |
| |
Increment |
INC |
| |
Decrement |
DEC |
| |
Operation Instructions (Time Operation) |
Time Addition |
JADD |
|
Time Subtraction |
JSUB |
| |
Operation Instructions (Logical) |
Logical AND |
AND |
|
Logical OR |
OR |
| |
Logical XOR |
XOR |
| |
Logical NOT |
NOT |
| |
Operation Instructions (Transfer) |
Move (Copy) |
MOV |
|
Block Move (Block Copy) |
BLMV |
| |
Full Move (Multiple Copy) |
FLMV |
| |
Exchange |
XCH |
| |
Operation Instruction (Shift) |
Shift Left |
SHL |
|
Shift Right |
SHR |
| |
Arithmetic Shift Left |
SAL |
| |
Arithmetic Shift Right |
SAR |
| |
Operation Instructions (Rotation) |
Rotate Left |
ROL |
|
Rotate Right |
ROR |
| |
Rotate Left with Carry Over |
RCL |
| |
Rotate Right with Carry Over |
RCR |
| |
Compare (Arithmetic Compare) |
Compare (=) |
EQ |
|
Compare (>) |
GT |
| |
Compare (>=) |
GE |
| |
Compare (<) |
LT |
| |
Compare (<=) |
LE |
| |
Compare (<>) |
NE |
| |
Compare Instructions (Time Compare) |
Time Compare (=) |
JEQ |
|
Time Compare (>) |
JGT |
| |
Time Compare (>=) |
JGE |
| |
Time Compare (<) |
JLT |
| |
Time Compare (<=) |
JLE |
| |
Time Compare (<>) |
JNE |
| |
Compare Instructions (Date Compare) |
Date Compare (=) |
NEQ |
|
Date Compare (>) |
NGT |
| |
Date Compare (>=) |
NGE |
| |
Date Compare (<) |
NLT |
| |
Date Compare (<=) |
NLE |
| |
Date Compare(<>) |
NNE |
| |
Timer Instructions |
On Delay Timer |
TON |
|
Off Delay Timer |
TOF |
| |
Pulse Timer |
TP |
| |
Accumulate On Delay Timer |
TONA |
| |
Accumulate Off Delay Timer |
TOFA |
| |
Counter Instructions |
Up Counter |
CTU |
|
Down Counter |
CTD |
| |
Up/Down Counter |
CTUD |
| |
Convert Instructions (Type Convert) |
BCD Convert |
BCD |
|
BIN Convert |
BIN |
| |
Encode |
ENCO |
| |
Decode |
DECO |
| |
Convert to Radian |
RAD |
| |
Convert Degree |
DEG |
| |
Scale |
SCL |
| |
Convert Instructions (Type Convert) |
Convert Integer to Float |
I2F |
|
Convert Integer to Real |
I2R |
| |
Convert Float to Integer |
F2I |
| |
Convert Float to Real |
F2R |
| |
Convert Real to Integer |
R2I |
| |
Convert Real to Float |
R2F |
| |
Convert Time to Seconds |
H2S |
| |
Convert Seconds to Time |
S2H |
| |
Function Instructions (Calculate Function) |
Sum |
SUM |
|
Average |
AVE |
| |
Square Root |
SQRT |
| |
Bit Count |
BCNT |
| |
PID |
PID |
| |
Function Instructions (Trigonometric Function) |
Sine |
SIN |
|
Cosine |
COS |
| |
Tangent |
TAN |
| |
Arc Sine |
ASIN |
| |
Arc Cosine |
ACOS |
| |
Arc Tangent |
ATAN |
| |
Cotangent |
COT |
| |
Function Instructions (Trigonometric Function) |
Exponential |
EXP |
|
Logarithm |
LN |
| |
Log Base 10 |
LG10 |
| |
R/W Instructions (Time Read/Write) |
Read Time |
JRD |
|
Set Time |
JSET |
| |
R/W Instructions (Date Read/Write) |
Read Date |
NRD |
|
Set Date |
NSET |
|