ADLINK PCI-8154 User Manual

Page 186

Advertising
background image

176

Function Library

_8154_set_pcs

:

Enable the position override when input signal PCS is turn ON.
The PCS terminal status can be monitored by the
_8154_get_io_status” function.

_8154_set_clr_mode

CLR inputted signal can reset specified counters(command,
position, error and general purpose counter). The reset action
could be set by this function. The reset action mode has 4
types. For details refer to arguments description.

_8154_set_inp

:

Set the active logic of the In-Position signal input from the
servo driver. Users can select whether they want to enable this
function. It is disabled by default.

_8154_set_alm

:

Set the active logic of the ALARM signal input from the servo
driver. Two reacting modes are available when the ALARM sig-
nal is active.

_8154_set_erc

:

Users can set the logic and on time of the ERC with this func-
tion. It also can set the pulser width of ERC signal.

_8154_set_erc_out

:

This function is used to output the ERC singal manually.

_8154_clr_erc

:

This function is used to reset the output when the ERC signal
output is specified to a level type output.

_8154_set_sd

:

Set the active logic, latch control, and operating mode of the
SD signal input from a mechanical system. Users can select
whether they want to enable this function by
_8154_enable_sd

. It is disabled by default

_8154_enable_sd

:

Enable the SD signal input. Default setting is default.

Advertising