Argument – ADLINK PCI-8158 User Manual

Page 166

Advertising
background image

156

Function Library

B_8158_start_ta_arc2(AxisArray() As Integer,

CenterPos() As Double, EndPos() As Double,
Byval CW_CCW As Integer, ByVal StrVel As
Double , ByVal MaxVel As Double, ByVal Tacc
As Double, ByVal Tdec As Double) As Integer

B_8158_start_sr_arc2(AxisArray() As Integer,

OffsetCenter() As Double, OffsetEnd() As
Double, Byval CW_CCW As Integer, ByVal
StrVel As Double , ByVal MaxVel As Double,
ByVal Tacc As Double, ByVal Tdec As Double,
ByVal Svacc As Double, ByVal Svdec As
Double) As Integer

B_8158_start_sa_arc2(AxisArray() As Integer,

CenterPos() As Double, EndPos() As Double,
Byval CW_CCW As Integer, ByVal StrVel As
Double , ByVal MaxVel As Double, ByVal Tacc
As Double, ByVal Tdec As Double, ByVal Svacc
As Double, ByVal Svdec As Double) As Integer

@ Argument

card_id: Specify the PCI-8158 card index. The card_id could be

decided by DIP switch (SW1) or depend on slot sequence. Please
refer to _8158_initial().

AxisNo: Axis number designated to move or change position.

OffsetCx: X-axis (first axis of target axes) offset to center

OffsetCy: Y-axis (second axis of target axes) offset to center

OffsetEx: X-axis (first axis of target axes) offset to end of arc

OffsetEy: Y-axis offset to end of arc

card_id Physical axis AxisNo

0

0

0

1

1

7

7

1

0

8

1

9

Advertising