This is a sample that detects and counts the change of the digital input using the edge function.
For the edge function, please see Glossary: Edge Detection.
■Screen Image
■How to use
The count value is displayed every time the rising edge of bit0-3 is detected after startup.
To change the device settings, click the [DncDaq Setting] button.
■Device setting
Item |
Description |
Device Name |
DIO000 |
Digital Filter |
Unused |
I/O Direction |
Unused |
■Edge setting 0
Item |
Description |
Edge type |
Rise |
EdgeBit |
0 |
■Edge setting 1
Item |
Description |
Edge type |
Rise |
EdgeBit |
1 |
■Edge setting 2
Item |
Description |
Edge type |
Rise |
EdgeBit |
2 |
■Edge setting 3
Item |
Description |
Edge type |
Rise |
EdgeBit |
3 |