8144_home_status – ADLINK PCI-8144 User Manual

Page 132

Advertising
background image

122

Function Library

_8144_home_status

Description:

This function is used to get homing status. When the axis is in
homing operation, the “In homing operation” signal (Bit 0) will
turned on. When it stopped, “In homing operation” signal (Bit 0)
will turned off. If the axis is stopped by error, the “Abnormal
stop” (Bit 2) signal will be turned on. Otherwise, “Normal stop”
(Bit 1) signal will turned on.

Syntax:

I16 _8144_home_status( I16 AxisNo, I16

*HomeStatusInBit );

B_8144_home_status( ByVal AxisNo As Integer,

HomeStatusInBit As Integer ) As Integer

Parameters:

I16 AxisNo

: Axis number of Target Axis.

I16 *HomeStatusInBit

: Status of homing operation.

Bit 0: In homing operation.

Bit 1: Normal stop.

Bit 2: Abnormal stop.

Bit 3-15: Reserved.

Return Values:

Advertising