160 Function Library
B_8102_set_gpio_int_factor(ByVal card_id As
Integer, ByVal int_factor As Integer) As
Integer
@ Argument
card_id: Specify the index of target PCI-8102 card. The card_id
could be decided by DIP switch (SW1) or depend on slot
sequence.Please refer to _8102_initial().
AxisNo: Axis number of Target Axis.
int_factor: interrupt factor
motion INT factors
card_id Physical axis AxisNo
0
00
11
1
02
13
2
04
1…
Value meaning (0: Disable, 1:Enable)
Bit Description
0 Normal stop
1 Starting the next operation continuously
2 Writing to the 2nd pre-register
3 Writing to the 2nd pre-register for trigger comparator
4 Start acceleration
5 Acceleration end
6 Start deceleration
7 Deceleration end
8 When soft limit turn on (positive direction)
9 When soft limit turn on (negetive direction)
10 When error comparator conditions are met
11 When general comparator conditions are met
12 When trigger comparator conditions are met