FQM1-TER01 Omron, FQM1-TER01 Datasheet - Page 412

no-image

FQM1-TER01

Manufacturer Part Number
FQM1-TER01
Description
5M 4COND 22AWG TPE ST MALE M12
Manufacturer
Omron
Datasheet

Specifications of FQM1-TER01

Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
FQM1TER01
Summary of the Condition Flags
The following table summarizes the functions of the Condition Flags, although the functions of these flags will
vary slightly from instruction to instruction. Refer to the description of the instruction for complete details on the
operation of the Condition Flags for a particular instruction.
Using the Condition Flags
The Condition Flags are shared by all of the instructions, so their status may change often in a single cycle. Be
sure to read the Condition Flags immediately after the execution of instruction, preferably in a branch from the
same input condition.
Note
I/O Memory
Error Flag
Access Error Flag
Carry Flag
Greater Than Flag P_GT
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
Name
(1) Since the Condition Flags are shared by all of the instructions, program operation can be changed
(2) The Condition Flags are cleared when the program switches tasks, so the status of a Condition Flag
from its expected course by interruption of a single task. Be sure to consider the effects of Condition
Flags when writing the program. Refer to Condition Flags on page 340 for details.
cannot be passed to another task.
P_LT
CX-Programmer
P_ER
P_AER
P_CY
P_EQ
P_N
P_OF
P_UF
P_GE
P_NE
P_LE
P_On
P_Off
Condition Flag
Example: =
symbol
The result from instruction A is
reflected in the Equals Flag.
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.
Turned ON when an Illegal Access Error occurs. The Illegal Access Error indi-
cates that an instruction attempted to access an area of memory that should not
be accessed.
Turned ON when there is a carry in the result of an arithmetic operation 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 Math instructions.
Turned ON when the first operand of a Comparison Instruction is greater than the
second or a value exceeds a specified range.
Turned ON when the two operands of a Comparison Instruction are equal or the
result of a calculation is 0.
Turned ON when the first operand of a Comparison Instruction is less than the
second or a value is below a specified range.
Turned ON when the most significant bit (sign bit) of a result is ON.
Turned ON when the result of calculation overflows the capacity of the result
word(s).
Turned ON when the result of calculation underflows the capacity of the result
word(s).
Turned ON when the first operand of a Comparison Instruction is greater than or
equal to the second.
Turned ON when the two operands of a Comparison Instruction are not equal.
Turned ON when the first operand of a Comparison Instruction is less than or
equal to the second.
Always ON. (Always 1.)
Always OFF. (Always 0.)
Instruction A
Instruction B
Instruction
LD
Instruction A
AND
Instruction B
Function
Operand
=
Appendix B
385