109
5-3. Description of Basic Instructions
DF/
Trailing edge differential
DF
Leading edge differential
Outline
DF: Turns ON the contact for only one scan when the leading edge of the
trigger is detected.
DF/: Turns ON the contact for only one scan when the trailing edge of the
trigger is detected.
Program example
■
Explanation of example
■
Time chart
Description
• The
DF
instruction executes and turns ON output for only one scan duration when the trigger
changes from an OFF to an ON state.
• The
DF
/
instruction executes and turns ON output for only one scan duration when the trigger
changes from an ON to an OFF state.
• There is no limit on the number of times the
DF
instruction and
DF
/
instruction can be used.
Notes:
• The
DF
and
DF
/
instructions detect only the changes in the ON/OFF state of the contact comparing the
state in the scan before. Therefore, if its trigger is already set to ON at the first scan of the FP1’s operation,
there will be no execution of the
DF
instruction. And if its trigger is set to OFF, there will be no execution of
the
DF
/
instruction.
• With a circuit such as the one in the figure below, operation will be as follows.
1
When X1 is OFF, even if X0 rises, Y0 remains OFF.
2
Even if X1 rises when X0 is ON, Y0 remains OFF.
3
If X0 rises when X1 is ON, then Y0 will go ON for one scan.
ON
OFF
X0
ON
OFF
X1
ON
OFF
Y0
ON
OFF
Y1
1 scan
1 scan
• Y0 goes ON for only one scan when the leading edge
of X0 is detected.
• Y1 goes ON for only one scan when the trailing edge
of X1 is detected.
Ladder Diagram
FP Programmer
II
key operations
Boolean Non-ladder
Address Instruction
0
X0
Y0
3
X1
Y1
(
DF
)
!
(
DF/
)
!
OT
L-WL
AN
Y-WY
1
WRT
AN
Y-WY
OT
L-WL
WRT
0
WRT
WRT
WRT
NOT
DT/Ld
SHIFT
SC
0
SHIFT
SC
ST
X-WX
ST
X-WX
WRT
1
WRT
SHIFT
SC
WRT
WRT
0
SHIFT
SC
ST
X-WX
ST
X-WX
WRT
0
WRT
0
1
2
3
4
5
ST
X
0
DF
OT
Y
0
ST
X
1
DF/
OT
Y
1
Availability
Step
1
1
All series
Y0
X0
(
DF
)
!
Y0
X1
X0
X1
(
DF/
)
!
DF, DF
/
not executed.
X0
Y0
(
DF
)
!
X1
Y0
X1
X0
1 2
3
Summary of Contents for FP1
Page 1: ...PROGRAMMABLE CONTROLLER FP1 is a global brand name of Matsushita Electric Works Hardware ...
Page 28: ...20 ...
Page 98: ...90 ...
Page 150: ...142 ...
Page 208: ...200 ...
Page 226: ...218 ...
Page 280: ...272 ...