Professional Documents
Culture Documents
___________________
Preface
Mechanical Configuration of
an Automation System with
SIMATIC S7 Ex Modules
1
___________
SIMATIC
Automation Systems
S7-300, ET 200M Ex I/O Modules
Manual
SIMATIC S7 Ex Digital
2
___________________
Modules
SIMATIC S7 Ex Analog
3
___________________
Modules
SIMATIC S7 HART Analog
4
___________________
Modules
A
___________________
Certificates
B
___________________
Standards and licenses
C
___________________
Service & support
09/2014
A5E00172008-11
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Trademarks
All names identified by are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Industry Sector
Postfach 48 48
90026 NRNBERG
GERMANY
A5E00172008-11
07/2014 Subject to change
Preface
Purpose of the manual
This manual will help you to
plan,
install,
and operate a SIMATIC S7 ex module for an automation system in a hazardous area.
Order number
SM 321; DI 4 x NAMUR
6ES7321-7RD00-0AB0
SM 322; DO 4 x 24V/10mA
6ES7322-5SD00-0AB0
SM 322; DO 4 x 15V/20mA
6ES7322-5RD00-0AB0
6ES7331-7SF00-0AB0
SM 331; AI 4 x 0/4...20mA
6ES7331-7RD00-0AB0
SM 332; AO 4 x 0/4...20mA
6ES7332-5RD00-0AB0
6ES7331-7TB00-0AB0
6ES7331-7TB10-0AB0
6ES7332-5TB00-0AB0
6ES7332-5TB10-0AB0
For information on CPUs or IM 153-x versions which support this module, refer to the
STEP 7 Hardware Catalog.
Preface
Guide
The manual covers the following subject areas:
At the beginning of this manual you will find a complete table of contents.
Chapter 1 explains the mechanical configuration of an automation system with SIMATIC
S7 Ex modules
Chapter 2 describes the SIMATIC S7 Ex digital modules
Chapter 3 describes the SIMATIC S7 Ex analog modules
Chapter 4 describes the SIMATIC S7 HART analog modules
Important terms are explained in the glossary.
You can use the index to find the key parts of the manual.
Approvals
See Appendix Standards and approvals (Page 265)
CE marking
See Appendix Standards and approvals (Page 265)
Standards
See Appendix Standards and approvals (Page 265)
Preface
Security information
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, solutions, machines, equipment and/or networks. They are
important components in a holistic industrial security concept. With this in mind, Siemens
products and solutions undergo continuous development. Siemens recommends strongly
that you regularly check for product updates.
For the secure operation of Siemens products and solutions, it is necessary to take suitable
preventive action (e.g. cell protection concept) and integrate each component into a holistic,
state-of-the-art industrial security concept. Third-party products that may be in use should
also be considered. You can find more information about industrial security on the Internet
(http://www.siemens.com/industrialsecurity).
To stay informed about product updates as they occur, sign up for a product-specific
newsletter. You can find more information on the Internet
(http://support.automation.siemens.com).
Preface
Table of contents
Preface ................................................................................................................................................... 3
1
Use ...............................................................................................................................................17
1.2
1.3
1.4
1.5
1.6
1.7
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.7.6
1.7.7
1.8
1.8.1
1.8.2
1.8.3
1.8.4
1.8.5
1.9
1.9.1
1.9.2
1.9.3
1.9.4
1.9.5
1.9.6
1.9.7
1.9.8
1.10
1.10.1
1.10.2
1.10.3
1.11
2.2
Table of contents
2.2.1
2.2.2
2.2.3
2.2.4
2.3
2.3.1
2.3.2
2.3.3
2.3.4
2.4
2.4.1
2.5
3.2
3.3
3.4
Connecting thermocouples to the analog input SM 331; AI 8 x TC/4 x RTD ............................ 116
3.5
Connection of resistance thermometers (e.g. Pt100) and resistance sensors ......................... 121
3.6
3.7
3.8
3.9
Connecting Loads/Actuators to the Analog Output Module SM 332; AO 4 x 0/4...20 mA ........ 127
3.10
Table of contents
3.10.1
3.10.2
3.10.3
3.10.4
3.10.5
3.10.6
3.10.7
3.11
3.12
3.13
4.2
4.2.1
4.2.2
4.2.3
4.3
4.3.1
4.3.2
4.3.3
4.4
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.4.6
4.4.6.1
4.4.6.2
4.4.6.3
4.4.6.4
4.4.6.5
4.4.6.6
4.5
4.5.1
4.5.2
4.5.3
4.5.4
4.5.5
4.5.6
4.5.7
4.5.7.1
4.5.7.2
4.5.7.3
4.5.7.4
4.5.7.5
Table of contents
Certificates...........................................................................................................................................263
A.1
Glossary ..............................................................................................................................................273
Index ...................................................................................................................................................285
Tables
Table 1
Table 1- 1
Table 1- 2
Table 1- 3
Table 1- 4
Table 1- 5
Siemens cables for measurement and control to DIN VDE 0815 ................................................ 38
Table 1- 6
Table 1- 7
Table 1- 8
Table 1- 9
Table 1- 10
Table 2- 1
Table 2- 2
Allocation of 4 digital input channels to the 4 channel groups of SM 321; DI 4 x NAMUR .......... 67
Table 2- 3
Table 2- 4
Table 2- 5
Table 2- 6
Diagnostic messages as well as their causes and remedies in SM 321; DI 4 x NAMUR .......... 69
Table 2- 7
Dependencies of the input values for CPU operating status and supply voltage L+ of SM
321; DI 4 x NAMUR ...................................................................................................................... 71
Table 2- 8
Table 2- 9
Assignment of the four channels to the four channel groups of SM 322; DO 4 x 24V/10mA
and SM 322; DO 4 x 15V/20mA ................................................................................................... 81
Table 2- 10
Table 2- 11
10
Table of contents
Table 2- 12
Diagnostic messages as well as their causes of error and remedies for the SM 322; DO
4 x 24V/10mA and SM 322; DO 4 x 15V/20mA ........................................................................... 83
Table 2- 13
Dependencies of output values on the CPU operating status and supply voltage L+ of SM
322; DO 4 x 24V/10 mA and SM 322; DO 4 x 15V/20 mA .......................................................... 85
Table 3- 1
Table 3- 2
Table 3- 3
Notation of the digitized measured value of an analog input module (voltage measuring
range) ........................................................................................................................................... 97
Table 3- 4
Displaying the digitized measured values SM 331; AI 4 x 0/4.... .20mA and AI 2 x 0/4 ...
.20mA HART analog input modules............................................................................................. 98
Table 3- 5
Notation of the digitized measured value of an analog input module (resistance sensor) .......... 99
Table 3- 6
Notation of the digitized measured value of an analog input module (temperature range
standard; Pt 100, Pt200) .............................................................................................................. 99
Table 3- 7
Notation of the digitized measured value of an analog input module (temperature range
standard; Ni 100)........................................................................................................................ 100
Table 3- 8
Notation of the digitized measured value of an analog input module (temperature range
climatic; Pt 100, Pt200) .............................................................................................................. 101
Table 3- 9
Notation of the digitized measured value of an analog input module (temperature range
climatic Ni 100)........................................................................................................................... 102
Table 3- 10
Notation of the digitized measured value of an analog input module (temperature range,
type B) ........................................................................................................................................ 103
Table 3- 11
Notation of the digitized measured value of an analog input module (temperature range,
type E) ........................................................................................................................................ 104
Table 3- 12
Notation of the digitized measured value of an analog input module (temperature range,
type J) ........................................................................................................................................ 105
Table 3- 13
Notation of the digitized measured value of an analog input module (temperature range,
type K) ........................................................................................................................................ 105
Table 3- 14
Notation of the digitized measured value of an analog input module (temperature range,
type L) ........................................................................................................................................ 106
Table 3- 15
Notation of the digitized measured value of an analog input module (temperature range,
type N) ........................................................................................................................................ 107
Table 3- 16
Notation of the digitized measured value of an analog input module (temperature range,
type R) ........................................................................................................................................ 108
Table 3- 17
Notation of the digitized measured value of an analog input module (temperature range,
type S) ........................................................................................................................................ 109
11
Table of contents
Table 3- 18
Notation of the digitized measured value of an analog input module (temperature range,
type T) ........................................................................................................................................ 110
Table 3- 19
Notation of the digitized measured value of an analog input module (temperature range,
type U) ........................................................................................................................................ 111
Table 3- 20
Representation of analog output range of analog output modules (current output ranges) ...... 112
Table 3- 21
Parameters of the analog input module SM 331; AI 8 x TC/4 x RTD ........................................ 132
Table 3- 22
Table 3- 23
Table 3- 24
Table 3- 25
Table 3- 26
Diagnostic message of the analog output module SM 332; AO 4 x 0/4...20mA ........................ 138
Table 3- 27
Table 3- 28
Dependencies of analog input/output values on the CPU operating status and the supply
voltage L+ ................................................................................................................................... 141
Table 3- 29
Table 3- 30
Table 3- 31
Allocating analog input channels of the SM 331; AI 8 x TC/4 x RTD to channel groups ........... 149
Table 3- 32
Table 3- 33
Allocation of analog input channels of the SM 331; AI 4 x 0/4...20 mA to channel groups ....... 161
Table 3- 34
Table 3- 35
Table 3- 36
Output ranges of the analog output module SM 332; AO 4 x 0/4...20 mA ................................ 169
Table 4- 1
Table 4- 2
Table 4- 3
Table 4- 4
Parameters of the analog input module SM 331; AI 2 x 0/4...20mA HART ............................... 186
Table 4- 5
Parameters of the analog output module SM 332; AO 2 x 0/4...20mA HART ........................... 187
Table 4- 6
Additional diagnostic messages for the analog input module SM 331; AI 2 x 0/4...20mA
HART and the analog output module SM 332; AO 2 x 0/4...20mA HART ................................. 188
Table 4- 7
Additional diagnostic messages, possible causes of the errors, and remedies ........................ 189
Table 4- 8
12
Table of contents
Table 4- 9
Measuring types of the analog input module SM 331; AI 2 x 0/4...20mA HART ....................... 191
Table 4- 10
Table 4- 11
Codes for the measuring type and measuring range of the HART analog input module .......... 206
Table 4- 12
Code for the measurement type / range of the HART analog output module ........................... 207
Table 4- 13
Table 4- 14
HART protocol error during response from field device to module ............................................ 213
Table 4- 15
Table 4- 16
Parameters of the analog input module SM 331; AI 2 x 0/4...20mA HART ............................... 223
Table 4- 17
Parameters of the analog output module SM 332; AO 2 x 0/4...20mA HART ........................... 224
Table 4- 18
Table 4- 19
Diagnostic messages of analog input module, causes of error and remedies .......................... 227
Table 4- 20
Additional HART diagnostic messages of the analog input module .......................................... 228
Table 4- 21
Additional HART diagnostic messages, possible causes of errors and remedies .................... 229
Table 4- 22
Table 4- 23
Measuring types of the analog input module SM 331; AI 2 x 0/4...20mA HART ....................... 232
Table 4- 24
Table 4- 25
Codes for the measuring type and measuring range of the HART analog input module .......... 247
Table 4- 26
Code for the measurement type / range of the HART analog output module ........................... 248
Table 4- 27
Table 4- 28
HART group error displays in response byte 1 (extended response control) ............................ 256
Table 4- 29
HART protocol error in response byte 2 for the response from the field device to the
module (error code) ................................................................................................................... 256
Table 4- 30
Table 4- 31
Table 4- 32
Table 4- 33
Table B- 1
Figures
Figure 1-1
Figure 1-2
Inserting the connecting cables of the load voltage in the line chamber. Outside diameter
of the wires > 2 mm (viewed from below) .................................................................................... 22
Figure 1-3
Insert the L+ line in a loop in the line chamber. Outside diameter of the wires < 2 mm
(viewed from below) ..................................................................................................................... 22
13
Table of contents
Figure 1-4
Figure 1-5
Figure 1-6
Wiring between L+/M lines and Ex modules via connecting elements ........................................ 25
Figure 1-7
Figure 1-8
Figure 1-9
Figure 1-10
Figure 1-11
Figure 1-12
Figure 1-13
Figure 1-14
Figure 2-1
Figure 2-2
Figure 2-3
Start Information of OB40: which event has triggered the process interrupt ............................... 72
Figure 2-4
Figure 2-5
Figure 2-6
Figure 2-7
Figure 3-1
Figure 3-2
Connection of non-insulated transducers to an electrically isolated analog input module ........ 116
Figure 3-3
Figure 3-4
Figure 3-5
Figure 3-6
Figure 3-7
Figure 3-8
Figure 3-9
Figure 3-10
Wiring of voltage sensors to the electrically isolated analog input module SM 331; AI 8 x
TC/4 x RTD ................................................................................................................................ 125
14
Table of contents
Figure 3-11
Wiring 2-wire transducers to the SM 331; AI 4 x 0/4 .... 20mA and AI 2 x 0/4 ... 20mA
HART analog input modules ...................................................................................................... 126
Figure 3-12
Wiring 4-wire transducers with external power supply to the SM 331; AI 4 x 0/4 .... 20mA
and AI 2 x 0/4 ... 20mA HART analog input modules ................................................................ 127
Figure 3-13
Connection of loads to a current output of the electrically isolated analog output module
SM 332; AO 4 x 0/4...20mA ....................................................................................................... 128
Figure 3-14
Figure 3-15
Figure 3-16
Start Information of OB40: Which event has violated limits and triggered a hardware
interrupt ...................................................................................................................................... 141
Figure 3-17
Module view and block diagram of SM 331; AI 8 x TC/4 x RTD ................................................ 147
Figure 3-18
Module view and block diagram of the SM 331; AI 4 x 0/4...20mA ........................................... 159
Figure 3-19
Figure 4-1
Location of the HART analog modules in the distributed system .............................................. 176
Figure 4-2
Figure 4-3
Figure 4-4
Figure 4-5
Module view and block diagram of SM 331; AI 2 x 0/4...20mA HART ...................................... 192
Figure 4-6
Module view and block diagram of the SM 332; AO 2 x 0/4...20mA HART............................... 200
Figure 4-7
Figure 4-8
Figure 4-9
Figure 4-10
Figure 4-11
Figure 4-12
Figure 4-13
Diagnostic data records 128 and 129 of the HART analog modules......................................... 214
Figure 4-14
Diagnostic data record 130 of the HART analog modules ........................................................ 215
Figure 4-15
Diagnostic data records 131 and 151 of the HART analog module .......................................... 215
Figure 4-16
Parameter data records 128 and 129 of the HART analog modules......................................... 216
Figure 4-17
Input user data area of the HART analog modules ................................................................... 218
Figure 4-18
Figure 4-19
Figure 4-20
Module view and block diagram of SM 331; AI 2 x 0/4...20mA HART ...................................... 233
Figure 4-21
Module view and block diagram of the SM 332; AO 2 x 0/4...20mA HART............................... 240
Figure 4-22
Figure 4-23
15
Table of contents
Figure 4-24
Figure 4-25
Figure 4-26
Figure 4-27
Figure 4-28
Figure 4-29
Input user data area of the HART analog modules ................................................................... 260
Figure 4-30
User data area of the HART analog output module ................................................................... 261
16
Use
Overview
The SIMATIC S7 Ex modules can be used in the systems:
S7-300,
ET 200M.
The HART analog modules SM 331; AI 2 x 0/420mA HART and SM 332; AO
2 x 0/4...20mA HART can be used in the ET 200M system.
For installation purposes, you must therefore comply with the configuration guidelines as
specified in the corresponding manuals. In addition, further reference guidelines for SIMATIC
S7 Ex modules are provided in this section. These must be taken into consideration.
1.2
Note
Note
Ex systems may only be installed by authorized personnel.
Approvals
The SIMATIC S7 Ex modules have the following approval
II 3 G (2) GD Ex nA [ib] [ibD] IIC T4. This means they can be installed in a non-hazardous
area and also in zone 2 (category 3G) if certain conditions are adhered to. Only intrinsically
safe electrical equipment (actuators/sensors) permitted in zones 1 and 2 can be connected
to the SIMATIC S7 Ex modules. The approval applies to all potentially explosive gas
mixtures in Groups IIC. The safety-related limits can be found in the certificates of
conformity.
The certificates of conformity and explanations of the designations can be found on the
Internet (http://support.automation.siemens.com/WW/view/en/37217116/134200).
17
FM approval
The SIMATIC S7 Ex modules have the following FM approvals:
Class I, Division 2, Group A, B, C, D Tx;
Class I, Zone 2, Group IIC Tx
Therefore, the modules can be used in areas that contain volatile flammable liquids or
flammable gasses which are normally within closed vessels or systems, from which they can
only escape under abnormal operating or fault conditions. The approval applies to all test
gasses. A surface temperature no greater than 135 C (T4) occurs at ambient temperatures
of 60 C.
18
Partition
The Ex partition must be fitted to achieve the minimum thread measure of 50 mm between
Ex and non-Ex modules when using the bus module of the active backplane bus.
19
See also
Overview of diagnostic functions (Page 263)
The LK 393 line chamber (Page 20)
Configuration of an S7-300 with Ex I/O Modules (Page 23)
Configuration of an ET 200M with Ex I/O modules (Page 26)
1.3
Scope of application
With the exception of the analog input module SM 331; AI 8 x TC/4 x RTD, all Ex I/O
modules require a 24V DC load voltage supply via the process connector. Safety isolation of
this signal in order to maintain the minimum thread measure between Ex and non-Ex areas
is achieved by using the LK 393 line chamber (Order No. 6ES7393-4AA00-0AA0). Process
signals are carried downward while the 24V supply is routed upward in separate ducts.
When using the LK 393 line chamber, you must always use the front connector with screwtype contacts. If you use the front connector with spring contacts, the front door of the
module can no longer be closed.
20
Line chamber
Figure 1-1
21
Diameter > 2 mm
Figure 1-2
Inserting the connecting cables of the load voltage in the line chamber. Outside diameter of the wires > 2 mm
(viewed from below)
Diameter < 2 mm
Figure 1-3
Insert the L+ line in a loop in the line chamber. Outside diameter of the wires < 2 mm
(viewed from below)
Note
Use Ex I/O modules which require a 24V load voltage exclusively with the LK 393 line
chamber. It is necessary for ensuring the modules are used for their intended purpose.
22
Figure 1-4
You can, of course, also use Ex I/O modules for non-intrinsically safe tasks. You will not
need the line chamber in this case. However, you must then clearly and permanently cancel
the Ex identification symbol. Subsequent use for Ex applications is no longer possible unless
you return the module to the manufacturer for testing.
1.4
General information
Physical isolation of non-Ex signals from Ex signals corresponds to the requirements with
regard to the configuration of explosion-protected automation technology. If the minimum
distance of 50 mm between bare connection terminals of Ex modules and bare connection
terminals of non-Ex modules can not be maintained, a DM 370 spacer module (order
number 6ES7 370-0AA00-0AA0) must be fitted between these modules. Care must be taken
to ensure that all automation systems are routed to a common ground.
This means:
All earthing screws of the sectional rails must be referred to a common ground.
The earthing clip of all CPUs must be locked in position.
23
Figure 1-5
L+ supply
EX CABLE DUCT
24
Connection elements
15 mm top-hat rail
Ex modules
Ex cable duct
Figure 1-6
See also
The LK 393 line chamber (Page 20)
Summary of Requirements of EN 60079-14 (Page 33)
25
1.5
EX CABLE DUCT
S7-300 modules
S7-300 modules
Figure 1-7
26
1.6
General
Potential differences may develop between the bodies of electrical equipment which are
bonded to a protective conductor and the conductive elements of the construction which do
not belong to the electrical equipment, for example, the piping. The bridging of such potential
differences may cause ignition sparks. Equipotential bonding requires that conductive metal
parts which are not touch-protected are interconnected with the ground conductor. A
practical central point for equipotential bonding is the distribution cabinet. The cross-section
of the equipotential conductor should at least be equivalent to that of the corresponding
protective conductor. In all other situations, the minimum cross-section of the equipotential
conductor is 10 mm2 Cu.
The backplane bus and I/O power circuits of Ex modules feature galvanically isolated, i.e.
equipotential bonding is not required for these modules. Exception: Connection to the
equipotential conductor if this is necessary for reasons of measuring technology. Where
lightning protection devices are required in the intrinsically safe circuit, they must be
connected to the EB conductor at the same point as the shield of the intrinsically safe
circuits.
Generally speaking, the measures described in EN 60079-14 should be used or adhered to.
Generally, cable racks must be incorporated throughout the earthing system.
27
Figure 1-8
28
Figure 1-9
29
See also
Measures (Page 45)
1.7
1.7.1
General information
Measures
Neither the electrical installation nor the required materials for this such as cables, lines and
installation materials are subject to the special test procedure of ElexV with respect to their
design. The responsibility of plant personnel or of an installation company for the proper
installation of an Ex system is particularly high on account of the risk of explosion in the
event of improper implementation.
General planning principles for cable routes are very similar to those for piping. At the
drafting stage of installation plans and building layouts, areas with increased risk of fire and
danger zones must be defined in accordance with ElexV and VbF. The focus should be set
on cable and piping tray installations in low-risk areas. Furthermore, accessibility and ease of
maintenance must be ensured, also for subsequent expansion. The cabling and line duct
passages between the control rooms and operational danger areas must be sealed
appropriately in order to prevent any ingress of dangerous gases or fumes into the control
room.
Note
Laying cables in ducts in the floor should be avoided. There is the risk
of the penetration or the formation of potentially explosive gas / air mixtures and their
uncontrolled propagation,
penetration of corrosive liquids.
The flexible multicore and single conductor cables used to install intrinsically safe power
circuits only require a diameter of 0.1 mm. For implementation in the Ex area, cables and
lines must primarily withstand the expected mechanical, chemical and thermal effects. It is
therefore always necessary to lay considerably larger cross sections and use cables and
lines that are flame-retardant and oil-resistant.
Intrinsically safe and non-intrinsically safe lines (conductors, non-sheathed cables) must be
laid separately or with appropriate insulation. Common routing in cables, lines and conductor
bundles is not permissible.
Special care must be taken to ensure full isolation in cable ducts. This can be achieved with
a continuous intermediate 1 mm layer of insulating material or by laying sheathed cables
(see following table).
30
Any cables of intrinsically / not intrinsically safe circuits with common routing must be
capable of withstanding a minimum test voltage of 500 V AC.
The high insulation voltage of 500 V AC can be dispensed with if the intrinsically safe or nonintrinsically safe circuits are enclosed in a grounded shield. However, the cables of
intrinsically safe circuits must be capable of withstanding at least 500 VAC (conductorconductor-ground).
Intrinsically safe lines must be clearly marked. If a color is used, it must be light-blue. An
exception to this rule is the routing of lines within equipment, distribution panels and
switchrooms. Cables and lines thus marked must not be used for other purposes.
In general, intrinsically safe circuits must be installed in a floating arrangement. A connection
to ground via a 15 kOhm resistor, e.g. to discharge electrostatic charges, does not qualify as
a ground. Intrinsically safe circuits must be bonded to ground if necessary for reasons of
measuring technology or safety. The circuit may only be grounded once to the equipotential
bonding system. Equipotential bonding must exist in the entire installation of intrinsically safe
circuits.
The terminal elements of systems which contain intrinsically / not intrinsically safe circuits,
for example, in measuring and control cabinets, must comply with EN 60079-11 directives.
The connections of the intrinsically safe circuits must be marked as intrinsically safe. Lightblue must be used if color coding is preferred.
31
1.7.2
Marking
Cables and lines of intrinsically safe circuits must be marked. Where jackets or sheaths are
color-coded, light-blue must be chosen as the color. Cables and lines thus marked must not
be used for other purposes. Equalizing conductors for thermocouples with a plastic sheath
may be provided with colored longitudinal stripes as follows, according to the type of
thermocouple:
Copper/cupro-nickel (copper/constantan)
brown
Iron/cupro-nickel (iron/constantan)
dark blue
Nickel-chrome/nickel
green
Platinum-rhodium/platinum
white
In the case of equalizing conductors for thermocouples with a mineral sheath or metal braid,
a light-blue strip of sufficient width must be woven in as the color code for intrinsic safety.
Within measurement and control cabinets and in the interior of switching and distribution
systems, special measures must be taken where there is a risk of interchanging the lines of
intrinsically safe and non-intrinsically safe circuits, e.g. where there is a blue neutral
conductor in compliance with DIN 47002.
The following measures are acceptable:
Bundling of conductors in a common light-blue sheath,
Labeling,
clear arrangement and physical separation.
1.7.3
Protection measures
Cable bedding made of metal must be incorporated in the protective measures to counteract
indirect contact. This can be achieved by routing an existing ground conductor made of steel
strip or with a good conductive connection between individual beds.
For single laying, conduits made of metal are now only usually used where particular
mechanical or thermal stress is developed. In general, PVC conduits of two different types
are used depending on the expected mechanical stress. Remember, however, that PVC
exhibits a linear expansion which is about 8 times that of metal. The fixing points must
therefore be such that the linear expansion is taken up.
32
1.7.4
Overview
The table below once again highlights the most important cable and conductor specifications
to EN 60079-14.
Table 1- 1
application
General requirements:
1 mm fine,
single-core cable:
U <= 750 V
U <= 250 V
I <= 6 A
no severe mechanical
stresses
in M&C systems,
note additional
requirements for "i" and
zone 0)
multi-core cable:
33
See also
Types of cables (Page 35)
1.7.5
Specification
Cables and wires laid in hazardous areas do not require a test certificate in accordance with
Elex V. The electrical data of cables used for intrinsically safe M&C circuits must be specified
(for example, capacitance at 200 nF/km, inductivity at 1 mH/km).
The following applies within a group cable:
The insulation between lines of intrinsically safe and non-intrinsically safe circuits must
withstand an alternating voltage of 2U + 1000 V, but at least 1500 V, where U is the sum of
rms voltage values of the intrinsically safe and non-intrinsically safe circuits.
34
Number of
cores
1
2-5
>5
1
0,75
0,5
1,5
1,5
1
>1
0,5
0,5
0,8
2
>2
2 (shielded)
0,5
0,28
0,28
0,5
0,28
0,28
0,8
0,6
0,6
< AC 60 V or
120 V DC
1.7.6
Flexible
Solid
stranded
conductor mm2
conductor mm2
Conductor
diameter mm
Types of cables
Overview
Suitable process signal cables are installation cables for industrial electronic systems
(SIMATIC cable) with bundled twisted-pair, color-coded conductors. Cables with a solid
conductor (0.5 mm2 cross section, 0.8 mm diameter) have a static shield. Cables with flexible
stranded conductors (J-LIYCY) have a braided shield (C) made of copper wires.
Table 1- 4
Types of cables
Cable designation
Cable for
A-Y(St) YY
nx2x0.8/1.4 BdSi
J-Y(St) Y
nx2x0.8/1.4 BdSi
Normal applications
J-LiYY
nx2x0.5/1.6 BdSi
J-LiYCY
nx2x0.5/1.6 BdSi
1 Direct
35
Basic type
rated voltage
5
6
insulating material
sheath material
Special features
Conductor
harmonized type
national type
03
300/300 Volt
05
300/500 Volt
07
450/750 Volt
PVC
Rubber
silicon rubber
PVC
Rubber
cloroprene rubber
fabric braid
H2
single-core
multi-core
fine (flexible)
tinsel
Number of cores
...
Number of cores
protective conductor
...
specified in mm2
Figure 1-10
36
Basic type
Supplement
Insulating material
Design features
Outdoor cable
Mining cable
Wiring cable
Sheathed cable
Switchboard cable
Induction-protected
Electronics
PVC
2Y
Polyethylene
O2Y
Cellular PE
5Y
PTFE
6Y
FEP
7Y
ETFE
PAPER
Petrolatum filler
Aluminum sheath
LD
Corrugated aluminum
(ST)
Aluminum tape
(K)
Mz
Lead sheath
Armoring
Sheath material
Number of elements
(refer to 3. Isolation)
Number of stranding elements
Stranding element
Single core
Pair
Conductor diameter
...
in mm
Stranding element
St
St I
St III
TF
PiMF
shielded pair
37
Type of stranding
11
Sheath color
Table 1- 5
Lg
Layer stranding
Bd
Unit stranding
BL
blue
Order Number
JE-LIYCY
2x2x0.5 BD SI BL
V45483-F25-C15
JE-LIYCY
16x2x0.5 BD SI BL
V45483-F165-C15
JE-LIYCY
32x2x0.5 BD SI BL
V45483-F325-C55
JE-Y(ST)Y
2x2x0.8 BD SI BL
V45480-F25-C25
JE-Y(ST)Y
16x2x0.8 BD SI BL
V45480-F165-C35
JE-Y(ST)Y
32x2x0.8 BD SI BL
V45480-F325-C25
JE-Y(ST)Y
100x2x0.8 BD SI BL
V45480-F1005-C15
200 pF/100 m
at 800 Hz
Working capacity
c. 200 nF/km
at 800 Hz
Working inductance
c. 1 mH/km
6 x line diameter
- 30 C to 70 C
- 5 C to 50 C
core/core 2000 V,
core/shield 500 V,
Loop resistance
1.7.7
c. 80 /km
Requirements
These must be identifiable, for example by their type designation, and the following
constructional requirements must be observed:
Clearance in air and leakage path in accordance with EN 60079-0/EN 60079-11 between
two connection elements of different intrinsically safe circuits must be at least 6 mm.
Clearance in air and leakage path between connection elements of each intrinsically safe
circuit and grounded metal parts must be not less than 3 mm.
Marking of connection elements must be unambiguous and easily recognized. When a
color is used for this purpose, it must be light blue.
The following must also be observed with regard to the use of terminals:
38
1.8
1.8.1
Shielding
Definition
Shielding is a method of attenuating magnetic, electric or electromagnetic interference fields.
Shielding can be subdivided into
Equipment Shielding
Line Shielding
1.8.2
Equipment Shielding
General information
Particularly observe the following when cabinets and housings are incorporated in control
system shielding:
Cabinet covers such as side panels, rear panels, top and bottom panels, must make
contact in an overlapping arrangement at adequate distances (e.g. 50 mm).
Doors must be given additional contact with the cabinet ground. Use several grounding
strips.
Lines exiting the shielded housing should either be shielded or routed via filters.
Where the cabinet contains sources of severe interference (transformers, lines to motors,
etc.), they must be partitioned from sensitive electronic areas with metal plates. The metal
plates must have several low-impedance bolted joints to the cabinet ground.
Interference voltages picked up in the programmable controller via non-Ex signal and supply
lines are diverted to the central ground point (standard sectional rail).
The central ground point should have a low-impedance connection to the PE conductor via a
copper conductor (> = 10 mm2) which is as short as possible.
39
1.8.3
Line Shielding
Non-Ex circuits
Both ends of the cable shields are usually bonded to cabinet potential at a suitable
conductive point. Satisfactory suppression of all frequencies picked up can only be achieved
by shielding at both ends.
Figure 1-11
40
Ex circuits
Three aspects must be considered with regard to the design of shielding and grounding of an
S7-300 system:
Ensuring electromagnetic compatibility (EMC)
Explosion protection
Personal protection
41
Ex area
Non-Ex area
SIMATIC Ex modules
1.8.4
42
43
1.8.5
Overview
To ensure EMC, it is often sufficient to observe some elementary rules. When assembling
the control system, take into consideration the five following basic rules.
1. When installing the programmable controllers, ensure high quality surface grounding of
the inactive metal elements
Connect all inactive metal elements over a large area and at low impedance.
On painted and anodized metal elements, make screwed connections with special
contact washers or remove the insulating protective layers.
Provide a central connection between chassis ground and the ground/protective
conductor system.
2. When wiring always follow the code of practice for line routing
Subdivide the cabling into line groups.
(AC power cables, supply lines, Ex and non-Ex signal lines, data lines).
Always install power cables and signal or data lines in separate ducts or bundles.
Route the signal and data lines as closely as possible to grounded surfaces such as
supporting bars, metal rails, cabinet sheet metal panels.
Install Ex and non-Ex signal lines in separate ducts.
44
1.9
Lightning Protection
1.9.1
Measures
Overview
In systems with hazardous areas, the most important task, not least for reasons of explosion
protection, is to avoid overvoltages; where this is not possible, they must be reduced and
safely discharged.
In addition to the provision of external lightning protection, these measures cover internal
lightning protection and overvoltage protection. These measures must be coordinated with
the equipment-related EMC.
You will find more detailed information on the subjects of lightning protection and overvoltage
protection in the manuals of the individual systems as specified in the foreword. Here, you
will also find an overview of the components which can be used for this purpose.
45
1.9.2
Measures
External lightning protection is a measure for preventing damage to buildings and fire
damage. For this task, a large-mesh wire cage consisting of lightning conductors and down
conductors is sufficient.
On buildings with sensitive electronic equipment such as control rooms, the external
lightning protection must be supplemented by a building shield. For these purposes, where
possible, metal facades and reinforcements of walls, floors and ceilings on or in the building
are connected to form shield cages. Where this is not possible, the lightning conductor and
down conductor should have a reduced mesh size and, where applicable, the supporting
structure of the intermediate floor should be electrically interconnected.
Electrical equipment protruding above roof level must be protected against direct lightning
strikes. When such equipment is metallically connected to the external lightning protection
system, a partial current is picked up by the building in the event of a lightning strike; this can
result in destruction of the equipment sensitive to overvoltages. The pick-up of partial
lightning currents can be prevented by protecting the electrical equipment protruding above
the roof from direct lightning strikes by means of rods insulated from the equipment (45
degree protective area), or by cage-type tensioned wires or cables.
The down conductors for external lightning protection and, if applicable, the reinforcements
and supporting structures, should be connected to the ground system. Each individual
building has its own functioning ground system. The ground systems are meshed to create a
common grounding network. The voltage between the buildings is thus reduced.
1.9.3
Measures
The process engineering of a plant, such as gas supply, requires a wide-ranging exchange
of information between the systems with the distributed Ex I/O devices and the central,
electrical or electronic measurement and control system. This necessitates a great number
of cable connections, sometimes extending over several hundred meters - in the case of gas
storage systems, over several thousands of meters. In the event of a lightning strike,
therefore, extensive voltage pick-up occurs.
A distributed arrangement of instrumentation and control equipment with relatively short
cables to the plant, and the connection of distributed I/O stations to each other and to the
central controller via a bus (PROFIBUS-DP) or fiber-optic cable, are an important measure
for reducing overvoltages between sections of the plant.
You will find more detailed information on this arrangement in the manuals specified in the
foreword.
46
1.9.4
Measures
Overvoltages between separate plant sections or buildings cannot be avoided in practice by
meshing. In the event of a lightning strike, a circulating current will flow over the path created
by metal connections between the buildings or between a building and I/O device. Cable
cores are ideal for this purpose. The lightning or partial lightning current must therefore be
offered other conductive connections. Shielding which can be implemented in different ways
is particularly suitable, for example:
a helical current-rated metal strip or metal braid as the cable shield, e.g. NYCY or
A2Y(K)Y.
By installing the cables in continuously connected metal conduits which are grounded at
both ends.
By installing the cables in reinforced concrete ducts with through-connected
reinforcement or on closed metal cable racks.
By laying conductors (shield conductors) in parallel with cables. This measure, however,
only relieves the cables of partial lightning currents.
or
By laying fiber-optic cables.
Overvoltage-sensitive equipment must also be shielded to ensure the currents at the cable
ends cannot destroy this equipment. This is achieved with metal housings or by installing the
equipment in metal cabinets which are connected to the ground conductor.
1.9.5
Measures
"Internal lightning protection" covers all the additional measures which prevent the magnetic
and electrical effects of the lightning current within the building to be protected. These
measures include in particular "equipotential bonding for lightning protection" in order to
reduce potential differences caused by lightning current.
Internal lightning protection is based on the principle of the inclusion of all incoming and
outgoing lines of a protected volume in the equipotential bonding system for lightning
protection, i.e. in addition to the entire metal piping systems (gas, water and heating), this
includes all power and IT cables which must be wired to corresponding protective devices.
Since considerable, partial lightning currents can flow over such lines and must be
discharged by the protective devices, they must be chosen for a suitable current carrying
capacity (lightning current conductors).
47
1.9.6
Overvoltage Protection
General
Effectiveness depends very much on the connection and cable routing of the overvoltage
protection devices. When the devices are used in hazardous areas or intrinsically safe
circuits, EN60079-14 must be adhered to.
When the system is installed, the minimum igniting curves and maximum heating specified
by EN 60079-11 must be adhered to.
Figure 1-12
The discussion of safety-relevant aspects is limited to the direct comparison of the data for
inductance and capacity.
Table 1- 7
Ex module
Comparison
Lightning
arrester 1
Line
Lightning
arrester 2
Sensor/actuat
or
La
LBD1
+LLtg
+LBD2
+Li
Ca
CBD1
+CLtg
+CBD2
+Ci
Table 1- 8
Ex module
Comparison
Lightning
arrester 1
Line
Lightning
arrester 2
Sensor/actuat
or
La = 4 mH
< 0.5 H
< 50 H
< 0.5 mH
< 0.6 mH
Ca = 270 nF
< 1 nF
< 10 nF
< 6 nF
< 6 nF
The overvoltage protection elements described in this section are only effective if used
together with external lightning protection. External lightning protection measures reduce the
effects of a lightning strike.
48
1.9.7
49
Figure 1-13
1.9.8
Lightning Strike
Measures
When lightning strikes an explosive atmosphere it always ignites. There is also a risk of
ignition due to an excessive rise in temperature in the lightning discharge paths. In order to
prevent, at Zones 0, 1 and 20 themselves, the harmful effects of lightning strikes occurring
outside of these zones, surge diverters, for example, must be fitted at suitable points.
50
1.10
1.10.1
Safety Measures
Introduction
All possible measures which eliminate the risk of explosion must be implemented not only
when using programmable controllers in hazardous areas but also during the installation
stage.
51
low
possible
great
very great
when striking rusty steel with an alloy coating (e.g. aluminum paint)
Safety Measures
Working area
Safety Measures
52
Note
Working on energized electrical installations and apparatus in hazardous industrial premises
is prohibited. This also includes the disconnection of live control lines for test purposes.
As an exception, work on intrinsically safe circuits is permitted; also, in special cases, work
on other electrical systems where the user has certified in writing that there is no risk of
explosion for the duration of the work at the site.
If necessary, a fire permit must also be obtained.
Grounding and short-circuiting may only be carried out in hazardous industrial premises
when there is no risk of explosion at the point of grounding and short-circuiting.
Use measuring instruments which are approved for the zones to test for no voltages.
1.10.2
License
SIMATIC S7 Ex modules are permitted for use in zone 2 (category 3G). Note in this case the
specific conditions on the EU special test certificate (see certificates of conformity on
theInternet (http://support.automation.siemens.com/WW/view/en/37217116/134200)).
1.10.3
Types of protection
It is basically possible to install a SIMATIC assembly in a hazardous area zone 1. However,
the system installer must implement additional measures in order to protect the modules.
Two types of protection are available:
the Ex assembly is installed in a "pressurized enclosure";
the Ex assembly is installed in a "pressure-resistant, enclosed casing".
The following figure shows a possible configuration for zone 1 in a pressure-resistant,
enclosed casing with a terminal housing that provides an increased level of safety.
53
Figure 1-14
Housing
The selected type of housing is characterized by the fact that it is able to withstand
explosions occurring inside the housing and that an explosive gas/air mixture surrounding
the housing is not ignited. In addition, the surface temperature does not exceed the limit
values of the temperature classes. Cable glands that are protected against transmission of
internal ignition and isolated against the housing wall must be used for routing the supply
leads into the pressure-resistant, enclosed casing.
A housing with "increased safety" is used as a terminal compartment. Special screwed
glands are used for the cable entries.
The housing must be certified by a testing authority to comply with the "Ex d" type of
protection and the relevant design requirements.
Explosion protection of the housing: Ex de II T5 .. T6.
Cables
The cables used must comply with the EN 60079-0 and EN 60079-11 standards for
intrinsically safe circuits or EN 60079-25 for circuits with increased safety.
54
Terminals
The terminal connectors for the power supply cable and the bus line should always meet the
requirements of the "increased safety" tape of protection. The clamping points of the
intrinsically safe circuits should always be implemented according to the guidelines of
"Intrinsic safety".
Protective device
The assembly is connected to a 24 V DC supply circuit fed by a power supply unit with safe
electrical isolation. The supply circuit must be protected by an appropriate circuit-breaker.
This circuit-breaker is installed outside the Ex zone.
Switch
The switch for enabling the system should comply with the "Ex de II T6" type of protection.
Table 1- 10
Type of protection
of apparatus used
in system
Type of work to be
carried out
Ex ib
Work within
Additional
requirements and
notes
Zone 1
Zone 2
Opening the
housing, Ex i/e
housing only
allowed
allowed
Connecting/discon
necting lines
allowed
allowed
Current, voltage
and resistance
measurement
allowed with
certified apparatus
allowed
Soldering
prohibited
allowed if
soldering
temperature lower
than ignition
temperature
if no other
apparatus is in the
housing
55
Type of protection
of apparatus used
in system
Type of work to be
carried out
Ex e
Opening the
housing, Ex i/e
housing only
Work within
Zone 1
Zone 2
allowed
allowed
Ex d
Opening the
housing, Ex d
housing only
Additional
requirements and
notes
if no other
apparatus is in the
housing
voltage
voltage
measurement with measurement with
certified apparatus certified apparatus
only
only
prohibited
Zone 1
Zone 2
prohibited
allowed if no risk
of explosion
apparatus in
pressure-resistant
enclosure are no
longer protected
against explosion
if housing is
opened
allowed if no risk
of explosion
Current, voltage
and resistance
measurement
allowed if no risk
of explosion
Soldering
prohibited
56
1.11
Replacing equipment
Work on electrical systems or equipment can only be carried out if a "permit" has been
granted. If electrical equipment is replaced, attention must be paid to the correct temperature
class, explosion group, and corresponding (Ex) zone. Certificates of conformity, EU special
test certificates, and design approval must be available.
Maintaining apparatus
Repaired electrical apparatus may only be placed in operation again after testing by a
recognized expert in accordance with paragraph 15 of ElexV, and the test has been certified,
unless explosion protection has not been affected by the repair. If the repair affects
explosion protection, only original spare parts may be used. Improvised repairs which no
longer ensure explosion protection of apparatus are not permitted.
57
58
Chapter overview
Overview
The following SIMATIC S7 Ex digital modules are described in this chapter:
Digital input SM 321; DI 4 x NAMUR,
Order number: 6ES7321-7RD00-0AB0
Digital output SM 322; DO 4 x 24V/10mA,
Order number: 6ES7322-5SD00-0AB0
Digital output SM 322; DO 4 x 15V/20mA,
Order number: 6ES7322-5RD00-0AB0
Notes
You will find information on the relevant safety standards and on other safety regulations in
the Appendix Standards and Licenses (Page 265).
The general technical specifications in the device manual S7-300 Module Specifications, see
Internet (http://support.automation.siemens.com/WW/view/en/8859629).
2.2
2.2.1
Order Number
6ES7321-7RD00-0AB0
59
Features
SM 321; DI 4 x NAMUR has the following properties:
4 inputs
electrically isolated from the bus
electrically isolated from each other
load voltage 24 V DC
connectable sensors
to DIN EN 60947-5-6 or IEC 60947-5-6
interconnected mechanical contacts (with diagnostic evaluation)
open-circuited mechanical contacts (without diagnostics)
4 short circuit-proof outputs for the encoder power supply (8.2 V)
Operating points:
logic "1" 2.1 mA
logic "0" 1.2 mA
Status indication (0...3) = green LEDs
Fault indications = red LEDs for
group fault indication (SF)
channel-related short-circuit and wire-break error message (F0 to F3)
configurable diagnostics
configurable diagnostic interrupt
configurable process interrupt
Intrinsic safety of the inputs in accordance with EN 60079-11 and EN 61241-11
2-wire encoder connection
Supports time stamping
Configuration in Run (CiR) supported
60
Figure 2-1
61
Figure 2-2
62
40 x 125 x 120
Weight
approx. 230 g
Module-specific data
Configuration in Run (CiR) supported
yes
They return the process value that
applied before the parameters were
set.
yes
Number of inputs
max. 200 m
ATEX approvals
II 3 G (2) GD
Ex nA [ib] [ibD] IIC T4
Test number
KEMA 01ATEX1057 X
FM/UL approvals
Class I, Division 2,
Group A, B, C, D T4
Class I, Zone 2,
Group IIC T4
5 V DC
24 V DC
yes
4
Electrical isolation
yes
yes
yes
yes
DC 60 V
AC 30 V
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
DC 400 V
AC 250 V
63
DC 400 V
AC 250 V
DC 400 V
AC 250 V
DC 75 V
AC 60 V
Insulation tested
with 2500 V DC
with 2500 V DC
with 500 V DC
Current input
max. 80 mA
max. 50 mA
typical 1.1 W
Inputs
Interrupts
Process interrupt
Diagnostic interrupt
Configurable
Configurable
Diagnostic functions
possible
monitoring for
short-circuit
I > 8.5 mA
Wire break
I 0.1 mA
Safety specifications
(see EU special test certificate KEMA 01ATEX1057 X under certificates of conformity on the Internet
(http://support.automation.siemens.com/WW/view/en/37217116/134200))
Maximum values of input circuits (per channel)
max. 10 V
I0 (short-circuit current)
max. 14.1 mA
P0 (load power)
max. 33.7 mW
max. 100 mH
max. 3 F
Um (fault voltage)
max. DC 60V
AC 30V
max. 60C
64
at signal "1"
2.1 to 7 mA
at signal "0"
0.35 to 1.2 mA
Time/frequency
Interrupt conditioning time for
max. 250 s
max. 250 s
Configurable
yes
Nominal value
type 0.1/0.5/3/15/20 ms
See also
The LK 393 line chamber (Page 20)
Configuration of an S7-300 with Ex I/O Modules (Page 23)
Configuration of an ET 200M with Ex I/O modules (Page 26)
65
2.2.2
Parameterization
Parameterization
You set the parameters of digital input module SM 321; DI 4 x NAMUR in STEP 7. You must
implement the settings in CPU STOP mode. The parameters set in this way are stored in the
CPU during transfer from PG to S7-300. These parameters are transferred to the digital
module during the status change from STOP-->RUN.
You can also change some parameters in the user program with SFC 55 to 57.
The parameters for the 2 parameterization alternatives are subdivided into:
static parameters
dynamic parameters
The table below shows the characteristics of static and dynamic parameters.
Table 2- 1
static
Programming Devices
STOP
dynamic
Programming Devices
STOP
dynamic
RUN
Default settings
The SM 321, DI 4 x NAMUR features default settings for diagnostics, interrupts etc..
These defaults apply to digital input modules which were not parameterized in STEP 7.
Configurable characteristics
The characteristics of the SM 321, DI 4 x NAMUR can be parameterized with the following
parameter blocks:
Basic settings
Diagnostics
Process interrupts
66
Channel 0
Channel group 0
Channel 1
Channel group 1
Channel 2
Channel group 2
Channel 3
Channel group 3
SM 321; DI 4 x NAMUR
Range of
values
Default
Type of
Effective
range
Basic settings
0.1/0.5/3/15/20 3
static
Module
yes/no
no
dynamic
Module
yes/no
no
dynamic
Module
yes/no
no
static
yes/no
no
static
Channel
group
yes/no
no
dynamic
yes/no
no
dynamic
Diagnostics
Wire-break monitoring
Short-circuit to M
Channel
group
Process interrupts
at trailing edge
Channel
group
Channel
group
67
Input delay
The table below shows the programmable input delay times of SM 321; DI 4 x NAMUR and
their tolerances.
Table 2- 4
2.2.3
Tolerance
0.1 ms
75 to 150 s
0.5 ms
0.4 to 0.8 ms
3 ms (default)
2.8 to 3.5 ms
15 ms
14.5 to 15.5 ms
20 ms
19 to 21 ms
Diagnostic messages
Introduction
You can use the diagnostic function to determine whether signal acquisition takes place
without errors.
Parameterizing diagnostics
You program the diagnostics functions in STEP 7.
Diagnostic evaluation
We need to distinguish between programmable and non-programmable diagnostic
messages when analyzing diagnostics data. Programmable diagnostic messages such as
"wire break" or "short-circuit to M" are only output if diagnostics data analysis was enabled at
the "wire break" or "short-circuit to M" parameters.
Non-configurable diagnostic messages are general, i.e. independent of parameterization.
A diagnostic signal results in a diagnostic interrupt being triggered providing the diagnostic
interrupt has been enabled by way of parameterization.
Irrespective of the parameterization, known module errors always result in the SF LED and
the corresponding channel fault LED lighting irrespective of the CPU operating status (at
POWER ON).
Exception:
The SF LED and the corresponding channel fault LED light in the event of a wire break only
when parameterization is enabled.
68
Configurable
Channel group
Yes
Module
No
Wire break
Short-circuit to M
incorrect parameters in module
Module not configured
external auxiliary voltage missing
No internal auxiliary voltage
Fuse blown
Time watchdog tripped
EPROM error
RAM error
CPU error
Hardware interrupt lost
Diagnostic message
Short-circuit to M
(I > 8.5 mA)
Wire break
(I 0.1 m A)
Corrective measures
Eliminate the short-circuit
Connect 1 k resistor directly at
contact in line
Connect line
directly at contact
69
Diagnostic message
Corrective measures
disable channel by parameterization
"diagnostics wire break"
Module not
configured
external auxiliary
voltage missing
Provide L+ supply
No internal auxiliary
voltage
Provide L+ supply
Replace module
Fuse blown
Replace module
Time watchdog
tripped
Module defective
Replace module
CPU error
Module defective
Replace module
Hardware interrupt
lost
EPROM error
RAM error
2.2.4
Interrupts
Introduction
In principle, a differentiation is made between the following interrupts:
Diagnostic interrupt
Process interrupt
Parameterizing interrupts
You program the interrupts in STEP 7.
Default setting
The interrupts are inhibited by way of default.
Diagnostic interrupt
The module triggers a diagnostics interrupt when it detects incoming or outgoing errors such
as a wire break or short-circuit to M, provided this interrupt function is enabled. Diagnostic
functions inhibited by parameterization cannot trigger an interrupt. The CPU interrupts
70
Process interrupt
The module supports triggering of process interrupts for each channel at the positive,
negative or both edges of the signal transition, depending on parameter settings. You can
determine which of the channels has triggered the interrupt from the local data of the OB 40
in the user program.
Active process interrupts trigger process interrupt execution (OB 40) at the CPU, i.e. the
CPU interrupts execution of the user program or of jobs of a lower priority class. If there are
no higher priority classes pending processing, the stored interrupts (of all modules) are
processed one after the other corresponding to the order in which they occurred.
Dependencies of the input values for CPU operating status and supply voltage L+ of SM
321; DI 4 x NAMUR
Operating status
CPU
POWER ON
RUN
STOP
POWER OFF
L+ applied
Process value
0 signal
L+ applied
Process value
No L+
0 signal
L+ applied
No L+
Failure of the supply voltage L+ of the SM 321; DI 4 x NAMUR is always indicated by the SFLED on the front of the module and additionally entered in diagnostics.
In the event of the module supply voltage L+ failing, the input value is initially held for 20 to
40 ms before the "0" signal is transferred to the CPU. Supply voltage dips < 20 ms do not
71
Interrupt-triggering channels
The relevant process interrupt-triggering channel is logged in the OB40_POINT_ADDR
variable of the start information of OB40. The figure below shows the assignment of bits in
DWORD 8 of local data.
Byte
Variable
Data type
6/7
OB40_MDL_ADDR
WORD
B#16#0
As of 8
OB40_POINT_ADDR
DWORD
see the
following
figure
Figure 2-3
Description
Start Information of OB40: which event has triggered the process interrupt
72
2.3
2.3.1
Order Number
6ES7322-5SD00-0AB0
Features
SM 322; DO 4 x 24V/10mA has the following properties:
4 outputs
electrically isolated from the bus
electrically isolated from each other
suitable for
intrinsically safe valves
acoustic interrupts
indicators
configurable diagnostics
configurable diagnostic interrupt
configurable default output
Status indication (0...3) = green LEDs
Fault indications = red LEDs for
group fault indication (SF)
channel-related short-circuit and wire-break error message (F0 to F3)
Intrinsic safety of the outputs in accordance with EN 60079-11 and EN 61241-11
2-wire actuator connection
Configuration in Run (CiR) supported
73
Figure 2-4
74
Figure 2-5
75
40 x 125 x 120
Weight
approx. 230 g
Module-specific data
Configuration in Run (CiR) supported
yes
specify the output value which
was valid before the
parameterization
Number of outputs
max. 200 m
ATEX approvals
II 3 G (2) GD
Ex nA [ib] [ibD] IIC T4
Test number
KEMA 01ATEX1059 X
FM/UL approvals
Class I, Division 2,
Group A, B, C, D T4
Class I, Zone 2,
Group IIC T4
5 V DC
24 V DC
yes
horizontal arrangement up to 60 C
no restrictions
vertical installation to 40 C
no restrictions
Electrical isolation
yes
yes
yes
yes
DC 60 V
AC 30 V
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
76
DC 400 V
AC 250 V
DC 400 V
AC 250 V
DC 400 V
AC 250 V
DC 75 V
AC 60 V
Insulation tested
with 2500 V DC
with 2500 V DC
with 500 V DC
Current input
Max. 85 mA
max. 160 mA
typical 3 W
Outputs
Interrupts
Diagnostic interrupt
configurable
Diagnostic functions
possible
monitoring for
short-circuit
I > 10 mA (10%)
Wire break
I 0.15 mA
Safety specifications
(see EU special test certificate KEMA 01ATEX1059 X under certificates of conformity on the Internet
(http://support.automation.siemens.com/WW/view/en/37217116/134200))
Maximum values of the output circuits (per channel)
max.25.2 V
I0 (short-circuit current)
max. 70 mA
P0 (load power)
max. 440 mW
max. 6.7 mH
max. 90 nF
Um (fault voltage)
max. DC 60V
AC 30V
77
max. 60C
Internal resistance RI
DC 24 V 5%
390 5%
Curve vertices E
Voltage UE
Current IE
DC 19 V 10%
10 mA 10%
not possible
possible
Switching frequency
at resistive load
100 Hz
100 Hz
Response threshold
yes, electronic
Curve vertex E
78
Block diagram
Generator
Ri
Internal resistor
RL
Line resistor
RA
Load resistor
UAO
No-load voltage
UA
Output voltage
URL
URA
U0
I0
IRA
Load current
Output characteristic
79
See also
The LK 393 line chamber (Page 20)
Configuration of an S7-300 with Ex I/O Modules (Page 23)
Configuration of an ET 200M with Ex I/O modules (Page 26)
2.3.2
Parameterization
Parameterization
You program the parameters in STEP 7. You must implement the settings in CPU STOP
mode. During transfer from the PG to the S7-300, the parameters set in this way are stored
in the CPU and then transferred by the CPU to the digital module.
Alternatively, you can also change several parameters in the user program with SFCs 55 to
57 (see STEP 7-online help).
The parameters for the 2 parameterization alternatives are subdivided into:
static parameters
dynamic parameters
The table below shows the characteristics of static and dynamic parameters.
Table 2- 8
static
Programming Devices
STOP
dynamic
Programming Devices
STOP
RUN
Default settings
The digital output features default settings for diagnostics, substitute values, etc..
These defaults apply to digital modules which were not parameterized in STEP 7.
80
Configurable characteristics
The characteristics of the SM 322; DO 4 x 24V/10 mA can be parameterized with the
following parameter blocks:
Basic settings
Diagnostics
Channel 0
Channel group 0
Channel 1
Channel group 1
Channel 2
Channel group 2
Channel 3
Channel group 3
Default
Type of
Effective
range
Basic settings
Substitute value
yes/no
no
dynamic
module
yes/no
no
dynamic
Module
yes/no
yes
dynamic
Module
0/1
dynamic
Module
Channel
group
Diagnostics
Short-circuit to M
yes/no
no
static
yes/no
no
static
yes/no
no
static
Channel
group
Channel
group
1 If
wire break diagnostic enable is not parameterized there will be no indication by the channel fault
LED in the event of a wire break.
S7-300, ET 200M Ex I/O Modules
Manual, 09/2014, A5E00172008-11
81
2.3.3
Diagnostic messages
Introduction
You can use the diagnostic function to determine whether signal output takes place without
errors.
Parameterizing diagnostics
You program the diagnostics functions in STEP 7.
Diagnostic evaluation
We need to distinguish between programmable and non-programmable diagnostic
messages when analyzing diagnostics data. Programmable diagnostic messages such as
"short-circuit to M" are only output if diagnostics data analysis was enabled at the "wire
break" or "short-circuit to M" parameters.
Non-configurable diagnostic messages are general, i.e. independent of parameterization.
A diagnostic signal results in a diagnostic interrupt being triggered providing the diagnostic
interrupt has been enabled by way of parameterization.
Irrespective of the parameterization, known module errors always result in the SF LED or the
corresponding channel fault LED lighting irrespective of the CPU operating status (at
POWER ON).
Exception:
The SF LED and the corresponding channel fault LED light in the event of a wire break only
when parameterization is enabled.
82
Configurable
Channel group
Yes
Module
No
Short-circuit to M
Wire break
No-load voltage
Module not configured
external auxiliary voltage missing
No internal auxiliary voltage
Fuse blown
Time watchdog tripped
EPROM error
RAM error
CPU error
Diagnostic messages as well as their causes of error and remedies for the
SM 322; DO 4 x 24V/10mA and SM 322; DO 4 x 15V/20mA
Diagnostic message
Short-circuit to M
Wire break
No-load voltage
Fault
recognition at
Corrective measures
only when
output at "1"
output overload
Eliminate overload
only when
output at "1"
only when
output at "1"
disable channel by
parameterization "diagnostics
wire break"
Replace module
83
Diagnostic message
Incorrect parameters
in module
Corrective measures
general
Check parameterization of
module and re-load valid
parameters
Check parameterization of
module and re-load valid
parameters
external auxiliary
voltage missing
general
Provide L+ supply
No internal auxiliary
voltage
general
Provide L+ supply
module-internal fuse
defective
Replace module
Fuse blown
general
module-internal fuse
defective
Replace module
Time watchdog
tripped
general
Eliminate interference
sources and switch CPU
supply voltage OFF/ON
Module defective
Replace module
EPROM error
CPU error
2.3.4
Fault
recognition at
Interrupts
Introduction
The digital output can trigger a diagnostic interrupt.
Parameterizing interrupts
Interrupts can be configured in STEP 7.
Default setting
The interrupts are inhibited by way of default.
Diagnostic interrupt
The module triggers a diagnostics interrupt when it detects incoming or outgoing errors such
as short-circuit to M, provided this interrupt function is enabled. Diagnostic functions inhibited
by parameterization cannot trigger an interrupt. The CPU interrupts processing of the user
program or low-priority classes and processes the diagnostic interrupt module (OB82).
84
Dependencies of output values on the CPU operating status and supply voltage L+ of
SM 322; DO 4 x 24V/10 mA and SM 322; DO 4 x 15V/20 mA
Operating status
CPU
POWER ON
RUN
STOP
POWER OFF
L+ applied
CPU value
No L+
0 signal
L+ applied
No L+
0 signal
L+ applied
0 signal
No L+
0 signal
Failure of the supply voltage is always indicated by the SF LED on the front of the module
and additionally entered in diagnostics.
2.4
2.4.1
Order Number
6ES7322-5RD00-0AB0
Features
SM 322; DO 4 x 15V/20mA has the following properties:
4 outputs
electrically isolated from the bus
electrically isolated from each other
suitable for
intrinsically safe valves
acoustic interrupts
indicators
configurable diagnostics
configurable diagnostic interrupt
configurable default output
85
Figure 2-6
86
Figure 2-7
87
40 x 125 x 120
Weight
approx. 230 g
Module-specific data
Configuration in Run (CiR) supported
yes
return the output value which
was valid before the
parameterization
Number of outputs
max. 200 m
ATEX approvals
II 3 G (2) GD
Ex nA [ib] [ibD] IIC T4
Test number
KEMA 01ATEX1056 X
FM/UL approvals
Class I, Division 2,
Group A, B, C, D T4
Class I, Zone 2,
Group IIC T4
1. 5 V DC
2. 24 V DC
yes
horizontal arrangement up to 60 C
no restrictions
vertical installation to 40 C
no restrictions
Electrical isolation
yes
yes
yes
yes
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
88
DC 400 V
AC 250 V
DC 400 V
AC 250 V
DC 400 V
AC 250 V
DC 75 V
AC 60 V
Insulation tested
with 2500 V DC
with 2500 V DC
with 500 V DC
Current input
Max. 85 mA
max. 160 mA
typical 3 W
Outputs
Interrupts
Diagnostic interrupt
Configurable
Diagnostic functions
possible
monitoring for
short-circuit
Wire break
I 0.15 mA
Safety specifications
(see EU special test certificate KEMA 01ATEX1056 X under certificates of conformity on the Internet
(http://support.automation.siemens.com/WW/view/en/37217116/134200))
Maximum values of the output circuits (per channel)
max.15.75 V
I0 (short-circuit current)
max. 85 mA
P0 (load power)
max. 335 mW
max. 5 mH
max. 478 nF
Um (fault voltage)
max. 60 VDC
30 VAC
89
max. 60C
Internal resistance RI
DC 15 V 5%
200 5%
Curve vertices E
Voltage UE
Current IE
DC 10 V 10%
20.5 mA 10%
not possible
possible
Switching frequency
at resistive load
100 Hz
100 Hz
Response threshold
yes, electronic
Curve vertex E
Block diagram
Generator
Ri
Internal resistance
RL
Line resistor
RA
Load resistor
UAO
No-load voltage
UA
Output voltage
URL
URA
U0
I0
IRA
Load current
90
See also
The LK 393 line chamber (Page 20)
Configuration of an S7-300 with Ex I/O Modules (Page 23)
Configuration of an ET 200M with Ex I/O modules (Page 26)
91
2.5
92
93
94
3.1.1
Resolution
Analog value
Bit number
15
Bit significance
14
13
12
11
10
28
27
26
25
24
23
22
21
20
sign
The sign of the analog value is always in bit number 15:
"0" +
"1" -
3.1.2
General information about the display of analog values within the measuring
ranges of analog inputs
Introduction
This section contains the tables of digitized analog values for the measurement ranges of
analog modules
S7-300, ET 200M Ex I/O Modules
Manual, 09/2014, A5E00172008-11
95
Stable bits (+
sign)
Analog value
decimal
hexadecimal
High-Byte
Low-Byte
64
40H
Sign 0 0 0 0 0 0 0
01xxxxxx
10
32
20H
Sign 0 0 0 0 0 0 0
001xxxxx
12
8H
Sign 0 0 0 0 0 0 0
00001xxx
13
4H
Sign 0 0 0 0 0 0 0
000001xx
15
1H
Sign 0 0 0 0 0 0 0
00000001
Noise-prone bits
At a constant input voltage, noise causes distribution of the supplied value by more than 1
digit. In the majority of cases, these "unsteady" values can be used as they are. In any case,
this is the most effective option when subsequent processing has integral action
characteristics (integrator, controller, etc.) in any form whatsoever. If this "unsteady state" is
undesirable (e.g. for displays), you can
mask out the "x" bits
round up to "stable" bits
filter the successive values
When choosing these options, you first have to scan the values in order to prevent any
change or filtering of the coding of invalid measured values (-32768 / 8000H and
32767 / 7FFFH).
96
3.1.3
Voltage measuring ranges 25 mV, 50 mV, 80 mV, 250 mV, 500 mV and 1 V.
Table 3- 3
Notation of the digitized measured value of an analog input module (voltage measuring
range)
Measuring ranges
Units
1V
decimal
Location
25 mV
50 mV
80 mV
250
mV
500
mV
hexadecimal
> 29.397
> 58.794
> 94.071
>293.96
>587.94
> 1.1750
32767
7FFFH
Overflow
29.397
58.794
94.071
293.96
587.94
1.1750
32511
7EFFH
Overrange
25.001
50.002
80.003
250.02
500.02
1.0001
27649
6C01H
25.000
50.000
80.000
250.00
500.00
1.0000
27648
6C00H
18.750
37.500
60.000
187.50
375.00
0.7500
20736
5100H
- 18.750
- 37.500
- 60.000
- 187.50
- 375.00
0.7500
-20736
AF00H
- 25.000
- 50.000
- 80.000
- 250.00
- 500.00
- 1.0000
-27648
9400H
- 25.001
- 50.002
- 80.003
- 250.01
- 500.02
- 1.0001
-27649
93FFH
- 29.398
- 58.796
- 94.074
- 293.98
- 587.96
- 1.1750
-32512
8100H
<29.398
<- 58.796 <- 94.074 <- 293.98 <- 587.96 <- 1.1750 -32768
8000H
Rated
range
Underrange
Underflow
97
3.1.4
Displaying the digitized measured values SM 331; AI 4 x 0/4.... .20mA and AI 2 x 0/4 ...
.20mA HART analog input modules
Measuring
range
Measuring
range
Units
from
from
0 to 20 mA
4 to 20 mA
> 23.515
>22.810
32767
7FFFH
23.515
22.810
32511
7EFFH
Decimal
Location
Hexadecimal
20.0007
20.0005
27649
6C01H
20.000
20.000
27648
6C00H
14.998
16.000
20736
5100H
4.000
0H
0.0
<0.0
Overflow
Overrange
Rated range
3.9995
-1
FFFFH
3.800
-345
FEA7H
3.600
-691
FD4DH
Underrange
1.1852
-4864
ED00H
<1.1852
32767
7FFFH
03
58624
E500H
Underflow
NAMUR limits are evaluated only if wire break diagnostics is enabled. When wire break diagnostics
is enabled, 7FFFH is output if the current value drops below 3.6 mA. If the value increases again to
above 3.8 mA, the wire break signal is canceled and the current value is output again.
2 Negative
measured values cannot be acquired. For analog values < 0 mA each display of the digital
measured value of 0 mA remains.
3 If
wire break monitoring is not enabled, the measured value can fall to 0 mA and the module returns
E500H.
98
3.1.5
Notation of the digitized measured value of an analog input module (resistance sensor)
Measuring
range
150
Measuring
range
300
Measuring
range
600
> 176.383
> 352.767
176.383
:
Units
Location
Decimal
Hexadecimal
> 705.534
32767
7FFFH
352.767
705.534
32511
7EFFH
150.005
300.011
600.022
27649
6C01H
150.000
300.000
600.000
27648
6C00H
112.500
225.000
450.000
20736
5100H
0.000
0.000
0.000
0H
Overflow
Overrange 1
Rated range
3.1.6
Standard temperature range of the sensor Pt 100, Pt 200 in accordance with DIN 43760 and IEC 751
Table 3- 6
Notation of the digitized measured value of an analog input module (temperature range
standard; Pt 100, Pt200)
Temperature range
standard 850 C
decimal
hexadecimal
location
> 1300.0
32767
7FFFH
Overflow
1300.0
13000
32C8H
850.1
8501
2135H
850.0
8500
2134H
-200.0
-2000
F830H
-200.1
-2001
F82FH
-240.0
-2400
F6A0H
Pt 100, Pt 200
in C
Overrange 1
Rated range
Underrange2
99
Temperature range
standard 850 C
decimal
hexadecimal
location
-32768
8000H
Underflow
Pt 100, Pt 200
in C
< -240.0
The characteristic of the Pt 100, Pt 200 sensor is not defined in the overrange. The overrange has
been extended to 1300C in order to be able to incorporate future technical developments of platinum
thermal resistors (thermistors). It is not possible to specify the accuracy of this range.
1
The characteristic of the Pt 100, Pt 200 sensor is not defined in the overrange. The rise of the
characteristic curve is retained on leaving the linearized rated range. It is not possible to specify the
accuracy of this range.
2
3.1.7
Notation of the digitized measured value of an analog input module (temperature range
standard; Ni 100)
Temperature range
standard
decimal
hex
Location
> 295.0
32767
7FFFH
Overflow
295.0
2950
686H
250.1
2501
9C5H
250.0
2500
9C4H
Ni 100
in C
-60.0
-600
FDA8H
-60.1
-601
FDA7H
-105.0
-1050
FF97H
< - 105.0
-32768
8000H
Overrange 1
Rated range
Underrange1
Underflow
1 The
characteristic of the Ni 100 sensor is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the linearized rated range. It is not possible to specify
the accuracy of these ranges.
100
3.1.8
Climatic temperature range of the sensor Pt 100, Pt 200 in accordance with DIN 43760 and IEC 751
Table 3- 8
Notation of the digitized measured value of an analog input module (temperature range
climatic; Pt 100, Pt200)
Climatic temperature
range
decimal
hex
Location
> 325.12
32767
7FFFH
Overflow
325.12
32512
7F00H
276.49
27649
6C01H
276.48
27648
6C00H
-200.00
-20000
B1E0
-200.01
-20001
B1E1
-240.00
-24000
A240H
< - 240.00
-32768
8000H
Pt 100, Pt 200
in C
Overrange 1
Rated range
Underrange2
Underflow
The same degree of accuracy as in the rated range is guaranteed in the overrange Pt 100, Pt 200
climatic.
2 The
characteristic of the Pt 100, Pt 200 sensor is not defined in the overrange. The rise of the
characteristic curve is retained on leaving the linearized rated range. It is not possible to specify the
accuracy of these ranges.
101
3.1.9
Notation of the digitized measured value of an analog input module (temperature range
climatic Ni 100)
Climatic temperature
range
decimal
hex
Location
> 295.00
32767
7FFFH
Overflow
295.00
29500
733CH
250.01
25001
61A9H
250.00
25000
61A8H
Ni 100
in C
-60.00
-6000
E890H
-60.01
-6001
E88FH
-105.00
-10500
D6FCH
< - 105.00
-32768
8000H
Overrange 1
Rated range
Underrange1
Underflow
1 The
characteristic of the Ni 100 sensor is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the linearized rated range. It is not possible to specify
the accuracy of these ranges.
102
3.1.10
Notation of the digitized measured value of an analog input module (temperature range,
type B)
Temperature range
in C
decimal
hexadecimal
location
> 2070.0
32767
7FFFH
Overflow
2070.0
20700
50DCH
1820.1
18201
4719H
1820.0
18200
4718H
Type B
200.01
2000
7D0H
0.0
0H
-0.1
-1
FFFFH
-150.0
-1500
FF24H
< -150.0
-32768
8000H
Overrange 2
Rated range
Underrange2
Underflow
In the case of incorrect wiring (e.g. polarity reversal, open inputs) or a sensor fault in the negative
range (e.g. incorrect type of thermocouple), when dropping below FA24H the analog input module
signals underflow and outputs 8000H.
1 The
module linearizes the range +1820 C to +200C for type B. The gradient of the curve
deteriorates below +200C to an extent which no longer allows any precise analysis. The rise in the
characteristic curve at this point is retained until underrange is reached.
The characteristic curve of the type B thermocouple does not feature monotone characteristics in the
temperature range between 0 and 40C. Values measured in this range cannot be allocated to a
specific temperature.
2 The
characteristic of the thermocouple is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the linearized range. It is not possible to specify the
accuracy of these ranges.
103
3.1.11
Notation of the digitized measured value of an analog input module (temperature range,
type E)
Temperature range
in C
decimal
hexadecimal
location
> 1200.0
1200.0
32767
7FFFH
Overflow
12000
2EE0H
1000.1
10001
2711H
1000.0
10000
2710H
-150.01
-1500
FA24H
-270.0
-2700
F574H
-270.1
-2701
F573H
Overrange 2
Rated range
Underrange2
In the case of incorrect wiring (e.g. polarity reversal, open inputs) or a sensor fault in the negative
range (e.g. incorrect type of thermocouple), when dropping below F0C4H the analog input module
signals underflow and outputs 8000H.
1 The
module will linearize the range +1000 C to -150 C for type E. The gradient of the curve
deteriorates below -150 C to an extent which no longer allows any precise analysis. The rise in the
characteristic curve at this point is retained until underrange is reached.
The characteristic of the thermocouple is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the linearized range. It is not possible to specify the
accuracy of these ranges.
2
104
3.1.12
Notation of the digitized measured value of an analog input module (temperature range,
type J)
Temperature range
in C
decimal
hexadecimal
location
> 1360.0
32767
7FFFH
Overflow
1360.0
13600
3520H
1200.1
12001
2EE1H
1200.0
12000
2EE0H
-210.0
-2100
F7CCH
-210.1
-2101
F7CBH
Overrange 1
Rated range
Underrange1
In the case of incorrect wiring (e.g. polarity reversal, open inputs) or a sensor fault in the negative
range (e.g. incorrect type of thermocouple), when dropping below F31CH the analog input module
signals underflow and outputs 8000H.
1 The
characteristic of the thermocouple is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the linearized rated range. It is not possible to specify
the accuracy of these ranges.
3.1.13
Notation of the digitized measured value of an analog input module (temperature range,
type K)
Temperature range
in C
decimal
hexadecimal
location
> 1622.0
32767
7FFFH
Overflow
1622.0
16220
3F5CH
1372.1
13721
3599H
Overrange 2
105
Temperature range
in C
decimal
hexadecimal
1372.0
13720
3598H
-220.01
-2200
F768H
-270.0
-2700
F574H
-270.1
-2701
F573H
location
Rated range
Underrange2
In the case of incorrect wiring (e.g. polarity reversal, open inputs) or a sensor fault in the negative
range (e.g. incorrect type of thermocouple), when dropping below F0C4H the analog input module
signals underflow and outputs 8000H.
1 The
module linearizes the range +1372 C to -220C for type K. The gradient of the curve
deteriorates below -220C to an extent which no longer allows any precise analysis. The rise in the
characteristic curve at this point is retained until underrange is reached.
2 The
characteristic of the thermocouple is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the rated range. It is not possible to specify the
accuracy of these ranges.
3.1.14
Notation of the digitized measured value of an analog input module (temperature range,
type L)
Temperature range
in C
decimal
hexadecimal
location
Overflow
> 1150.0
32767
7FFFH
1150.0
13500
2CECH
900.1
9001
2329H
900.0
9000
2328H
-200.0
-2000
F830H
-200.1
-2001
F82FH
Overrange 1
Rated range
Underrange1
In the case of incorrect wiring (e.g. polarity reversal, open inputs) or a sensor fault in the negative
range (e.g. incorrect type of thermocouple), when dropping below F380H the analog input module
signals underflow and outputs 8000H.
1 The
characteristic of the thermocouple is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the linearized rated range. It is not possible to specify
the accuracy of these ranges.
106
3.1.15
Notation of the digitized measured value of an analog input module (temperature range,
type N)
Temperature range
inC
decimal
hexadecimal
location
> 1550.0
1550.0
32767
7FFFH
Overflow
15500
3C8CH
1300.1
13001
32C9H
1300.0
13000
32C8H
-220.01
-2200
F768H
-270.0
-2700
F574H
-270.1
-2701
F573H
Overrange 2
Rated range
Underrange2
In the case of incorrect wiring (e.g. polarity reversal, open inputs) or a sensor fault in the negative
range (e.g. incorrect type of thermocouple), when dropping below F0C4H the analog input module
signals underflow and outputs 8000H.
1 The
module linearizes the range +1300 C to -220C for type N. The gradient of the curve
deteriorates below -220C to an extent which no longer allows any precise analysis. The rise in the
characteristic curve at this point is retained until underrange is reached.
2 The
characteristic of the thermocouple is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the rated range. It is not possible to specify the
accuracy of these ranges.
107
3.1.16
Notation of the digitized measured value of an analog input module (temperature range,
type R)
Temperature range
in C
decimal
hexadecimal
location
> 2019.0
2019.0
32767
7FFFH
Overflow
20190
4EDEH
1769.1
17691
451BH
1769.0
17690
451AH
-50.0
-500
FE0CH
-50.1
-501
FE0BH
-170.0
-1700
F95CH
< -170.0
-32768
8000H
Overrange 1
Rated range
Underrange1
Underflow
In the case of incorrect wiring (e.g. polarity reversal, open inputs) or a sensor fault in the negative
range (e.g. incorrect type of thermocouple), when dropping below F95CH the analog input module
signals underflow and outputs 8000H.
1 The
characteristic of the thermocouple is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the linearized rated range. It is not possible to specify
the accuracy of these ranges.
108
3.1.17
Notation of the digitized measured value of an analog input module (temperature range,
type S)
Temperature range
in C
decimal
hexadecimal
location
> 1850.0
32767
7FFFH
Overflow
1850.0
18500
4844H
1769.1
17691
451BH
1769.0
17690
451AH
-50.0
-500
FE0CH
-50.1
-501
FE0BH
-170.0
-1700
F95CH
< -170.0
-32768
8000H
Overrange 1
Rated range
Underrange1
Underflow
In the case of incorrect wiring (e.g. polarity reversal, open inputs) or a sensor fault in the negative
range (e.g. incorrect type of thermocouple), when dropping below F95CH the analog input module
signals underflow and outputs 8000H.
1 The
characteristic of the thermocouple is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the linearized range. It is not possible to specify the
accuracy of these ranges.
109
3.1.18
Notation of the digitized measured value of an analog input module (temperature range,
type T)
Temperature range
in C
decimal
hex
Location
> 540.0
32767
7FFFH
Overflow
540.0
5400
1518H
400.1
4001
0FA1H
400.0
4000
0FA0H
-230.0 1)
-2300
F704H
-270.0
-2700
F574H
-270.1
-2701
F573H
Overrange 2
Rated range
Underrange2
In the case of incorrect wiring (e.g. polarity reversal, open inputs) or a sensor fault in the negative
range (e.g. incorrect type of thermocouple), when dropping below F0C4H the analog input module
signals underflow and outputs 8000H.
1 The
module will linearize the range +400 C to -230C for type T. The gradient of the curve
deteriorates below -230C to an extent which no longer allows any precise analysis. The rise in the
characteristic curve at this point is retained until underrange is reached.
2 The
characteristic of the thermocouple is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the linearized range. It is not possible to specify the
accuracy of these ranges.
110
3.1.19
Notation of the digitized measured value of an analog input module (temperature range,
type U)
Temperature range
inC
decimal
hexadecimal
location
> 850.0
32767
7FFFH
Overflow
850.0
8500
2134H
600.1
6001
0FA1H
600.0
6000
0FA0H
-200.0
-2000
F830H
-200.1
-2001
F82FH
Overrange 1
Rated range
Underrange1
In the case of incorrect wiring (e.g. polarity reversal, open inputs) or a sensor fault in the negative
range (e.g. incorrect type of thermocouple), when dropping below F380H the analog input module
signals underflow and outputs 8000H.
The characteristic of the thermocouple is not defined in the overrange and underrange. The rise of
the characteristic curve is retained on leaving the linearized range. It is not possible to specify the
accuracy of these ranges.
1
111
3.1.20
Representation of analog output range of analog output modules (current output ranges)
Output
range
Output
range
0 to 20 mA
4 to 20 mA
Units
Location
decimal
hex
0.0
0.0
32512
7F00H
23.515
22.81
32511
7EFFH
20.0007
20.005
27649
6C01H
20.000
20.000
27648
6C00H
0.0
4.000
0H
0.0
3.9995
-1
FFFFH
0.0
- 6912
E500H
0.0
- 6913
E4FFH
- 32768
8000H
Overflow
Overrange
Rated range
Underrange
Underflow
Note
For the analog output SM 332; AO 4 x 0/4 ... 20mA the linearity can be reduced in the
overrange for load impedances > 425 .
112
3.2
Abbreviations used
The diagrams in the next section show the various options of wiring encoders. The
abbreviations used in the diagrams have the following meanings:
Abbreviation
Meaning
IC+
IC-
M+
M-
UISO
UCM
L+
P5V
Minternal
UV
L0+ to L3+
UM
Measurement voltage
RS
Measuring resistor
UV+; UV-
QI0- to QI3-
M0- to M3-
RL
UISO
See also
Wiring transducers to analog inputs (Page 114)
Connecting thermocouples to the analog input SM 331; AI 8 x TC/4 x RTD (Page 116)
Connection of resistance thermometers (e.g. Pt100) and resistance sensors (Page 121)
113
3.3
Transducers
The analog input modules support the connection of different transducers to suit a specific
type of measurement:
Voltage sensor
Current sensor as
2-wire transducer
4-wire transducer
Resistance sensor
Insulated transducers
Insulated transducers are not wired to local ground potential. These transducers can be
operated in electrically isolated mode. Potential differences VCM (static or dynamic) may
develop between the input channels as a result of local conditions or interference. However,
S7-300, ET 200M Ex I/O Modules
114
Figure 3-1
Insulated transducers
Logic
Backplane bus
Ground bus
Connection of insulated transducers to an isolated analog input module
Non-insulated transducers
Non-insulated transducers are wired to local ground potential. Potential differences VCM
(static or dynamic) may develop between locally distributed measuring points as a result of
local conditions or interference. Install equipotential conductors between the measuring
points in order to avoid such potential differences.
The diagram below shows the basic wiring of non-insulated transducers to an electrically
isolated analog input module.
115
Non-insulated transducers
Logic
Backplane bus
Ground bus
Equipotential conductor
Figure 3-2
See also
Shielding (Page 39)
Using thermocouples (Page 122)
3.4
116
Reference junction
Logic
Backplane bus
Thermocouple
Figure 3-3
117
Reference junction
Logic
Backplane bus
Thermocouple
Figure 3-4
Advantages
When using a compensation box with a reference junction temperature of 0 C, the
voltage corresponding to the reference junction temperature is subtracted directly.
Channel 7 can be used as additional measuring channel in this circuit variant.
The number of connecting cables between the compensation box and the analog input
module is reduced.
The faults, which are attributed to isolated compensation measurement do not occur.
Conditions
The thermocouples that are routed to the same compensation box must only be grounded
once at one point.
118
Logic
Backplane bus
Figure 3-5
119
Thermocouple
Logic
Figure 3-6
Wiring of thermocouples with external compensation by means of thermal resistancetype sensors (Pt100, for example)
Note
The two last channels (channel 6 and 7) of the analog input module SM 331; AI 8 x TC/4 x
RTD are used for temperature compensation by means of a thermal resistor.
120
Figure 3-7
3.5
Thermocouple
Logic
Backplane bus
Measurement
The values of resistance thermometers and resistance transducers are measured using the
4-wire technique. The resistance thermometers/resistance sensors are fed a constant
current via terminals IC + and IC. The voltage generated at the resistance thermometers /
transducers is measured at the M+ and M- terminals. This method returns a high accuracy of
measurement results with 4-wire technology.
121
Logic
Backplane bus
Figure 3-8
For 2- and 3-wire connections you need to insert corresponding bridges between the module
terminals M+ and IC + or M- and IC - . However, certain losses of measurement accuracy must
be expected when using such connections, because you cannot measure the voltage loss at
the relevant feed lines.
3.6
Using thermocouples
Installation of thermocouples
A thermocouple consists of
the pair of thermal elements (sensors) and
of the mounting and terminal elements required.
The thermocouple consists of two wire elements made of different metals or metal alloys
which are joint at their ends by soldering or welding. The different material compounds return
different thermocouple types such as K, J or N. The principle of measurement is the same
for all thermocouple types.
122
Measuring point
Terminal
Reference junction
Copper conductor
Figure 3-9
123
Compensation of thermocouples
External or internal compensation can be adopted depending on where (locally) you require
the reference junction.
In the case of external compensation, the temperature of the reference junction for
thermocouples is taken into consideration by means of a compensation box or thermal
resistor.
In the case of internal compensation, the internal terminal temperature of the module is used
for the comparison.
External compensation
The temperature of the reference junction can be compensated by means of a compensating
circuit, e.g. by a compensation box.
The compensation box contains a bridge circuit which is calibrated for a certain reference
junction temperature (compensating temperature). The terminal connections for the ends of
the equalizing conductor of the thermocouple form the reference junction.
If the actual reference temperature deviates from the compensating temperature the
temperature-dependent bridge resistance will change. A positive or negative compensation
voltage is produced which is added to the thermal e.m.f.
Compensation boxes with a reference junction temperature of 0 C must be used for the
purpose of compensating the analog input modules.
A further external compensation option is to record the reference junction temperature with a
thermal resistor in the climatic range (e.g. Pt 100).
The following conditions must be observed:
External compensation by means of a compensation box can only be carried out for one
specific type of thermocouple. This means that all channels of this module operating with
external compensation must be parameterized for the same type of thermocouple.
Module diagnostic signals "incorrect parameters in module" and "reference channel error"
for the corresponding channels (0..5) in the case of incorrect parameterization.
The parameters of a channel group apply to both channels of this channel group (e.g.
type of thermocouple, integration time, etc.)
124
Internal compensation
For the purposes of internal compensation, you can form the reference junction at the
terminals of the analog input module. In this case, you must route the compensating
conductors to the analog module. The internal temperature sensor senses the terminal
temperature of the module. The thermocouples (also different types) connected to the
module are compensated with this temperature.
Note
For the analog input module SM 331; SI 8 x TC/4 x RTD, the compensation box is connected
to terminals 18 and 19. The thermal resistor is connected to terminals 16, 17, 18 and 19 in
order to register the reference junction temperature.
3.7
Wiring voltage sensors to the electrically isolated analog input module SM 331; AI 8 x TC/4 x RTD
Logic
Backplane bus
Figure 3-10
Wiring of voltage sensors to the electrically isolated analog input module SM 331; AI 8 x
TC/4 x RTD
The potential differences VCM and VISO defined in the chapter "Wiring transducers to analog
inputs" also apply to these circuits.
125
3.8
Logic
Backplane bus
Figure 3-11
Wiring 2-wire transducers to the SM 331; AI 4 x 0/4 .... 20mA and AI 2 x 0/4 ... 20mA
HART analog input modules
126
Logic
Backplane bus
Figure 3-12
3.9
Wiring 4-wire transducers with external power supply to the SM 331; AI 4 x 0/4 .... 20mA
and AI 2 x 0/4 ... 20mA HART analog input modules
Introduction
The analog output modules can be used to supply loads/actuators with current.
127
Backplane bus
Logic
Ground bus
Figure 3-13
Connection of loads to a current output of the electrically isolated analog output module
SM 332; AO 4 x 0/4...20mA
3.10
3.10.1
Conversion time
The conversion time is made up of the basic conversion time and additional processing
times for wire break monitoring.
128
Cycle time
Analog-to-digital conversion and the transfer of digitized measured values to memory or to
the S7-300 backplane bus is handled sequentially, i.e. the analog input channels are
converted successively. The cycle time, i.e. the time required until an analog input value has
been converted again, is the sum of the conversion times of all activated analog input
channels of the analog input module. The conversion time is based on channel groups when
the analog input channels are combined in channel groups by means of parameterization. In
the analog input modules SM 331; AI 8 x TC/4 x RTD, 2 analog input channels are combined
to form one channel group. You must therefore subdivide the cycle time into steps of 2. You
should disable all unused analog input channels in your STEP 7 program in order to reduce
cycle times.
The diagram shows an overview of how the cycle time is made up for an n-channel analog
input module.
Figure 3-14
3.10.2
Conversion time
The conversion time of analog output channels includes the transfer of digitized output
values and digital/analog conversion.
129
Cycle time
In the SM 332; AO 4 x 0/4...20 mA, conversion of the analog output channels takes place in
parallel, i.e. on receipt of the data, all four analog output channels are converted
simultaneously.
The cycle time, i.e. the time required until an analog output value is re-converted, is constant
and equals the conversion time.
Response time
In the most unfavorable case, the response time (t1 to t3), i.e. the time from receiving the
digital output values in the module up to obtaining the specified value at the analog output is
the sum of the cycle time and transient recovery time. The most unfavorable case is when
channel conversion begins just before transfer of a new output value.
The digitized output values are connected simultaneously to all output channels.
tA
Response time
tZ
Cycle time
tE
t1
t2
t3
Figure 3-15
3.10.3
Parameterization
You program the parameters of analog modules in STEP 7. These settings must then be
transferred in STOP mode to the CPU. During the status change from STOP-->RUN, the
CPU then transfers the parameters to the relevant analog modules.
130
static
Programming Devices
STOP
dynamic
Programming Devices
STOP
RUN
Configurable characteristics
The properties of the analog modules can be programmed in STEP 7 at the parameter
blocks listed below:
for input channels
Basic settings (enables)
Limits (process interrupt triggers)
Diagnostics
Measurement
for output channels
Basic settings
Diagnostics
Default values
Output
131
Parameter
Range of values
Default setting
Type of
parameter
Effective range
Basic settings
Enable
Diagnostic
interrupt
yes/no
no
no
End-of-cycle
process interrupt
yes/no
no
dynamic
Module
dynamic
Channel
static
Channel group
Limit
Upper limit
32767
Lower limit
-32768
Diagnostics
Group
diagnostics
yes/no
no
yes/no
no
Measurement
Interference
frequency
suppression
50 Hz
dynamic
Channel group
Measurement
type
- deactivated
Voltage
dynamic
Channel group
- Voltage
- resistor with 4-wire
connection
- thermoresistor (RTD)
with linearization, 4-wire
connection
- Thermocouple with
linearization and
compensation at 0 C
- Thermocouple with
linearization and
compensation at 50 C
- Thermocouple with
linearization and internal
compensation
- Thermocouple with
linearization and external
compensation 1
132
Parameter
Default setting
1V
Range of
measurement
1 This
Range of values
Type of
parameter
dynamic
Effective range
Channel group
Table 3- 22
parameter
Range of values
Default setting
Type of parameter
Effective range
Basic settings
Enable
Diagnostic
interrupt
yes/no
no
Process
interrupt
triggered by
violation of
limits
yes/no
no
End-of-cycle
process
interrupt
yes/no
no
dynamic
module
dynamic
Channel
static
Channel group
dynamic
Channel group
Limit
Upper limit
32767
Lower limit
from -32512 to
32511
-32768
Diagnostics
Group
diagnostics
yes/no
no
no
Measurement
Interference
frequency
suppression
50Hz
133
parameter
Range of values
Default setting
Measurement
mode
4-wire transducer
dynamic
Type of parameter
Channel group
Effective range
Range of
measurement
0...20 mA,
4...20 mA
4...20 mA
dynamic
Channel group
Parameter
Range of values
Default setting
Type of parameter
Effective range
Basic settings
Enable
diagnostic
interrupt
yes/no
no
dynamic
Module
yes/no
no
static
Channel
dynamic
Channel
Diagnostics
Group
diagnostics
and wire break
monitoring
Substitute value
retain last
value
yes/no
no
Value
-32512...32511
-6912 (0 mA)
Output mode
deactivated
Current
dynamic
Channel
Output range
4...20 mA
0...20 mA
4...20mA
dynamic
Channel
Output
Current
134
3.10.4
Definition
With the aid of the diagnostics function you can determine whether analog processing is
faulty or free of faults and which faults have occurred. On detecting a fault, the analog
modules output the signal value "7FFFH" irrespective of the parameterization.
Parameterizing diagnostics
You program the diagnostics functions in STEP 7.
Diagnostic evaluation
With regard to diagnostic evaluation, differentiation is made between configurable and nonconfigurable diagnostic messages. In the case of configurable diagnostic messages,
evaluation only takes place when diagnostics has been enabled by means of
parameterization ("diagnostic enable" parameter). The non-parameterizable diagnostic
messages are always evaluated irrespective of the diagnostic enable.
Diagnostic messages trigger following actions:
SF LED on analog module lights,
if applicable channel fault LED,
Transfer of diagnostic message to CPU,
Diagnostic interrupt triggered (only if diagnostic interrupt has been enabled in the
parameterization).
135
Effective range
of diagnostics
Configurable
Wire break 1
Yes
Yes,
(group error)
Channel
No
Module
No
EPROM error 4
RAM error 4
CPU error 4
ADU error 4
Hardware interrupt lost
1 If
wire-break monitoring is enabled and a wire break is detected at the 2-wire transducer (4 to
20mA), the AI 4 x 0 / 4 to 20mA and AI 2 x 0/4...20mA HART modules output a wire-break message
when the input current drops below I 3.6 mA (wire-break limit to NAMUR). The wire break message
is only deactivated (hysteresis), when the input current rises above 3.8 mA again.
In the case of the module AI 8 x TC/4 x RTD the line is checked by connecting a test current if wire
break diagnostics is enabled.
Only for AI 4 x 0/4...20mA and AI 2 x 0/4...20mA HART with 24 volt supply from L+.
4 The
136
Diagnostic message
Wire break
on AI 8 x TC/4 x RTD
on AI 4 x 0/4...20mA
Corrective measures
Connect line
Check type of
thermocouple
Check connection
terminals
Configure a different
measuring range
Configure a different
measuring range
Check parameterization of
module and re-load valid
parameters
Include module in
parameterization
Provide L+ supply
Provide L+ supply
Replace module
Fuse blown
Replace module
Eliminate interference
sources
Module defective
Replace module
137
Diagnostic message
EPROM error
RAM error
CPU error
ADU error
Hardware interrupt lost
Corrective measures
Eliminate interference
sources and switch CPU
supply voltage OFF/ON
Module defective
Replace module
Wire break
configurable
Yes
No
Module
No
Wire break recognition at output values I > 100 A and output voltage > 12V
Diagnostic message
Wire break
Corrective measures
Connect line
Deactivate channel
("Measurement mode"
parameter)
138
Diagnostic message
Corrective measures
Check parameterization of
module and re-load valid
parameters
Include module in
parameterization
Provide L+ supply
Provide L+ supply
Replace module
Fuse blown
Replace module
Module defective
Replace module
Module defective
Replace module
EPROM error
CPU error
RAM error
See also
Parameters of Analog Modules (Page 130)
3.10.5
Types of interrupts
In principle, a differentiation is made between the following interrupts:
Diagnostic interrupt
Process interrupt
Parameterizing interrupts
You program the interrupts in STEP 7.
Default setting
The interrupts are inhibited by way of default.
139
Diagnostic interrupt
The module triggers a diagnostics interrupt when it detects incoming or outgoing errors such
as a wire break or short-circuit to M, provided this interrupt function is enabled. Diagnostic
functions inhibited by parameterization cannot trigger an interrupt. The CPU interrupts
processing of the user program or low-priority classes and processes the diagnostic interrupt
module (OB82).
Process interrupt
The working range is defined by programming a high and low limit. The module triggers a
process interrupt if the process signal, such as the temperature of an analog signal module,
is out of this working range, provided limit value interrupts are enabled. The interrupttriggering channel can be identified based on the local data of OB 40 in the user program.
Active process interrupts trigger process interrupt execution (OB 40) at the CPU, i.e. the
CPU interrupts execution of the user program or of jobs of a lower priority class. If there are
no higher priority classes pending processing, the stored interrupts (of all modules) are
processed one after the other corresponding to the order in which they occurred.
Variable
Data type
Description
6/7
OB40_MDL_ADDR
WORD
B#16#0
As of 8
OB40_POINT_ADDR
DWORD
see the
following figure
140
Figure 3-16
Start Information of OB40: Which event has violated limits and triggered a hardware
interrupt
A hardware interrupt programmed to be triggered at the end of scan cycles allows you to
synchronize a process with the scan cycle of the analog input module. A scan cycle includes
the conversion of the measured values of all active channels of the analog input module. The
module processes the channels in succession. When all measured values are successfully
converted, the module reports the existence of new measurement data at its channels to the
CPU by means of an interrupt.
With an end-of-cycle interrupt, bits 20 ... 23 and 28 ... 31 are set to 1. You can always use
this interrupt to load the actual, converted analog values.
3.10.6
Dependencies of analog input/output values on the CPU operating status and the supply
voltage L+
CPU operating
status
POWE
R ON
RUN
Supply voltage
L+ at analog
module
L+ applied
Process value
CPU value
141
CPU operating
status
POWE
R ON
POWE
R OFF
1 only
STOP
Supply voltage
L+ at analog
module
No L+
Overflow value 1
0 mA
L+ applied
Process value
Default/last value
No L+
Overflow value 1
0 mA
L+ applied
0 mA
No L+
0 mA
Failure of the L+ supply voltage for the analog modules is always indicated by the group fault
LED on the module and additionally entered in diagnostics.
Triggering of a diagnostic interrupt is dependent on the parameterization.
Table 3- 29
Input value
Rated range
Process value
Overrange/ underrange
SF LED
-
Diagnostics
Interrupt
Channel
fault LED
-
Process value
Overflow
7FFFH
lit
Entry made
lit
Underflow
8000H
lit
Diagnostic
interrupt 1
Wire break
7FFFH
outside parameterized
limit
1 depending
2 An
Process value
lit
lit
lit 1
Process
interrupt1, 2
on parameterization
Example: An enabled wire break diagnostics renders limits below the wire break threshold ineffective.
Output value in
Output value
SF LED
Diagnostics
Interrupt
Channel
fault LED
Rated range
CPU value
Overrange/ underrange
CPU value
0 mA
Overflow
142
Output value in
Wire break
Output value
SF LED
Diagnostics
Interrupt
Channel
fault LED
CPU value
lit 1
Entry
Entry
lit 1
made
1 depending
made
on parameterization
Influence of errors
Faults occurring in analog modules with diagnostic capabilities and corresponding
parameterization result in diagnostic entry and diagnostic interrupt. Refer to the respective
chapter for a list of faults.
The SF LED and, if applicable, the channel fault LED light on the analog module.
Faults which cannot be parameterized in diagnostics (e.g. fuse blown) result in an entry
being made in the diagnostic range and the fault LED lighting irrespective of the CPU
operating status.
See also
Diagnostics of the Analog Modules (Page 135)
Parameters of Analog Modules (Page 130)
3.10.7
143
144
145
3.11
Order Number
6ES7331-7SF00-0AB0
Features
Properties of the analog input module SM 331; AI 8 x TC/4 x RTD:
8 inputs in 4 channel groups
Measured value resolution, can be adjusted separately at each channel group, depending
on the settings of interference frequency suppression
9 Bit + sign (integration time 2.5 ms) 400 Hz
12 Bit + sign (integration time 162/3 / 20 ms) 60/50 Hz
15 Bit + sign (integration time 100 ms) 10 Hz
Mode of measurement, selectable for each channel group:
Voltage
Resistance
Temperature
user-specific measurement range per channel group
configurable diagnostics
configurable diagnostic interrupt
2 channels with limit monitoring
S7-300, ET 200M Ex I/O Modules
146
Resolution
The resolution of the measured value is directly proportional to the integration time selected,
i.e. longer integration times at an analog input channel increase resolution accuracy of the
measured value.
Wiring diagram
View and wiring diagram of analog input module SM 331; AI 8 x TC/4 x RTD
Figure 3-17
147
Parameterization
The functions of the analog input module SM 331; AI 8 x TC/4 x RTD are set
with STEP 7 (refer to the STEP 7 online help), or
in the user program with SFCs.
Default settings
The analog input module features default settings for integration time, diagnostics, interrupts
etc..
These defaults apply to modules which were not reprogrammed in STEP 7.
148
Channel groups
In the analog input module SM 331; AI 8 x TC/4 x RTD, 2 analog input channels are
combined to form one channel group. Parameters can always only be assigned to one
channel group, i.e. parameters which are specified for a channel group are always valid for
both channels of this channel group.
Table 3- 31
Allocating analog input channels of the SM 331; AI 8 x TC/4 x RTD to channel groups
Channel
Channel 0
Channel group 0
Channel 1
Channel 2
Channel group 1
Channel 3
Channel 4
Channel group 2
Channel 5
Channel 6
Channel group 3
Channel 7
149
Wire-break monitoring
The analog input module SM 331; AI 8 x TC/4 x RTD carries out wire-break monitoring for all
ranges if it is enabled via parameterization. The four wires used in resistance thermometer
mode (RTD) are monitored for wire break.
Explanation
Measuring range
Explanation
Measuring range
Resistor
4-wire connection
150 ohms
300 ohms
600 ohms
150
Measurement type
Explanation
Measuring range
Type T [Cu-CuNi]
Type U [Cu-CuNi]
Type E [NiCr-CuNi]
Type J [Fe-CuNi]
Type L [Fe-CuNi]
Type K [NiCr-Ni]
Type N [NiCr-SiNiSi]
Type R [Pt13Rh-Pt]
Type S [Pt10Rh-Pt]
Type B [Pt30Rh-Pt6Rh]
Thermal resistance+
Linearization, 4-wire connection
(temperature measurement)
1 In
the case of internal compensation in the module, all 8 channels are available for temperature
measurements also with different times of thermocouples.
The module returns the terminal temperature when the input is short-circuited.
This does not apply to thermocouple type B, which is not suitable for measurements in the
ambient temperature range.
2 This type of measurement supports the following compensations:
Use of a compensation box
The compensation box must be compatible with the type of thermocouple connected. Terminated at
channel 7.
Use of thermal resistors in climatic range (e.g. Pt100) for compensation.
The absolute terminal temperature is determined in the climatic range with a thermal resistor (e.g. Pt
100) for compensation purposes. In this case, the thermocouples to be compensated can be of
different types.
Terminated at channels 6 and 7.
151
technical specifications
Analog input SM 331; AI 8 x TC/4 x RTD
Dimensions and Weight
Dimensions W x H x D (mm)
40 x 125 x 120
Weight
approx. 210 g
Module-specific data
Configuration in Run (CiR) supported
Number of inputs
yes
They return the value that applied
before the parameters were set.
8
4
max. 200 m
max. 50 m for
voltage ranges 80 mV and
thermocouples
ATEX approvals
II 3 G (2) GD
Ex nA [ib] [ibD] IIC T4
Test number
KEMA 01ATEX1061 X
FM/UL approvals
Class I, Division 2,
Group A, B, C, D T4
Class I, Zone 2, Group IIC T4
5 V DC
Electrical isolation
yes
no
60 V DC
60 V DC
30 V AC
30 V AC
Insulation tested
with 2500 V DC
max. 120 mA
typical 0.6 W
400 V DC
75 V DC
250 V AC
60 V AC
152
U0
max. 5.9 V
I0
(short-circuit current)
max. 28.8 mA
P0
(load power)
max. 41.4 mW
L0
max. 40 mH
C0
max. 43 F
Um
(error voltage)
max. 60 VDC
Ta
30 V AC
max. 60C
L0
max. 15 mH
C0
max. 14.6 F
SIGMA-DELTA
Configurable
yes
yes
yes
yes
20
100
Integration time in ms
2.5
162/3
7.5
50
60
300
3 x integration time +
2.5
2.5
2.5
2.5
2.5
2.5
2.5
2.5
9+sign
12+sig
n
12+sign
15+sign
400
60
50
10
> 130 dB
> 40 dB
> 70 dB
153
25 mV
50 mV
80 mV
0.09 %
0.06 %
0.05 %
0.04 %
25 mV
50 mV
80 mV
0.018 %
0.014 %
0.011 %
0.008 %
25 mV
50 mV
80 mV
0.0019 %/K
0.0013 %/K
0.0011 %/K
0.0010 %/K
0.003 %
0.003 %
154
Due to the little increase in the range from approx. 0 C to 40 C, the lack of compensation of the
reference junction temperature has only a negligible effect in the case of thermocouple type B.
Deviation of measuring temperatures when using thermocouples type B without compensation and
measurement type "0 C compensation" setting:
Temperature range
Basic error 1
-150 C...+400 C
0.2K
0.006
1K
U
E
J
-50 C...+400 C
0.2K
200 C....-50 C
1K
-100 C....+1000 C
0.2K
-200 C....-100 C
1K
-150 C....+1200 C
0.2K
0.5K
-50 C...+1200 C
0.2K
-200 C....-50 C
1K
-100 C....+1372 C
0.2K
220 C....-100 C
1K
-50 C...+1300 C
0.2K
150 C....-50 C
1K
+200 C....+1769 C
0.3K
-50 C...+200 C
1K
+100 C....+1769 C
0.3K
-50 C...+100 C
1K
S
B
+700 C....+1820 C
0.3K
+500 C....+700 C
0.5K
+200 C....+500 C
3K
0.006
0.0075
0.02
0.02
0.018
0.025
0.025
0.025
0.04
Temperature range
Basic error 1
Pt100 climatic
-200 C....+325 C
0.05K
0.006
155
-200 C....+325 C
0.05K
0.006
Ni 100 climatic
-60 C....+250 C
0.05K
0.003
Pt100 standard
-200 C....+850 C
0.2K
0.01
Pt200 standard
-200 C....+850 C
0.2K
0.01
Ni 100 standard
-60 C....+250 C
0.1K
0.003
Resistance sensor
Basic error 3
150
0.000 .176.383
0.006%
0.001
300
0.000 .352.767
0.006%
0.001
600
0.000 .705.534
0.006%
0.001
The basic error includes the linearization error of the voltage temperature conversion and the basic
error of the analog/digital conversion at Tu = 25C.
The total temperature error = temperature error x max. ambient temperature change DTu as a
temperature difference with respect to 25C .
The basic error includes ADC error as a % value of the measuring range at Ta = 25 C.
The operating error for the use of thermocouples / thermal resistors consists of:
Basic error of the analog input at Tu = 25C
Total temperature error
Errors which occur due to the compensation of the reference junction temperature
Errors of the thermocouple / thermal resistor used
The operating error for the use of thermal resistors consists of:
Basic error of the analog input at Tu = 25C
Total temperature error
Error for the sensor used
Interrupts, diagnostics
Interrupts
Limit interrupt
Diagnostic interrupt
Configurable
Diagnostic functions
Configurable
possible
156
Interrupts, diagnostics
Data for sensor selection
Input ranges (rated values) / input resistance
Voltage
25 mV
/10 M
50 mV
/10 M
80 mV
/10 M
250 mV
/10 M
500 mV
/10 M
1V
/10 M
150
/10 M
300
/10 M
600
/10 M
Thermocouples
Type:
/10 M
Resistance thermometer
Resistance
T, U, E, J, L, K, N, R,
S, B
/10 M
c. 0.5 mA
Characteristic linearization
Configurable
for thermocouples
Type :
T, U, E, J, L, K, N, R, S, B
Temperature compensation
Configurable
possible
possible
possible
possible
possible
157
See also
Configuration of an S7-300 with Ex I/O Modules (Page 23)
Configuration of an ET 200M with Ex I/O modules (Page 26)
Parameters of Analog Modules (Page 130)
3.12
Order Number
Features
Properties of the analog input module SM 331; AI 4 x 0/4...20mA:
4 inputs in 4 channel groups
Measured value resolution, can be adjusted separately at each channel group, depending
on the integration time set
10 Bit (integration time 2.5 ms)
13 Bit (integration time 162/3 / 20 ms)
15 Bit (integration time 100 ms)
Mode of measurement, selectable for each channel group:
Current
Channel deactivated
User-specific measurement range per channel
0 ... 20 mA
4 ... 20 mA
configurable diagnostics and configurable diagnostic interrupt
Channel 0 and 2 with limit value monitoring and configurable limit interrupt
The channels are electrically isolated from each other, from the CPU, and from load
voltage L+
158
Resolution
The resolution of the measured value is directly proportional to the integration time selected,
i.e. longer integration times at an analog input channel increase resolution accuracy of the
measured value.
Figure 3-18
159
Additional measures
The SM 331-7RD00 (6ES7 331-7RD00-0AB0) module reaches lower safety-relevant
technical data for the connection of active encoders (see the first amendment of the
certificate) if the unused transducer outputs (terminals 3, 7, 12 and 16) are locked with
plastic bolts. Use for example M3 x 8 plastic screws for this (see diagram below).
Line chamber
Plastic screw M 3 x 8
160
Parameterization
The functions of the analog input module SM 331; AI 4 x 0/4...20 mA are set
in STEP 7
in the user program with SFCs.
Default settings
The analog input module features default settings, for example, of the integration time, of
diagnostics functions, and of interrupts which apply if the module parameters were not edited
in STEP 7.
Channel groups
The channel group is allocated to each input channel for parameterization of the analog input
module SM 331; AI 4 x 0/4...20 mA. Advantage: You can specify separate parameters for
each channel! The table shows the allocation of the channels to channel groups:
Table 3- 33
Channel 0
Channel group 0
Channel 1
Channel group 1
Channel 2
Channel group 2
Channel 3
Channel group 3
measurement mode
selected
Explanation
2-wire transducer
4-wire transducer
Measuring range
from 4 to 20 mA
from 0 to 20 mA
from 4 to 20 mA
161
Wire-break monitoring
Wire break recognition is not possible for the current range 0 to 20 mA. For the current range
from 4 to 20 mA, the input current dropping below I x 3.6 mA is interpreted as a wire break
and, if enabled, an appropriate diagnostic interrupt is triggered.
162
40 x 125 x 120
Weight
approx. 290 g
Module-specific data
Configuration in Run (CiR) supported
yes
They return the process value that applied before
the parameters were set.
Number of inputs
max. 200 m
ATEX approvals
II 3 G (2) GD
Ex nA [ib] [ibD] IIC T4
Test number
KEMA 01ATEX1060 X
FM/UL approvals
Class I, Division 2,
Group A, B, C, D T4
Class I, Zone 2, Group IIC T4
5 V DC
24 V DC
yes
yes
short circuit-proof
Electrical isolation
yes
yes
yes
yes
DC 60 V
AC 30 V
DC 60 V
AC 30 V
DC 60 V
AC 30 V
DC 60 V
AC 30 V
DC 400 V
AC 250 V
163
DC 400 V
AC 250 V
DC 400 V
AC 250 V
DC 75 V
AC 60 V
Insulation tested
with 2500 V DC
with 2500 V DC
with 500 V DC
Current input
max. 60 mA
max. 250 mA
typical 3 W
Safety specifications
(see EU special test certificate KEMA 01ATEX1060 X under certificates of conformity on the Internet
(http://support.automation.siemens.com/WW/view/en/37217116/134200))
Maximum values per channel
max. 25.2 V
I0 (short-circuit current)
max. 68.5 mA
P0 (load power)
max. 431 mW
max. 7.5 mH
max. 90 nF
Um (fault voltage)
max. DC 60V
AC 30V
max. 60C
SIGMA-DELTA
yes
yes
yes
yes
2.5
162/3
20
100
configurable
Integration time in ms
7.5
50
60
300
2.5
162/3
20
100
10+ sign
13+ sign
13+ sign
15+sign
400
60
50
10
164
> 130 dB
> 60 dB
> 130 dB
from 0/4 to 20 mA
0.45 %
from 0/4 to 20 mA
0.1 %
0.01%/K
0.01 %
0.05 %
Influence of a HART signal modulated on an input signal relative to the input range
Error at integration time
0.25%
2.5 ms
0.05%
162/3 ms
0.04%
20 ms
0.02%
100 ms
Interrupts, diagnostics
Interrupts
Limit interrupt
Diagnostic interrupt
Configurable
Diagnostic functions
Configurable
possible
No-load voltage
< 25.2 V
> 13 V
Current
0 to 20 mA
/50
4 to 20 mA
/50
165
40 mA
possible
possible
See also
Analog value notation of the measurement ranges of resistive encoders (Page 99)
The LK 393 line chamber (Page 20)
Configuration of an S7-300 with Ex I/O Modules (Page 23)
Configuration of an ET 200M with Ex I/O modules (Page 26)
Parameters of Analog Modules (Page 130)
3.13
Order Number
6ES7332-5RD00-0AB0
Features
The analog output module SM 332, AO 4 x 0/4 ... 20 mA is characterized by the following
features:
4 current outputs in 4 groups
Resolution 15 bit
Configuration in Run (CiR) supported
configurable diagnostics
166
Figure 3-19
167
Parameterization
You set up the functionality designed for analog output module SM 332; AO 4 x 0/4...20 mA
in STEP 7 or
in the user program with SFCs.
Default settings
The analog output module features default settings for output type, interrupts, default
settings etc..
These defaults apply to modules which were not reprogrammed with STEP 7.
Channel groups
Table 3- 35
Channel 0
Channel group 0
Channel 1
Channel group 1
Channel 2
Channel group 2
Channel 3
Channel group 3
Analog outputs
You can connect the outputs as:
Current outputs
The outputs can be set channel by channel. You program the output type in STEP 7.
168
Output ranges
Configure the various current output ranges in STEP 7.
Table 3- 36
selected output
mode
Current
Explanation
The digitized analog values are listed in the chapter Analog
value representation of the output range of the analog
outputs (Page 112).
Output range
from 0 to 20 mA
from 4 to 20 mA
Wire-break monitoring
The analog output module SM 332; AO 4 x 0/4...20 mA carries out a wire break check.
Conditions:
A wire break can only be signaled if the minimum output current > 100 A and the voltage
generated at the load > 12 V.
169
40 x 125 x 120
Weight
approx. 280 g
Module-specific data
Configuration in Run (CiR) supported
yes
They specify the output value that
applied before the parameters were set.
Number of outputs
max. 200 m
ATEX approvals
II 3 G (2) GD
Ex nA [ib] [ibD] IIC T4
Test number
KEMA 01ATEX1062 X
FM/UL approvals
Class I, Division 2,
Group A, B, C, D T4
Class I, Zone 2, Group IIC T4
5 V DC
24 V DC
yes
Electrical isolation
yes
yes
yes
yes
DC 60 V
AC 30 V
DC 60 V
AC 30 V
DC 60 V
AC 30 V
DC 60 V
AC 30 V
DC 400 V
AC 250 V
DC 400 V
AC 250 V
DC 400 V
AC 250 V
170
DC 75 V
AC 60 V
Insulation tested
with 2500 V DC
with 2500 V DC
with 500 V DC
Current input
max. 80 mA
max. 200 mA
typical 4 W
15 Bit
9.5 ms
0.2 ms
0.5 ms
0.2 ms
yes, configurable
> 130 dB
0.55 %
0.2 %
0.01 %/K
0.02 %
0.005 %
0.02 %
Interrupts, diagnostics
Interrupts
Diagnostic interrupt
Diagnostic functions
Configurable
Configurable
possible
monitoring for
Wire break
yes
> 0.1 mA
Output voltage
> 12 V
171
max. 14 V
I0 (short-circuit current)
max. 70 mA
P0 (load power)
max. 440 mW
max. 6.6 mH
max. 730 nF
Um (fault voltage)
max. 60 VDC
30 VAC
max. 60C
Current
from 0 to 20 mA
from 4 to 20 mA
resistive load
inductive load
capacitive load
max. 500
max. 6.6 mH1
max. 730 nF1
Current output
No-load voltage
max. 14 V
Voltages
Current
max. + 12 V / - 0.5V
max. + 60 mA / - 1A
Wiring of actuators
yes
172
See also
The LK 393 line chamber (Page 20)
Configuration of an S7-300 with Ex I/O Modules (Page 23)
Configuration of an ET 200M with Ex I/O modules (Page 26)
Parameters of Analog Modules (Page 130)
Analog value notation of the current measurement ranges (Page 98)
173
174
Most of the examples listed in this manual refer to the use of HART analog modules with
PROFIBUS DP interface modules.
Overview
There are two analog input modules and two analog output modules each with HART
functions in the product range of the SIMATIC S7 Ex-HART analog modules.
SM 331; AI 2 x 0/4...20mA HART (HART analog input module),
Order number: 6ES7 331-7TB00-0AB0
(Revision 5)
(Revision 7)
(Revision 5)
(Revision 7)
The electrical properties of Revision 5 and Revision 7 modules are identical. The modules
differ only in the interfaces (parameters, diagnostics, user data and HART request interface)
and in the HART functionality and the supported HART version.
4.1
Basic characteristics
The SIMATIC S7 HART analog modules belong to the category of SIMATIC S7-Ex analog
modules. Their basic properties were described in section "Simatic S7 Ex analog modules"
and also apply here.
You can operate the HART analog modules as part of the distributed I/O ET 200M with the
interface modules:
As of IM153-2BA00 or as of IM153-2BB00 as coupling to PROFIBUS DP.
As of IM153-2BA20 as coupling to PROFIBUS DP for the modules 6ES7 331-7TB100AB0 and 6ES7 332-5TB10-0AB0.
As of IM153-4BA00 as coupling to PROFINET IO.
In this application, the ET 200M is the HART master for HART devices (intelligent field
devices). The IM153 directs the commands (for example, parameter assignment) that come
from the HART client
(for example, SIMATIC PDM or programmed via the data record interface of the HART
analog modules) through the HART analog module to the intelligent field devices. The reply
comes back the same way. In the figure below, the gray line represents the communication
path in an application with PROFIBUS DP.
S7-300, ET 200M Ex I/O Modules
Manual, 09/2014, A5E00172008-11
175
Figure 4-1
176
4.2
Introduction to HART
4.2.1
Definition of HART
Introduction
This section provides you with an introduction to HART from a user's perspective:
Definition of HART
Advantages of HART analog modules
Typical applications of HART
Definition
"HART" stands for "Highway Addressable Remote Transducer"
The HART functions enable you to operate the analog modules in conjunction with digital
communication. The HART protocol is generally accepted as a standard protocol for
communication with smart field devices: Hart is a registered trademark of the "HART
Communication Foundation" (HCF), which retains all rights for the HART protocol. You can
find detailed information about HART in the HART specification.
Advantages of HART
The use of HART analog modules has the following advantages:
Compatible connection to analog modules: current loop 4 - 20 mA
additional digital communication with the HART protocol
low power requirements with HART, important for use in hazardous areas
a wide range of field devices with HART functions are now available
integration of the HART functionality in the S7 system when using HART analog modules
Typical applications
The following are typical applications of HART:
Installation of field devices (central assignment of parameters)
Modification of field device parameters online
Display of information, maintenance data and diagnostic data for field devices
Integration of configuration tools for field devices via the HART interface
177
4.2.2
HART functions
Introduction
The HART protocol describes the physical characteristics of transmission: Data transfer
procedures, message structure, data formats, and commands.
HART signal
The following diagram shows the analog signal with the modulating HART signal (FSK
procedure). The HART signal is composed of sine waves at 1200 Hz and 2200 Hz and has a
mean value of zero. It can be filtered out with an input filter, leaving the original analog signal
unaffected.
Analog signal
(A)
Response
(K)
Command
Time (seconds)
Figure 4-2
178
Parameter group
universal
common-practice
device-specific
Command
Function
Read manufacturer and device type - only with this command 0 can field
devices be addressed by means of a short frame address
11
13, 18
Read or write measuring point tag, description and date (data included in
transmission)
179
Command
Function
36
37
41
43
109
Burst mode
Burst mode means that a command initiates cyclic response of the slave. This response is
sent repeatedly until the mode is deactivated by the master device.
4.2.3
Application of HART
180
Figure 4-3
Error handling
The two HART status bytes transmitted with each response of the field device contain error
information relating to HART communication, HART commands and device status, (see
"HART communication data records").
These are evaluated by the HART analog module, among other devices, and made available
in the system via the S7 diagnostic mechanisms.
See also
HART Communication Data Records (Page 210)
181
4.3
4.3.1
Example configuration
Figure 4-4
182
Note
Notes on intrinsically-safe installation
You must connect the DM 370 dummy module between the IM 153 interface module and
explosion-proof I/O modules, which include HART I/O modules, whose signal cables lead
into the hazardous area. In a distributed configuration with an active backplane bus, you
should use the explosion-proof partition (6ES7 195-1KA00-0XA0) instead of the dummy
module.
4.3.2
Installation
Commission the HART analog modules using STEP 7, and the intelligent field devices
connected using the SIMATIC PDM programming tool:
Configuring and assigning parameters
1. Plug the HART analog module into the ET200M distributed I/O system. "Configuring and
assigning parameters" to the associated station in the SIMATIC Manager with STEP 7:
Start by double-clicking on the "Hardware" icon.
2. Select the ET 200M distributed I/O with a High Feature IM153 from the module catalog
and attach this to the PROFIBUS (note the DP slave address) or PROFINET IO network.
3. Insert the HART analog module in the desired slot and assign the module parameters:
You start the parameter assignment dialog by double-clicking the HART analog module in
the selected slot.
With HART Revision 7 analog modules, you can also configure up to 8 additional HART
variables in the user data area of the module using the parameter assignment dialog in
HW Config. See 4.5.1 for more on this.
4. Insert the HART field devices in the corresponding channels.
When you insert a HART field device, the field device already connected in the "Device
Selection (Reassign)" configuration dialog is identified via the "Device identification".
5. Download the configuration for the station which also contains the parameters for the
HART analog module, to the programmable logic controller.
6. The field devices are configured with SIMATIC PDM via the channel to which the field
device is connected:
You start by double-clicking the HART field device configured on the channel.
7. Now you can configure the field devices using the SIMATIC PDM configuration tool:
Within SIMATIC PDM, you see a device-specific configuration interface based on the
type of the connected field device. You must have installed the EDD of the field device,
the IM 153, and the HART analog module beforehand.
183
See also
Parameters of HART Analog Modules (Page 185)
4.3.3
Operating phase
In the operating phase you must distinguish between the cyclic return of user data, the
acyclic HART operation and the cyclic HART communication.
Cyclic process data such as the measured values can be requested from the automation
system PROFIBUS DP master class 1) The user data area with input and output data is
available for this.
the acyclic operation for diagnostics and modifying the parameters of the field devices is
carried out with the SIMATIC PDM parameter assignment tool or with a HART hand-held
device using HART commands and HART responses.
You can establish HART communication via read/write data record.
The operating phase
1. Switch the programmable logic controller to "RUN": User data are transmitted cyclically
via PROFIBUS DP or PROFINET IO.
2. You can evaluate the user data cyclically in your user program. With HART Revision 7
analog modules, up to four HART variables of the connected transducer are provided for
evaluation in the user data.
3. You can perform diagnostics and re-configuration of field devices with the configuration
tool, SIMATIC PDM:
You start by double-clicking the HART field device configured on the channel.
4. You can send HART commands to the connected transducers at any time via the data
record interface of the HART analog modules. For example, you can re-configure the
transducers or read data from the transducers.
See 4.4.6.3 for Revision 5 modules or 4.5.7.3 for Revision 7 modules.
184
Information on status
After you have modified the parameters of a HART field device, the corresponding bit is set
in the device status of the connected field device (= HART status byte). This should be
regarded as an indicator and not as an error and is reset by the module. For more
information, see the "HART status bytes" section.
See also
Diagnostic Functions of HART Analog Modules (Page 188)
4.4
Overview
The following SIMATIC S7 HART analog modules are described in this section:
SM 331; AI 2 x 0/4...20mA HART (HART analog input module),
Order number: 6ES7 331-7TB00-0AB0
SM 332; AO 2 x 0/4...20mA HART (HART analog output module),
Order number: 6ES7 332-5TB00-0AB0
This section provides the information you need to use the modules as a HART interface.
4.4.1
185
Parameter
Value range
Default setting
Type of
parameter
Effective range
Diagnostic interrupt
Yes/no
No
Hardware interrupt
triggered by limit
violation
Yes/no
No
End-of-cycle
hardware interrupt
Yes/no
No
Overflow
(32767)
Dynamic
Module
Dynamic
Channel
Static
Channel
Dynamic
Channel
High limit
20 ...0/4 mA (from
32511 to - 32512)
Low limit
Diagnostics
Group diagnostics
Yes/no
No
Yes/no
No
Deactivated
HART
Measurement
Measurement type
Measuring range
0 to 20 mA (can
only be set with
4DMU),
4 to 20 mA
4 to 20 mA
Integration time /
interference
frequency
suppression
20 ms
corresponds to
interference
frequency
suppression
From 400 Hz; 60
Hz; 50 Hz; 10 Hz
186
HART measurement
The green HART status display indicates that HART measurement is enabled at a channel
and that HART communication is active. When HART starts up, the HART analog module
transmits the HART command 0 to the field device, followed by HART command 13. The
resulting HART response data (for example "long frame" address and "tag"), are entered in
the diagnostic data record 131 or 151. When it is operating, the HART analog module
continually sends the HART command 1 to update the value of the primary variable. This
value is entered in the user data area.
Parameter
Value range
Default setting
Type of
parameter
Effective range
Diagnostic interrupt
Yes/no
No
Dynamic
Module
Yes/no
No
Static
Channel
Deactivated
HART
Dynamic
Channel
Diagnostics
Group diagnostics
Output
Output mode
Current
HART
Output range
4 to 20 mA
4 to 20 mA
0 to 20 mA
Reaction to CPU STOP
Substitute value
0 to 20mA
0 mA
187
See also
Additional diagnostic data records (Page 214)
Input area (read) (Page 218)
Parameters of Analog Modules (Page 130)
4.4.2
Diagnostic messages
The diagnostic messages for the analog input modules are shown in the table "Diagnostic
messages of the analog input module SM 331"; the diagnostic messages for the analog
output modules are shown in the table "Diagnostic messages of the analog output module
SM 332". The additional diagnostic messages are listed in the following table:
Table 4- 6
Additional diagnostic messages for the analog input module SM 331; AI 2 x 0/4...20mA
HART and the analog output module SM 332; AO 2 x 0/4...20mA HART
Diagnostic message
Effective range of
diagnostics
Channel
Yes
Yes
188
Causes of error
The following table provides a list of possible causes and corresponding corrective measures
for the individual diagnostic messages.
Table 4- 7
Diagnostic message
Corrective measures
Modification of HART
parameters reported by
the connected field
device
See also
Diagnostics of the Analog Modules (Page 135)
HART Communication Data Records (Page 210)
Additional diagnostic data records (Page 214)
4.4.3
189
Bit 7 ...2
Bit 1
Bit 0
Limit
Byte 0
'0'
Channel 1
Channel 0
Byte 1
'0'
Channel 1
Channel 0
Byte 2
'0'
'0'
'0'
Not relevant
Byte 3
'0'
'0'
'0'
Not relevant
At the end of the cycle all the bits in bytes 0-3 of the additional information for OB 40 which
are not reserved for channels 0 and 1 are set to "1". You can use the reserved bits to
evaluate whether the upper or lower limit set has been exceeded for a particular channel: if a
limit has been exceeded, a "1" is displayed instead of a "0".
See also
Interrupts of analog modules (Page 139)
Parameters of HART Analog Modules (Page 185)
4.4.4
Order number
6ES7331-7TB00-0AB0
Features
The analog input module SM 331; AI 2 x 0/4...20mA HART is characterized by the following
features:
2 inputs in 2 channel groups
2 encoder supply outputs for 2-wire transducers
The resolution of the measured value can be set separately at each channel (see "Analog
values and resolution")
Mode of measurement, selectable for each channel group:
2-wire or 4-wire current transducers (with HART function)
2-wire or 4-wire current transducers (no HART function)
Channel deactivated
190
Measuring range
2-wire transducer
4 to 20 mA
4-wire transducer
0 to 20 mA
4 to 20 mA
Default settings
HART measurement is set by default. There are other default settings for integration time,
diagnostics, interrupts. The HART analog module uses these settings when no parameter
modification is carried out in STEP 7.
191
Figure 4-5
192
Note
The 200 ohm resistor must be in the measuring circuit when using HART transducers. This
means that a 2-wire HART transducer must be connected to terminals 3 and 5 (12 and 14)
and a 4-wire HART transducer to terminals 5 and 6 (14 and 15).
The 200 ohm resistor is optional in the measuring circuit for standard transducers without
HART.
Note
Observe the prerequisites for an intrinsically safe installation.
193
Line chamber
Plastic screw M 3 x 8
194
40 x 125 x 120
Weight
approx. 260 g
Module-specific data
Configuration in Run (CiR) supported
Yes
They return the process value that applied
before the parameters were set.
Number of inputs
Max. 400 m
ATEX approvals
II 3 G (2) GD
Ex nA [ib] [ibD] IIC T4
Test number
KEMA 97ATEX3039 X
FM/UL approvals
5 VDC
24 VDC
Yes
short circuit-proof
Electrical isolation
Yes
Yes
Yes
Yes
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
195
400 VDC
250 VAC
400 VDC
250 VAC
400 VDC
250 VAC
75 VDC
60 VAC
Insulation tested
Current input
Max. 100 mA
Max. 180 mA
typical 4.5 W
Safety specifications
(see EU special test certificate 97ATEX3039 X under certificates of conformity on the Internet
(http://support.automation.siemens.com/WW/view/en/37217116/134200))
Maximum values per channel
Max. 26 V
I0 (short-circuit current)
Max. 96.1 mA
Max. 511 mW
Max. 3 mH
Max. 62 nF
Um (fault voltage)
Max. DC 250V
0 to 60C
SIGMA-DELTA
Integration time/conversion
time/resolution (per channel)
Configurable
Yes
Yes
Yes
Yes
Integration time in ms
2.5
16 2/3
20
100
2.5
16 2/3
20
100
7.5
50
60
300
196
Interference voltage
suppression for interference
frequency f1 in Hz
10 +sign
13+ sign
13+ sign
15+sign
400
60
50
10
> 130 dB
> 60 dB
from 0/4...20mA
0.45%
from 0/4...20mA
0.1%
0.01%/K
0.01%
0.05%
Influence of a HART signal modulated on an input signal relative to the input range
Error at integration time
2.5 ms
0.25%
16 2/3 ms
0.05%
20 ms
0.04%
100 ms
0.02%
Interrupts, diagnostics
Interrupts
Limit interrupt
Diagnostic interrupt
Configurable
Diagnostic functions
Configurable
Possible
No-load voltage
< 29.6 V
197
> 15 V
Current
0 to 20 mA;
/50
4 to 20 mA:
/50
40 mA
as 2-wire transducer
Possible
as 4-wire transducer
Possible
See also
Analog value notation of the measurement ranges of resistive encoders (Page 99)
The LK 393 line chamber (Page 20)
HB_Umparametrieren im RUN
(http://support.automation.siemens.com/WW/view/en/14044916)
4.4.5
Order number
6ES7332-5TB00-0AB0
Features
The HART analog output module has the following features:
2 current outputs in 2 channel groups
Resolution 12 bit (+ sign)
Output type selectable per channel:
Current output with HART
Current without HART
Channel deactivated
198
Current
Output range
0 to 20 mA
4 to 20 mA
Default settings
The output type HART is the default setting. There are also default settings for substitute
value, diagnostics, interrupts. The HART analog output module uses these settings when no
parameters have been changed in STEP 7.
199
Readback capability
The analog outputs can be read back in the user data range (+ sign) with a resolution of 8
bit. Note that the value read back from the analog output is only available at the
corresponding accuracy when the conversion cycle is completed.
Figure 4-6
Note
Observe the prerequisites for an intrinsically safe installation.
200
201
40 x 125 x 120
Weight
Approx. 280 g
Module-specific data
Configuration in Run (CiR) supported
Yes
Number of outputs
Max. 400 m
ATEX approvals
II 3 G (2) GD
Ex nA [ib] [ibD] IIC T4
Test number
KEMA 97ATEX2359 X
FM/UL approvals
5 VDC
24 VDC
Yes
Electrical isolation
Yes
Yes
Yes
Yes
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
400 VDC
250 VAC
400 VDC
250 VAC
202
400 VDC
250 VAC
75 VDC
60 VAC
Insulation tested
Current input
From backplane bus
Max. 100 mA
Max. 150 mA
Typical 3.5 W
Output value
Resolution (including overrange)
12 bit (+ sign)
5 ms
2.5 ms
2.5 ms
4 ms
Yes, configurable
Readback value
Resolution
8 bit (+ sign)
40 ms
>130 dB
0.55%
0.15%
0.01%/K
0.03%
0.005%
Diagnostic interrupt
Diagnostic functions
Configurable
Configurable
203
Possible
Monitoring for
Wire break
From output value
Yes
> 0.5 mA
Green LED (H)
Safety specifications
(see EU special test certificate KEMA 97ATEX2359 X under certificates of conformity on the Internet
(http://support.automation.siemens.com/WW/view/en/37217116/134200))
Maximum values of the output circuits (per
channel)
Max. 19 V
I0 (short-circuit current)
Max. 66 mA
Max. 506 mW
Max. 7.5 mH
Max. 230 nF
Um (fault voltage)
Max. 60 VDC
Max. 60C
Current
0 to 20 mA
4 to 20 mA
Resistive load
Inductive load
Capacitive load
Max. 650
Max. 7.5 mH1
Max. 230 nF1
Current output
No-load voltage
Max. 19 V
Max. + 17 V / - 0.5 V
Current
Max. + 60 mA / - 1A
Wiring of actuators
Yes
204
See also
The LK 393 line chamber (Page 20)
Analog Value Representation for the Output Ranges of Analog Outputs (Page 112)
Parameters of HART Analog Modules (Page 185)
HB_Umparametrieren im RUN
(http://support.automation.siemens.com/WW/view/en/14044916)
4.4.6
Introduction
This section contains specific data you need for programming, diagnostics and HART
communication if you want to extend the functionality of STEP7 standard applications or
deploy your own software tool for HART communication.
205
4.4.6.1
Structure of the parameter data records for the HART analog input
The figures below show data record 0 for the static parameters and data record 1 for the
dynamic parameters for AI-HART and AO-HART.
Figure 4-7
Table 4- 11
Codes for the measuring type and measuring range of the HART analog input module
Measurement type
Code
Measuring range
Code
Deactivated
2#0000
Deactivated
2#0000
4-wire transducer
2#0010
0 to 20 mA
4 to 20 mA
2#0010
2#0011
2-wire transducer
2#0011
4 to 20 mA
2#0011
2#0111
4 to 20 mA HART
2#1100
206
Structure of the parameter data records for the HART analog output
The figure below shows data record 0 for the static parameters and data record 1 for the
dynamic parameters.
Figure 4-8
Code for the measurement type / range of the HART analog output module
Output mode
Code
Output range
Code
Deactivated
2#0000
Deactivated
2#0000
2#0010
0 to 20 mA
4 to 20 mA
2#0010
2#0011
2#0111
4 to 20 mA HART
2#1100
207
4.4.6.2
Figure 4-9
208
Figure 4-10
Note
Please note the following points regarding diagnostic data:
If a HART channel error occurs, you can obtain further information by using SFC59 or SFB
53 to read the status in the HART response data record for the relevant client or the
additional diagnostic data record for the relevant channel.
209
See also
HART Communication Data Records (Page 210)
Additional diagnostic data records (Page 214)
4.4.6.3
Client / data
record
Command
10
14
18
22
26
30
34
Response
12
16
20
24
28
32
36
Command
50
54
58
62
66
70
74
Response
52
56
60
64
68
72
76
Each client may only use the data record numbers allocated to its transfer area.
For example, for client 6, channel 0: the command is data record 30 and the response is
data record 32.
After having written a command data record, the client must read the response data
record before it writes the next command data record.
The transfer area of each client is allocated a data ready bit in the user data area, which
is set when new data can be collected.
In Master Class 2 the client can evaluate the "processing state" in the response data
record: if the "processing state" indicates "successful" or "error," the data record contains
current response data or error bits respectively.
All data must be read, because the module can modify the data record if the initial read
operation returns a successful or faulty state.
The status section of the response data record provides information on any errors that
have occurred.
The HART burst mode cannot be used by more than one client at any one time (that is,
only one client can set this operating mode with a command).
210
Figure 4-11
Notes on response
Always make sure that you are reading the current response data record.
If the processing state in the response data record indicates "successful" or "error," the
data record contains current response data or error messages respectively.
Alternatively you can evaluate the "data ready" in the user data area: the transfer area of
each client is allocated a bit in the user data area which is set when new data arrives.
211
Figure 4-12
212
Meaning
always 0
not used
command rejected
Table 4- 14
Bit No.
Meaning
always 0
not used
213
4.4.6.4
Figure 4-13
Diagnostic data records 128 and 129 of the HART analog modules
214
Figure 4-14
Figure 4-15
Diagnostic data records 131 and 151 of the HART analog module
215
4.4.6.5
Figure 4-16
Parameter data records 128 and 129 of the HART analog modules
Parameter
Repeated attempts
Update time
Explanation
The HART analog modules initiate the
configured retry sequence when
sending a command to a field device
whose port is in use by another
function.
0 to 127
3
0
0 to 20
3 0.75 s
0
0 to 255, 12
3s
Value range:
Default
setting:
no filter time:
Several diagnostics interrupts may be generated during startup due to differences in the timerelated startup characteristics of transducers. The wire break filter time was introduced to avoid this
problem.
1
216
4.4.6.6
217
Figure 4-17
218
Figure 4-18
4.5
Overview
The following SIMATIC S7 HART analog modules are described in this section:
SM 331; AI 2 x 0/4...20mA HART (HART analog input module),
Order number: 6ES7 331-7TB10-0AB0
SM 332; AO 2 x 0/4...20mA HART (HART analog output module),
Order number: 6ES7 332-5TB10-0AB0
This section provides the information you need to use the modules as a HART interface.
The HART Analog Modules Revision 7 offer the following in comparison to Revision 5
modules:
219
Requirement
The HART Analog Modules Revision 7 can be used as of STEP7 V5.5 + SP4 and
SIMATIC PCS 7 V8.1.
The modules can be used on PROIFIBUS DP or PROFINET IO in connection with the
respective High Feature interface modules
IM 153-2, 6ES7153-2BA02-0XB0 or
IM 153-4, 6ES7153-4BA00-0XB0.
Integration of the HART analog modules based on the PROFINET IO standard is possible
with the current GSDML file (as of GSDML V2.3 Siemens ET200M 20140124.xml) for
IM153-4.
Field devices can be configured with SIMATIC PDM V6.1 and higher or SIMATIC PDM V 8.1
SP 1.
You need the EDD for the ET 200M for this. For PROFIBUS DP as of EDD V1.1.17 and
PROFINET IO as of EDD V770.1.2.
4.5.1
Introduction
Numerous HART field devices make available additional measurement variables (e.g.
sensor temperature). These can be read if they are set accordingly in the field device
configuration in SIMATIC PDM.
Using the HART variables it is possible to adopt the set measured values directly from the
field device into the I/O area of your automation system.
A maximum of 8 HART variables can be configured for HART modules. You assign the
HART variables to a channel in the properties dialog for the module.
Address assignment
The HART modules use 16 input/output bytes (user data). If you configure HART variables,
the modules use an additional 5 bytes of input data for each HART variable.
If you use all 8 HART variables, the HART modules use a total of 56 input bytes (16 bytes +
8 x 5 bytes = 56 bytes).
The "None" configuration occupies no additional input bytes.
No HART variables are placed in the user data area for configuration in run (CIR). However,
an additional 5 bytes of address space are reserved for a subsequent re-configuration.
220
Figure 4-19
221
Meaning
0x4C or 0
0x18
0x0C
0x47
0x84
OK "Configuration changed"
0x80
OK
4.5.2
Overview
The following tables contain the parameters of the HART analog input module and the
parameters of the HART analog output module. The tables show which parameters can be
set for the module as a whole and which parameters can be set separately for each channel.
You can find general information on parameter assignment in the description of the SIMATIC
analog modules in the Manual Automation System SIMATIC S7-300 Module Data.
222
Parameter
Value range
Default setting
Type of
parameter
Effective range
Dynamic
Module
Dynamic
Channel
Static
Channel
Dynamic
Channel
Diagnostic interrupt
Yes/no
No
Hardware interrupt
triggered by limit violation
Yes/no
No
End-of-cycle hardware
interrupt
Yes/no
No
High limit
At 0 to 20mA:
Overflow
23.52 to -3.52mA (32767)
At 4 to 20mA:
22.81 to 1.185mA
Low limit
At 0 to 20mA:
Underflow
-3.52 to 23.52mA (-32768)
At 4 to 20mA:
1.185 to 22.81mA
Diagnostics
Group diagnostics
Yes/no
No
No
Yes/no
No
Deactivated
4DMU
(4-wire
transducer)
Measurement
Measurement type
4DMU (4-wire
transducer)
2DMU (2-wire
transducer)
Measuring range
Deactivated
Integration time /
Interference frequency
suppression
4 to 20 mA
0...20 mA
(can only be set
with 4DMU)
4 to 20mA
20 ms
Corresponds to
Interference
frequency
suppression
From 400 Hz; 60
Hz; 50 Hz; 10 Hz
223
HART function
Yes/no
Yes
Retries
0-255
10
Dynamic
Channel
HART function
The HART functionality is only possible in the measuring range 4 to 20 mA. When the HART
function is activated, the HART analog module transmits the HART command 0 to the field
device, cyclically followed by HART command 3. Once a correct communication with the
HART field device is established, the green HART status display lights up.
Parameter
Value range
Default
setting
Type of parameter
Effective
range
Yes/no
No
Dynamic
Module
Group diagnostics
Yes/no
No
Static
Channel
Yes/no
No
Deactivated
Current
Dynamic
Channel
Diagnostic interrupt
Diagnostics
Output
Output mode
Current
Output range
4 to 20 mA
4 to 20 mA
0 to 20 mA
Reaction to CPU STOP
Set
substitution
value (SSV)
224
0 to 20mA
0mA
HART
HART function
Yes/no
Yes
Retries
0-255
10
Dynamic
Channel
HART function
HART is only possible in the output range 4 to 20mA. When the HART function is activated,
the HART analog module transmits the HART command 0 to the field device, cyclically
followed by HART command 3. Once a correct communication with the HART field device is
established, the green HART status display lights up.
4.5.3
225
Diagnostic message
Effective range of
diagnostics
Configurable
Module
No
Channel
No
Wire break
Channel
Yes
Underflow
(only with analog input and if no wire
break check is enabled)
Channel
Yes
Overflow
(only with analog input)
Channel
Yes
Overflow
Acquired analog values above 23.52 mA (for measuring range 0 to 20 mA) or 22.81 mA (for
the measuring range 4 to 20mA) are reported as "overflow" if group diagnostics are enabled.
The analog value is set to 0x7FFF. It has no effect on the HART communication.
226
Underflow
A current less than 1.1845 mA is reported as "underflow" if group diagnostics are enabled
and wire break diagnostics are disabled. The analog value is set to 0x8000. No HART
communication is possible below 1.1845 mA.
Wire break
A current less than 3.6 mA is reported as "wire break" with analog input if group diagnostics
and wire break diagnostics are enabled. Wire break is reported as cleared for a current
higher than 3.8 mA. The analog value is set to 0x7FFF for "wire break". HART
communication is active up to 1.1845 mA.
A wire break check is performed for analog output in the measuring range 4 to 20mA if group
diagnostics are enabled . A wire break is reported for a current lower than approximately 500
A. No HART communication is possible with "wire break".
Diagnostic message
Remedy
external auxiliary
voltage missing
Provide L+ supply
Startup error
Incorrect parameters
Implausible parameter or
combination thereof
EPROM error
RAM error
Module defective
ADC/DAC error
Module defective
Parameter assignment
error
A parameter or combination of
parameters of parameter data
record 1 is implausible
Connect line
227
Overflow
Diagnostic message
Effective range of
diagnostics
Configurable
Channel
Yes
228
Diagnostic message
HART communication
error
Timing error
Corrective measures
Correct simulation
Check whether the correct
sensor is connected
229
(deleted after 3 s)
Configuration changed
See also
Diagnostics of the Analog Modules (Page 135)
HART Communication Data Records (Page 210)
Additional diagnostic data records (Page 214)
Diagnostic data records (Page 208)
4.5.4
Bit 7 ...2
Bit 1
Bit 0
Limit
Byte 0
'0'
Channel 1
Channel 0
Byte 1
'0'
Channel 1
Channel 0
Byte 2
'0'
'0'
'0'
Not relevant
Byte 3
'0'
'0'
'0'
Not relevant
At the end of the cycle all the bits in bytes 0-3 of the additional information for OB 40 which
are not reserved for channels 0 and 1 are set to "1". You can use the reserved bits to
evaluate whether the upper or lower limit set has been exceeded for a particular channel: if a
limit has been exceeded, a "1" is displayed instead of a "0".
230
See also
Interrupts of analog modules (Page 139)
Parameters of HART Analog Modules (Page 185)
4.5.5
Order number
6ES7331-7TB10-0AB0
Features
The analog input module SM 331; AI 2 x 0/4...20mA HART is characterized by the following
features:
2 inputs in 2 channel groups
2 encoder supply outputs for 2-wire transducers
The resolution of the measured value can be set separately at each channel (see "Analog
values and resolution")
Mode of measurement, selectable for each channel group:
2-wire transducer current
4-wire transducer current
Channel deactivated
User-specific measuring range per channel
0 to 20 mA (only for 4-wire transducer)
4 to 20 mA
HART functionality (only for 4 to 20 mA)
Support for HART 5 to HART 7
Configuring HART variables
Settings for diagnostics and diagnostic interrupt
Group diagnostics
Additional wire break monitoring
Diagnostic interrupt
Programmable hardware interrupt
Channels 0 and 1 with limit monitoring: Programmable generation of out-of-limits
hardware interrupts
Programmable end-of-cycle hardware interrupt
231
Measuring range
2-wire transducer
4 to 20 mA
4-wire transducer
0 to 20 mA
4 to 20 mA
Default settings
HART measurement is set by default. There are other default settings for integration time,
diagnostics, interrupts. The HART analog module uses these settings when no parameter
modification is carried out in STEP 7.
232
Figure 4-20
Note
The 200 ohm resistor must be in the measuring circuit when using HART transducers. This
means that a 2-wire HART transducer must be connected to terminals 3 and 5 (12 and 14)
and a 4-wire HART transducer to terminals 5 and 6 (14 and 15).
The 200 ohm resistor is optional in the measuring circuit for standard transducers without
HART.
Note
Observe the prerequisites for an intrinsically safe installation.
233
Line chamber
Plastic screw M 3 x 8
234
40 x 125 x 120
Weight
approx. 260 g
Module-specific data
Configuration in Run (CiR) supported
Yes
They return the process value that applied
before the parameters were set.
Number of inputs
Max. 400 m
ATEX approvals
II 3 G (2) GD
Ex nA [ib] [ibD] IIC T4
Test number
KEMA 97ATEX3039 X
FM/UL approvals
5 VDC
24 VDC
Yes
short circuit-proof
Electrical isolation
Yes
Yes
Yes
Yes
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
235
400 VDC
250 VAC
400 VDC
250 VAC
400 VDC
250 VAC
75 VDC
60 VAC
Insulation tested
Current input
Max. 100 mA
Max. 180 mA
typical 4.5 W
Safety specifications
(see EU special test certificate 97ATEX3039 X under certificates of conformity on the Internet
(http://support.automation.siemens.com/WW/view/en/37217116/134200))
Maximum values per channel
Max. 26 V
I0 (short-circuit current)
Max. 96.1 mA
Max. 511 mW
Max. 3 mH
Max. 62 nF
Um (fault voltage)
Max. DC 250V
0 to 60C
SIGMA-DELTA
Integration time/conversion
time/resolution (per channel)
Configurable
Yes
Yes
Yes
Yes
Integration time in ms
2.5
16 2/3
20
100
2.5
16 2/3
20
100
7.5
50
60
300
236
Interference voltage
suppression for interference
frequency f1 in Hz
10 +sign
13+ sign
13+ sign
15+sign
400
60
50
10
> 130 dB
> 60 dB
from 0/4...20mA
0.45%
from 0/4...20mA
0.1%
0.01%/K
0.01%
0.05%
Influence of a HART signal modulated on an input signal relative to the input range
Error at integration time
2.5 ms
0.25%
16 2/3 ms
0.05%
20 ms
0.04%
100 ms
0.02%
Interrupts, diagnostics
Interrupts
Limit interrupt
Diagnostic interrupt
Configurable
Diagnostic functions
Configurable
Possible
237
No-load voltage
< 29.6 V
> 15 V
Current
0 to 20 mA;
/50
4 to 20 mA:
/50
40 mA
as 2-wire transducer
Possible
as 4-wire transducer
Possible
See also
Analog value notation of the measurement ranges of resistive encoders (Page 99)
The LK 393 line chamber (Page 20)
HB_Umparametrieren im RUN
(http://support.automation.siemens.com/WW/view/en/14044916)
4.5.6
Order number
6ES7332-5TB10-0AB0
Features
The HART analog output module has the following features:
2 current outputs in 2 channel groups
Resolution 12 bit (+ sign)
Output type selectable per channel:
Current output
Channel deactivated
238
Current
Output range
0 to 20 mA
4 to 20 mA
Default settings
The output type HART is the default setting. There are also default settings for substitute
value, diagnostics, interrupts. The HART analog output module uses these settings when no
parameters have been changed in STEP 7.
239
Readback capability
The analog outputs can be read back in the user data range (+ sign) with a resolution of 8
bit. Note that the value read back from the analog output is only available at the
corresponding accuracy when the conversion cycle is completed.
Figure 4-21
Note
Observe the prerequisites for an intrinsically safe installation.
240
241
40 x 125 x 120
Weight
Approx. 280 g
Module-specific data
Configuration in Run (CiR) supported
Yes
Number of outputs
Max. 400 m
ATEX approvals
II 3 G (2) GD
Ex nA [ib] [ibD] IIC T4
Test number
KEMA 97ATEX2359 X
FM/UL approvals
5 VDC
24 VDC
Yes
Electrical isolation
Yes
Yes
Yes
Yes
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
60 VDC
30 VAC
400 VDC
250 VAC
400 VDC
250 VAC
242
400 VDC
250 VAC
75 VDC
60 VAC
Insulation tested
Current input
From backplane bus
Max. 100 mA
Max. 150 mA
Typical 3.5 W
Output value
Resolution (including overrange)
12 bit (+ sign)
5 ms
2.5 ms
2.5 ms
4 ms
Yes, configurable
Readback value
Resolution
8 bit (+ sign)
40 ms
>130 dB
0.55%
0.15%
0.01%/K
0.03%
0.005%
243
Diagnostic interrupt
Diagnostic functions
Configurable
Configurable
Possible
Monitoring for
Wire break
From output value
Yes
> 0.5 mA
Green LED (H)
Safety specifications
(see EU special test certificate KEMA 97ATEX2359 X under certificates of conformity on the Internet
(http://support.automation.siemens.com/WW/view/en/37217116/134200))
Maximum values of the output circuits (per
channel)
Max. 19 V
I0 (short-circuit current)
Max. 66 mA
Max. 506 mW
Max. 7.5 mH
Max. 230 nF
Um (fault voltage)
Max. 60 VDC
Max. 60C
Current
0 to 20 mA
4 to 20 mA
Resistive load
Inductive load
Capacitive load
Max. 650
Max. 7.5 mH1
Max. 230 nF1
Current output
No-load voltage
Max. 19 V
Max. + 17 V / - 0.5 V
Current
Max. + 60 mA / - 1A
244
Yes
See also
The LK 393 line chamber (Page 20)
Analog Value Representation for the Output Ranges of Analog Outputs (Page 112)
Parameters of HART Analog Modules (Page 185)
HB_Umparametrieren im RUN
(http://support.automation.siemens.com/WW/view/en/14044916)
4.5.7
Introduction
This section contains specific data you need for programming, diagnostics and HART
communication if you want to extend the functionality of STEP7 standard applications or
deploy your own software tool for HART communication.
245
246
4.5.7.1
Structure of the parameter records 0/1 for the HART analog input
The figures below show data record 0 for the static parameters and data record 1 for the
dynamic parameters for AI-HART and AO-HART.
Figure 4-22
Table 4- 25
Codes for the measuring type and measuring range of the HART analog input module
Measurement type
Code
Measuring range
Code
Deactivated
2#0000
Deactivated
2#0000
4-wire transducer
2#0010
0 to 20 mA
4 to 20 mA
4 to 20 mA with HART
2#0010
2#0011
2#0111
2-wire transducer
2#0011
4 to 20 mA
4 to 20 mA with HART
2#0011
2#0111
247
Structure of the parameter data records for the HART analog output
The figure below shows data record 0 for the static parameters and data record 1 for the
dynamic parameters.
Figure 4-23
Table 4- 26
Code for the measurement type / range of the HART analog output module
Output mode
Code
Output range
Code
Deactivated
2#0000
Deactivated
2#0000
Current output
2#0010
0 to 20 mA
4 to 20 mA
4 to 20 mA with HART
2#0010
2#0011
2#0111
248
Figure 4-24
Data record
These records are not absolutely necessary for the HART operation.
If these records are not transferred to the module after module startup, the HART interface
works with the specified initial values. The number of HART retries and the HART enable are
used in accordance with the parameter data record 1.
However, both HART parameter data records can write to the module at any time during
operation for each data record (for example, using SFC 58 "WR_REC"). The parameters are
applied accordingly by the respective HART channel and overwrite the values currently in
effect.
This way you can also adjust the "Number of preamble bytes", the "Client timeout" as well as
the HART mode to suit your needs.
The transferred HART parameters are not used if an error occurs in DR131 / DR132. The
previous values remain in effect. The error is reported as channel-specific parameter
assignment error in diagnostic data record 1.
Each new parameter assignment with parameter data record 1 sets the HART parameters
back to the "initial values".
249
4.5.7.2
Figure 4-25
250
Figure 4-26
251
Note
Please note the following points regarding diagnostic data:
If a HART channel error occurs, you can obtain further information by using SFC59 / SFB 52
to read the status in the HART response data record for the relevant client or the additional
diagnostic data record for the relevant channel.
See also
HART communication and information data records (Page 252)
4.5.7.3
Overview
The mapping of HART commands and HART responses to S7 data records is based on the
PROFIBUS Profile HART Version 1.0. You can find more information on the HART protocol
in the PROFIBUS DP HART Profile Application Guidelines.
You can obtain this documentation from the PNO (PROFIBUS Users Organization) on the
Internet at http://www.profibus.com.
Table 4- 27
Overview
Data record
number
Read/write
Size in bytes
Name
148
Read
13
DR information (directory record): This data record contains the record numbers
(index) of all HART data records and information on numbers and revisions.
149
Read
Optional HART functions (HART feature flags): This data record describes which
optional HART functions are supported and specifies the maximum data field length
of the request/response records.
80, 82
Write
240
HART request records to field devices: These records contain by channel (0 - 1) the
transfer data for the command from the client to the HART field device.
81, 83
Read
240
HART response records from field devices: These records contain by channel (0 - 1)
the transfer data for the reply from the HART field device to the client.
252
Client
Data record
Command
80
Response
81
Command
82
Response
83
After having written a command data record, the client must read the response data
record before it writes the next command data record.
The client can evaluate the "processing status" in the reply data record: if the "processing
state" indicates "successful" or "error," the data record contains current response data or
error bits respectively.
All data must be read, because the module can modify the data record if the initial read
operation returns a successful or faulty state.
The status component in the reply record (= HART status bytes) provides information on
whether and which errors have occurred.
253
HART commands are processed both in Transparent Message Format and in the Compact
Message Format, see technical specification for HART. The response data from the module,
however, is always provided in the transparent format.
**
Figure 4-27
SHC sequence
If a HART command is sent to the module with a set SHC bit, then this channel is reserved
for HART commands for 2 seconds. This means that no internal HART command (command
3) is sent to the transducer with this channel.
Each time a HART command with a set SHC bit is sent, the module once again reserves this
channel for another 2 seconds for the HART commands. If a HART command without a set
SHC bit is detected for this channel, or if no further command for this channel occurs within 2
seconds after the previous HART command, then command 3 is cyclically sent to the
transducer for reading the HART variables for the channel.
254
Notes on response
Always make sure that you are reading the current response data record.
If the processing state in the response data record indicates "successful" or "error," the
data record contains current response data or error messages respectively.
Figure 4-28
255
Bit no.
Meaning
Parameter check
Always 0
Reserved
4-7
Table 4- 29
HART protocol error in response byte 2 for the response from the field device to the
module (error code)
Error
Meaning
Unspecified error
0: Not specified
HMD error
0: Unspecified
1: Internal communication error
2: Parameter assignment error
3: HW error
4: Wait time expired
5: HART timer expired
Channel fault
0: Unspecified
1: Line error
2: Short circuit
3: Open line
4: Low current output
5: Parameter assignment error
Command error
256
4.5.7.4
Error
Meaning
Query error
HART protocol,
Bit 7=1
Bit 0: Reserved
Bit 1: Receive buffer overflow
Bit 2: Reserved
Bit 3: Checksum error
Bit 4: Frame error
Bit 5: Overflow error
Bit 6: Parity error
Bit 7: 1
Reply error
Query rejected
0: Unspecified
1: Short format not supported
2: SHC not supported
3: Impermissible command
4: No resources
257
STL
Explanation
A I 4.0
FP M 101.0
= M 104.0
m2: CALL SFC 58
REQ :=M104.0
Write request
IOID :=B#16#54
Address range ID
LADDR :=W#16#200
RECNUM :=B#16#50
RET_VAL :=MW93
BUSY :=M51.0
U M 51.0
SPB m2
BE
Table 4- 31
Byte
Comment (Hex)
00
Req_Control
(00 = Transparent Message Format.
40 = Transparent Message Format with SHC sequence)
05
82
Start character
(02 = Short Frame with command 0)
(82 = Long Frame with other commands)
98
CF
38
Address
(with command 0, the address is exactly 1 byte long and
has the value 0.)
84
F0
01
Command (CMD)
00
Length in bytes
10
98
A HART command can also be sent in Compact Message Format. In this case, the data that
is to be transferred via DB 80 is reduced to 4 bytes.
258
Byte
Comment (Hex)
20
Req_Control
(20 = Compact Message Format.
60 = Compact Message Format with SHC sequence)
05
01
Command (CMD)
00
Length in bytes
You can find out when the reply was received by cyclically reading record DS81 for HART
channel 0. The response is always supplied in Transparent Message Format.
Table 4- 33
STL
Explanation
Read request
IOID :=B#16#54
Address range ID
LADDR :=W#16#200
RECNUM :=B#16#51
Data record
RET_VAL :=MW100
BUSY :=M49.1
U M 49.1
SPB m3
BE
The program part U M 49.1 to SPB m3 is only required if reading is to occur synchronously.
As long as "0x03" is in byte 0 of DB81, the reply has not been received from the field device.
Once bit 2 = 1 in byte 0, positive response data are available from field devices, which you
can evaluate.
If the response data is invalid, see Tables "HART group error displays in response byte 1
(extended response control)" or "HART protocol error in response byte 2 in response from
the field device to the module (error code)" in this manual.
4.5.7.5
259
Figure 4-29
260
Figure 4-30
261
262
Certificates
A.1
Introduction
The EU special test certificates and EU certificates of conformity for the modules described
in this manual can be found on the Internet:
(http://support.automation.siemens.com/WW/view/en/37217116/134200)
Example
In the "Entry list" tab, select under filter settings:
Entry type: Certificates
Certificate Type: Certificates of conformity
Search item(s): 6ES7321-7RB00-0AB0
263
Certificates
A.1 Overview of diagnostic functions
264
Introduction
In this section you will find
standards and test values satisfied by modules of the S7-300 automation system and ET
200M.
test criteria according to which the S7-300/ET 200M Ex I/O modules were tested.
Safety notes
WARNING
Do not remove plug-in connectors during operation
Personal injury and property damage can occur.
In potentially explosive environments, there is a risk of personal injury or damage to
property if you disconnect any connectors while the S7-300/ET200M is in operation.
Always isolate the S7-300/ET 200 operated in such areas before you disconnect any
connectors.
WARNING
Explosion hazard
Components may no longer qualify for Class I, Div. 2 if they are replaced.
WARNING
Use permitted only in certain areas
The S7-300/ET 200M Ex I/O modules are only suitable for use in Class I, div. 2, Group A,
B, C, D, or in non-hazardous areas.
265
CE mark
The automation system S7-300/ET 200M satisfies the requirements and protection goals of
the following EC directives, and conforms with the harmonized European standards (EN) for
programmable logic controllers announced in the Official Journals of the European
Community:
2006/95/EC "Electrical Equipment Designed for Use within Certain Voltage Limits" (Lowvoltage Directive)
2004/108/EC "Electromagnetic Compatibility" (EMC Directive)
94/9/EC "Equipment and Protective Systems for Use in Potentially Explosive
Atmospheres" (Directive for Explosion Protection)
The EC Declarations of Conformity are available to the responsible authorities at:
Siemens Aktiengesellschaft
Bereich Automatisierungs- und Antriebstechnik
Industry Sector I IA AS R&D DH A
Postfach 1963
D-92209 Amberg, Germany
These files are also available for download on the Customer Support Internet pages, under
"Declaration of Conformity" on the Internet
(http://support.automation.siemens.com/WW/view/en/37217116/134200).
266
Io
Um
Co
Lo
Po
Ci
Li
267
WARNING
Installation Instructions according cULus
WARNING Explosion Hazard - Do not disconnect while circuit is live unless area is known
to be non-hazardous.
WARNING Explosion Hazard - Substitution of components may impair suitability for Class
I, Division 2 or Class I, Zone 2
This equipment is suitable for use in Class I, Division 2, Groups A, B, C or D; Class I, Zone
2, Group IIC, or non-hazardous locations only.
FM approval
ATEX approval
268
IEC 61131
The S7-300/ET 200M automation system meets the requirements and criteria of the IEC
61131-2 standard (programmable controllers, Part 2: Equipment Requirements and Tests).
Marine approval
Classification authorities:
ABS (American Bureau of Shipping)
BV (Bureau Veritas)
DNV (Det Norske Veritas)
GL (Germanischer Lloyd)
LRS (Lloyds Register of Shipping)
Class NK (Nippon Kaiji Kyokai)
Requirement for
Interference emission
Industry
EN 61000-6-4: 2007
Interference immunity
EN 61000-6-2: 2005
269
270
Technical support
You can contact technical support for all A&D products using the online
(http://www.siemens.com/automation/support-request) Support Request form.
Additional information on our technical support is available on the Internet
(http://www.siemens.com/automation/service).
Additional support
If you have any questions relating to the products described in this manual and cannot find
the answers in this documentation, please contact your Siemens partner at the appropriate
office or sales and service location.
The contact details for your partner are available on the Internet
(http://www.automation.siemens.com/partner/).
A guide to the technical documentation provided for the various SIMATIC products and
systems is available on the Internet (http://www.siemens.com/simatic-tech-doku-portal).
The online catalog and order system is available on the Internet
(http://www.siemens.com/automation/mall).
Training center
Siemens offers various courses to get you started with the S7-300 and the SIMATIC S7
automation system. Please contact your regional training center or the central training center
271
272
Glossary
AS
--> Automation system
Automation system
An automation system is a programmable logic controller which consists at least of one
CPU, various I/O modules, and operating and monitoring devices.
Backplane bus
The backplane bus is a serial data bus through which the modules communicate with one
another and through which they are supplied with the necessary voltage. The connection
between the modules is created by the bus connector.
The --> I/O bus is a component of the backplane bus.
Baud rate
The baud rate is the speed at which data is transferred. It indicates the number of bits
transferred per second (baud rate = bit rate).
With ET 200 baud rates of 9.6 kBaud up to 12 MBaud are possible.
Bus
Transmission path with two defined ends, shared by all interconnected nodes.
With ET 200 the bus is a two-wire line or a fiber-optic cable.
Bus user
Device which can send, receive and amplify signals via the bus, for example; DP
master, DP slave, RS485 Repeater, active star coupler.
CELENEC
European Committee for Electrical Standards
273
Glossary
CiR
CiR (Configuration in RUN) stands for system modification in RUN. System modification in
RUN by means of CiR allows the configuration of units of an active system with distributed
I/O. Process execution is interrupted for the duration of a brief, assignable period. The
process inputs retain their last value during this time period.
Client
A client can request a service from a --> server. A client can, for example, be a program, a
central module (CPU) or a station (e.g. PC). The client and server can exchange data via
PROFIBUS DP by means of master-slave process, for example. A separate transfer
channel can be assigned to each client to coordinate data exchange between several clients
and the server, for example.
Configuration
Assigning modules to subracks / slots and addresses. A distinction is made between actual
configuration (= actual inserted modules) and calculated configuration. You stipulate the
calculated configuration with the help of STEP 7, COM PROFIBUS. The operating system
can thus detect any incorrect assembly at startup.
CPU
Central processing unit = CPU of the S7 automation system with a control and arithmetic
unit, memory, operating system, and interface for programming device.
Diagnostic interrupt
Modules which support diagnostics interrupts report system errors detected to the central
CPU.
In SIMATIC S7/M7: With the detection or disappearance of an error (e.g. wire break), the
module triggers a diagnostics interrupt provided this interrupt is enabled. The --> CPU
interrupts the processing of the user program or low-priority classes and processes the
diagnostic interrupt module (OB82).
In SIMATIC S5: The diagnostic interrupt is reproduced within the device-related -->
diagnostics. It can detect errors, like for example, wire breaks, by means of the cyclic
querying of the diagnostics bit in the device-related diagnostics.
Diagnostics
The detection, localization, classification, visualization and further evaluation of errors,
disturbances and messages.
274
Glossary
Diagnostics offers monitoring functions that automatically run while the system is in
operation. This hence increases the availability of systems by reducing the installation and
down times.
Diagnostics buffer
The diagnostics buffer is a buffered memory area in the CPU in which diagnostics events
can be stored in the order of occurrence.
Distributed I/Os
Represent I/O units which are installed at distributed locations at a greater distance to the
CPU, instead of being implemented in the central rack. Examples:
ET 200M, ET 200B, ET 200C, ET 200U
DP/AS-I Link
S5-95U with PROFIBUS-DP slave interface
further DP slaves by Siemens or other manufacturers
The distributed I/Os are connected via --> PROFIBUS-DP with the --> DP master.
DP address
Each bus node must be assigned a unique DP address for PROFIBUS DP.
PC/PG or the ET 200 hand-helds have the DP address "0".
DP-Master and DP slaves have a DP address from the range 1 to 125.
DP master
A master that complies with the IEC 617841:2002 Ed1 CP 3/1 standard is known as a DP
master.
DP slave
A slave running on the PROFIBUS using the PROFIBUS DP protocol in accordance with IEC
DP standard
The DP standard is the bus protocol of the ET 200 distributed I/O system in accordance with
IEC 61784-1:2002 Ed1 CP 3/1.
Dynamic parameters
In contrast to static parameters, dynamic parameters of modules can be changed
dynamically by the user program.
275
Glossary
Electrically isolated
Electrically isolated I/O modules are isolated from the reference potentials of the control
and load circuit by means of optocoupler, relay contact or transformer circuits. I/O circuits
can be interconnected with a root circuit.
ET 200
The distributed I/O system ET 200 with PROFIBUS DP protocol is a bus system for
interconnecting distributed I/O with a CPU or for interconnecting adequate DP master.
ET 200 features high-speed reaction times as the system only transfers a low data volume
(bytes).
ET 200 is based on the standard EN 50170, Volume 2, --> PROFIBUS.
ET 200 works in accordance with the master slave principle. DP-Masters can, for example,
be the master connection IM 308-C or the CPU 315-2 DP.
DP slaves can be distributed I/Os ET 200B, ET 200C, ET 200M, ET 200U or DP slaves by
Siemens or other manufacturers.
Fault indication
The fault indication is one of the possible reactions of the operating system to a --> runtime
error. The other reaction possibilities are: Error reaction in the user program, STOP state
of the CPU or of IM 153-1.
Fault reaction
Reaction to a runtime error. The operating system can react in the following ways: Put the
programmable controller in the STOP state, call up a --> organization block, whereby the
user can program a reaction, or display an error.
Field
This can be an area of the plant outside the control room where measured values can be
obtained through communication or manipulated values can be sent to actuators.
Or part of a message, e.g. address field or command field, that is dedicated to a particular
function. The dimensions or other regulations for the interpretation of each field are part of
the protocol specification.
Field device
A transducer, that is located on the field and exchanges communication data with the
central system.
S7-300, ET 200M Ex I/O Modules
276
Glossary
FM
FM Approvals, American certification organization for products
FSK
Frequency Shift Keying Frequency shift keying
Ground
The conductive earth whose electrical potential can be set equal to zero at any point.
Ground potential may be different from zero in the area of grounding electrodes. The term
reference ground is frequently used to describe this situation.
One or more conductive parts that can have very good contact with the ground.
Chassis ground is the totality of all the interconnected passive parts of a piece of equipment
on which dangerous fault-voltage cannot occur.
Ground
The conductive earth whose electrical potential can be set equal to zero at any point.
Ground potential may be different from zero in the area of grounding electrodes. The term
reference ground is frequently used to describe this situation.
One or more conductive parts that can have very good contact with the ground.
Chassis ground is the totality of all the interconnected passive parts of a piece of equipment
on which dangerous fault-voltage cannot occur.
Ground
The conductive earth whose electrical potential can be set equal to zero at any point.
Ground potential may be different from zero in the area of grounding electrodes. The term
reference ground is frequently used to describe this situation.
One or more conductive parts that can have very good contact with the ground.
277
Glossary
Chassis ground is the totality of all the interconnected passive parts of a piece of equipment
on which dangerous fault-voltage cannot occur.
HART
Highway Addressable Remote Transducer. HART is a registered trademark of the --> HART
Communication Foundation.
HART commands
The HART field device works as a slave and is controlled by the master by means of HART
commands. The master sets the --> HART parameters or requests data in the form of -->
HART responses.
HART communication
Transmitting data between a master (e.g. HART analog module) and a slave (--> HART field
device) via the --> HART protocol.
HART hand-held
The HART hand-held includes the original parameter assignment tool by Fisher-Rosemount
Ltd. for --> HART field devices, which is directly linked to its connections. The --> HART
parameters are set using the HART hand-held.
HART interface
Part of a system with which a --> HART field device can be connected. The HART interface
represents the master for the field device. With reference to the system, the HART interface
however is a slave that can supply the system via various masters. A master represents, e.g.
278
Glossary
the --> HART parameter assignment tool. The programmable controller is itself a different
master.
HART parameter
The HART parameters call the configurable features of --> HART field devices, which can be
changed via the --> HART protocol. The setting takes place via a --> HART parameter
assignment tool.
HART protocol
The HART protocol is the industry standard for expanded communication with --> HART
field devices. It includes the --> HART commands and the --> HART responses.
HART responses
The HART field devices transmits data upon the request of the master. These data represent
measurement results, manipulated values or the values of HART parameters. A HART
response always includes a status information, the --> HART status byte.
HART signal
Analog signal on a current loop from 4 - 20 mA, where the aid of the --> FSK procedure, the
sinus waves for the --> HART protocol, 1200 Hz for the binary "1" and 2200 Hz for the binary
"0" can be modulated.
HCF
--A HART Communication Foundation
279
Glossary
I/O bus
Component of the --> S7-300 backplane bus in the --> programmable controller system,
optimized at the fast exchange of signals between the IM 153 and the signal modules. The
I/O bus is used to transfer process data, such as digital input signals of a signal module
and system data, such as the default parameter records of a signal module.
Interrupt
The operating system of the --> CPU recognizes 10 different priority classes that regulate the
editing of the user program. These priority classes include interrupts (e.g. hardware
interrupts). When an interrupt is triggered, the operating system automatically calls an
assigned OB in which the user can program the desired reaction.
KEMA
Certification office for products
Master class 1
--> Master that carries out the user data traffic and with which the configuration and
diagnostics of the distributed I/Os takes place.
Master class 2
--> Master for controlling / installing and configuration tasks, e.g. configuring and diagnostics
of the field devices that are connected to the distribution I/Os.
Masters
A master station which is in possession of the token can send data to other nodes and
request data from those (= active node.)
DP-Masters can, for example, be the master connection IM 308-C or the CPU 315-2 DP.
Measuring-point tag
Unique identifier for the measuring point, consisting of 8 characters. It is saved in the -->
HART field device and can be changed and read off via the --> HART command.
280
Glossary
modem
A modem (modulator / demodulator) is a device that converts binary digital signals into -->
FSK signals and vice-versa. A modem doesnt code data, it offers a conversion of the
physical form of the signals.
Module parameters
Module parameters are values using which the behavior of the module can be modified. We
distinguish between static and dynamic module parameters.
Monodrop
In a monodrop communication system a maximum of two devices are linked to the same
transmission path, e.g. channel of the HART analog module and --> HART field device. The -> HART protocol and the analog signal can be used simultaneously with this procedure. (By
contrast, a communication system with more than two devices has the multidrop feature)
Non-isolated
The reference potentials of non-isolated I/O modules and of the control and load circuit are
interconnected electrically.
OB
--> organization block
organization blocks
form the interface between the operating system of the S7-CPU and the user program. The
sequence of processing the user program is established in the organization blocks.
Primary variable
Variable for the master measured value of a HART analog input, for example, pressure. The
HART field devices also support the implementation of other measuring processes, for
example temperature measurements, and save the results to the second, third, or fourth
variable and so forth. With a HART analog output the primary variable includes the
manipulated variable.
281
Glossary
Process image
Special memory area of the automation system. At the start of the cyclic program the
signal states of the input modules are transferred to the process image of the inputs. At the
end of the cyclic program the process image of the outputs is transferred as a signal state to
the output modules.
Process interrupt
A hardware interrupt is triggered by interrupt-capable S7-300 modules due to a certain event
in the process. Process interrupts are reported to the central CPU. The assigned
organization block is then processed according to the priority of this interrupt.
In SIMATIC S7/M7: The range is defined by parameterization of an upper and a lower limit.
The module triggers a process interrupt if the process signal of an analog signal module
such as the temperature is out of this working range, provided limit value interrupts are
enabled. The CPU interrupts execution of the user program or of jobs of a lower priority
class in order to execute process interrupt OB 40.
In SIMATIC S5: The process interrupt is mapped within the device-specific diagnostics
function. You can identify errors such as violation of limits by means of cyclic polling of the
diagnostics bits in the device-specific diagnostics data.
PROFIBUS
PROcess FIeld BUS. This is an international process and fieldbus standard as defined in
IEC 61784-1:2002 Ed1 CP 3/1. Specifies the functional, electrical and mechanical
characteristics of a serial bit stream field bus system.
PROFIBUS is a bus system that connects PROFIBUS compatible automation systems and
field devices on a cell and field level.
PROFIBUS is available with the protocols DP (= Distributed Peripherals), FMS (= Fieldbus
Message Specification), PA (= Process Automation), or TF (= Technological Functions).
PTB
Physical Technical Federal Organization, Certification Office for Products
Reaction time
The reaction time is the average time that elapses between the changing of an input and the
associated changing of an output.
Reference potential
Reference potential for the evaluation / measuring of the voltages of participating circuits.
Runtime error
Error that occurs during the editing of the user program in the --> programmable controller
(also no in the process).
S7-300, ET 200M Ex I/O Modules
282
Glossary
Server
A server provides a service upon request. A server can, for example, be a program, a
module or a station (e.g. PC). The data exchange between the --> A client and server can,
for example, take place via PROFIBUS-DP in the --> master slave procedure.
SFC
--> system function
Signal module
Signal modules form the interface between the process and the automation system. There
are digital input and output modules as well as analog input and output modules.
Slave
A slave can only exchange data with the master upon request from the same.
SM
--> signal module
Static parameters
Unlike dynamic parameters, static parameters of modules cannot be changed by the user
program. You can only modify these parameters in STEP 7 or COM PROFIBUS.
Structure, central
In a centralized configuration, the process I/O devices and central module are located in the
same rack or in expansion units in the same or a neighboring cabinet.
Structure, distributed
The process I/O of a distributed configuration is not installed directly alongside with the CPU
in the same rack or in the same/adjacent cabinet. Distributed I/Os are installed at remote
locations and interconnected via communication bus system.
283
Glossary
Substitute value
Substitute values are values which are output by faulty signal output modules to the process,
or used to substitute a process value of a faulty signal input module in the user program. The
substitute values can be set by the user (for example, retain old values)
System diagnostics
System diagnostics is the detection, evaluation and the report of errors that occur within the
programmable controller. Examples for such errors are: Program errors or failure of
modules. System errors can be displayed with LED displays or in the STEP 7.
System function
A system function is a function integrated in the operating system of the --> CPU which upon
request can be called up in the STEP 7 user program.
Terminating resistor
power adaptation resistor connected to the bus cable. Always required at the end of cables
or segments.
The ET 200 bus connectors are equipped with switched terminating resistors.
Timeout
If an expected event does not occur within a specified time, this time is known as a "timeout".
In the --> HART protocol there is a timeout for the response of a slave to a message from the
master and for the pause after each transaction.
Transducer
Sensor, measuring transducer, actuator or final control element. A transducer can be
implemented by means of a smart device.
User data
User data is exchanged between a central module and signal module, function module and
communication modules via the process image or via direct access. User data could be:
digital and analog input/output signals from signal modules, control and status information
from function modules.
284
Index
"
"Intrinsic safety" terminals, 38
2
2-wire transducer
connecting, 126
Ranges of measurement, 161
4
4-wire transducer
connecting, 126
Measuring ranges, 186
Ranges of measurement, 161
A
ADU error,
Analog digital conversion, 129
analog input module
Conversion time, 128
Cycle time, 129
electrically isolated, 114
Parameterization, 130
Analog input module
Diagnostic data records, 143
Diagnostics, 135
Interrupt, 139
Operating state of the CPU, influence, 141
Range of values, 142
Supply voltage, influence, 141
Analog input, measurement range, 95
analog output module
electrically isolated, 127
Analog output module
Conversion time, 129
Cycle time, 130
Diagnostic data records, 143
Diagnostics, 135
Interrupt, 139
Operating state of the CPU, influence, 141
Parameterization, 130
Range of values, 142
B
Backplane bus, 19
Basic knowledge, required, 3
Bit, noise-prone, 96
Block diagram
SM 321; DI 4 x NAMUR,
SM 322; DO 4 x 15V/20 mA,
SM 322; DO 4 x 24V/10 mA,
C
cable bedding, 32
Cable routing in Ex systems, 30
Cables
Cable routing in the cable bedding, 32
Marking, 32
Overview of requirements, 33
selection, 34
285
Index
Shielding, 47
Types of cables, 35
Causes of error and remedies
SM 321; DI 4 x NAMUR,
SM 322; DO 4 x 15V/20mA,
SM 322; DO 4 x 24V/10mA,
SM 331; AI 2 x 0/4...20mA HART,
SM 331; AI 4 x 0/4...20mA,
SM 331; AI 8 x TC/4 x RTD,
SM 332; AO 4 x 0/4...20mA,
CE mark, 266
Certificates of conformity, 263
Changes since the previous edition of the manual, 3
Climatic, Ni 100, temperature range, 102
Climatic, temperature range, 101
compensation box, 124
Compensation box, 117
Compensation with thermocouples
external, 124
internal, 125
Configuration tool
HART, 180
IM 153-2, 181
IM 153-4, 181
Connect voltage transducer, 125
connecting
2-wire transducer, 126
4-wire transducer, 126
Ex I/O modules, 19
Line chamber, 20
Resistance thermometer, 121
Transducers, 114
Connecting
loads/actuators, 127
Thermocouple, 116
Voltage sensor, 125
Connecting actuators, 127
Connecting loads, 127
Connection system, 113
Conversion time
analog input module, 128
Analog output module, 129
CPU error,
C-tick mark, 4
Current output range, analog value representation, 112
Cycle time
analog input module, 129
Analog output module, 130
D
Data record format
E
Electrical isolation, 114
Electromagnetic compatibility (EMC), 44
EPROM error,
Equipment Shielding, 39
Equipotential bonding
additional, 29
General, 27
in a building, 28
Lightning protection, 47
Main equipotential bonding, 29
ET 200M
S7-300, ET 200M Ex I/O Modules
286
Index
Distribution, 46
Installation information for Ex I/O, 26
Ex area,
Ex I/O module
connecting, 19
Design of ET 200M with an example, 26
replacing, 20
S7-300 installation information, 23
Safety standards, 266
Ex installation
Zone 1, 53
Zone 2, 53
Ex lines
Shielding, 42
Ex partition, 19, 26
Ex systems
Guideline, 17
Wiring and cabling, 30
example
HART configuration, 182
Lightning/overvoltage protection for a gas
compressor station, 49
F
Field devices for HART, 177, 180, 214
FM approval, 268
Functional extra low voltage, safe, 18
Fuse blown,
G
Grounding
Inactive metal parts, 43
intrinsically safe circuits, 41
Guideline
Ex systems, 17
HART communication, 210, 253
H
Hardware interrupt
HART analog module, 190, 230
Hardware interrupt lost,
HART, 177
application, 180
Configuration tool, 180
Diagnostic messages, 225
Example of commands, 179
Example of parameters, 179
functions, 178
I
IEC 61131, 269
Incorrect parameters,
Installation
General information, 23
287
Index
Racks, spacing, 24
Zone 1, 53
Zone 2, 53
Installation of the HART analog module, 183
interference voltage, 42
Interrupts
Analog modules, 139
HART analog modules, 189, 230
SM 321; DI 4 x NAMUR,
SM 322; DO 4 x 15V/20mA,
SM 322; DO 4 x 24V/10mA,
Intrinsic safety, 38
Intrinsically safe electrical circuit
Cable routing requirements, 30
Grounding, 41
Intrinsically safe installation,
L
Lightning protection
Equipotential bonding, 47
Lightning Protection, 45
external, 46
internal, 47
Lightning strike, measures, 50
Line
Analog signals, 121, 127
Cable routing in the cable bedding, 32
Characteristic value of intrinsically safe circuits, 38
Marking, 32
Overview of requirements, 33
selection, 34
Type designations, 36
Line chamber, 20
Line shielding, 40
Load current circuit, 19
Load voltage missing,
M
Maintaining equipment, 57
Manual
Changes, 3
Contents, 4
Purpose, 3
Marine approval, 269
Marking
Cables, 32
Line, 32
Marking for Australia, 268
Measured value resolution, 96
O
Operating state of the CPU, influence
Analog modules, 141
SM 321; DI 4 x NAMUR,
SM 322; DO 4 x 24V/10 mA,
Order number
6ES7331-7TB00-0AB0, 190
6ES7331-7TB10-0AB0, 231
6ES7332-5TB00-0AB0, 198
6ES7332-5TB10-0AB0, 238
all at a glance,
Order Number
6ES7321-7RD00-0AB0, 59
6ES7322-5RD00-0AB0, 85
6ES7322-5SD00-0AB0, 73
6ES7331-7RD00-0AB0, 158
6ES7331-7SF00-0AB0, 146
6ES7332-5RD00-0AB0, 166
Overvoltage Protection, 48
Example gas compressor station, 49
in intrinsically safe circuits, 48
P
parameter
Additional parameters for HART, data record
format, 216
SM 322; DO 4 x 15V/20mA,
SM 322; DO 4 x 24V/10mA,
SM 331; AI 4 x 4/0...20 mA,
288
Index
R
RAM error,
Range of values, influence on output, 142
Ranges of measurement
2-wire transducer, 161
4-wire transducer, 161
Analog input, 95
Resistance measurement, 150
Voltage measurement, 150
Recycling, 4
Reference channel fault,
Reference junction, 123
Replacing equipment, 57
Replacing Ex I/O modules, 20
Requirements
Cables, 33
Line, 33
terminals, 38
Resistance measurement SM 331; AI 8 x TC/4 x RTD,
Resistance sensor
Analog value representation, 99
Measurement, 121
Resistance thermometer, 121
Response time, analog output module, 130
S
S7 Ex analog modules, 17, 95
S7 Ex digital modules, 17, 59
289
Index
T
technical specifications
SM 321; DI 4 x NAMUR,
SM 322; DO 4 x 15V/20mA,
SM 331; AI 4 x 0/4...20 mA,
SM 331; AI 8 x TC/4 x RTD,
SM 332; AO 4 x 0/4...20 mA,
Technical specifications
SM 331; AI 2 x 0/4...20mA HART,
SM 332; AO 2 x 0/4...20mA HART,
SM 332; DO 4 x 24V/10 mA,
Temperature ranges, analog value representation
Climatic, 101
Climatic, Ni 100, 102
Encoder types, 103
Standard, 99
Standard Ni 100, 100
Thermocouple
Compensation at terminals, 119
Compensation box, 117
Compensation with RTD, 120
external compensation, 116, 120, 124
General information, 122
Internal compensation, 116, 121, 125
operating principle, 123
SM 331; AI 8 x TC/4 x RTD,
Wiring options, 116
Thread measure, minimum, 18
Time monitoring,
Training center, 271
Transducers
connecting, 114
insulated, 114
non-insulated, 115
Transient recovery time, analog output module, 130
Type designations
Lines, harmonized standards, 36
Telecommunication cables and lines, 37
Types of protection, 53
U
Use
combined, 19
In industry, 269
in residential areas, 269
S7 Ex modules, 17
User data
HART analog input, 218, 259
HART analog module, 205, 245
HART analog output, 219, 260
290
Index
V
Validity of the manual, 3
Voltage measurement
Measuring ranges, overview, 97
SM 331; AI 8 x TC/4 x RTD,
W
Watchdog,
Wire break,
Wire break check
SM 331; AI 2 x 0/4...20mA HART,
SM 332; AO 2 x 0/4...20mA HART,
Wire-break monitoring
SM 331; AI 4 x 0/4...20 mA,
SM 331; AI 8 x TC/4 x RTD,
SM 332; AO 4 x 0/4...20 mA,
Wiring
ET 200M, 26
S7-300, 24
Wiring diagram
SM 321; DI 4 x NAMUR,
SM 322; DO 4 x 15V/20 mA,
SM 322; DO 4 x 24V/10 mA,
SM 331; AI 2 x 0/4...20mA HART,
SM 331; AI 4 x 0/4...20 mA,
SM 331; AI 8 x TC/4 x RTD,
SM 332; AO 2 x 0/4...20mA HART,
SM 332; AO 4 x 0/4...20 mA,
291
Index
292