EasyManuals Logo
Home>Omron>Computer Hardware>SYSMAC CP2E-E D Series

Omron SYSMAC CP2E-E D Series User Manual

Omron SYSMAC CP2E-E D Series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #105 background imageLoading...
Page #105 background image
5-25
5 I/O Memory
CP2E CPU Unit Software User’s Manual(W614)
5-11 Condition Flags
5
5-1-3 I/O Memory Areas
5-11 Condition Flags
These flags include the flags that indicate the results of instruction execution, as well as the Always ON
and Always OFF Flags. These bits are specified with symbols rather than addresses.
The CX-Programmer treats condition flags as system-defined symbols (global symbols) beginning with P_.
The Condition Flags are read-only; they cannot be written from instructions or from the CX-Program-
mer.
The Condition Flags cannot be force-set and force-reset.
z Types of Condition Flags
Refer to 4-6 Ladder Programming Precautions for details.
Overview
Notation
Details
Name
Name in CX-
Programmer
Function
Always ON Flag P_On Always ON.
Always OFF Flag P_Off Always OFF.
Error Flag P_ER Turned ON when the operand data in an instruction is incorrect (an
instruction processing error) to indicate that an instruction ended
because of an error.
When the PLC Setup is set to stop operation for an instruction error
(Instruction Error Operation), program execution will be stopped and
the Instruction Processing Error Flag (A295.08) will be turned ON
when the Error Flag is turned ON.
Access Error Flag P_AER Turned ON when an Illegal Access Error occurs. The Illegal Access
Error indicates that an instruction attempted to access an area of
memory that should not be accessed.
When the PLC Setup is set to stop operation for an instruction error
(Instruction Error Operation), program execution will be stopped and
the Instruction Processing Error Flag (A4295.10) will be turned ON
when the Access Error Flag is turned ON.
Carry Flag P_CY Turned ON when there is a carry in the result of an arithmetic opera-
tion or a 1 is shifted to the Carry Flag by a Data Shift instruction.
The Carry Flag is part of the result of some Data Shift and Symbol
Math instructions.
Greater Than Flag P_GT Turned ON when the first operand of a Comparison Instruction is
greater than the second or a value exceeds a specified range.
Equals Flag P_EQ Turned ON when the two operands of a Comparison Instruction are
equal or the result of a calculation is 0.
Condition flag name: ER
P_ ER
I/O memory area designator:
P_ (indicates a system symbol name)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP2E-E D Series and is the answer not in the manual?

Omron SYSMAC CP2E-E D Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP2E-E D Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals