Basic Function Instruction
FUN 4
DIFU
Symbol
Description
The DIFU instruction is used to output the up differentiation of a node status (status input to "TG↑") and
●
the pulse signal resulting from the status change at the rising edge of the "TG↑" for one scan time is
stored to a coil specified by D.
The functionality of this instruction can also be achieved by using a TU contact.
●
Example
The results of the following two samples are exactly the same
Ladder Diagram
Example 1
X1
4.
DIFU Y
TG
Example 2
X1
X1
Y0
DIFFERENTIAL UP
Y
Range
Y0
Ope-
∣
rand
Y255
D
○
ORG
0
FUN
ORG
Y0
OUT
t
D: a specific coil number where the result of
the Differential Up operation is stored.
M
SM
S
M0
M1912
S0
∣
∣
∣
M1911
M2001
S999
○
○*
○
Key Operations
6-18
FUN 4
DIFU
Operand
Mnemonic Codes
ORG
X
1
FUN
4
D:
Y
0
ORG TU
X
1
OUT
Y
0
t : scan time