Syntax – ADLINK PCI-8102 User Manual

Page 171

Advertising
background image

160

Function Library

This function is used to read the value of the residue distance
recorder. The target position recorder is maintained by the 8102
software driver. It records the position to settle down for current
running motion.

_8102_set_res_distance:

This function is used to change the value of the residue distance
counter

@ Syntax

C/C++(Windows 2000/XP/7)

I16 _8102_get_position(I16 AxisNo, F64 *Pos);

I16 _8102_set_position(I16 AxisNo, F64 Pos);

I16 _8102_get_command(I16 AxisNo, I32 *Command);

I16 _8102_set_command(I16 AxisNo, I32 Command);

I16 _8102_get_error_counter(I16 AxisNo, I16

*error);

I16 _8102_reset_error_counter(I16 AxisNo);

I16 _8102_get_general_counter(I16 AxisNo, F64

*CntValue);

I16 _8102_set_general_counter(I16 AxisNo, I16

CntSrc, F64 CntValue);

I16 _8102_get_target_pos(I16 AxisNo, F64 *T_pos);

I16 _8102_reset_target_pos(I16 AxisNo, F64

T_pos);

I16 _8102_get_res_distance(I16 AxisNo, F64

*Res_Distance);

I16 _8102_set_res_distance(I16 AxisNo, F64

Res_Distance);

Visual Basic (Windows 2000/XP/7)

B_8102_get_position(ByVal AxisNo As Integer, Pos

As Double) As Integer

B_8102_set_position(ByVal AxisNo As Integer,

ByVal Pos As Double) As Integer

B_8102_get_command(ByVal AxisNo As Integer, Cmd

As Long) As Integer

B_8102_set_command(ByVal AxisNo As Integer, ByVal

Cmd As Long) As Integer

B_8102_get_error_counter(ByVal AxisNo As Integer,

ByRef error As Integer) As Integer

B_8102_reset_error_counter(ByVal AxisNo As

Integer) As Integer

Advertising