Program example – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual
Page 22

1 Ladder Program Instructions
1.1.7 RISING PULSE Instruction (ON-PLS)
1-12
Program Example
When IB00001 turns ON from OFF, MB000101 turns ON and stays ON during 1 scan.
MB000100 is used to store the previous value of IB00001.
Register status of Rising pulse instruction is shown in Table 1.1.
Note: Case of Program Example, the instruction is used not for rise detec-
tion of MB000100 but is used for rise detection of IB00001.
MB000100 is used only for storing the previous value of IB00001.
Table 1.1 Register Status with Rising Pulse Instruction
Input
Result
IB00001
MB000100
(Previous value of
IB00001)
MB000100
(IB00001 stored)
MB000101
OFF
OFF
OFF
OFF
OFF
ON
OFF
OFF
ON
OFF
ON
ON
ON
ON
ON
OFF
IB00001
1 scan
1 scan
MB000100
MB000101
ON
OFF
ON
OFF
ON
OFF
This manual is related to the following products: