Digital Edge Detect [DiEdge]

Specify the input bit and direction for edge detection in the "Edge Detect Setting" field and then start.

Whether or not edge detection is enabled is displayed in the "Edge Detect Setting Status" field.

The signal change to the specified input bit can be confirmed in the "Edge Detect" field.

To end the operation, press the "Stop" button.


Front Panel

 


Block Diagram

 


Sample Explanation

This sample detects changes in the input signal using the functions of the digital input device.

Similar processing is possible by looping digital 1-bit input, but using edge detection has the following advantages.
- When using the interrupt function, even short-period signal changes can be detected without leaking.
- Automatically count the number of signal changes