This section describes the DIO device setting screen in Advanced mode.
On this screen, you can set the digital filter, input/output direction, and edge.
For the edge function, please see Glossary: Edge Detection.
①Digital Filter setting / Change IO direction
As with Basic mode, you can set the digital filter and change the input/output direction.
Please see the DIO Device Settings tab(Basic Mode) for more information.
②Target
Indicates the edge setting No.. Up to 100 types (0 to 99) can be registered.
The edge count is counted for each edge No..
For example, if the bit number is set to 0-3 and an edge occurs in bit0 and bit3, the edge count is counted twice.
③Edge type
Set the edge detection direction. The following settings are possible.
Rise: Detects the OFF -> ON change of the specified bit.
Fall: Detects the ON -> OFF change of the specified bit.
Both: Detects both rising and falling changes of the specified bit.
④EdgeBit
Specifies the bit to detect the edge.
It is possible to specify the range with "0,1,3" or "0-3".
[0,1,3]: Specifies the bit 0, bit 1, and bit 3.
[0-3]: Specifies the bit 0, bit 1, bit 2 and bit 3.
⑤Count type
Selects the counting direction.
Item |
Description |
UpCount |
It counts up from the minimum value, and when it reaches the maximum value, it starts from the minimum value again. |
DownCount |
It counts down from the maximum value, and when it reaches the minimum value, it starts from the maximum value again. |
Up/Down |
It counts up from the minimum value, and when it reaches the maximum value, it counts down to the minimum value. |
Down/Up |
It counts down from the maximum value, and when it reaches the minimum value, it counts up to the maximum value. |
⑥Count Max value
The maximum value of the count. You can enter in the range of 0 to 4,294,967,296.
⑦Count Min value
The minimum value of the count. You can enter in the range of 0 to 4,294,967,296.
⑧Edge detection Enabled
Selects whether to enable or disable the edge settings.