Omron CP1E-E@@D@-@ Computer Hardware User Manual


 
2 Instructions
2-4
CP1E CPU Unit Instructions Reference Manual(W483)
Condition Flags
With the CX-Programmer, the condition flags are registered in advance as global symbols with “P_” in
front of the symbol name.
Symbol Instructions
Some of the C/CV-series PLC instructions have been changed to different instructions with the same
functionality for the CP1E-series PLCs.
Flag CX-Programmer label
Error Flag P_ER
Access Error Flag P_AER
Carry Flag P_CY
Greater Than Flag P_GT
Equals Flag P_EQ
Less Than Flag P_LT
Negative Flag P_N
Overflow Flag P_OF
Underflow Flag P_UF
Greater Than or Equals Flag P_GE
Not Equal Flag P_NE
Less Than or Equals Flag P_LE
Always ON Flag P_On
Always OFF Flag P_Off
Instruction group C/CV Series CP1E Series
Comparison EQU AND=
Data Movement MOVQ MOV
Increment/Decrement INC ++B
INCL ++BL
INCB ++
INBL ++L
DEC --B
DECL --BL
DECB --
DCBL --L
Symbol Math ADB +C
ADBL +CL
ADD +BC
ADDL +BCL
SBB -C
SBBL -CL
SUB -BC
SUBL -BCL
MBS *
MBSL *L
MUL *B
MULL *BL
DBS /
DBSL /L
DIV /B
DIVL /BL
Interrupt Control INT MSKS / CLIDI / EI