website
https://plcblog.in/
Condition Flags
The Condition Flags include the Error Flag, Carry Flag, and other flags that indicate the results of
In earlier PLCs, these flags were in
the Auxiliary Area.
The Condition Flags are specified with global symbols, such as P_CY and P_ER, rather than
addresses. These flags cannot be written directly from instructions or CX-Programmer.
All Condition Flags are cleared when the program switches tasks, so the status of the Error Flag,Access Error Flag, and other flags are maintained only in the task in which the error occurred.
The Condition Flags cannot be force-set and force-reset.
Error Flag
Access Error Flag
Carry Flag
Greater ThanFlag
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