ADLINK HSL-DO32-M-N/HSL-DO32-M-P User Manual
Page 91
78
HSL Function Library
For the motion control library description, refer to the HSL-4XMO
function library manual. This section contains the system level
function, discrete I/O control, and analog I/O control.
Initialization and System Information, Section 5.2
Function Name
Description
HSL_initial
Master card initialization
HSL_intial_sw
Initialize by system automatically (sw_enable=0) or
manually via the S1 dip switch (sw_enable=1)
(7853/54 only)
HSL_close
Release all resources occupied by master card
HSL_start
Start to scan all the slave modules connected to
master card
HSL_auto_start
Start to scan and automatically detect all the slave
modules connected to master card
HSL_stop
Stop scanning the connected slave modules
HSL_set_scan_condition
Set scanning conditions (only for 7853/54)
HSL_get_scan_condition
Get scanning conditions (only for 7853/54)
HSL_connect_status
Get the communication status of the specified
slave module
HSL_slave_live
Get the module status of the slave module
HSL_get_irq_channel
Get the IRQ occupied by master card
Function Name
Description
HSL_enable_timer_interrupt
Enable timer interrupt of master card (For 7851/
52)
HSL_disable_timer_interrupt
Disable timer interrupt of master card (For 7851/
52)
HSL_set_timer
Set the resolution of timer (For 7851/52)
HSL_set_int_timer
Set the timer parameters (For 7853/54)
HSL_set_int_timer_enable
Enable/Disable timer interrupt of master card (For
7853/54)
HSL_wait_timer_interrupt
Wait timer event (For 7853/54)