18 general-purposed dio – ADLINK PCI-8102 User Manual

Page 182

Advertising
background image

Function Library

171

PCI-8102

*DistA: Specified distance array in units of pulse

*StrVelA: Starting velocity array in units of pulse per second

*MaxVelA: Maximum velocity array in units of pulse per second

*TaccA: Acceleration time array in units of seconds

*TdecA: Deceleration time array in units of seconds

*PosA: Specified position array in units of pulse

*SvaccA: Specified velocity interval array in which S-curve accel-
eration is performed.

*SvdecA: Specified velocity interval array in which S-curve decel-
eration is performed.

FirstAxisNo: The first element in AxisArray.

6.18 General-Purposed DIO

@ Name

_8102_set_gpio_output – Set digital output

_8102_get_gpio_output – Get digital output

_8102_get_gpio_input – Get digital input

_8102_set_gpio_output2 – Set digital output to P2

_8102_get_gpio_output2 – Get digital output form

P2

_8102_get_gpio_input2 – Get digital input form P2

@ Description

_8102_set_gpio_output:

The PCI-8102 has 2 digital output channels. By this function, user
could

control the digital outputs.

_8102_get_gpio_output:

This function is used to get the digitl output status.

_8102_get_gpio_input:

Advertising