12 motion interface i/o – ADLINK PCI-8158 User Manual
Page 177

Function Library
167
6.12 Motion Interface I/O
@ Name
_8158_set_servo – Set the ON-OFF state of the SVON signal
_8158_set_pcs_logic – Set the logic of PCS signal
_8158_set_pcs – Enable the PCS for position override
_8158_set_clr_mode – Set the mode of CLR signal
_8158_set_inp – Set the logic of INP signal and operating
mode
_8158_set_alm – Set the logic of ALM signal and operating
mode
_8158_set_erc – Set the logic of ERC signal and operating
mode
_8158_set_erc_out – Output an ERC signal
_8158_clr_erc – Clear the ERC signal
_8158_set_sd – Set the logic SD signal and operating mode
_8158_enable_sd – Enable SD signal
_8158_set_limit_logic – Set the logic of PEL/MEL signal
_8158_set_limit_mode – Set PEL/MEL operating mode
_8158_get_io_status –Get all the motion I/O statuses of each
8158
@ Description
_8158_set_servo:
You can set the ON-OFF state of the SVON signal with this
function. The default value is 1(OFF), which means the SVON
is open to GND.
_8158_set_pcs_logic:
Set the active logic of the PCS signal input
_8158_set_pcs: