ADLINK PCI-8144 User Manual

Page 127

Advertising
background image

Function Library

117

I16 Enable

:

Z

0: Disable: the axis will not stop when ORG signal is
active

Z

1: Enable: the axis will stop when ORG signal is active

Return Values:

ERR_ParametersInvalid

ERR_DeviceNotInitial

ERR_NoError

Example:

I16 AxisNo = 0; // axis number

I16 Enable = 1; //Enable ORG stop

ret = _8144_enable_org_stop(AxisNo, Enable ); //

set ORG stop enable

ret = _8144_sv_move( AxisNo, StrVel, MaxVel, Tacc

); //perform a sv_move

…//monitor ORG signal or check motion done or

using interrupt function…

Enable = 0; //Disable ORG stop

ret = _8144_enable_org_stop(AxisNo, Enable ); //

set ORG stop disable

See also:

_8144_get_mio_status

_8144_set_mio_sensitivity

_8144_wait_single_motion_interrupt

Advertising