Differentiate Up And Differentiate Down - Difu(10) And Difd(11) - Omron SYSMAC mini SP10 Operation Manual

Table of Contents

Advertisement

Instruction Set
OUTPUT NOT - OUT NOT
Limitations
Description
Flags
3-7-8
DIFFERENTIATE UP and DIFFERENTIATE DOWN -
DIFU(10) and DIFD(11)
Limitations
Description
76
Ladder Symbol
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.
Ladder Symbols
DIFU(10) B
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).
Operand Data Areas
B
Output bits, work bits, DR, LR
Operand Data Areas
Output bits, work bits, DR, LR
Output bits, work bits, DR, LR
Section 3-7
B: Bit
B: Bit
B: Bit

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac mini sp16Sysmac mini sp20

Table of Contents