Condition Flags - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2 Instructions

Condition Flags

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents