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

0~Encoder1Max 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

Encoder1Max

Read|Write

0~4294967295 4294967295

Encoder1 maximum value

Encoder2

Read|Write

0~Encoder2Max 0

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

Encoder2Max

Read|Write

0~4294967295 4294967295

Encoder2 maximum value