ADLINK HSL-AI16AO2-M-VV/-AV User Manual

Page 104

Advertising
background image

HSL Function Library

91

Reads the digital input value of the discrete I/O module at a speci-
fied channel.

HSL_D_write_output:
Writes the digital output value of the discrete I/O module. You must
specify the connect index and slave index.

HSL_D_write_channel_output:
Writes the digital output value of the discrete I/O module at the
specified channel.

HSL_D_read_ouput:
Writes all digital output values to all connected discrete I/O mod-
ules. This function maps all data into memory. With this function,
you can write all digital output values to all connected discrete I/O
modules at one time.

HSL_D_read_all_slave_input:
Reads the digital input values from all slave I/O modules with set
value of connect_index and card no is card_ID. This function
allows you to read all digital input values from all slave I/O mod-
ules at one time.

HSL_D_write_all_slave_output:
Writes the digital output values from all slave I/O modules with set
value of connect_index and card no is card_ID. This function
allows you to write all digital output values from all slave I/O mod-
ules at one time.

HSL_D_set_input_logic:
Sets the digital input logic to the specified slave I/O module. The
slave I/O module‘s address is slave_No and set value is
connect_index.

HSL_D_set_output_logic:
Sets the digital output logic to the specified slave I/O module. The
slave I/O module‘s address is slave_No and set value is
connect_index.

HSL_D_set_int_renewal_type (7853/54 only):
Sets the type of hardware interrupt occurrence timing. These are.

Advertising