Argument – ADLINK PCI-8102 User Manual

Page 167

Advertising
background image

156

Function Library

B_8102_set_motion_int_factor(ByVal AxisNo As

Integer, ByVal int_factor As Long) As

Integer

B_8102_wait_gpio_interrupt(ByVal card_id As

Integer, ByVal IntFactorBitNo As Integer,

ByVal TimeOut_ms As Long) As Integer

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

0

0

1

1

1

0

2

1

3

2

0

4

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

Advertising