I-8093W/I-9093 I/O Module User Manual, v2.0.0 P. 54
4.26.
i9093_SetTrigDistance
This function use to set distance of I-9093.
Syntax
(for I-9093 only)
int i9093_SetTrigDistance(
int slot,
int ch,
int dir,
unsigned long Distance
);
Parameter
slot:
specifies the slot number (1 ~ 8).
ch:
specifies the channel (0 ~ 2).
dir:
Direction count
Distance:
set Distance
Return Values
Please refer the Error Code.
Example
int slot , ch, dir;
unsigned long distance;
Open_Slot(slot);
i9093_SetTrigDistance (slot , ch, dir, distance);
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...