Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 11 of 41

SIMATIC ET 200B Distributed I/O Station Manual: 5 Status and Error Diagnostics, pages 69 to 76

Pages 69 to 76 of 344, from SIMATIC ET 200B Distributed I/O Station Manual

The original document is the PDF (2.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Siemens ET 200B

Page 69

Status and Error Diagnostics

5.3.3

Structure of Slave Diagnostics

Introduction

A certain number of bytes is reserved per slave for slave diagnostics: the precise number of bytes reserved depends on the station type. Diagnostics of the ET 200B distributed I/O station is in compliance with EN 50170, Part 3. The basic structure of slave diagnostics is described below.

Digital ET 200B

The figure below shows the structure of slave diagnostics for digital ET 200B modules:

Byte 0 Byte 1 Byte 2

Station status 1 to 3 PROFIBUS-DP standard

Byte 3

Master station number - PROFIBUS-DP standard

Byte 4 Byte 5

High byte

Byte 6 Byte 7 Bytes 8 to 12

Header (device-related diagnostics) Device-related diagnostics

Figure 5-1

ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c

Low byte

. . .

5

Manufacturer ID - PROFIBUS-DP standard

Free

Structure of Slave Diagnostics for Digital ET 200B

5-9

Page 70

Status and Error Diagnostics

Analog ET 200B

5

The figure below shows the structure of slave diagnostics for for analog ET 200B modules:

Byte 0 Byte 1 Byte 2

Station status 1 to 3 PROFIBUS-DP standard

Byte 3

Master station number - PROFIBUS-DP standard High byte

Byte 6 Byte 7 Byte 8

Header (ID-related diagnostics)

Byte 9 Bytes 9 to 28

Header (device-related diagnostics)

Figure 5-2

Requesting Slave Diagnostics

Low byte

ID-related diagnostics

. . .

Device-related diagnostics

Structure of Slave Diagnostics for Analog ET 200B

You can request slave diagnostics with the following function blocks: Table 5-3

5-10

Manufacturer ID PROFIBUS-DP standard

Byte 4 Byte 5

Function Blocks for Slave Diagnostics

PLC Family

Number

Name

SIMATIC S5 with IM 308-C

FB 192

FB IM308C

SIMATIC S7/M7

SFC 13

SFC “DPNRM_DG”

ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c

Page 71

Status and Error Diagnostics

5.3.4

Structure of Station Status 1 to 3

Introduction

Station status 1 ... 3 provides an overview of the status of the ET 200B (see Figures 5-1 and 5-2, bytes 0 to 2).

Station Status 1 (Byte 0)

The table below shows the structure of station status 1: Table 5-4

Structure of Station Status 1 (Byte 0)

Bit

Station Status 2 (Byte 1)

Meaning

0

1: DP slave cannot be addressed by DP master.

1

1: DP slave not yet ready for data exchange.

2

1: Configuration data sent by DP master to DP slave does not match the structure of the DP slave.

3

1: Device-related diagnostics data is waiting.

4

1: Requested function is not supported by DP slave.

5

1: Implausible answer received from DP slave.

6

1: parameterization telegram is errored.

7

1: DP slave was parameterized by a DP master not the DP master which currently has access to the DP slave.

5

The table below shows the structure of station status 2: Table 5-5

Structure of Station Status 2 (Byte 1)

Bit

ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c

Meaning

0

1: DP slave must be reparameterized.

1

1: A diagnostics message is waiting. The DP slave cannot resume operation until the error has been rectified (static diagnostics message).

2

1: Bit is always ”1” if DP slave having this station number exists.

3

1: Response monitoring is activated for this slave.

4

1: DP slave has received a ”FREEZE” control command.1

5

1: DP slave has received a ”SYNC” control command.1

6

0: Bit is always ”0”.

5-11

Page 72

Status and Error Diagnostics

Table 5-5

Bit

Meaning

7

1: DP slave is deactivated, i.e. slave has been removed from current processing.

1

Station Status 3 (Byte 2)

Structure of Station Status 2 (Byte 1), continued

Bit is not updated unless an extra diagnostics message changes.

Station status 3 is reserved and is not relevant as regards diagnostics of the DP slave. Its value is always 00H.

5

5-12

ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c

Page 73

Status and Error Diagnostics

5.3.5

Structure of the Master Station Number and the Manufacturer ID

Introduction

The ”Master station number” diagnostics byte contains the station number of the DP master which parameterized the ET 200B. The ”Manufacturer ID” diagnostics byte describes the type of the ET 200B.

Master Station Number (Byte 3)

The master station number consists of one byte (see Figures 5-1 and 5-2): Table 5-6

Structure of the Master Station Number (Byte 3)

Bit

Meaning

0 to 7

Station number of the DP master which parameterized the DP slave and which has read and write access to the DP slave.

5 Manufacturer ID (Bytes 4, 5)

The manufacturer ID consists of two bytes (see Figures 5-1 and 5-2): Table 5-7

ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c

Structure of the Manufacturer ID (Bytes 4, 5)

Byte 4

Byte 5

Manufacturer ID for

00H

01H

ET 200B-16DI

6ES7 131-0BH00-0XB0

00H

02H

ET 200B-16DO

6ES7 132-0BH01-0XB0

00H

03H

ET 200B-8RO

6ES7 132-0GF00-0XB0

00H

04H

ET 200B-32DI

6ES7 131-0BL00-0XB0

00H

05H

ET 200B-16DO/2A

6ES7 131-0BH11-0XB0

00H

0AH

ET 200B-16DI/16DO

6ES7 133-0BL00-0XB0

00H

0BH

ET 200B-8DI/8DO

6ES7 133-0BH01-0XB0

00H

0CH

ET 200B-32DI 0.2ms

6ES7 131-0BL10-0XB0

00H

0DH

ET 200B-32DO

6ES7 132-0BL01-0XB0

00H

0EH

ET 200B-24DI/8DO 0.2ms 6ES7 133-0BN11-0XB0

00H

0FH

ET 200B-24DI/8DO

6ES7 133-0BN01-0XB0

00H

10H

ET 200B-8DI/8DO HWA

6ES7 133-0BH10-0XB0

00H

19H

ET 200B-16DI-AC

6ES7 131-0HF00-0XB0

00H

1AH

ET 200B-16DO-AC

6ES7 132-0HF00-0XB0

00H

1CH

ET 200B-16RO-AC

6ES7 132-0HH00-0XB0

00H

1DH

ET 200B-8DI/8RO-AC

6ES7 133-0HH00-0XB0

80H

18H

ET 200B-4AO

6ES7 135-0HF01-0XB0

80H

19H

ET 200B-4AI

6ES7 134-0HF01-0XB0

80H

1AH

ET 200B-4/8AI

6ES7 134-0KH01-0XB0

5-13

Page 74

Status and Error Diagnostics

5.3.6

Structure of Device-Related Diagnostics (Digital ET 200B)

Introduction

The device-related diagnostics for digital ET 200B modules indicate whether inputs or outputs are defective. The header indicates the length of the devicerelated diagnostics. (see Figure 5-1, bytes 6 and 7) Note Device-related diagnostics requires an ET 200B station with diagnostics capability. ET 200B stations which do not have diagnostics capability have the value ”07H” in the header and the remaining bytes are reserved.

5 Header (Byte 6)

Digital ET 200B modules have the value 07H in the ”Header (device-related diagnostics)” byte.

Byte 6

7 0 Bit No. 0 0 0 0 0 1 1 1

Length of device-related diagnostics incl. byte 6 (= 7 bytes) Code for device-related diagnostics Figure 5-3

Device-Related Diagnostics (Byte 7)

Structure of the Header (Device-Related Diagnostics) for Digital ET 200B (Byte 6)

The device-related diagnostics of digital ET 200B modules with diagnostics capability consists of one byte (see Figure 5-1):

7 6 5 4 3 2 1 0

Bit No.

Byte 7 CG = Channel group CG 0: Overload: output short-circuit to M CG 0: Fuse defective: no load voltage CG 1: Overload: output short-circuit to M CG 1: Fuse defective: no load voltage CG 2: Overload: output short-circuit to M CG 2: Fuse defective: no load voltage CG 3: Overload: output short-circuit to M CG 3: Fuse defective: no load voltage Figure 5-4

5-14

Structure of Device-Related Diagnostics for Digital ET 200B (Byte 7)

ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c

Page 75

Status and Error Diagnostics

Channel Group

Note the following as regards evaluation of device-related diagnostics: Note The channel group of an ET 200B digital module always takes up one byte in the S5 address space of the CPU (corresponding to 8 inputs or 8 outputs), irrespective of the galvanic isolation of the module (grouping). Example: ET 200B-16DO/2A (galvanic isolation in groups of 4) Channel group 0 corresponds to Q0: outputs .0 ... .7. Potential group 0 corresponds to Q0: outputs .0 ... .3.

5

ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c

5-15

Page 76

Status and Error Diagnostics

5.3.7

Structure of ID-related Diagnostics (Analog ET 200B)

Introduction

ID-related diagnostics shows which module in which slot is defective. The header indicate the length of ID-related diagnostics. (see Figure 5-2, bytes 6 to 8)

Header (Byte 6)

Analog ET 200B modules have the value 43H in the ”Header (ID-related diagnostics)” byte.

Byte 6

5

7 0 Bit No. 0 1 0 0 0 0 1 1

Length of ID-related diagnostics incl. byte 6 (= 3 bytes) Code for ID-related diagnostics Figure 5-5

ID-related Diagnostics (Bytes 7, 8)

Structure of the Header (ID-related Diagnostics) for Analog ET 200B (Byte 6)

The ID-related diagnostics of analog ET 200B modules consists of two bytes (see Figure 5-2):

Byte 7

3 7 0 0 0 0 0 1 0 0 0

Bit No.

Module in slot 4 defective (08H)

Byte 8 Figure 5-6

7 0 0 0 0 0 0 0 0 0

Bit No.

Structure of ID-related Diagnostics for Analog ET 200B (Bytes 7, 8)

Note Irrespective of the configuration of the analog ET 200B module (slots 4 to 11), slot 4 is always flagged as defective in a diagnostics message!

5-16

ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c