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

The text of a manual · part 10 of 41

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

Pages 61 to 68 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 61

Status and Error Diagnostics

In this Chapter

5

This chapter describes the diagnostics options for the ET 200B distributed I/O station. The information is applicable if you are using the latest applicable type file under COM ET 200 Windows or STEP 7 (see Table 4-1: gray fields). In Section you will find on Page

5.1

Possible response on startup

5-2

5.2

Status and error indication by LEDs

5-3

5.3

Slave diagnostics

5-5

Diagnostics with IM 308-B

Diagnostics with the IM 308-B master interface and COM ET 200 V4.x is not discussed in this chapter. You will find all the information you need on diagnostics with the IM 308-B in Appendix D.

Diagnostics with IM 308-C (Old Type Files)

If you configure the analog modules of ET 200B with COM ET 200 Windows and the type file SIxxxxAE.200, you will find the information you need on diagnostics in Appendix E.

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

5-1

Page 62

Status and Error Diagnostics

5.1

Possible Response on Startup

Response to Power Off/Power On

If power is switched on and off repeatedly, it is possible in exceptional cases that an ET 200B digital module will not be accepted by the PROFIBUS-DP bus. Remedy: Set the STOP/RUN switch to STOP and then back to RUN.

Baud Rate Change

With the ET 200B digital modules, it is not possible to correct a wrong configuration and simultaneously change the baud rate. If this is attempted, the station will not be accepted by the PROFIBUS-DP bus. Remedy:

5

Set the STOP/RUN switch to STOP and then back to RUN.

5-2

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

Page 63

Status and Error Diagnostics

5.2

Status and Error Indication by LEDs

Introduction

The indicators on the front panels of the ET 200B provide initial indication of the type of error.

Error Indication, Digital ET 200B

The meanings of the signals provided by the LEDs on digital ET 200B modules are listed in the table below.

Table 5-1

LEDs on Digital ET 200B Modules and their Meanings

LED

State

Meaning

RUN

Lit (green)

ET 200B in operation (power supply switched on; STOP/RUN switch in ”RUN” position1

BF

Lit (red)

Either

Response monitoring time has elapsed without the ET 200B station being addressed (because connection to the IM 308-C or to the S7/M7 DP master has failed or the IM 308-C is set to STOP) or

The ET 200B station was not parameterized on startup/restart. DIA

Lit (red)

For digital 24 V DC output modules:

one output at least: short-circuit or load voltage failure (L1+, L2+, L3+, L4+) For analog modules:

diagnostics for at least one input or output L1+

Lit (green)

For ET 200B-16DO, -8DI/8DO, -8DI/8DO HWA, -16DI/16DO, –24DI/8DO and -24DI/8DO 0.2ms:

Voltage is applied for channel group Q0: .0 ... .7.2 L2+

Lit (green)

For ET 200B-16DO, -16DI/16DO:

Voltage is applied for channel group Q1: .0 ... .7.2 L1+/L2+

Lit (green)

For ET 200B-32DO:

Voltage is applied for channel groups Q0: .0 ... .7 and Q1: .0 ... .7.2 For ET 200B-16DO/2A:

Voltage is applied for channel groups Q0: .0 ... .3 and Q0: .4 ... .7.2 L3+/L4+

Lit (green)

For ET 200B-32DO:

Voltage is applied for channel groups Q2: .0 ... .7 and Q3: .0 ... .7.2 For ET 200B-16DO/2A:

Voltage is applied for channel group Q1: .0 ... .3 and Q1: .4 ... .7.2 1 2

Not applicable to AC 120/230 V AC digital modules. These modules do not have a STOP/RUN switch. LED goes out if fuse blows or voltage drops below a certain limit (typically 15.5 V).

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

5-3

5

Page 64

Status and Error Diagnostics

Error Indication, Analog ET 200B Table 5-2 LED RUN Off

The meanings of the signals provided by the LEDs on analog ET 200B modules are listed in the table below.

LEDs on Analog ET 200B Modules and their Meanings LED BF Off

LED DIA Off

Meaning

Remedy

Voltage not applied to module.

Check the power supply. Check that the electronics block is correctly mounted on the terminal block.

Lit (green)

Off

Off

Module is on the PROFIBUS-DP and is exchanging data.

-

Lit (green)

Lit (red) or off

Lit (red)

An error has occurred on the module (e.g. parameterization incorrect, wire break, measuring range overshot)

Read the diagnostics buffer

5 to identify the error, see Section 5.3 ”Slave Diagnostics”

If there is no diagnostics information in the buffer, check parameterization to ascertain whether the diagnostics alarm and corresponding channel diagnostics have been enabled. Lit (green)

Flashing (red)

Off

Either

Check the configuration in the

Module has not received DP master (station number, staa parameterization telegram, or telegram is incorrect.

tion type).

or

Incorrect bus protocol. Lit (green)

Flashing (red)

Lit (red)

Error in configuration telegram

This error cannot occur if the correct type files are used.

Lit (green)

Flashes once (red)

Off

Module is powering up.

-

Lit (green)

Lit (red)

No significance

Baud rate matching in progress.

Check the PROFIBUS-DP connection.

Check the DP master.

5-4

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

Page 65

Status and Error Diagnostics

5.3

Slave Diagnostics

Definition

Diagnostics means the detection and pinpointing of errors. The layout of slave diagnostics is defined in standard EN 50170, Part 3. Slave diagnostics of the ET 200B are in compliance with this standard.

In this Section

This section describes the structure of slave diagnostics for ET 200B. In Section

Further Information you will find on Page

5.3.1

General information on slave diagnostics, operation with IM 308-C

5-6

5.3.2

General information on slave diagnostics, operation with S7/M7 DP masters (STEP 7) or other PROFIBUS-DP masters

5-8

5.3.3

Structure of slave diagnostics

5-9

5.3.4

Structure of station status 1 to 3

5-11

5.3.5

Structure of the master station number and the manufacturer ID

5-13

5.3.6

Structure of device-related diagnostics (digital ET 200B)

5-14

5.3.7

Structure of ID-related diagnostics (analog ET 200B)

5-16

5.3.8

Structure of device-related diagnostics (analog ET 200B)

5-18

Section 5.3.3 describes the basic structure of slave diagnostics for digital and analog ET 200B modules. Sections 5.3.4 to 5.3.8 describe the contents of the individual diagnostics bytes.

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

5-5

5

Page 66

Status and Error Diagnostics

5.3.1

GeneralInformation onSlaveDiagnostics, Operation withIM 308-C

Requesting Slave Diagnostics

To request slave diagnostics for an ET 200B station in operation with IM 308-C, you must call the FB IM308C function block (FB 192) with the function FCT = SD. The FB IM308C places the slave diagnostics in the S5 data area of the CPU (data block or bit memory address area) opened when the FB IM308C was called.

FM IM308C

FB IM308C handling conforms to general access to diagnostics data of the IM 308-C and is described in detail in the manual ET200 Distributed I/O System (Order No. 6ES5 998-3ES.2). The example below shows how to request slave diagnostics with the aid of the FB IM308C and place the information in a data block.

5

This is followed by an example illustrating how to evaluate slave diagnostics. This second example assumes that the diagnostics information has been placed in a data block. Note The module parameters of the FB IM308C and the error codes in the ERR parameter of the FB IM308C are described in detail in the manual ET 200 Distributed I/O System (Order No. 6ES5 998-3ES.2).

Example: Request Diagnostics with FB IM308C

In this example, the FB IM308C (FB 192) is employed to request slave diagnostics of a slave having the station number 3. The diagnostics data will be placed in data block DB 10 as of data word DW 0. Basic structure of the STEP 5 listing (e.g. in the OB 1):

STL

Explanation

: :JU FB 192 Name :IM308C DPAD : KH F800 IMST : KY 0,3 FCT : KC SD GCGR : KM 00000000 00000000 TYP : KY 0,10 STAD : KF +0 LENG : KF -1 ERR : FW 134 : :***

Invoke FB IM308C DP frame: F800 Number of the IM 308-C: 0, station number of the slave: 3 SD = Read slave diagnostics irrelevant Memory area: 0, block: DB 10 Number of the first data word: DW 0 Bytes to be transferred: -1 (joker length) Error word: MW 134

5-6

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

Page 67

Status and Error Diagnostics

Example: Evaluating Diagnostics

The slave diagnostics of a digital ET 200B module have been requested from the CPU and placed in a data block DB 10 starting at data word DW 0. You want to evaluate station status 1 and 2. In the STEP 5 program, you program the following:

STL

Explanation

A DB 10 L DW 0 L KH 000C

Invoke data block (here: DB 10) Load diagnostics word ”Station status 1 and station status 2” (response monitoring active) no error?

!=F BEC JC FBx

Diagnostics Alarm and Process Alarm

Evaluate error in FBx.

5

The analog modules of ET 200B support the following alarms:

Diagnostics alarm Process alarm In order to evaluate diagnostics alarms and process alarms via the device-related diagnostics with the IM 308-C, it is important to bear the following in mind: Note In your STEP5 application program you must regularly query the corresponding bits in the device-related diagnostics in order to ensure that alarms are not overwritten by subsequent alarms. With regard to the bus runtime for the PROFIBUS-DP you must allow for the fact that the bits are queried at least once parallel to the bus runtime.

Structure of Slave Diagnostics

The structure of slave diagnostics for operation with IM 308-C is described in Sections 5.3.3 to 5.3.8.

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

5-7

Page 68

Status and Error Diagnostics

5.3.2

General Information on Slave Diagnostics, Operation with S7/M7 DP Masters (STEP 7) or Other PROFIBUS-DP Masters

Diagnostics with S7/M7 DP Masters

If you operate the ET 200B as a DP slave with a SIMATIC S7/M7 DP master, the ET 200B modules function like central S7-300 I/O modules. You read out diagnostics (data records 0 and 1) with SFC 13 ”DPNRM_DG”. For information on requesting diagnostics data, see the manual STEP 7 Standard and System Functions.

Diagnostics with Other PROFIBUSDP Masters

If you operate ET 200B as DP slave with DP masters from Siemens that do not belong to the SIMATIC S5/S7/M7 automation system or with other-vendor DP masters, see the documentation on the DP master for information on how to request slave diagnostics.

Diagnostic Alarm and Process Alarm

The analog modules of ET 200B support the following alarms:

5 Diagnostics alarm Process alarm You can evaluate these alarms with an S7/M7 DP master. In the event of an alarm, alarm OBs are automatically run in the CPU (see the programming manual System Software for S7-300/S7-400, Program Design). Note If you want to evaluate diagnostics alarms and process alarms via the devicerelated diagnostics with other than PROFIBUS-DP masters, you must bear the following in mind: The DP master should be able to store the diagnostics messages, i.e. the diagnostics messages should be placed in a ring buffer in the DP master. If the DP master cannot store diagnostics messages, only the most recently received diagnostics message will be available. In your application program you must regularly query the corresponding bits in the device-related diagnostics. With regard to the bus runtime for the PROFIBUS-DP you must allow for the fact that the bits are queried at least once parallel to the bus runtime.

Structure of Slave Diagnostics

5-8

The structure of slave diagnostics for operation with S7/M7 DP masters (STEP 7) or other PROFIBUS-DP masters is described in Sections 5.3.3 to 5.3.8.

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