4 discrete i/o, Discrete i/o – ADLINK HSL-DI32-M-N/HSL-DI32-M-P User Manual
Page 103
90
HSL Function Library
5.4 Discrete I/O
@ Name
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 (7853/54 only) – Set DI
renewal check type
HSL_D_set_int_renewal_bit (7853/54 only) – Set the data
bits of DI renewal check for each DI slave module
HSL_D_set_int_control (7853/54 only) – Set DI interrupt
enable or disable
HSL_D_wait_di_interrupt (7853/54 only) – Wait DI renewal
event
@ Description
HSL_D_read_input:
Reads the digital input value of the discrete I/O module. You must
specify the connect index and slave index.
HSL_D_read_channel_input: