I-8093W/I-9093 I/O Module User Manual, v2.0.0 P. 37
4.10.
i8093W_Read32BitEncoder
This function use to get 32-Bit Encoder value of I-8093W/I-9093.
Syntax
int i8093W_Read32BitEncoder( int slot , int ch , long* EnCode32);
Parameter
slot:
specifies the slot number (1 ~ 8).
ch:
specifies the channel (0 ~ 2).
* EnCode32:
[output] get encoder value.
Return Values
return Index enable/disable and Index latched status of I-8093W
0: Disable Index Latch (0), Index Not Latched (0)
1: Enable Index Latch (1), Index Not Latched (0)
2: Disable Index Latch (0), Index Latched (1)
3: Enable Index Latch (1), Index Latched (1)
For I-9093 please refer the Error Code.
Example
int slot , ch ;
long EnCode;
Open_Slot(slot);
i8093W_Read32BitEncoder(slot , ch , &EnCode);
Summary of Contents for I-8093W
Page 10: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 10 1 2 Pin Assignments I 8093W...
Page 11: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 11 I 9093...
Page 13: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 13 I 9093 5V 24V Input Level 5V 24V...
Page 14: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 14 1 4 Wire Connections I 8093W...
Page 15: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 15 I 9093...
Page 16: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 16 1 5 Block Diagram I 8093W I 8014CW I 9014C...