![Jäger ADwin HSM-24V Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/jager-0/adwin-hsm-24v/adwin-hsm-24v_manual_3207446013.webp)
ADwin
LS Bus, Manual version 1.0, September 2006
9
HSM-24V
LS_DIO_INIT
ADwin
LS_DIO_INIT
LS_DIO_INIT
initializes the specified module of type HSM-24V on the LS bus
and returns the error status.
Syntax
#INCLUDE ADWL16.INC
ret_val =
LS_DIO_INIT
(ls-
module
)
Parameters
Notes
The instruction only be used in section
INIT
:
, since it takes long pro-
cessing time.
The initialization does the following settings:
• All DIO channels are set as inputs.
Other settings see
LS_DIGPROG
.
• The over-current status (> ca. 500mA) is reset.
• The error status for superheating is reset.
• The error status for timeout on the LS bus is reset.
The error "superheating" of a driver may only occur, if over-currrent in
the range of 150…500mA is present on several channels at the same
time. Irrespective of this, an over-current of mor than 500mA automati-
cally switches off the concerned channel.
The channels of the module HSM-24V may only be operated in the
range of 0…150mA.
To be used for the modules
HSM-24V
See also
ls-module
Specified module address on the LS bus (1…15).
ret_val
Bit pattern representing the error status.
Bit = 0: No error.
Bit = 1: Error occurred.
Bit no.
31…8
7
6
5…4
3
2
1
0
Status
–
Temp2 Temp1
–
WD
Time
Ovr
Par
- :don't care (mask with
0CFh
).
Par:Parity error during data transfer on the LS bus.
Ovr:Overrun error during data transfer on the LS bus.
Time:Timeout error during data transfer on the LS bus.
WD:Watchdog was released. The channel drivers are deactivated.
Temp1:Superheating on driver for channels 1…16. Driver is deactivated.
Temp2:Superheating on driver for channels 17…32. Driver is deactivated.
LONG
LONG