Rise Detection Method - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

19.7 Rise Detection Method

19.7 Rise Detection Method
Instructions using the leading edge detection operation
(1) DF (leading edge differential)
(2) Count input for CT (counter)
(3) Count input for UDC (up-down counter)
(4) Shift input for SR (shift register)
(5) Shift input for LRSR (left and right shift register)
(6) High-level instructions executed only at the leading edge (instructions specified with P and a
number)
What is rise detection?
● Instructions for which rise detection is performed are only executed in the scan when the
execution condition changes from OFF to ON.
(1) Normal input detection
Execution condition
Operation of instruction
(2) Rise detection
Execution condition
Operation of instruction
Rise detection method
● The previous execution condition is compared with the current execution condition, and the
instruction is executed only when the previous condition was OFF and the current condition
is ON.
● The instruction will not be executed otherwise.
Precautions when using an instruction which performs leading edge detection
● When RUN is started, such as when the power is turned on, instructions are not executed
because the change of the execution condition from OFF to ON is not detected.
● Be aware that, if used with instructions that change the order of execution, such as the
instructions in (1) to (6) below, the operation of instructions may change depending on the
input timing.
[Be careful when leading edge detection type instructions are used in combination with:]
(1) MC to MCE instructions
19-14
Executed in every scan
Executed in one scan only
ON
OFF
ON
OFF
ON
OFF
ON
OFF
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents