ADLINK PCI-8164 User Manual

Page 248

Advertising
background image

236

Function Library

Sets new value for the target position recorder. It is necessary to
call this function when home return completes or when a new
feedback counter value is set by function
_8164_set_position().

_8164_get_rest_command():
Reads the remaining pulse counts until the end of the current
motion.

_8164_check_rdp():
Reads the ramping down point data. The ramping down point is
the position where deceleration starts. The data is stored as a
pulse count and it causes the axis start to decelerate when
remaining pulse count reach the data.

@ Syntax

C/C++ (DOS, Windows 95/98/NT)

I16 _8164_get_position(I16 AxisNo, F64 *pos);
I16 _8164_set_position(I16 AxisNo, F64 pos);
I16 _8164_get_command(I16 AxisNo, I32 *cmd);
I16 _8164_set_command(I16 AxisNo, I32 cmd);
I16 _8164_get_error_counter(I16 AxisNo, I16

*error_counter);

I16 _8164_reset_error_counter(I16 AxisNo);
I16 _8164_get_general_counter(I16 AxisNo, F64

*CntValue);

I16 _8164_set_general_counter(I16 AxisNo,I16

CntSrc, F64 CntValue);

I16 _8164_get_target_pos(I16 AxisNo, F64 *T_pos);
I16 _8164_reset_target_pos(I16 AxisNo, F64

T_pos);

I16 _8164_get_rest_command(I16 AxisNo, I32

*rest_command);

I16 _8164_check_rdp(I16 AxisNo, I32

*rdp_command);

Advertising