The text of a manual · part 37 of 41
SIMATIC ET 200B Distributed I/O Station Manual: D Configuring with COM ET 200 V4.x
Pages 301 to 314 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 301
Configuring with COM ET 200 V4.x
D
Introduction
You do not need the information in this chapter unless you want to replace old ET 200B modules that you configured with COM ET 200 V4.x with the new ET 200B modules (order numbers: see Appendix F) described in this manual.
Compatibility
You can easily replace old ET 200B modules with the new ET 200B modules without having to reconfigure and parameterize the modules. You can also configure the new ET 200B modules with the type files under COM ET 200 V4.x. When used in conjunction with the IM 308-B and COM ET 200 V 4.x, the new modules behave like the old ET 200B modules they replace with regard to configuration and diagnostics.
Type Files
The names of the type files needed for COM ET 200 V4.x are listed in Appendix A.1. (see also Table 4-1)
In this Chapter
In case you do not have access to the previous edition of this manual, the most important information for configuring with COM ET 200 V 4.x is summarized below. In Section you will find on Page
D.1
Status and error indication by LEDs
D-2
D.2
Slave diagnostics
D-3
D.3
Configuration options
D-11
D.4
Setting the operating mode with COM ET 200 V4.x
D-12
If information on these topics would be redundant, you will find a reference to the corresponding section of the manual on COM ET 200 Windows.
Additional Information
The manual ET 200 Distributed I/O System (Order No.: 6ES5 998-3ES.1) contains detailed information on how to use COM ET 200 V4.x.
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
D-1
Page 302
Configuring with COM ET 200 V4.x
D.1
Status and Error Indication by LEDs
Error Indication, Digital ET 200B
See Table 5-1, Section 5.2.
Error Indication, Analog ET 200B
The table below explains the meanings of the signals provided by the LEDs on analog ET 200B modules for configuration with COM ET 200 V4.x.
Table D-1 LED RUN Off
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 to identify the error, see Sections 5.3 and D.2
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
Module has not received a parameterization telegram, or telegram is incorrect.
Check the configuration in the DP master (station number, station type).
Check the configuration.
or
Incorrect bus protocol or
Module has received incorrect configuration data.
D
Lit (green)
Flashing (red)
Lit (red)
Module has received incorrect Check parameterization and parameterization or configura- configuration. tion telegram.
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.
D-2
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
Page 303
Configuring with COM ET 200 V4.x
D.2
Slave Diagnostics
In this Section
This section contains information on slave diagnostics of ET 200B in operation with IM 308-B. Section
Describes
Page
D.2.1
General information on slave diagnostics, operation with IM 308-B
D-4
D.2.2
Structure of slave diagnostics
D-6
D.2.3
Structure of device-related diagnostics (analog ET 200B)
D-8
D
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
D-3
Page 304
Configuring with COM ET 200 V4.x
D.2.1
General Information on Slave Diagnostics, Operation with IM 308-B
Requesting Slave Diagnostics
Diagnostics are loaded word by word in the STEP5 application program and transferred to the diagnostics word. (The load and transfer operations always refer in the following to the default diagnostics address 252). In the case of page addressing, the diagnostics word is on the ”basic page”. Before requesting diagnostics in the case of page addressing, you must first ”switch” to the basic page. Basic Structure of the STEP 5 Listing for Diagnostics:
STL
Explanation
L KB (basic page number) T PY 255 L KY (station number),(code) T PW 252
Page selection (basic page number: nx16, n=0,1,..) Load diagnostics (station number: 3...99, code: ³ Table D-2 and D-3) and transfer to the diagnostics word (diagnostics word: here PW 252).
L PW 252 L KH (hex-code: no error) !=F BEC JC FBx
Evaluate diagnostics word (hex-code: ³ Section D.2.2) Error?
More Information
Evaluate error in FBx.
Handling a request for slave diagnostics corresponds to general access to diagnostics data for the IM 308-B and is described in detail in the manual ET 200 Distributed I/O System (Order No. 6ES5 998-3ES.1). The following is an example of how to request slave diagnostics with the STEP5 application program and place the data in the diagnostics word.
D
D-4
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
Page 305
Configuring with COM ET 200 V4.x
Example: Requesting Diagnostics
This example shows how to request station status 1 and 2. Program the following in STEP 5:
STL
Explanation
L KY n,0 T PW 252
Store in the ”Diagnostics address” byte the number of the slave station (n = station number) from which the station status is to be requested; store the code for ”station status 1 and station status 2” (code = 0) in the ”Diagnostics address +1” byte.
L PW 252 L KH 000C !=F BEC JC FBx
Load the diagnostics word Response monitoring activated No error? Evaluate error in FBx.
D
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
D-5
Page 306
Configuring with COM ET 200 V4.x
D.2.2
Structure of Slave Diagnostics
Introduction
16 bytes per slave are reserved for slave diagnostics. These 16 bytes are organized in 8 words. The 2 diagnostics bytes of the diagnostics word are referred to below as the ”Diagnostics address” and ”Diagnostics address +1”.
Digital ET 200B
The table below shows the structure of slave diagnostics for digital ET 200B modules: Table D-2
Diagnostics address
Code
More Information, Digital ET 200B
Structure of Slave Diagnostics for Digital ET 200B, Operation with IM 308-B Diagnostics address +1
0
Station status 1 (byte 0)
Station status 2 (byte 1)
1
Station status 3 (byte 2)
Master station number (byte 3)
2
Manufacturer ID (high) (byte 4 )
Manufacturer ID (low) (byte 5)
3
Header (byte 6) (device-related diagnostics)
Device-related diagnostics (byte 7) (group diagnostics)
4
Free
Free
5
Free
Free
6
Free
Free
7
Free
Free
You will find the information you need on slave diagnostics for digital ET 200B modules in the following sections. You will find on Section
General information on slave diagnostics, operation with IM 308-B
D.2.1
Structure of station status 1 to 3
5.3.4
Structure of the master station number and manufacturer ID
5.3.5
Structure of device-related diagnostics (digital ET 200B)
5.3.6
D
D-6
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
Page 307
Configuring with COM ET 200 V4.x
Analog ET 200B
The table below shows the structure of slave diagnostics for analog ET 200B modules: Table D-3
Code
More Information, Analog ET 200B
Structure of Slave Diagnostics for Analog ET 200B, Operation with IM 308-B Diagnostics address
Diagnostics address +1
0
Station status 1 (byte 0)
Station status 2 (byte 1)
1
Station status 3 (byte 2)
Master station number (byte 3)
2
Manufacturer ID (high) (byte 4 )
Manufacturer ID (low) (byte 5)
3
Header (byte 6) (device-related diagnostics)
Device-related diagnostics (byte 7) (reserved)
4
Device-related diagnostics (byte 8) (reserved)
Device-related diagnostics (byte 9) (type of error)
5
Device-related diagnostics (byte 10) (always: 15H)
Device-related diagnostics (byte 11) (wrong station type)
6
Device-related diagnostics (byte 12) (EPROM or ADC/DAC error)
Device-related diagnostics (byte 13) (channel type)
7
Device-related diagnostics (byte 14) (always: 08H)
Device-related diagnostics (byte 15) (number of channels)
You will find the information you need on slave diagnostics for analog ET 200B modules in the following sections. you will find in Section
General information on slave diagnostics, operation with IM 308-B
D.2.1
Structure of station status 1 to 3
5.3.4
Structure of the master station number and manufacturer ID
5.3.5
Structure of device-related diagnostics (analog ET 200B)
D.2.3
D
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
D-7
Page 308
Configuring with COM ET 200 V4.x
D.2.3
Structure of Device-Related Diagnostics (Analog ET 200B)
Introduction
The structure of device-related diagnostics for configuring the analog modules with COM ET 200 V4.x is described below. In essence, this section is comparable with Section 5.3.8 of this manual. No ID-related diagnostics are displayed in operation with COM ET 200 V4.x.
Diagnostics Alarm, Process Alarm
Analog modules configured with COM ET 200 V4.x do not support alarms (diagnostics alarm, process alarm).
Device-Related Diagnostics
The device-related diagnostics for an analog ET 200B shows you the error reported by the ET 200B. The header indicates the length of device-related diagnostics. Note Chapter 8 contains a discussion of ”Supplementary Bits” in the section dealing with analog value representation: these bits contain additional diagnostics information.
Header (Byte 6)
The analog ET 200B modules contain the following information in the ”Header (device-related diagnostics)” byte.
Byte 6
7 0 0
0 Bit No.
Length of device-related diagnostics incl. byte 6: 0AH (= 10 bytes) Code for device-related diagnostics Figure D-1 Structure of the Header (Device-Related Diagnostics) for Analog ET 200B
D
D-8
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
Page 309
Configuring with COM ET 200 V4.x
Device-Related Diagnostics
Device-related diagnostics of the analog ET 200B modules comprises 9 bytes:
Byte 7 Byte 8 Byte 9 to 15
00H: Reserved 00H: Reserved . . .
Diagnostics data (see Tables D-4 to D-6)
Figure D-2 Structure of Device-Related Diagnostics for Analog ET 200B (Bytes 7 to 15)
Bytes 9 to 12 Table D-4 Byte
9 (³ Tab. D-5)
10
Table D-4 shows the structure and contents of bytes 9 to 12.
Diagnostics Data, Bytes 9 to 12
Bit
Meaning
Byte
Bit
Meaning
0
Diagnostics message waiting
0
Wrong ET 200B station type
1
Internal error
1
Reserved
2
External error, e.g. wire break
2
Reserved
3
Channel error
3
Reserved
4
Reserved
11
4
Reserved
5
Reserved
5
Reserved
6
Reserved
6
Reserved
7
Incorrect parameters in module
7
Reserved
0 to 3
Module class
0
Reserved
1
Reserved
2
EPROM error (4AI)
3
Reserved
4
ADC/DAC error (4AO)
0101 Analog module
12
4
Channel information waiting
5
Reserved
5
Reserved
6
Reserved
6
Reserved
7
Reserved
7
Reserved
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
D
D-9
Page 310
Configuring with COM ET 200 V4.x
Possible Values, Byte 9
The possible values for byte 9 are as follows:
Table D-5
Possible Values for Byte 9
Value
Bit 3 Bit 2 Bit 1 Bit 0
Meaning
00H
0
0
0
0
No error
03H (83H)
0
0
1
1
Internal error, no channel error; (incorrect parameters in the module)
0BH (8BH)
1
0
1
1
Internal error, channel error; (incorrect parameters in the module)
0DH
1
1
0
1
External error, channel error
1
1
1
1
Summation error of all the above errors; (incorrect parameters in the module)
0FH (8FH)
Bytes 13 to 15 Table D-6
Table D-6 shows the structure and contents of bytes 13 to 15.
Diagnostics Data, Bytes 13 to 15
Byte
Bit
Meaning
Remark
13
0 to 7
Channel type
71H 73H
4/8AI, 4AI 4AO
14
0 to 7
Number of diagnostics bits output per channel by a module.
08H
4/8AI, 4AI, 4AO
15
0 to 7
Number of channels of a module.
04H 08H
4AI, 4AO 4/8AI
D
D-10
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
Page 311
Configuring with COM ET 200 V4.x
D.3
Configuration Options
IDs
Table D-7 shows the possible IDs for configuring the ET 200B modules with COM ET 200 V4.x. The following address IDs are possible for ET 200B:
Table D-7
IDs for ET 200B Module
Order Number
Consist- Address Address ency Area Scope (Bytes)
Address ID
Slot 0
Slot 1
O
I
ET 200B-16DI
6ES7 131-0BH00-0XB0
000
017
Byte
–
2 digital
ET 200B-32DI
6ES7 131-0BL00-0XB0
000
019
Byte
–
4 digital
ET 200B-32DI 0.2ms
6ES7 131-0BL10-0XB0
ET 200B-16DO
6ES7 132-0BH01-0XB0
033
000
Byte
2
– digital
ET 200B-16DO/2A
6ES7 132-0BH11-0XB0
033
000
Byte
2
– digital
ET 200B-32DO
6ES7 132-0BL01-0XB0
035
000
Byte
4
– digital
ET 200B-8DI/8DO
6ES7 133-0BH01-0XB0
Byte
1
1 digital
ET 200B-8DI/8DO HWA
6ES7 133-0BH10-0XB0
033
8DE or 016
Byte
1
1 digital
ET 200B-16DI/16DO
6ES7 132-0BL00-0XB0
033
017
Byte
2
– digital
ET 200B-24DI/8DO
6ES7 133-0BN01-0XB0
8DA or 032
018
Byte
1
3 digital
ET 200B-24DI/8DO 0.2ms
6ES7 133-0BN11-0XB0
ET 200B-8RO
6ES7 132-0GF00-0XB0
032
000
Byte
1
– digital
ET 200B-16DI-AC
6ES7 131-0HF00-0XB0
000
017
Byte
–
2 digital
ET 200B-16DO-AC
6ES7 132-0HF00-0XB0
033
000
Byte
2
– digital
ET 200B-16RO-AC
6ES7 132-0HH00-0XB0
033
000
Byte
2
– digital
ET 200B-8DI/8RO-AC
6ES7 133-0HH00-0XB0
Byte
1
1 digital
ET 200B-4/8AI
6ES7 134-0KH01-0XB0
087
–
Word
–
16 analog
ET 200B-4AI
6ES7 134-0HF01-0XB0
4AE or 083
–
Word
–
8 analog
ET 200B-4AO
6ES7 135-0HF01-0XB0
099
–
Word
8
– analog
8DA or 032 8DE or 016
8DA or 032 8DE or 016
D
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
D-11
Page 312
Configuring with COM ET 200 V4.x
D.4
Setting the Operating Mode with COM ET 200 V4.x
Introduction
The structure of the parameterization telegram for configuring with COM ET 200 V4.x is described below.
Structure for Digital Modules
In the case of digital ET 200B modules, no settings can be made by means of the parameterization telegram. When you open the ”DP Slave Parameterization Telegram” dialog box, 5 bytes are assigned ”00H” by default. Note In the case of digital ET 200B modules, do not overwrite the 5 bytes which default to ”00H” in the parameterization telegram.
Structure for Analog Modules
In the case of analog ET 200B modules, you can use the parameterization telegram to define diagnostics response and set the defaults for analog value measurement or analog value output, as applicable. When parameterizing with COM ET 200 V4.x you enter only the user-specific part of the parameterization telegram (without standard part) in the KH format (”DP Slave Parameterization Telegram” dialog box).
Defaults and Structure of the Parameterization Telegram
When you open the ”DP Slave Parameterization Telegram” dialog box for the first time, the parameterization telegram is structured and contains certain defaults, as shown below.
For ET 200B-4/8AI: DP SLAVE PARAMETERIZATION TELEGRAM Byte (input in KH format) ––––––––––––––––––––––––––––––––––––––––––––––– 0 13 00 00 00 00 00 AA 14 14 10 14 00 00 00 00 00 00 00 00 20 FF 00 00 00 00
14 06
For ET 200B-4AI:
D
DP SLAVE PARAMETERIZATION TELEGRAM Byte (input in KH format) ––––––––––––––––––––––––––––––––––––––––––––––– 0 13 00 00 00 00 00 00 19 19 10 19 00 00 00 00 00 00 00 00 20 FF 00 00 00 00
D-12
19 06
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
Page 313
Configuring with COM ET 200 V4.x
S For ET 200B-4AO: DP SLAVE PARAMETERIZATION TELEGRAM Byte (input in KH format) ––––––––––––––––––––––––––––––––––––––––––––––– 0 13 00 00 00 00 00 00 19 19 10 19 00 00 00 00 00 00 00 00 20 FF 00 00 00 00
19 06
Note As regards parameterization of the functions of the analog modules, only the bytes with borders ”j” in the Figures are of relevance. All other bytes contain ”00H” or COM ET 200 V4.x-specific codes that you must leave unchanged.
Parameters for Analog Modules
The meanings of the bytes with borders ”j” in the figures above are as follows:
Table D-8
Content and Meanings of the Bytes in the Parameterization Telegram
Byte
Breakdown
3
Diagnostics message enable per channel (group). Bit 0 = channel (group) 0 Bit 1 = channel (group) 1 Bit 2 = channel (group) 2 Bit 3 = channel (group) 3
4
Bit is ”1”: Diagnostics message enabled Bit is ”0”: Diagnostics message disabled (default)
Wire break monitor enable, only ET 200B-4/8AI with selected value range Pt 100, thermocouple or voltage sensor 80 mV Bit 0 = channel group 0 Bit 1 = channel group 1 Bit 2 = channel group 2 Bit 3 = channel group 3
6
Code
Bit is ”1”: Diagnostics message enabled Bit is ”0”: Diagnostics message disabled (default)
4/8AI
(If wire break occurs, the overflow bit is also set.)
Setting for integration time, ET 200B-4/8AI only AAH 55H
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c
Integration time 20 ms for 50 Hz supply (default) Integration time 16.7 ms for 60 Hz supply
4/8AI 4/8AI
D
D-13
Page 314
Configuring with COM ET 200 V4.x
Table D-8
Content and Meanings of the Bytes in the Parameterization Telegram, continued
Byte
Breakdown
Code
7, 8, 9, Setting for analog value range 10 Byte 7 = channel (group) 0 19H Byte 8 = channel (group) 1 18H Byte 9 = channel (group) 2 16H Byte 10 = channel 15H (group) 3 14H 14H 13H 12H 11H
23
10 V (default) 0 ... 10 V
2.5 V 1.25 V, for ET 200B-4AI 1 V, for ET 200B-4/8AI (default) 0.5 V 0.25 V 80 mV
4AI, 4AO 4AO 4AI 4AI 4AI 4/8AI 4/8AI 4/8AI 4/8AI
24H 22H 23H
20 mA 0 ... 20 mA 4 ... 20 mA
4AI, 4AO 4AI, 4AO 4AI, 4AO
82H E5H E8H E6H
Pt 100 Standard Thermocouple Type J with linearization Thermocouple Type K with linearization Thermocouple Type L with linearization
4/8AI 4/8AI 4/8AI 4/8AI
Selection for measured-value representation (ET 200B-4AI and ET 200B-4/8AI only) 00H 01H 02H
Complement of twos Amount and sign Binary
4AI, 4/8AI 4AI, 4/8AI 4AI
D
D-14
ET 200B Distributed I/O Station EWA 4NEB 812 6089-02c