background image

HSM-24V

LS_WATCHDOG_INIT

ADwin

8

ADwin

 LS Bus, Manual version 1.0, September 2006

Example

REM Example prozess for one module HSM-24V and ADwin-L16

#INCLUDE 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, rotating from 1 to 32

INC PAR_10

IF

 (

PAR_10

>=32) 

THEN

 

PAR_10

=0

PAR_11

 = 

SHIFT_LEFT

(1,

PAR_10

)

REM set channels and read back real state

PAR_12

 = 

LS_DIG_IO

(

PAR_11

)

Summary of Contents for ADwin HSM-24V

Page 1: ...ADwin HSM 24V Module for LS Bus Manual ADwin LS Bus Manual version 1 0 September 2006...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 10: ...HSM 24V ADwin 6 ADwin LS Bus Manual version 1 0 September 2006...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: