Adlink HSL-DO32-M-N/HSL-DO32-M-P Manual de usuario Pagina 123

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 137
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 122
110 How to Program with HSL Function Library
HSL_connect_status(…):
Detect the communication status of the slave module.
HSL_D_read_input(…)
HSL_D_read_channel_input(….)
HSL_D_read_all_slave_input(….)
Functions for the digital input operation of slave modules.
HSL_D_write_output(…)
HSL_D_write_channel_output(…)
HSL_D_write_output(…)
Functions for the digital output operation of slave modules.
HSL_D_read_output(…)
Reads the output data in memory.
HSL_D_set_input_logic(…)
HSL_D_set_output_logic(…)
Functions for setting the DIO logic.
All functions may be executed in a loop to obtain the latest infor-
mation from the slave modules.
6.1.2 AI/O Operation
Inside AI/O Operation, the following function calls are provided for
user reference.
1. If the module needs to be calibrated, refer to Appendix
C.
2. To set the AI/O configuration of the slave module, use
HSL_A_set_signal_range(…)
HSL_A_set_last_channel(..).
If you want to check AI/O configuration, use
HSL_A_get_signal_range(…)
HSL_A_get_input_mode(…)
HSL_A_get_last_channel(…)
Vista de pagina 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 136 137

Comentarios a estos manuales

Sin comentarios