I-8093W/I-9093 I/O Module User Manual, v2.0.0 P. 31
4.5.
i8093W_GetMode
This function use to get the operation mode of I-8093W/I-9093.
Syntax
int i8093W_GetMode(
int slot,
int ch,
int* Mode
);
Parameter
slot:
specifies the slot number (1 ~ 8).
ch:
specifies the channel (0 ~ 2).
*Mode:
[output] get encoder counting mode
1 ==> CW/CCW counting mode
2 ==> Pulse/Direction counting mode
3 ==> Quadrant counting mode
Return Values
Please refer the Error Code.
Example
int slot , ch , mode;
Open_Slot(slot);
i8093W_GetMode (lot , ch , *mode);
Содержание I-8093W
Страница 1: ...I 8093W I 9093 Linux API Reference Manual V2 0 0 July 2018 Written by Edward Ku Edited by Anna Huang 5...
Страница 10: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 10 1 2 Pin Assignments I 8093W...
Страница 11: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 11 I 9093...
Страница 13: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 13 I 9093 5V 24V Input Level 5V 24V...
Страница 14: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 14 1 4 Wire Connections I 8093W...
Страница 15: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 15 I 9093...
Страница 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...