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

ADwin

 LS Bus, Manual version 1.0, September 2006

11

HSM-24V

LS_DIGPROG

ADwin

LS_DIGPROG

LS_DIGPROG

 sets the digital channels 1…32 of the specified module of type

HSM-24V on the LS bus as inputs or outputs in groups of 8.

Syntax

#INCLUDE ADWL16.INC

ret_val = 

LS_DIGPROG

(

ls-module

pattern

)

Parameters

Notes

The instruction only be used in section 

INIT

:

, since it takes long pro-

cessing time.

After initialization with 

LS_DIO_INIT

 all channels are set as inputs.

The channels may be set as inputs or outputs in groups of 8 only (4 rel-
evant bits only, other bits are ignored).

To be used for the modules

HSM-24V

See also

LS_DIO_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 outputs.

Bit No.

31…4

3

2

1

0

Channel
no.

32:25 24:17 16:9

8:1

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

Содержание 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...

Отзывы: