XW2Z-200J-B1 Omron, XW2Z-200J-B1 Datasheet - Page 304

no-image

XW2Z-200J-B1

Manufacturer Part Number
XW2Z-200J-B1
Description
CONNECTOR CABLE 2M
Manufacturer
Omron
Datasheet

Specifications of XW2Z-200J-B1

Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
XW2Z200JB1
Programming Precautions
Condition Flags
Using Condition Flags
Condition flags are shared by all instructions, and will change during a cycle depending on results of executing
individual instructions. Therefore, be sure to use Condition Flags on a branched output with the same input
condition immediately after an instruction to reflect the results of instruction execution. Never connect a Condi-
tion Flag directly to the bus bar because this will cause it to reflect execution results for other instructions.
Example: Using Instruction A Execution Results
The same input condition (a) is used for instructions A and B to execute instruction B based on the execution
results of instruction A. In this case, instruction B will be executed according to the Condition Flag only when
instruction A is executed.
If the Condition Flag is connected directly to the left bus bar, instruction B will be executed based on the execu-
tion results of a previous rung if instruction A is not executed.
Note Condition Flags are used by all instruction within a single program (task) but they are cleared when the
Programming
task switches. Therefore execution results in the preceding task will not be reflected later tasks.
Incorrect Use
Correct Use
Condition Flag
Example: =
a
Condition Flag
Example: =
Preceding rung
Reflects the execution results of
the preceding rung if instruction
A is not executed.
Instruction A
Instruction B
Reflects instruction A
execution results.
Instruction A
Instruction B
Mnemonic
LD
Instruction A
AN D
Instruction B
Instruction Operand
a
=
Appendix A
281