Function Library: PCI-8154 + DB-8151
63
@ Description
_8154_db51_HSL_initial
:
Initialize the hardware and software states of the 8154_DB8151
HSL master card. Before calling this function, users must call
_8154_initial first to get resource of DB8151. Users can check the
return code of this function to know if the initialization is successful
or not.
_8154_db51_HSL_close
:
This function is to release the resource occupied by the
8154_DB8151 HSL master card. When terminating the program,
do not forget to call this function to release all the resource occu-
pied by 8154_DB8151 HSL card.
_8154_db51_HSL_start
:
This function is used to scan the total connected slave modules.
Users can assign how many slave indexes HSL master board
should scan. Then, it will scan from 1 to the specified value.
_8154_db51_HSL_auto_start
:
This function is used to automatically detect the total connected
slave modules. Every master controller can connect up to 63 slave
indexes. As a result, It will scan from 1 to 63.
_8154_db51_HSL_stop
:
This function is used to stop scanning the connected slave mod-
ules.
_8154_db51_HSL_set_scan_condition
:
This function is used to assign the scan rate(3/6/12M) and com-
munication types(Full/half duplex). And this function needs to set
up between the function
_8154_db51_HSL_initial
and
_8154_db51_HSL_start
.
Summary of Contents for DB-8151
Page 4: ......
Page 24: ...16 Installation ...
Page 32: ...24 HSL Slave Module P Wet Contact Input N NPN Sinking Output v IN LED Internal Circuits G ...
Page 36: ...28 HSL Slave Module U U series slave I O module 71 8 mm X 138 mm ...
Page 39: ...HSL Slave Module 31 3 2 3 HSL TB32 MD Jumper Settings ...
Page 44: ...36 HSL Slave Module 3 3 3 Dimensions HSL HUB HSL Repeater ...