Omron SYSMAC CS/CJ Series Programming Manual page 76

Table of Contents

Advertisement

Precautions
If the Condition Flag is connected directly to the left bus bar, instruction B will
be executed based on the execution 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 task switches. Therefore execution results in the
preceding task will not be reflected later tasks. Since conditions flags are
shared by all instructions, make absolutely sure that they do not interfere with
each other within a single ladder-diagram program. The following is an exam-
ple.
Using Execution Results in N.C. and N.C. Inputs
The Condition Flags will pick up instruction B execution results as shown in
the example below even though the N.C. and N.O. input bits are executed
from the same output branch.
Incorrect
Use
Make sure each of the results is picked up once by an OUTPUT instruction to
ensure that execution results for instruction B will be not be picked up.
Correct
Use
Instruction A
Reflects instruction A execution
results.
Condition Flag
Example: =
Instruction B
Reflects instruction B execution
results.
Condition Flag
Example: =
Instruction A
Reflects instruction A
execution results.
Condition Flag
Example: =
Reflects instruction A
execution results.
Condition Flag
Example: =
Instruction B
Section 2-2
55

Advertisement

Table of Contents
loading

Table of Contents