136
Condition Flags
Section 4-14
Name
Symbol
Function
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 (A29508) 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 (A29510) 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 the result of a calculation is 0.
Less Than Flag
P_LT
Turned ON when the first operand of a Comparison Instruction is less
than the second or a value is below a specified range.
Negative Flag
P_N
Turned ON when the most significant bit (sign bit) of a result is ON.
Overflow Flag
P_OF
Turned ON when the result of calculation overflows the capacity of the
result word(s).
Underflow Flag
P_UF
Turned ON when the result of calculation underflows the capacity of
the result word(s).
Greater Than or
Equals Flag
P_GE
Turned ON when the first operand of a Comparison Instruction is
greater than or equal to the second.
Not Equal Flag
P_NE
Turned ON when the two operands of a Comparison Instruction are
not equal.
Less Than or
Equals Flag
P_LE
Turned ON when the first operand of a Comparison Instruction is less
than or equal to the second.
Always ON Flag
P_On
Always ON. (Always 1.)
Always OFF Flag
P_Off
Always OFF. (Always 0.)
Содержание CP1L-EL20DR-D
Страница 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Страница 4: ...iv...
Страница 10: ...x...
Страница 22: ...xxii...
Страница 34: ...xxxiv Software Licenses and Copyrights 7...
Страница 178: ...144 Connecting the CX Programmer Section 5 1 Click the Connect button to connect and then connection online is completed...
Страница 192: ...158 Trial Operation and Debugging Section 5 3...
Страница 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Страница 666: ...632 Trouble Shooting Section 11 7...
Страница 696: ...662 Standard Models Appendix A...
Страница 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Страница 836: ...802 PLC Setup Appendix G...
Страница 838: ...804 TCP Status Transitions Appendix H...
Страница 840: ...806 Ethernet Network Parameters Appendix I...
Страница 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Страница 844: ...810 Ethernet Specifications Appendix K...
Страница 851: ...Index 817 work words 118 write protection 447...
Страница 852: ...818 Index...
Страница 854: ...820 Revision History...
Страница 855: ......