libvkdaq
VKINGING DAQ Library API Reference
 
Loading...
Searching...
No Matches
DIO-Encoder Attributes
Note
Need to modify the corresponding Dio1.xMode to the required type
For example:Use Encoder1 for counting
Must be set:Dio1.1Mode = DigitalInput
Must be set:Dio1.2Mode = DigitalInput<br>
For example:Use Encoder2 for counting
Must be set:Dio1.3Mode = DigitalInput
Must be set:Dio1.4Mode = DigitalInput<br>
Name Read|Write Available Value Factory Value Unit

Remark

Encoder1

Read|Write

-8192~8191 0

Read: Returns the count value of rotary encoder 1 connected to Dio1.1 and Dio1.2
Write: Write any value to clear the count value of rotary encoder 1 connected to Dio1.1 and Dio1.2