Jäger ADwin HSM-24V Скачать руководство пользователя страница 11

ADwin

 LS Bus, Manual version 1.0, September 2006

7

HSM-24V

LS_WATCHDOG_INIT

ADwin

3.2.1 LS Bus

LS_WATCHDOG_
INIT

LS_WATCHDOG_INIT

 enables or disables the watchdog counter of a specified

module on the LS bus. If enabled, the counter is set to the start value and is
started.

Syntax

#INCLUDE ADWL16.INC

ret_val = 

LS_WATCHDOG_INIT

(

ls-module

,

enable

,

time

)

Parameters

Notes

The instruction only be used in section 

INIT

:

, since it takes long pro-

cessing time.

As long as the watchdog counter is enabled, it decrements the counter
value continuously. After the set release time the counter value reaches
0 (zero). If so, the module assumes a malfunction and stops; thus, all
output signals are reset.

After power-up of the module the counter is set to the start value 10ms
and the watchdog counter is enabled.

Reset the active watchdog timer at least once to the start value within
the counting interval, in order to keep the module working. To reset the
module use any module specific instruction or 

LS_WATCHDOG_RESET

.

The watchdog function is used as to monitor the connection between

ADwin

 system and LS bus module.

To be used for the modules

HSM-24V

See also

LS_DIO_INIT

LS_DIGPROG

LS_DIG_IO

ls-module

Specified module address on the LS bus (1…15).

enable

Set status of watchdog counter:
0 :  Disable watchdog counter.
1 :  Enable watchdog counter.

time

Release time (0…107374) of the counter in milli-
seconds.

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

LONG

LONG

HSM

-
24
V

Содержание ADwin HSM-24V

Страница 1: ...ADwin HSM 24V Module for LS Bus Manual ADwin LS Bus Manual version 1 0 September 2006...

Страница 2: ...eptember 2006 J ger Computergesteuerte Messtechnik GmbH Rheinstra e 2 4 D 64653 Lorsch Germany For any questions please don t hesitate to contact us Hotline 49 6251 96320 Fax 49 6251 5 68 19 E Mail in...

Страница 3: ...LS Bus Manual version 1 0 September 2006 III ADwin Table of Contents Typographical Conventions IV 1 Information about this Manual 1 2 The LS bus 2 3 HSM 24V 4 3 1 Hardware 4 3 2 Software 5 3 2 1 LS B...

Страница 4: ...ers to further information in this documentation or to other sources such as manuals data sheets literature etc C ADwin File names and paths are placed in angle brackets and characterized in the font...

Страница 5: ...cation experience and training as well as their knowledge of applicable technical standards guidelines accident prevention regulations and operating conditions have been authorized by a quality assura...

Страница 6: ...No data traffic Bus Termination The bus termination on the last module of the LS bus must be activated with the DIP switches Term deactivated on all other modules To activate the bus termination both...

Страница 7: ...is connected to the top hat rail which serves as protection earth PE Protection earth is connected to the screw PE on the module s top Module address Setting of DIP switches 1 2 3 4 0 0 0 0 0 Module d...

Страница 8: ...w level For each channel there is a LED indicating the status LED on relates to High level The channels have a permissible operation current of 0mA 150mA If the current exceeds 500mA at a channel the...

Страница 9: ...ed on the following pages or in the online help Input LS bus male Output LS bus female 1 2 3 4 5 6 7 8 9 SIGNAL HIGH RESERVED SIGNAL GND SIGNAL LOW RESERVED RESERVED RESERVED 5 4 3 2 1 9 8 7 6 SIGNAL...

Страница 10: ...HSM 24V ADwin 6 ADwin LS Bus Manual version 1 0 September 2006...

Страница 11: ...interval in order to keep the module working To reset the module use any module specific instruction or LS_WATCHDOG_RESET The watchdog function is used as to monitor the connection between ADwin syst...

Страница 12: ...ADWL16 inc init PROCESSDELAY 4000000 10Hz HP PAR_1 LS_DIO_INIT 1 PAR_2 LS_DIGPROG 1 0Fh channels 1 32 as output PAR_3 LS_WATCHDOG_INIT 1 1 1100 watchdog time 1 1 sec event REM set one channel to high...

Страница 13: ...n 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...

Страница 14: ...WL16 inc init PROCESSDELAY 4000000 10Hz HP PAR_1 LS_DIO_INIT 1 PAR_2 LS_DIGPROG 1 0Fh channels 1 32 as output PAR_3 LS_WATCHDOG_INIT 1 1 1100 watchdog time 1 1 sec event REM set one channel to high ro...

Страница 15: ..._INIT LS_WATCHDOG_INIT LS_DIG_IO ls module Specified module address on the LS bus 1 15 pattern Bit pattern setting the channels as inputs or out puts Bit 0 Set channels as inputs Bit 1 Set channels as...

Страница 16: ...WL16 inc init PROCESSDELAY 4000000 10Hz HP PAR_1 LS_DIO_INIT 1 PAR_2 LS_DIGPROG 1 0Fh channels 1 32 as output PAR_3 LS_WATCHDOG_INIT 1 1 1100 watchdog time 1 1 sec event REM set one channel to high ro...

Страница 17: ...nput channels are ignored The return value contains the real state of both inputs and outputs The inputs have a filter causing about 12 s signal delay LS_DIG_IO resets the watchdog counter of the modu...

Страница 18: ...L16 inc init PROCESSDELAY 4000000 10Hz HP PAR_1 LS_DIO_INIT 1 PAR_2 LS_DIGPROG 1 0Fh channels 1 32 as output PAR_3 LS_WATCHDOG_INIT 1 1 1100 watchdog time 1 1 sec event REM set one channel to high rot...

Отзывы: