GP-PRO/PBⅢ C-Package |
GP-Pro EX |
Remark |
Category |
Instruction |
Instruction Name |
Category |
Instruction |
Instruction Name |
Discrete Instructions |
NO |
Normally
Open
Contact |
Basic Instructions |
Bit
Basic |
NO |
Normally
Open |
--- |
NC |
Normally
Closed
Contact |
NC |
Normally
Closed |
--- |
OUT/M |
Output
Coil/
Retention
Coil |
OUT |
Out |
Retention Coil is convert to Output Coil as well. |
NEG/NM |
Negated
Coil/
Retention Negated
Coil |
OUTN |
Negative
Out |
Retention Negated Coil is converted to Negative Output Coil as well. |
SET/SM |
Set
Coil/
Retention
Set Coil
|
SET |
Set |
Retention Set Coil is converted to Set Coil as well. |
RST/RM |
Reset Coil/ Retention
Reset Coil |
RST |
Reset |
Retention Reset Coil is converted to Reset Coil as well. |
PT |
Positive Transition |
Pulse
Basic |
PT |
Positive Transition |
--- |
NT |
Negative Transition |
NT |
Negative Transition |
--- |
Bitwise Operation Instructions |
AND |
Bitwise
AND |
Operation Instructions |
Logical Operation |
AND |
Logical
AND |
The instruction may not be converted with no change depending on the settings. → Details |
OR |
Bitwise
OR |
OR |
Logical
OR |
The instruction may not be converted with no change depending on the settings. → Details |
XOR |
Bitwise
XOR |
XOR |
Logical
XOR |
The instruction may not be converted with no change depending on the settings. → Details |
NOT |
Bitwise
NOT |
NOT |
Logical
NOT |
The instruction may not be converted with no change depending on the settings. → Details |
Movement Instructions |
MOV |
Transfer |
Transfer Operation |
MOV |
Move
(Copy) |
The instruction may not be converted with no change depending on the settings. → Details |
BMOV |
Block
Transfer |
BLMV |
Block
Move
(Block
Copy) |
The instruction may not be converted with no change depending on the settings. → Details |
FMOV |
Fill
Transfer |
FLMV |
Fill
Move |
The instruction may not be converted with no change depending on the settings. → Details |
SUM |
Sum
Total |
Function Instructions |
Calculate Function |
SUM |
Sum |
The instruction may not be converted with no change depending on the settings. → Details |
AVE |
Average |
AVE |
Average |
The instruction may not be converted with no change depending on the settings. → Details |
BCNT |
Bit
Count |
BCNT |
Bit
Count |
The instruction may not be converted with no change depending on the settings. → Details |
Shift Instructions |
ROL |
Rotate
Left |
Operation Instructions |
Rotation |
ROL |
Rotate
Left |
The instruction may not be converted with no change depending on the settings. → Details |
ROR |
Rotate
Right |
ROR |
Rotate
Right |
The instruction may not be converted with no change depending on the settings. → Details |
SHL |
Shift
Left |
Shift |
SHL |
Shift
Left |
The instruction may not be converted with no change depending on the settings. → Details |
SHR |
Shift
Right |
SHR |
Shift
Right |
The instruction may not be converted with no change depending on the settings. → Details |
RCL |
Rotate
Left
with Carry |
Rotation |
RCL |
Rotate
Left with
Carry
Over |
The instruction may not be converted with no change depending on the settings. → Details |
RCR |
Rotate
Right
with Carry |
RCR |
Rotate
Right with
Carry
Over |
The instruction may not be converted with no change depending on the settings. → Details |
SAL |
Arithmetic
Shift Left |
Shift |
SAL |
Arithmetic
Shift Left |
The instruction may not be converted with no change depending on the settings. → Details |
SAR |
Arithmetic
Shift Right |
SAR |
Arithmetic
Shift Right |
The instruction may not be converted with no change depending on the settings. → Details |
Math Instructions |
ADD |
Add |
Operation Instructions |
Arithmetic Operation |
ADD |
Add |
The instruction may not be converted with no change depending on the settings. → Details |
SUB |
Subtract |
SUB |
Subtract |
The instruction may not be converted with no change depending on the settings. → Details |
MUL |
Multiply |
MUL |
Multipli-cation |
The instruction may not be converted with no change depending on the settings. → Details |
DIV |
Divide |
DIV |
Division |
The instruction may not be converted with no change depending on the settings. → Details |
MOD |
Modulus |
MOD |
Modulation |
The instruction may not be converted with no change depending on the settings. → Details |
INC |
Increment |
INC |
Increment |
--- |
DEC |
Decrement |
DEC |
Decrement |
--- |
SQRT |
Square
Root |
Function Instructions |
Calculate Function |
SQRT |
Square
Root |
The instruction may not be converted with no change depending on the settings. → Details |
Comparison Instructions |
EQ |
Compare
:(=) |
Comparison Instructions |
Arithmetic |
EQ |
Equal
(=) |
The instruction may not be converted with no change depending on the settings. → Details |
GT |
Compare
:(>) |
GT |
Greater Than
(>) |
The instruction may not be converted with no change depending on the settings. → Details |
LT |
Compare
:(<) |
LT |
Less Than
(<) |
The instruction may not be converted with no change depending on the settings. → Details |
GE |
Compare
:
(>=) |
GE |
Greater
Than or
Equal To
(>=) |
The instruction may not be converted with no change depending on the settings. → Details |
LE |
Compare
:(<=) |
LE |
Less
Than or
Equal To
(<=) |
The instruction may not be converted with no change depending on the settings. → Details |
NE |
Compare
:(<>) |
NE |
Not Equal
(<>) |
The instruction may not be converted with no change depending on the settings. → Details |
Timer
&Counter Instructions |
TON |
Timer ON
Delay |
Timer Instructions |
Timer |
TON |
On Delay
Timer |
--- |
TOF |
Timer OFF
Delay |
TOF |
Off Delay
Timer |
--- |
TP |
Timer
Pulse |
TP |
Pulse
Timer |
--- |
CTU |
Up
Counter |
Counter Instructions |
Counter |
CTU |
Up
Counter |
--- |
CTD |
Down
Counter |
CTD |
Down
Counter |
--- |
CTUD |
Up/Down Counter |
CTUD |
Up/Down Counter |
--- |
Convert Instructions |
BCD |
Convert
BCD |
Convert Instructions |
Data
Convert |
BCD |
BCD
Convert |
The instruction may not be converted with no change depending on the settings. → Details |
BIN |
Convert
BIN |
BIN |
BIN
Convert |
The instruction may not be converted with no change depending on the settings. → Details |
ENCO |
Encode |
ENCO |
Encord |
The instruction may not be converted with no change depending on the settings. → Details |
DECO |
Decord |
DECO |
Decord |
The instruction may not be converted with no change depending on the settings. → Details |
RAD |
Radian Conversion (Degree → Rarian) |
RAD |
Convert
to
Radian |
The instruction may not be converted with no change depending on the settings. → Details |
DEG |
Degree Conversion (Radian → Degree) |
DEG |
Degree
Convert |
The instruction may not be converted with no change depending on the settings. → Details |
SCL |
Convert
Scale |
SCL |
Scale |
--- |
Program Control Instructions |
JMP |
Jump |
Basic Instructions |
Program Control |
JMP |
Jump |
The specified label name of JMP instruction is converted to the fixed label name (LABEL-***). |
JSR |
Jump
Subroutine |
JSR |
Jump to Subroutine |
The specified subroutine name of JSR instruction is converted to the fixed subroutine name (SUB-***). The subroutine is converted on the "SUB-***" screen, not on the "MAIN" screen. |
RET |
Return Subroutine |
RET |
Return |
--- |
FOR/NEXT |
Repeat |
FOR/NEXT |
For/Next |
--- |
Special Instructions |
PID |
PID
Calculation |
Function Instructions |
Calculate Function |
PID |
PID |
1. The control block variable allocated on PID instruction is converted to PID variable after conversion.
2. In case that the integer array allocated on PID instruction is used on another instruction, PID variable is allocated without any changes after conversion. |
Function Control Instructions |
SIN |
Sine |
Trigono-metric Function |
SIN |
Sine |
The instruction may not be converted with no change depending on the settings. → Details |
COS |
Cosine |
COS |
Cosine |
The instruction may not be converted with no change depending on the settings. → Details |
TAN |
Tangent |
TAN |
Tangent |
The instruction may not be converted with no change depending on the settings. → Details |
ASIN |
Arc
Sine |
ASIN |
Arc
Sine |
The instruction may not be converted with no change depending on the settings. → Details |
ACOS |
Arc
Cosine |
ACOS |
Arc
Cosine |
The instruction may not be converted with no change depending on the settings. → Details |
ATAN |
Arc
Tangent |
ATAN |
Arc
Tangent |
The instruction may not be converted with no change depending on the settings. → Details |
COT |
Cotangent |
COT |
Cotangent |
The instruction may not be converted with no change depending on the settings. → Details |
EXP |
Exponent |
EXP |
Exponential |
The instruction may not be converted with no change depending on the settings. → Details |
LN |
Natural Logarithm |
LN |
Logarithm |
The instruction may not be converted with no change depending on the settings. → Details |
 |
 |
 |
 |
 |
 |
 |
 |