19 soft limit – ADLINK PCI-8102 User Manual
Page 184
Function Library
173
PCI-8102
B _8102_get_gpio_output Lib "8102.dll" Alias
"_8102_get_gpio_output"
(ByVal card_id As Integer, do_status As Integer)
As Integer
B _8102_get_gpio_input Lib "8102.dll" Alias
"_8102_get_gpio_input" (ByVal
card_id As Integer, di_status As Integer) As
Integer
B _8102_set_gpio_output2 (ByVal card_id As
Integer, ByVal do_value As Integer) As
Integer
B _8102_get_gpio_output2 (ByVal card_id As
Integer, do_status As Integer) As Integer
B _8102_get_gpio_input2 (ByVal card_id As
Integer, di_status_2 As Integer) As Integer
@ Argument
card_id:
Specify the PCI-8102 card index. The card_id could be
decided by
DIP switch (SW1) or depend on slot sequence.Please refer
to_8102_initial().
do_value:
Unsigned 16 bits value. Bit 0: D_out0, Bit 1: D_out1
*do_status: Digital output status. Bit 0: D_out0, Bit 1: D_out1
*di_status: Digital input status, Bit0~3: D_in0~3
*di_status_2: Digital input status, Bit0~15: D_in0~15
6.19 Soft Limit
@ Name
_8102_disable_soft_limit – Disable soft limit
function
_8102_enable_soft_limit – Enable soft limit
function
_8102_set_soft_limit – Set soft limit