6-113
6 Programming
NJ-series CPU Unit Software User’s Manual (W501)
6-6 Instructions
6
6-6-2 Basic Understanding of Instructions
Instruction Options
Some ladder diagram instructions for inputs also detect changes to TRUE or changes to FALSE if
you add an upward arrow or downward arrow to them.
Execution Conditions
The operation of the execution condition for an FB instruction depends on the instruction.
A specific input variable for the execution condition is defined for each instruction.
Examples: Execute specifies a change to TRUE or a change to FALSE in the execution condition.
Enable causes the instruction to be executed each task period according to the current
execution condition.
Function block instructions are unconditionally executed for as long as the POU that called them is
executed.
Instruction Options
Instruction options cannot be specified.
Change to
TRUE ()
The instruction reads input status, makes
comparisons, tests bits, or performs other
types of processing every task period
and outputs the power flow when result
changes from FALSE to TRUE.
The output power flow changes to FALSE
in the next task period (after it is TRUE
for one task period).
Change to
FALSE ()
The instruction reads input status or per-
forms other types of processing every
task period and outputs the power flow
when result changes from TRUE to
FALSE. The output power flow changes
to FALSE in the next task period (after it
is TRUE for one task period).
Function Block Instructions