background image

The LS bus

ADwin

2

ADwin

 LS Bus, Manual version 1.0, September 2006

2 The LS bus

The LS bus is a bi-directional serial bus with 5 MHz clock rate. The bus
connects an 

ADwin

 system via its LS bus interface with up to 15 LS bus

modules.

Figure 

1

 shows the standard connections of an LS bus module: Bus input and

output with LED, protection earth PE, DIP switch for bus termination and bus
address.

The bus is set up as line connection, i.e. the interface and the LS bus modules
are connected to each other via two-way links. Each module has a female
DSub connector (9-pole) as bus input and a male DSub connector (9-pole) as
bus output. The maximum bus length is 5m.

The LED besides bus Bus input/output indicates data traffic on the LS bus:

– Green LED: The module receives or sends data.

– Red LED: Data for other modules is sent on the bus.

– LED off: 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 DIP switches are set down.

Bus address

Each module on the LS bus is addresses via its bus address; therefore the
address must be unique for each module.

The bus address is set manually with the DIP switch block on the PCB besides
the bus connectors (see 

fig. 1

). Using the 4 DIP switches 

Device

 

Address

the address may be set to 1…15. The setting is: 1 = DIP switch down, 0 = DIP
switch up.

Address 0 disables the module. Even if a module is disabled, the foloowing
modules on the LS bus receive all bus data.

PE

BU

S I

N

BUS O

U

T

gn / active

rd / ready

Te

rm

.

De

vi

ce

 A

d

d

re

ss

 2  3

  4

DIP switch block

5

4

3

2

1

9

8

7

6

SIGNAL GND
RESERVED
SIGNAL HIGH

RESERVED

SIGNAL LOW

RESERVED

RESERVED

1

2

3

4

5

6

7

8

9

SIGNAL HIGH
RESERVED
SIGNAL GND

SIGNAL LOW

RESERVED

RESERVED

RESERVED

Input LS bus

(male)

Output LS bus

(female)

B u s
termination

B u s
address

LED

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: