152 Function Library
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.
_8102_set_alm:
Set the active logic of the ALARM signal input from the servo
driver. Two reacting modes are available when the ALARM signal
is active.
_8102_set_erc:
You can set the logic and on time of the ERC with this function. It
also can set the pulser width of ERC signal.
_8102_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 _8102_enable_sd. It is dis-
abled by default
_8102_enable_sd:
Enable the SD signal input. Default setting is default.
_8102_set_limit_logic:
Set the EL logic, normal open or normal closed.
_8102_set_limit_mode:
Set the reacting modes of the EL signal.
_8102_select_pin23_input:
Set the pin 23 to the input signal SD1, LTC1 or PCS1.
_8102_select_pin57_input:
Set the pin 57 to the input signal SD2, LTC2 or PCS2
_8102_get_io_status:
Get all the I/O statuses for each axis. The definition for each bit is
as follows:
Bit Name Description
0 RDY RDY pin input
1 ALM Alarm Signal