8144_emg_stop – ADLINK PCI-8144 User Manual

Page 119

Advertising
background image

Function Library

109

_8144_emg_stop

Immediately stop

Description:

This function is used to immediately stop an axis.

Syntax:

I16 _8144_emg_stop( I16 AxisNo )

B_8144_emg_stop( ByVal AxisNo As Integer)As

Integer

Parameters:

I16 AxisNo

: The axis number is designated to receive the

command.

Return Values:

ERR_ParametersInvalid

ERR_DeviceNotInitial

ERR_NoError

Example:

ret = _8144_tv_move( AxisNo, StrVel, MaxVel, Tacc

); //perform a tv move.

ret = _8144_emg_stop( AxisNo ); //immediately

stop

Card ID Physical axis AxisNo

0

0

0

1

1

2

2

3

3

1

0

4

1

5

2

6

3

7

2

0

8

...

...

Advertising