3 motion operation, Motion operation – ADLINK HSL-DO32-M-N/HSL-DO32-M-P User Manual

Page 124

Advertising
background image

How to Program with HSL Function Library

111

3. Use HSL_A_start_read(…) to initialize the AIO chan-

nels reading operation.

4. After activating the HSL AD conversion, use these func-

tions for the HSL operation.

HSL_slave_live(…)
Detects the status of the slave module(Live or Die).

HSL_connect_status(…)
Detects the communication status of the slave module.

HSL_A_read_input(…)
Function for analog value reading operation of the slave mod-
ules.

HSL_A_write_output(…)
Function for analog value writing operation of the slave mod-
ules.

HSL_A_sync_rw(…)
Function for synchronous analog input and output.

5. Use HSL_A_stop_read(….) to stop the AIO channels

reading operation.

All steps may be executed in a loop to get the latest information
from the slave modules.

6.1.3 Motion Operation:

Refer to HSL-4XMO user’s manual.

Advertising