
76
B: Bit
Output bits, work bits, DR, LR
Ladder Symbol
Operand Data Areas
OUTPUT NOT - OUT NOT
B
Any output bit can generally be used in only one instruction that controls its
status. Refer to 3-2-2 I/O Bits for details.
OUT and OUT NOT are used to control the status of the designated bit ac-
cording to the execution condition.
OUT turns ON the designated bit for an ON execution condition, and turns
OFF the designated bit for an OFF execution condition.
OUT NOT turns ON the designated bit for a OFF execution condition, and
turns OFF the designated bit for an ON execution condition.
OUT and OUT NOT can be used to control execution by turning ON and OFF
bits that are assigned to conditions on the ladder diagram, thus determining
execution conditions for other instructions. This is particularly helpful and al-
lows a complex set of conditions to be used to control the status of a single
work bit, and then that work bit can be used to control other instructions.
The length of time that a bit is ON or OFF can be controlled by combining the
OUT or OUT NOT with TIM. Refer to Examples under 3-7-14 TIMER - TIM
for details.
There are no flags affected by these instructions.
3-7-8
DIFFERENTIATE UP and DIFFERENTIATE DOWN -
DIFU(10) and DIFD(11)
B: Bit
Output bits, work bits, DR, LR
Ladder Symbols
Operand Data Areas
DIFU(10) B
B: Bit
Output bits, work bits, DR, LR
DIFD(11) B
The total of all DIFU(10) and DIFD(11) instruction in any one program must
be 16 or less. Any output bit can generally be used in only one instruction
that controls its status. Refer to 3-2-2 I/O Bits for details.
DIFU(10) and DIFD(11) are used to turn the designated bit ON for one scan
only.
Whenever executed, DIFU(10) compares its current execution with the pre-
vious execution condition. If the previous execution condition was OFF and
the current one is ON, DIFU(10) will turn ON the designated bit. If the pre-
vious execution condition was ON and the current execution condition is ei-
ther ON or OFF, DIFU(10) will either turn the designated bit OFF or leave it
OFF (i.e., if the designated bit is already OFF). The designated bit will thus
never be ON for longer than one scan, assuming it is executed each scan
(see Precautions, below).
Limitations
Description
Flags
Limitations
Description
Instruction Set
Section 3-7