ADLINK HSL-DO32-M-N/HSL-DO32-M-P User Manual
Page 92
HSL Function Library
79
Discrete I/O, Section 5.4
Analog I/O, Section 5.5
Function Name
Description
HSL_D_read_input
Read back all discrete I/O with unsigned 32-bit
HSL_D_read_channel_input
Read back discrete I/O by channel selection
HSL_D_write_output
Write all discrete I/O with unsigned 32-bit
HSL_D_write_channel_output
Write discrete I/O by channel selection
HSL_D_read_ouput
Read back the output value stored in RAM
HSL_D_read_all_slave_input
Read back all inputs of slave modules
HSL_D_write_all_slave_output Write all outputs of slave modules
HSL_D_set_input_logic
Set the logic of digital input
HSL_D_set_output_logic
Set the logic of digital output
HSL_D_set_int_renewal_type
Set DI renewal check type (Only for 7853/54)
HSL_D_set_int_renewal_bit
Set the data bits of DI renewal check for each
slave (Only for 7853/54)
HSL_D_set_int_control
Set DI interrupt enable or disable (Only for
7853/54)
HSL_D_wait_di_interrupt
Wait DI renewal event(Only for 7853/54)
Function Name
Description
HSL_A_start_read
Start A/D conversion.
HSL_A_stop_read
Stop A/D conversion
HSL_A_set_signal_range
Set the signal range of analog input channels
HSL_A_get_signal_range
Get the signal range of analog input channels
HSL_A_get_input_mode
Get the signal input mode
HSL_A_set_last_channel
Set the last channel of analog input channels
HSL_A_get_last_channel
Get the last channel of analog input channels
HSL_A_read_input
Read back the value of analog input channels
HSL_A_write_output
Send out the analog output
HSL_A_read_output
Read back the analog output data
HSL_A_sync_rw
Read and write the data synchronously
HSL_A_get_version
Get the kernel version of analog I/O module