Eaton SWIRE-GW-MB Manual

Add to My manuals
67 Pages

advertisement

Eaton SWIRE-GW-MB Manual | Manualzz

Rückenbreite 4–6 mm (1 Blatt = 0,106 mm für XBS Digitaldruck)

(1 Blatt = 0,080 mm für Eberwein Digitaldruck bei 80 g/m

2

)

Manual

07/09 MN03407002Z-EN replaces 07/09 AWB1251-1616en

Connection System SmartWire

SWIRE-GW-MB

Eaton Corporation

Eaton is a leading power management company. Eaton operates worldwide with products, systems and services in the electrical, hydraulic, aerospace, truck and automotive sectors.

Eatons Electrical Sector

Eatons Electrical Sector is the worldwide leader in products, systems and services for energy distribution, safe electricity supply and automation in industrial, residential and purpose-built buildings, public facilities, energy providers, commerce and OEMs.

Eaton Electrical Sector includes the brands Cutler-Hammer®, Moeller®,

Micro Innovation, Powerware®,

Holec®, MEM® and Santak® www.eaton.com

Moeller addresses worldwide: www.moeller.net/address

E-Mail: [email protected]

Internet: www.moeller.net

Issued by: Eaton Industries GmbH

Hein-Moeller-Str. 7–11

D-53115 Bonn

© 2002 by Eaton Industries GmbH

Subject to alteration

07/09 MN03407002Z-EN xx/xx/Ki 0x/02

Printed in the Federal Republic of Germany (0x/02)

Article No.: xxxxxx

4 *patpks#nycmyn*

Rückenbreite festlegen! (1 Blatt = 0,106 mm, gilt nur für XBS)

(1 Blatt = 0,080 mm für Eberwein Digitaldruck bei 80 g/m2)

All brand and product names are trademarks or registered trademarks of the owner concerned.

Emergency On Call Service

Please call your local representative: http://www.eaton.com/moeller/aftersales or

Hotline of the After Sales Service:

+49 (0) 180 5 223822 (de, en)

[email protected]

Original Operating Instructions

The German-language edition of this document is the original operating manual.

Translation of the original operating manual

All editions of this document other than those in German language are translations of the original German manual.

1 st published 2008, edition date 11/08,

2 nd edition 07/09,

See revision protocol in the “About this manual“ chapter

© 2008 by Eaton Industries GmbH, 53105 Bonn

Production: René Wiegand

Translation: globaldocs GmbH

All rights reserved, including those of the translation.

No part of this manual may be reproduced in any form (printed, photocopy, microfilm or any other process) or processed, duplicated or distributed by means of electronic systems without written permission of

Eaton Industries GmbH, Bonn.

Subject to alteration without notice.

Danger!

Dangerous electrical voltage!

Before commencing the installation

• Disconnect the power supply of the device.

• Ensure that devices cannot be accidentally restarted.

• Verify isolation from the supply.

• Earth and short circuit.

• Cover or enclose neighbouring units that are live.

• Follow the engineering instructions

(IL/AWA) of the device concerned.

• Only suitably qualified personnel in accordance with EN 50110-1/-2

(VDE 0105 Part 100) may work on this device/system.

• Before installation and before touching the device ensure that you are free of electrostatic charge.

• The functional earth (FE) must be connected to the protective earth (PE) or to the potential equalisation. The system installer is responsible for implementing this connection.

• Connecting cables and signal lines should be installed so that inductive or capacitive interference does not impair the automation functions.

• Install automation devices and related operating elements in such a way that they are well protected against unintentional operation.

• Suitable safety hardware and software measures should be implemented for the

I/O interface so that a line or wire breakage on the signal side does not result in undefined states in the automation devices.

• Ensure a reliable electrical isolation of the low voltage for the 24 volt supply. Only use power supply units complying with

IEC 60364-4-41 (VDE 0100 Part 410) or

HD 384.4.41 S2.

• Deviations of the mains voltage from the rated value must not exceed the tolerance limits given in the specifications, otherwise this may cause malfunction and dangerous operation.

• Emergency stop devices complying with

IEC/EN 60204-1 must be effective in all operating modes of the automation devices. Unlatching the emergency-stop devices must not cause restart.

• Devices that are designed for mounting in housings or control cabinets must only be operated and controlled after they have been installed with the housing closed.

Desktop or portable units must only be operated and controlled in enclosed housings.

I

II

• Measures should be taken to ensure the proper restart of programs interrupted after a voltage dip or failure. This should not cause dangerous operating states even for a short time. If necessary, emergencystop devices should be implemented.

• Wherever faults in the automation system may cause damage to persons or property, external measures must be implemented to ensure a safe operating state in the event of a fault or malfunction (for example, by means of separate limit switches, mechanical interlocks etc.).

07/09 MN03407002Z-EN

Contents

About this manual

List of revisions

Target group

Additional device manuals

Reading conventions

1 Gateway MODBUS RTU SWIRE-GW-MB

System overview

Design of the SWIRE-GW-MB

Functional description

Example for SmartWire Module

– SmartWire module for DILM

– SmartWire-I/O module

2 Installation

MODBUS RTU station addresses and protocol parameters

Connect SmartWire connection cable

Connecting the power supply

Connecting MODBUS RTU

– Data transfer with RS232

– Data transfer with RS485

Terminating resistors

EMC-conformant wiring of the network

Potential separation

Max. cable lengths

11

16

17

19

19

11

13

14

16

21

21

3 Commissioning

Initial starting

23

23

Meaning of the status LEDs 24

– Ready-LED 24

– U-Aux-LED 24

– SmartWire LED 25

– MODBUS-RTU-LED 25

8

8

9

7

7

5

6

3

3

3

3

4

1

2

07/09 MN03407002Z-EN

4 Operation through MODBUS RTU

Incorporation in the field bus configuration

Data mapping of SmartWire stations

– Data diagram

– Abbreviated and full bit representation

– Control data areas

– Check bits

– Life bits

– Status bits

– Manufacturer and device ID of SmartWire station 40

– Hardware and software version 41

31

38

38

39

39

27

27

28

29

– Number of SmartWire stations

– Setting the watchdog timer

Access methods to the register areas

MODBUS-functions

– Structure of a MODBUS message

– Write commands

– Read commands

MODBUS diagnostic functions (0x08)

– Polling device information for SWIRE-GW-MB 51

– Diagnostic data 51

– Checking the SmartWire configuration

Fault-finding

52

53

45

46

48

49

43

43

44

45

5 Appendix

Technical data

55

55

– General 55

LED indicators 57

MODBUS-RTU

Connection system SmartWire

Dimensions

57

58

59

Index 61

07/09 MN03407002Z-EN

About this manual

List of revisions

Key word

The following significant amendments have been introduced since previous issues:

New Modification Deleted Edition date

Page

07/09 Imprint Emergency On Call Service

6 section "System overview"

j j

Target group This manual is intended for automation technicians and engineers. Extensive knowledge regarding the MODBUS-

RTU fieldbus and programming of a MODBUS-RTU master are assumed. Furthermore, you should also be familiar with the handling of the SmartWire system.

Additional device manuals Further information concerning the SmartWire topic can be found in:

• Connection system SmartWire, modules

MN03402001Z-EN

(previously AWB1210+1251-1591GB),

• Connection system SmartWire, EASY223-SWIRE

MN05006003Z-EN

(previously AWB2528+1251-1589GB),

• Connection system SmartWire SWIRE-GW-DP

MN03407001Z-EN

(previously AWB1210+1251-1590GB).

The manuals are available for download as PDF files from the Eaton website.

To find the document quickly go to http://www.moeller.net/en/support/index.jsp

and enter the document number as a search term.

3

4

07/09 MN03407002Z-EN

About this manual

Reading conventions Symbols used in this manual have the following meanings:

X

Indicates instructions to be followed.

h i j

Caution!

Warns of a hazardous situation that could result in damage to the product or components.

Warning!

Warns of the possibility of serious damage and slight injury.

Danger!

Warns of the possibility of a hazardous situation that could result in major damage and serious or fatal injury or even death.

h Draws your attention to interesting tips and supplementary information

For greater clarity, the name of the current chapter is shown in the header of the left-hand page and the name of the current section in the header of the right-hand page. This does not apply to pages at the start of a chapter and empty pages at the end of a chapter.

07/09 MN03407002Z-EN

1 Gateway MODBUS RTU

SWIRE-GW-MB

The communication module SWIRE-GW-MB has been developed for automation tasks with the PROFIBUS-DP field bus. SWIRE-GW-MB provides a gateway between the

MODBUS RTU field bus system and the SmartWire connection system and can be used only in combination with

SmartWire. The MODBUS RTU gateway always works as a modular slave within the MODBUS RTU network.

5

6

Gateway MODBUS RTU

SWIRE-GW-MB

System overview

07/09 MN03407002Z-EN

The SmartWire connection system is integrated into a

MODBUS-RTU network as a modular slave.

a b

M M M M M

Figure 1: Gateway MODBUS SWIRE-GW-MB in network a Master area (PLC or PC) b Slave area with SmartWire system h The SWIRE-GW-MB gateway and the components of the

SmartWire system are built-in devices. They must be installed in an enclosure, switch cabinet or distribution board with protection to IP54 or higher.

07/09 MN03407002Z-EN

Design of the SWIRE-GW-MB

Design of the

SWIRE-GW-MB d c b a

The illustration below shows the SWIRE-GW-MB.

e f g

Figure 2: Device view a MODBUS-RTU connection through 9-pole SUB-D socket b Configuration button c Status LEDs d Gateway power supply terminals e Contactor coil (Aux) power supply terminals f Socket OUT for SmartWire connection cable g DIP switch for address and logging settings

Functional description The gateway SWIRE-GW-MP enables the connection of the

SmartWire system to a MODBUS RTU communication network. The SmartWire system can consist of a rung with up to 16 stations. Stations can be, for example, SmartWire modules for DILM or SmartWire I/O modules. In general, the

SmartWire stations can transmit up to four bits of control data (station’s output data) and up to eight bytes of status data (station’s input data).

7

8

Gateway MODBUS RTU

SWIRE-GW-MB

07/09 MN03407002Z-EN

Example for SmartWire

Module

SmartWire module for DILM

The illustration below shows the SmartWire module for

DILM.

c d b a e f g h

Figure 3: Surface mounting of SmartWire-Modul for DILM a IN and OUT sockets for the connection cable b Green LED c Mechanical switching position indicator d Catch slider e Connection pins f Connection terminals X1-X2 g Cableway h Connection terminals X3-X4

Status data

• Switching state feedback for contactor and PKZM0 (read data, as viewed from MODBUS RTU master)

Control data:

• Switching signal for contactor actuation On/Off (write data, as viewed from MODBUS RTU master)

07/09 MN03407002Z-EN

Example for SmartWire

Module

SmartWire-I/O module

The illustration below shows the SmartWire I/O module.

c b a d e g f

Figure 4: SWIRE-4DI-2DO-R a Socket In for SmartWire connection cable b Socket Out for SmartWire connection cable c Terminals for elay output Q1 d Terminals for Inputs I1 and I2 e Green LEDs f Terminals for Inputs I3 and I4 g Terminals for relay output Q2

Status data

• State of digital inputs (four bits) (read data, as viewed from MODBUS RTU master)

Control data:

• Actuation of SmartWire module’s relay outputs (two bits)

(write data, as viewed from MODBUS RTU master)

9

10

07/09 MN03407002Z-EN

07/09 MN03407002Z-EN

2 Installation

This section tells you how to set up the station addresses and protocol parameters for MODBUS RTU.

MODBUS RTU station addresses and protocol parameters

To be able to use the gateway SWIRE-GW-MB within a

MODBUS RTU network, its station address, parity and baud rate must be set before use. These settings are made using

DIP switches 2 to 10 on the device’s underside.

DIP switch 1 is not assigned with a function.

The MODBUS RTU station address for the SWIRE-GW-MB is set in binary format with DIP switches 6 to 10, providing a total of 32 addresses from 0 to 31. Valid addresses for the

SWIRE-GW-MB are 1 to 31.

The baud rate of the MODBUS RTU network is set with DIP switches 2 and 3.

Possible baud rates, in kbits/s, are 9.6, 19.2, 38.4 and 57.6.

The corresponding DIP switch settings are are shown below.

Table 1: Setting the baud rate

Transmission rate

[kBit/s]

DIP switch 3 DIP switch 2

9.6

19.2

38.4

57.6

OFF

OFF

ON

ON

OFF

ON

OFF

ON

The parity is set with DIP switches 4 and 5, as shown in the table below.

11

12

Installation

07/09 MN03407002Z-EN

Table 2: Parity settings

Number of stop bits

Parity DIP switch 5 DIP switch 4

1

1

2

1

NO

NO

ODD

EVEN

OFF

OFF

ON

ON

OFF

ON

OFF

ON

No Parity (NO) is obtained with two different DIP switch positions, which differ in the number of stop bits (1 or 2).

The illustration below shows the DIP switches on the gateway device’s underside.

g

Figure 5: Bottom of device SWIRE-GW-MB

The following illustration shows the gateway’s default

(factory set) DIP switch positions.

07/09 MN03407002Z-EN

Connect SmartWire connection cable

ON 1 2 3 4 5 6 7 8 9 10

Figure 6: Initial DIP switch positions of SWIRE-GW-MB (address

31, even parity, one stop bit, baud rate = 57.6 kbits/s)

X

On the DIP switch (Fig. 7) on the device underside, set the gateway’s station address, parity and baud rate.

off

1 2 3 4 5 6 7 8 9 10 on

1

2

4

8

16

A dd ress

P a r i ty

B aud r a te not u se d

Figure 7: Setting the station address, parity and baud rate

Connect SmartWire connection cable

The slaves in the SmartWire system are connected unsing 6pole connection cables available in different lengths. The cable is fitted with plugs at both ends.

X Connect the 6-pole SmartWire connection cable to the

OUT socket on the device underside.

13

Installation

07/09 MN03407002Z-EN

14

Figure 8: Connecting SWIRE-GW-MB

X Connect the other SmartWire stations.

h Caution!

The overall length of the SmartWire line may not exceed a maximum of 4 m.

Connecting the power supply

The gateway SWIRE-GW-MB is operated with a 24 V DC supply voltage. An additional 24 V DC control voltage is provided for the contactor coils.

X Connect the SWIRE-GW-MB via the connection terminals

24 V and 0 V(-Gateway-) to the 24 V DC power supply.

X

Connect the 24 V DC control voltage for the contactor coils via the connection terminals Aux 0 V and 24 V e.

07/09 MN03407002Z-EN

Connecting the power supply

L01+

L01–

1 A

U e

= 24 V H

(20.4 – 28.8 V H )

0.6 Nm

3 A

0.6 x 3 .5

24V 0V24V 0V

Figure 9: Connecting the power supply h

The terminals are suitable for AWG22 to AWG16 cables and for flexible cables with a cross-section of 0.5 to 1.5 mm².

Tighten the terminals to 06 Nm.

The gateway is protected by a 1 A gG/gL line protection fuse or a 1 A miniature circuit-breaker featuring characteristic C. The fusing of the incoming supply for the contactor coils is implemented using 3 A gG/gL fuses or a

3 A miniature circuit-breake featuring characteristic Z.

j Danger!

In safety-relevant applications the power supply providing power to the SmartWire system must feature a PELV power supply unit (protective extra low voltage).

15

16

07/09 MN03407002Z-EN

Installation

Connecting MODBUS RTU The MODBUS RTU gateway SWIRE-GW-MB transfers data through the two communication standards RS232 and

RS485. The pin assignment of the 9-pin D-sub plug for connection to the MODBUS RTU gateway’s 9-pin D-sub socket must correspond with the communication standard used.

h

Data transfer with RS232

If you are using the RS232 communication standard, pins 2,

3 and 5 of the gateway’s D-sub socket are used for data transfer.

Caution!

RS232 should be used only for point-to-point connections between the SWIRE-GW-MB and a PLC or PC.

h Caution!

For communication through RS232 use only pins 2, 3 and

5!

Using preassembled data cables that use pins 6, 8 and 9 can damage the SWIRE-GW-MB or the other connected device.

Pin assignment of the gateway’s port for RS232

9

8

7

6

5

4

3

2

1

2

3

5

RxD o u t

2

TxD i n

3

GND

5

5

4

3

2

1

9

8

7

6

Figure 10: Pin assignment RS232

07/09 MN03407002Z-EN

Connecting MODBUS RTU

Pin

4

5

6

7

8

9

1

2

3

The following table lists the signals of SWIRE-GW-MB.

Table 3: Signals SWIRE GW-MB

Signal name Designation

Not used

RxD out

TxD in

Not used

GND

+ 5V

Not used

Rx/Tx – (A-Line)

Rx/Tx + (B-Line)

RS232 transmit

RS232 receive

Reference potential

+ 5V, electrically isolated

RS485 receive/Send data N

RS485 receive/Send data P h

Data transfer with RS485

If you are using the RS485 communication standard, pins

5,6, 8 and 9 of the gateway’s D-sub socket are used for data

transfer. The Table 4 below lists the pin functions and

assignments of the 9.pin D-sub connector.

Caution!

For communication through RS485 use only pins 5,6,8 and

9! Using preassembled data cables that use pins 2 and 3 can damage the SWIRE-GW-MB or the other connected device.

17

18

Installation

07/09 MN03407002Z-EN

Pin functions RS485 SWIRE-GW-MB

Pin

7

8

9

5

6

1

2

3

4

5

6

8

9

Rx/Tx - (A-L i ne)

Rx/Tx + (B-L i ne)

GND

5 V

Figure 11: Terminal assignment RS485

Table 4: SWIRE-GW-MB signals

Signal name Designation

Not used

RxD out

TxD in

Not used

GND

+ 5V

Not used

Rx/Tx – (A-Line)

Rx/Tx + (B-Line)

RS232 transmit

RS232 receive

Reference potential

+ 5V, electrically isolated

RS485 receive/Send data N

RS485 receive/Send data P

For data transfer, only pins 8, 9 and screen are required.

X Connect the 9-pin D-sub cable to the gateway’s D-sub socket.

h The cable type has an influence on the available bus cable

length and thus on the data transfer rate ( a section

"Max. cable lengths", page 21 ).

07/09 MN03407002Z-EN

Terminating resistors

Terminating resistors If the RS485 communication standard is used, the first and last station in a MODBUS RTU field bus segment must terminate the field bus with an energized termination resistor. The bus termination resistor is connected externally, either as a separate terminating resistor or through a special

D-sub connector with built-in bus termination. Connect the terminating resistor, which should have a resistance of

150  (0.5 W) between the two signal lines RxD/TX (A-line) and Rx/Tx+ (B-line).

EMC-conformant wiring of the network

Electromagnetic interference can cause faults in the field bus. Their influence can be limited by implementing suitable

EMC measures, such as:

• EMC-conformant system configuration

• EMC compliant cable installation and

• Avoiding high potential differences

• correct installation of the MODBUS systems (cables, bus plug connection, etc.)

The electromagnetic interference can be significantly reduced by the use of a cable screen (shield). The following illustrations indicate the correct method for connecting the shield.

19

20

Installation for top-hat rail

M4

ZB4-102-KS1

07/09 MN03407002Z-EN for mounting plate

ZB4-102-KS1

FM 4/TS 35

(Weidmüller)

KLBü 3-8 SC

(Weidmüller)

Figure 12: Shielding of network cable h Caution!

Potential equalisation currents may not flow on the shield.

A safe method of equipotential bonding must be provided to ensure this.

07/09 MN03407002Z-EN

Potential separation

Potential separation

Max. cable lengths

The following electrical isolation measures apply for the

SWIRE-GW-MB interfaces:

• Potential isolation of the MODBUS-RTU to the supply voltage and to the SmartWire system

• No isolation between the supply voltage for the gateway and the supply voltage for the contactor coils

• No electrical isolation between the supply voltages and the SmartWire system.

9.6

19.2

38.4

57.6

For each communication standard (RS232 and RS485) maximum bus cable lengths are specified.

RS485

When RS485 is used, the maximum cable length depends on the cross-section of the data cable. At a conductor crosssection of 0.25 mm² (AWG24) or greater, the maximum cable length is 1000 m. With data cables of category 5, the bus length can be up to 600 m.

RS232

For the RS232 standard and a cable capacitance of u to

2500 pF the following maximum cable lengths are specified.

Table 5: Maximum cable lengths for RS232

Baud rate [kBit/s] Max. cable length [m]

152

15

7.5

5

21

22

07/09 MN03407002Z-EN

07/09 MN03407002Z-EN

Initial starting

3 Commissioning

This section tells you how to take the gateway into operation.

X

Before switching on the supply voltage for the gateway ensure that the contactor coils, the bus connection and the

SmartWire system are correctly connected.

X Make sure that the gateway’s MODBUS RTU address, the parity and the baud rate for the MODBUS RTU network are set correctly with the DIP switches on the gateway’s underside.

X

Switch on the supply voltages for the contactors and the gateway.

Die gateway’s LEDs now indicate the following states:

• The ready LED of the SWIRE-GW-MB flashes.

• The U-Aux LED of the SWIRE-GW-MB is permaneltly ON.

• The MODBUS-RTU-LED is OFF (no communication via

MODBUS-RTU).

• The SmartWire LED flashes as the SmartWire slaves have not yet been configured.

• The first SmartWire module flashes the ready LED.

• The ready LEDs on all other SmartWire modules flash in pulses.

X Press the configuration button on the gateway and keep it pressed for about 2 s until the ready LED switches from flow flashing to fast flashing.

The actual configuration of the SmartWire system, i.e. all connected SmartWire modules, are now automatically read into the gateway. An address is assigned in turn to each

SmartWire station, starting with address 1 and incrementing in steps of 1. When the configuration has been read in to the

SmartWire system, the SWIRE status LED on the MODBUS

RTU gateway and the Ready LEDs on the SmartWire module change from slow flashing to continually lit. The SmartWire

23

24

Commissioning

07/09 MN03407002Z-EN system then continually keeps the saved hardware configuration synchronized with the existing configuration.

Any discrepancies identified by the system are indicated by a slowly flashing SmartWire LED (

a section "Fault-finding", page 53).

X

Switch the MODBUS RTU master to Run. As soon as the gateway is incorporated in the MODBUS RTU field bus, the

SWIRE-GW-MB indicates send and receive data transfer activity with a yellow flashing or constantly lit MODBUS

RTU LED.

Meaning of the status

LEDs

The gateway SWIRE-GW-MB has four status LEDs. These are green (UAUX, Ready and SmartWire) and yellow (MODBUS

RTU).

a b

Ready-LED a continuous light b OFF c d c Fast flashing d Slow flashing

Power present, communication through MODBUS active.

No supply voltage available for the gateway and the SmartWire or internal fault in the gateway

New configuration has been activated via the configuration button

MODBUS communication not active a b

U-Aux-LED a continuous light b OFF

Supply voltage available for the contactor coils

No supply voltage available

07/09 MN03407002Z-EN

Meaning of the status LEDs

SmartWire LED a b a continuous light b OFF c c Fast flashing d d Slow flashing

SmartWire system is ok

No supply voltage available on the

MODBUS gateway

Transmission error in the SmartWire system

Error in the configuration of the

SmartWire system, target and actual configuration do not match a b

MODBUS-RTU-LED a continuous light b OFF

MODBUS communication active

(control data being transmitted).

The watchdog timer is running.

No supply voltage present; no data transfer through MODBUS RTU

MODBUS timer timeout

25

26

07/09 MN03407002Z-EN

07/09 MN03407002Z-EN

4 Operation through MODBUS RTU

Incorporation in the field bus configuration

To configure the higher-level MODBUS RTU master, perform the following steps.

X Include a function block for a MODBUS RTU master in the configuration of the used PLC.

X Assign the communications port to be used for MODBUS

RTU communications to this function block.

X In the MODBUS RTU function block make the required

MODBUS network settings, in particular the MODBUS RTU gateway settings (baud rate, parity stop bits and address).

X Specify the size of the register areas for the MODBUS network, taking into account the data to be transferred.

The MODBUS gateway SWIRE-GW-MB has a built-in

adjustable watchdog timer (see section "Setting the watchdog timer", page 43), which triggers a fault state in

the gateway if MODBUS communication fails. To prevent timeouts, the control data from the SWIRE-GW-MB should be written periodically.

27

28

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

Data mapping of

SmartWire stations

Designation

Within each MODBUS RTU device, the input and output level data are stored in various registers (input register and holding register).

For the MODBUS RTU gateway the status and control data for the connected SmartWire stations are saved to the holding register of the SWIRE-GW-MB, which contains the following data:

• Status information (input data) of the SmartWire stations

• Control data (output data) of the SmartWire stations

• Parity bits of the SmartWire stations

• Device and manufacturer’s ID of the SmartWire stations

• Life bits of the SmartWire stations

• Number of connected SmartWire station

• Time value of the built-in MODBUS timer

This data is saved to the registers as follows:

Table 6: Data mapping in the SWIRE-GW-MB

Register area Data width: Diagram

Abbreviated control data

40001 - 40002

Complete control data 40003 - 40006

Abbreviated status data 1

40007 - 40008

40009

40010 - 40013

Check bits

Abbreviated status data 2

Complete status data

Life bits

Station ID

40014 - 40077

40078

40079 - 40142

4 bytes

8 bytes

4 bytes

2 bytes

8 bytes

128 bytes

2 bytes

128 bytes two bits per SmartWire stations four bits per SmartWire station two bits per SmartWire stations

1bit per SmartWire station four bits per SmartWire station eight bits per SmartWire station

1bit per SmartWire station eight bits per SmartWire station

07/09 MN03407002Z-EN

Data mapping of SmartWire stations

Designation Register area

Number of SmartWire stations

Watchdog timer (nonretentive)

40143

44097

Watchdog-Timer

(remanent)

44098 h

Data width:

2 bytes

Diagram binary diagram

2 bytes

2 bytes

Low byte:

Time = value × 10 ms

High byte: not assigned

Low byte:

Time = value × 10 ms

High byte: not assigned

You can download a full detailed list of registers and their content from ftp://ftp.moeller.net/SMARTWIRE/English/

01_PRODUCT/04_AWB/Register_structure_SWIRE-GW-

MB .

Data diagram

The MODBUS RTU gateway always outputs its data according to the physical location of the SmartWire stations.

The first data bits within each register area are for the first

SmartWire station next to the MODBUS RTU gateway.

The following table provides an example with abbreviated status data area 1 (register area 40007 to 40008).

29

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

30

Register area

40007

Bit no.

Table 7: Arrangement of register contents

Data content No. of SmartWire station

3

4

5

0 (LSB) 1)

1

2

Status bit 1

Status bit 2

Status bit 1

Status bit 2

Status bit 1

Status bit 2

1 slave

1 slave

2 slave

2 slave

3 slave

3 slave

40008

4

5

2

3

14

15 (MSB) 2)

0 (LSB) 1)

1

Status bit 1

Status bit 2

Status bit 1

Status bit 2

Status bit 1

Status bit 2

Status bit 1

Status bit 2

14

15 (MSB) 2)

1) LSB = Least Significant Bit,

2) MSB = Most Significant Bit

Status bit 1

Status bit 2

8 slave

8 slave

9 slave

9 slave

10 slave

10 slave

11 slave

11 slave

16 slave

16 slave

07/09 MN03407002Z-EN

Data mapping of SmartWire stations

Abbreviated and full bit representation

Depending on the register data area, the status data (input data of the SmartWire stations) and control data (output data of the SmartWire stations) are output either in an abbreviated form or in full.

Abbreviated views show only the first status/control bits of each SmartWire station. For SmartWire stations with a higher number of status/control bits than shown in the abbreviated representation, only the allowed number of bits is shown. In the full view, all of the data of the SmartWire station is shown. Depending on the SmartWire station, this view may contain unused bit fields that are also transferred through MODBUS RTU.

The example below illustrates the abbreviated representation of status and control data for the stations

SWIRE-DIL and SWIRE-4DI-2DO-R.

31

32

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

SWIRE-DIL

Contactor status

PKZ status

SWIRE-DIL status bit

0

1

Example:

Status and control data of SWIRE-DIL and SWIRE-4DI-2DO-R

SWIRE-DIL has the following status and control data:

Table 8: Control data (write data, as seen from MODBUS

RTU masters)

SWIRE-DIL Bit 3 Bit 2 Bit 1 Bit 0

Contactor actuation 0/1

The values 0 and 1 have the following meanings (Table 9):

Table 9: Definition of the bit

Value Meaning

Switch off contactor

Switch on contactor

Table 10: Status data (read data, as seen from MODBUS RTU master)

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0/1

0/1

0/1

The values 0 and 1 have the following meanings (Table 11):

07/09 MN03407002Z-EN

Data mapping of SmartWire stations

Value

0

1

Contactor status

Table 11: Definition of the bit

PKZ status

OFF

ON

OFF

ON

SWIRE-DIL status bit

OK

Fault

SWIRE-4DI-2DO-R has the following status and control data:

Table 12: Control data (write data, as seen from MODBUS

RTU masters)

SWIRE-DIL Bit 3 Bit 2 Bit 1 Bit 0

Actuation output Q1

Actuation output Q2 0/1

0/1

The values 0 and 1 have the following meanings (Table 13):

Table 13: Definition of the bit

Value Meaning

0

1

Switch off relay

Switch on relay

33

34

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

SWIRE-4DI-2DO-R

Status input I1

Status input I2

Status input I3

Status input I4

Status bit

SWIRE-4DI-2DO-R

0

1

Table 14: Status data (read data, as seen from MODBUS RTU master)

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

0/1

0/1

0/1

0/1

0/1

The values 0 and 1 have the following meanings (Table 15):

Table 15: Definition of the bit

Status input SWIRE-4DI-2DO-R status bit

Input 0

Input 1

OK

Fault

The display format for status and control data depends on the selected register area.

For the status data you can select two different abbreviated representations:

• Abbreviated status data 1: Two bits per SmartWire station, register area 40007 to 40008

• Abbreviated status data 2: Four bits per SmartWire station, register area 40010 to 40013

Abbreviated control data can be shown only in one representation (register area 40001 to 40002) and contain two bits per SmartWire station. The table below lists the status and control data shown in each abbreviated representation.

07/09 MN03407002Z-EN

Data mapping of SmartWire stations

Table 16: Register view, abbreviated status and control data

Register 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

40001

40002

S8

Q2

S16

Q2

S8

Q1

S16

Q1

S7

Q2

S15

Q2

S7

Q1

S15

Q1

S6

Q2

S14

Q2

S6

Q1

S14

Q1

S5

Q2

S13

Q2

S5

Q1

S13

Q1

S4

Q2

S12

Q2

S4

Q1

S12

Q1

S3

Q2

S11

Q2

S3

Q1

S11

Q1

S2

Q2

S10

Q2

S2

Q1

S10

Q1

S1

Q2

S9

Q2

S1

Q1

S9

Q1

40007

40008

S8

I2

S16

I2

S8

I1

S16

I1

S7

I2

S15

I2

S7

I1

S15

I1

S6

I2

S14

I2

S6

I1

S14

I1

S5

I2

S13

I2

S5

I1

S13

I1

S4

I2

S12

I2

S4

I1

S12

I1

S3

I2

S11

I2

S3

I1

S11

I1

S2

I2

S10

I2

S2

I1

S10

I1

S1

I2

S9

I2

S1

I1

S9

I1

40010

40011

40012

40013

S12

I4

S16

I4

S4

I4

S8

I4

S12

I3

S16

I3

S4

I3

S8

I3

S12

I2

S16

I2

S4

I2

S8

I2

S12

I1

S16

I1

S4

I1

S8

I1

S11

I4

S15

I4

S3

I4

S7

I4

S11

I3

S15

I3

S3

I3

S7

I3

S11

I2

S15

I2

S3

I2

S7

I2

S11

I1

S15

I1

S3

I1

S7

I1

S10

I4

S14

I4

S2

I4

S6

I4

S10

I3

S14

I3

S2

I3

S6

I3

S10

I2

S14

I2

S2

I2

S6

I2

S10

I1

S14

I1

S2

I1

S6

I1

S9

I4

S13

I4

S1

I4

S5

I4

Sx = number of SWIRE station, Qy = control bit y of station x, Iy = status bit y of station x

S9

I3

S13

I3

S1

I3

S5

I3

S9

I2

S13

I2

S1

I2

S5

I2

S9

I1

S13

I1

S1

I1

S5

I1

SmartWire station

SWIRE-DIL

SWIRE-4DI-2DO-R

Table 17: Abbreviated status and control data views

Abbreviated control data (40001 – 40002)

Abbreviated status data (40010 – 40013)

Abbreviated status data

(40007 – 40008)

Bit 0

Contactor actuation

Bit 1 Bit 0

Contacto r status

Output Q1 Output Q2 Input I1

Bit 1

PKZ status

Input I2

Bit 2 Bit 3

Input I3 Input I4

35

36

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

In the full representation all status and control bits of each

SmartWire station are output. The complete control data use four bits of register area 40003 to 40006 for each SmartWire station. The complete status data use eight bits per

SmartWire station within register area 40014 to 40077. The table below shows the structure of the status data bytes of a SmartWire station within register area 40014 to 40017.

Table 18: Status bytes for register area 40014 – 40017

Register High byte

40014

40015

40016

40017

Low byte | status data byte 2

High byte | status data byte 1

Low byte | status data byte 4

High byte | status data byte 3

Low byte | status data byte 6

High byte | status data byte 5

Low byte | status data byte 8

High byte | status data byte 7

The table below shows the data contained within this register for a SWIRE-4DI-2DO-R.

07/09 MN03407002Z-EN

Data mapping of SmartWire stations

Regis ter

Bit 7

40014 Low byte

High byte

-

SWIRE-

4DI-2DO-R status

-

40015 Low byte

High byte

-

-

40016 Low byte

High byte

40017 Low byte

High byte

-

-

-

-

-

-

-

-

Bit 6

Table 19: SWIRE-4DI-2DO-R status data, register area 40014 –

40017

Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

Input I4 Input I3 Input I2 Input I1 h Whether it is best to select an abbreviated or a full data representation depends on the type of SmartWire station:

An abbreviated representation is best suited for stations with a small number of status or control bits, as this reduces the number of unused bit fields within the

MODBUS RTU protocol; a full representation is best used for stations with a large number of status or control bits.

37

38

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

Control data areas

The control (output) data of the SmartWire stations are located in two different register areas, one for the abbreviated representation (two control bits per SmartWire station, register area 40001 to 40002) and one for the full representation (four control bits per SmartWire station, register area 40003 to 40006). The MODBUS RTU gateway does not support the simultaneous use of both of these data areas, since this could cause inconsistencies between the control data in the two register areas. To switch between the two control data areas, you must switch the MODBUS RTU gateway off and on again.

h

0

1

Check bits

The register area for parity bits is used to determine whether a station on the SmartWire has failed or has an internal fault state. Each SmartWire station has a parity bit. Within the register area, the parity bits are arranged according to the physical arrangement of the SmartWire stations. The parity bits are defined as follows:

Table 20: Definition of parity bits

Parity bit SmartWire station status

Station connected and working correctly

Station has failed or is defective

Each parity bit represents a logic OR link of the status and life bit of its SmartWire station. It therefore contains the key diagnostic information about its SmartWire station, so that an additional evaluation of status and life bits may not be necessary.

07/09 MN03407002Z-EN

Data mapping of SmartWire stations

0

1

Life bits

Register area 40078 is used for evaluating connected or failed SmartWire stations. It contains a life bit for each station for this purpose. Within the register area, the life bits are arranged according to the physical arrangement of the

SmartWire stations. The life bits are defined as follows:

Table 21: Definition of life bits

Life bit Communication status of SmartWire station

The SmartWire station has failed

The SmartWire station is communicating correctly

0

1

Status bits

Each SmartWire station sends status bits to the MODBUS

RTU gateway. The status bit indicates whether the station is working correctly or has changed to a fault state. Status bits are contained only in the full representation (register area

40014 to 40077). Within this register area the status bit is the highest bit of the lowest status data byte of its station.

The status bits are defined as follows:

Table 22: Definition of status bits

Status bit State of SmartWire station

OK

Fault

39

40

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

5

6

3

4

7

Data byte

1

2

8

Meaning

Node address

Slave part no./device identification:

Hardware version

Software version

CFG-byte

Free

Lifeguarding time

Manufacturer ID

Manufacturer and device ID of SmartWire station

The manufacturer and device ID data field (register area

40079 to 40142) allows the arrangement of SmartWire device types identified by the gateway as well as their hardware and software versions can be read out through

MODBUS RTU. Each SmartWire station occupies eight bytes for manufacturer and device ID within the register area.

These bytes contain the following information:

Table 23: Manufacturer and device ID of a SmartWire station

Value range Remark

0x01 - 0x10

0x00 - 0xFF

0x00 - 0xFF

0x00 - 0xFF

0x00 - 0xFF

0x00 - 0xFF

0x00 - 0xFF

0x00 - 0xFF

Node address 1 to 16 of station within SmartWire system

Slave type (bit 7), device ID (bit 0 to 6)

Hardware version of station

Software version of station

Read configuration identifier

Not used

Lifeguarding time of SmartWire system (value × 10 ms)

0 = No ID (reserved)

1 = Eaton

2 – 255 = unused; available for assignment

07/09 MN03407002Z-EN

Data mapping of SmartWire stations

Device identification:

The SmartWire stations have the following device IDs (data byte 2):

Table 24: Device type codes

Data bit 0 to 6 Device type

0x20

0x21

SWIRE-DIL

SWIRE-4DI-2DO-R

Hardware and software version

The hardware and software versions (data bytes 3 and 4) are given as a decimal number (for example version 1.5). The corresponding data byte is split into the two indices for predecimal and decimal places as follows:

Table 25: Hardware and software version data bytes

Data bytes one and four

Hardware/software version

Bit 0 - 3

Bit 4 - 7

Decimal places

Pre-decimal place h The hardware and software version code is not supported by all SmartWire device types.

CFG-byte

A description of the status data for each SmartWire stations is contained in the the station’s CFG byte (data byte 5). This byte contains information about the station’s number and format of status data bytes. The CFG byte has the following structure:

41

42

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

Bit

Table 26: Structure of the CFG byte

Meaning Value range

0 (LSB) 1)

1

2

3

Length of status data 00 = 1 byte (one word)

01 = 2 bytes (two words)

02 = 3 bytes (three words)

03 = 4 Bytes (four words)

04 = 5 bytes

05 = 6 bytes

06 = 7 bytes

07 = 8 bytes

00 = no status data

01 = Input data

4

5

Type of status data

6

7 (MSB) 2)

Data structure

Data consistency

0 = Byte structure

1 = Word structure

0 = consistency through byte or word

1 = consistency through entire length

1) LSB = Least Significant Bit, 2) MSB = Most Significant Bit

The status data length is described with data bits 0 to 3 of the CFG byte. Each SmartWire station can have up to eight status data bytes. These are contained in the station with either a byte structure (eight status bytes) or a word structure (four data words). The status data structure (word or byte) is defined with bit 6.

h The register area for manufacturer and device ID is written once during initialization of the SWIRE-GW-MB. Any failed

SmartWire stations remain in this representation and are removed only at the next startup of the SWIRE-GW-MB.

07/09 MN03407002Z-EN

Data mapping of SmartWire stations

Number of SmartWire stations

The number of device types connected to the SmartWire is given in register area 40143. Up to 16 SmartWire stations can be connected for each gateway.

h The register area for the number of SmartWire stations is written once during initialization of the SWIRE-GW-MB.

Any failed SmartWire stations remain in this representation and are removed only at the next startup of the SWIRE-GW-MB.

Setting the watchdog timer

The MODBUS RTU gateway has a built-in watchdog timer, which monitors the data traffic within the MODBUS RTU network. The watchdog timer monitors the interval between two control data write operations. If the interval exceeds the set value, the watchdog triggers an internal error state in the

SWIRE-GW-MB, which causes all control data of the

SmartWire station to be deleted (logic 0). The control data status (logic 0) remains active until it is set by new write signal.

The timeout value of the watchdog timers can be set with the two register areas 44097 and 44098. Valid time values are written to the least significant byte of the respective register. The watchdog timer has a polling interval of 10 ms.

Timeout values of 10 to 2550 ms can be set.

The set time interval is temporarily written to register area

44097. In the event of a power failure (U

Gateway

) this data is deleted. Any data written to the non-retentive memory area

(register area 44097) of the SWIRE-GW-MB are also copied to register area 44098, where they are available as read information.

Within register area 44098 the set time interval is retentively stored to remain available after a power failure. The default timeout value is 100 ms.

43

44

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

Access methods to the register areas

Designation

Abbreviated control data

Complete control data

Abbreviated status data 1

Check bits

Abbreviated status data 2

Complete status data

Life bits

Manufacturer and device ID

Number of SmartWire units

MODBUS timer (non-retentive)

MODBUS-Timer (remanent)

The data of the SmartWire stations are mapped to the holding register of the SWIRE-GW-MB. Normally, the holding register area can be both read and written to. Some data areas (such as the SmartWire stations’ status data) are read-only. For any write operations to read-only areas the

MODBUS RTU gateway returns an error code.

Table 27: Access methods to the register areas

Register area Access method

40001 - 40002

40003 - 40006

40007 - 40008

40009

40010 - 40013

40014 - 40077

40078

40079 - 40142

40143

44097

44098 write/read access write/read access read access read access read access read access read access read access read access write/read access write/read access

07/09 MN03407002Z-EN

MODBUS-functions

MODBUS-functions This section describes the MODBUS functions and the structure of a MODBUS message.

ID FC

Slave address (ID)

Function code (FC)

Data bytes (B

0

– B n

)

Checksum (CRC low

CRC high

)

B

0

Structure of a MODBUS message

The MODBUS RTU communication system is based on the master-slave principle: The MODBUS master sends a request message to the MODBUS slave, which – if it is fault-free – returns a response message. Request and response messages in MODBUS have the same format.

… … B n

CRC low

Figure 13: Structure of a MODBUS message

CRC high

Address of the MODBUS slave.

Broadcast messages (request to all MODBUS slaves) have slave address

0 (zero).

Command from the MODBUS master to be executed by the MODBUS slave.

For function codes that are not supported,the response message from the MODBUS slave contains the function code of the request message increased by 128 (0x80).

User data field

For Read commands, the response message contains the content of the queried register area in this field. For Write commands, the request message contains the content of the register to be written in this field.

Contains the checksum.

The checksum is generated with the CRC 16 method from all previous message bytes (ID to B n

). It is calculated as follows:

CRC-16 = ((ID…B n

) × 0x100000) mod 0x18005

45

46

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

ID

ID

0x06

0x06

REG high

Write commands

Write Single Register (0x06)

Request message

REG low

D high

D low

Response message

REG high

REG low

D high

D low

CRC low,req

CRC high,req

CRC low,res

CRC high,res

0x06

REG

D

CRC req

CRC res

Write Single Register – Writes to a single read/write register

Register address of the register to be written to

(register = register address-40001; “minus”)

Data bytes to be written to the register

Checksum of the request message

Checksum of the response message

07/09 MN03407002Z-EN

MODBUS-functions

ID

ID

0x10

0x10

REG high

Write Multiple Registers (0x16)

Request message

REG low

N high

N low

B D

1,high

CRC low,req

CRC high,req

REG high

D high

D low

Response message

REG low

N high

N low

CRC low,res

CRC high,res

0x10

REG

N

B

D

CRC req

CRC res

Write Multiple Register – Writes to one or more read/write registers

Register address of the lowest register to be written to (register = register address-40001)

Number of registers to be written to

Number of data bytes to be written

(D

1,high

- D n,low

)

Data bytes to be written to the registers. The register with the lowest address is written to first.

Checksum of the request message

Checksum of the response message

47

48

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

ID

ID

0x03

0x10

REG high

Read commands

Read Holding Register (0x03)

Request message

REG low

N high

N low

Response message

CRC low,req

CRC high,req

REG high

REG low

N

D

0x03

REG

CRC req

CRC res

D n,high

… D n,low

CRC low,res

CRC high,res

Read Holding Register

Register address of the lowest register to be read out

(register = register address-40001)

Number of registers to be read out

Content of registers to be read out. The register with the lowest address is read out first.

Checksum of the request message

Checksum of the response message

07/09 MN03407002Z-EN

MODBUS diagnostic functions

(0x08)

MODBUS diagnostic functions (0x08)

ID

ID

0x08

0x08

FC high

FC high

Diagnostic functions are used to test MODBUS RTU communications. These functions are used with a separate function code (0x08). With additional sub-function codes various diagnostic function codes can be applied to test communications. The MODBUS message for diagnostic functions has the following structure:

Request message

FC low

D high,req

D low,req

CRC low,req

CRC high,req

Response message

FC low

D high,res

D low,res

CRC low,res

CRC high,res

0x08

FC

D req

D res

Diagnostics

Function code of diagnostic function

Data field of request message, which can contain additional data

Data field of response message, which can contain return values for the requested diagnostic function

The MODBUS RTU gateway supports the following MODBUS diagnostic functions:

0x00 Return Query Data

With this command the SWIRE-GW-MB returns the message sent by the MODBUS master.

0x01 Restart Communications Option

With this command the MODBUS port of the SWIRE-GW-MB is restarted. If the gateway is in Listen Only state, it is taken out of this state. With additional code 0xFF in data byte

D high,res

the error states are reset in addition. If power is interrupted, the error counters are reset to zero.

0x02 Return Diagnostic Register

The SWIRE-GW-MB does not support diagnostic code 0x02.

It responds to this message with a zero.

49

50

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

0x04 Force Listen Only Mode

In Listen Only mode, the MODBUS RTU gateway does not respond to messages from the MODBUS master.

0x0A Clear Counters

This command resets the counters for protocol send or receive errors to zero.

0x0B Return Bus Message Count

Returns the number of recognized MODBUS messages in data field D res

of the response message.

0x0C Return Bus Communication Error Count

Returns the count for received messages with incorrect CRC checksum.

0x0D Return Bus Exception Error Count

Returns the count for messages that the SWIRE-GW-MB has identified as incorrect (for example message with unsupported function codes) and has responded to with an error message.

0x0E Return Slave Message Count

Returns the number of messages sent to the SWIRE-GW-MB.

0x0F Return Slave No Response Count

Returns the the number of messages that the SWIRE-GW-

MB has received but not responded to (for example messages received in Listen Only mode or messages with incorrect checksum).

0x10 Return Slave NAK Count

Returns the number of messages that the gateway has received and responded to with a negative acknowledge

(NAK).

0x11 Return Slave Busy Count

Returns the number of messages that the gateway was unable to answer because it was busy processing other instructions.

07/09 MN03407002Z-EN

MODBUS diagnostic functions

(0x08)

0x12 Return Bus Character Overrun Count

Returns the number of messages that the gateway was unable to answer due to a receive buffer overrun.

h The type and number of supported function codes depend on the device used as MODBUS master. The function and diagnostic codes listed here can be called up only if the

MODBUS master supports them.

Polling device information for SWIRE-GW-MB

You can call up device information about the MODBUS RTU gateway with function code 0x2B/0x0E. The SWIRE-GW-MB returns the following values in ASCII format:

Vendor name

Device Code

MajorMinor Revision

Eaton

SW-GW-MB

VXX.XX

Diagnostic data

Diagnostics of the SmartWire stations can be performed in a number of ways:

• As long as the SmartWire modules communicate with the gateway they send a status bit, which is included in the full

status data. (section "Status bits", page 39)

• The SWIRE-GW-MB monitors the SmartWire stations. It recognizes the failure of any stations and sets the corresponding life bit.

• Failed or faulty SmartWire modules are also included in the parity bits’ register area.

51

52

Operation through

MODBUS RTU

07/09 MN03407002Z-EN

Checking the SmartWire configuration

The SmartWire connection system initializes when the configuration key on the MODBUS RTU gateway is pressed.

During this process, addresses are automatically assigned to all stations and their device files are read in to the MODBUS

RTU gateway. A correct system initialization can be verified through register areas 40079 to 40142 (manufacturer and device ID) and register 40143 (number of SmartWire stations). Within the manufacturer and device ID register area all stations are listed with the device data that the gateway read during initialization. The number of SmartWire stations that the gateway recognized during its initialization is contained in register 40143. Incorrectly initialized

SmartWire stations are not included in the register areas for manufacturer and device ID and for the number of

SmartWire stations.

Before operation, read out both register areas and compare them with the physical layout of the SmartWire rung. This will help you identify any faulty modules of communication connections before starting operation.

07/09 MN03407002Z-EN

Fault-finding

Fault-finding

No.

Components

1 Gateway

2

SmartWire module

Following

SmartWire modules

Gateway

3 Gateway

4 Gateway

In addition to diagnostic inspection through the MODBUS

RTU field bus the LEDs of the SmartWire modules and the

MODBUS RTU gateway can be used to locate the fault.

Event

Table 28: Error messages

Explanation Remedy

SmartWire LED

Flashing

Ready-LED

Flashing

Ready-LED

Pulse flashing

The station’s configuration is incorrect.

• Check plug connection

• After replacing devices, press configuration key

Ready-LED

OFF

MODBUS-LED

Lit or flashing

Ready-LED

Flashing

MODBUS-LED

OFF

U-Aux-LED

OFF

Internal error Exchange gateway

No communication through MODBUS

RTU, timeout of watchdog timer or

PLC in Stop

No voltage on the U-

Aux terminal

• Check MODBUS RTU connection

• Switch PLC to RUN

• Match watchdog timer to application

Check the power supply, wiring and fusing for the supply voltage to the contactor coils

53

54

07/09 MN03407002Z-EN

07/09 MN03407002Z-EN

5 Appendix

Technical data

Standards

General

Mounting

Dimensions (W x H x D)

Weight

Terminal capacity solid flexible with ferrule

Solid or stranded

Standard screwdriver

Max. tightening torque

Ambient climatic conditions

Ambient temperature

Operation

Storage

Condensation

Relative humidity, non-condensing

(IEC/EN 60068-2-30)

Air pressure (in operation)

Ambient mechanical conditions

Protection type (IEC/EN 60529)

Pollution degree

Mounting position

General mm kg mm 2 mm 2

AWG mm

Nm

0.5 - 1.5

0.5 - 1.5

22 - 16

3.5 × 0.8

0.6

°C

°C

% hPa

IEC/EN 60947, EN 55011, EN 55022

IEC/EN 61000-4, IEC/EN 60068-2-27

Top-hat rail IEC/EN 60715 (35 mm)

35 × 90 × 109

0.14

–25 - +55

–25 - +70

Prevent condensation by means of suitable measures

5 - 95

795 - 1080

IP20

2

Vertical

55

Appendix

07/09 MN03407002Z-EN

56

Electromagnetic compatibility (EMC)

Electrostatic discharge

(IEC/EN 61000-4-2, Level 3, ESD)

Air discharge

Contact discharge

Electromagnetic fields

(IEC/EN 61000-4-3, RFI)

V/m

Radio interference suppression

(EN 55011, EN 55022)

Burst pulses

(IEC/EN 61000-4-4, level 3)

Supply cables

Signal cables

High-energy pulses (surge)

(IEC/EN 61000-4-5, Level 2)

Immunity to line-conducted interference to (IEC/EN 61000-4-6)

Insulation resistance

Clearance in air and creepage distances

Insulation resistance kV kV kV kV kV

V

Voltage supply, Gateway electronic and Smart-Wire station electronics U

Gateway

Rated operating voltage U permissible range

Gateway

V DC

Residual ripple %

Maximum current consumption at

24 V DC mA

Voltage dips (IEC/EN 61131-2)

Heat dissipation at 24 V DC

Protection against polarity reversal

Short-circuit protection SmartWire side ms

W

8

6

10

Class A

2

2

0.5 (supply cables, symmetrical)

10

EN 50178, EN 60947-1,

UL 508, CSA C22.2 No 142

EN 50178, EN 60947-1

24 (-15 %, +20 %)

20.4 - 28.8

F 5

350 (typically 110 gateway + typically

15 per SmartWire module)

10 normally 6 yes yes

07/09 MN03407002Z-EN

LED indicators

Power supply U

AUX

(power supply for switching

SmartWire elements, e.g. contactor coils)

Rated operational voltage U

AUX

V DC permissible range V DC

Input current U

Residual ripple

AUX

at 24 V DC

Voltage dips (IEC/EN 61131-2)

Protection against polarity reversal

Short-circuit protection SmartWire side

A

% ms

24 (15 %, +20 %)

(Derating from > 40 °C)

20.4 - 28.8 at 45 °C: 21 - 28.8

at 50 °C: 21.6 - 28.8

at 55 °C: 22.2 - 27.6

Normally 3

F 5

10 yes

No, external fuse 3 A or FAZ-Z3 necessary

LED indicators

Ready for operation Ready: green

Power supply SmartWire contactors U

Aux

: green

MODBUS-RTU status MODBUS RTU: yellow

Status SmartWire SmartWire: green

MODBUS-RTU

Connection

Communication standard

Station address

Address allocation

Protocol settings

SUB-D 9-pole, socket

RS232 or RS485

1 - 125

DIP switches

DIP switches

57

58

Appendix

07/09 MN03407002Z-EN

Potential isolation for supply voltage U

AUX for supply voltage U

Gateway

To SmartWire

Function

Bus protocol

Bus terminating resistors

Baud rate yes yes yes

MODBUS master slave

MODBUS-RTU

External connection

9.6, 19.2, 38.4 or 57.6 kbits/s, set with DIP switch

Connection system

SmartWire

Connection

Data/power cable maximum cable length,

SmartWire system

Bus termination

Station address

Station

Address allocation

Potential isolation for supply voltage U

AUX for supply voltage U

Gateway m

Plug, 6-pole

6 core flat-band cable

4 m no

Automatic assignment max. 16

None no no

07/09 MN03407002Z-EN

Dimensions

7.5

Dimensions

M4

3 5.5

7.5

4.5

105

109

59

60

07/09 MN03407002Z-EN

07/09 MN03407002Z-EN

Index

B Baud rate

Setting .........................................................11

Baud rates ...........................................................21

Bit representation

Abbreviated ..................................................31

Complete .....................................................31

C Cable lengths ......................................................21

CFG-byte .............................................................41

Check bits ...........................................................38

Connect connection cable ....................................13

Control data ........................................................38

D Diagnostics functions ...........................................49

DIP switches ........................................................11

E EMC compliance ..................................................19

EMC-conformant wiring of the network ...............19

Error messages ....................................................53

F Fault-finding ........................................................53

Function codes ....................................................49

H Holding register ...................................................28

I Input-register .......................................................28

L LEDs ......................................................................9

Life bits ...............................................................39

61

62

Index

07/09 MN03407002Z-EN

M Manufacturer and device ID ................................40

MODBUS

diagnostics functions ....................................49

MODBUS telegram ..............................................45

MODBUS-RTU .......................................................5

MODBUS-RTU-LED ..............................................25

MODBUS-RTU-Master

configuration ...............................................27

P Parity

setting .........................................................11

Pin functions .......................................................18

Potential separation ............................................21

R Read commands ..................................................48

Ready-LED ...........................................................24

Register areas .....................................................44

RS232

max. cable length .........................................21

RS485 .................................................................17

max. cable length .........................................21

S Set station address ..............................................11

Shielding .............................................................20

SmartWire .............................................................5

SmartWire LED ....................................................25

SmartWire module I/O ...........................................9

Standards ............................................................55

Starting

First time ......................................................23

Station address ...................................................11

Status bits ...........................................................39

Status data for SWIRE-4DI-2DO-R .......................37

Status LEDs .........................................................24

Supply voltage, Connecting .................................14

SWIRE-GW-MB .....................................................5

07/09 MN03407002Z-EN

Index

T Technical data .....................................................55

Terminating resistor .............................................19

U U-Aux-LED ...........................................................24

W Watchdog-timer ..................................................43

Write commands .................................................46

63

advertisement

Related manuals

advertisement

Table of contents