
FX-TRN-BEG-E
B: Let’s Study the Basics 2
B-23
2.4.3
Points of training and control specifications
1) Input rising / falling edge detection instruction
Let’s learn programs which operate only when an input is set to ON or OFF.
The rising / falling edge detection instruction captures the alternate status of ON to OFF and
OFF to ON.
It is used for control where the input signal should not be kept either ON or OFF.
Example
• X024 is an alternate switch which is
a l way s e i t h e r O N o r O F F. H ow eve r,
because the PLS instruction is used here,
the OUT instruction M0 is operated only on
the rising edge of input X024 for a single
scan cycle.
• X020 is a momentary pushbutton switch
which turns ON when pressed. However,
because the PLF instruction is used here,
the OUT instruction M1 is operated on the
falling edge of input X020 for a single scan
cycle.
* Even if inputs X024 or X020 are set ON or OFF by the PLS or PLF instruction, the latched
output instruction program for Y000, Y001 and Y006 can be shut down by the input of
X021.
2) Contact type rising/falling edge detection instruction
There is another type of rising/falling edge detection instruction which turns a contact only
for a moment.
Example
• The program shown on the left performs
the same operation with the program
shown above in which the PLS and PLF
instructions are used for rising/falling edge
detection.
M0
Y001
Y001
X021
M1
Y000
Y000
X021
X024
M0
PLS
X020
M1
PLF
Y006
X024
Y001
Y000
X021
X020
Y000
Y001
X021
Y006
rising edge
detection
falling edge
detection
Summary of Contents for MELSEC-F FX-TRN-BEG-E
Page 1: ...USER S MANUAL FX TRN BEG E Sections INTRODUCTION A EXERCISES B LADDER PROGRAMS C APPENDIX D ...
Page 2: ...FX TRN BEG E ...
Page 4: ...FX TRN BEG E ii ...
Page 6: ...FX TRN BEG E iv ...
Page 8: ...FX TRN BEG E INTRODUCTION A 2 MEMO ...
Page 10: ...FX TRN BEG E Introduction 1 A 4 MEMO ...
Page 28: ...FX TRN BEG E Outline of the Lesson Plan 2 A 22 MEMO ...
Page 40: ...FX TRN BEG E A Let s Learn the FX Series PLC 1 B 12 MEMO ...
Page 52: ...FX TRN BEG E B Let s Study the Basics 2 B 24 MEMO ...
Page 76: ...FX TRN BEG E D Beginner Challenge 4 B 48 MEMO ...
Page 90: ...FX TRN BEG E E Intermediate Challenge 5 B 62 MEMO ...
Page 106: ...FX TRN BEG E F Advanced Challenge 6 B 78 MEMO ...
Page 110: ...FX TRN BEG E Outline 1 C 4 MEMO ...
Page 162: ...FX TRN BEG E D 32 MEMO ...
Page 163: ......