Preface
Product Overview 1
Commissioning and Diagnostics 2
General Technical Specifications 3
Digital Input Module 4
Digital Output Module 5
Diagnostic Data 6
Dimensioned Drawing 7
Glossary
Index
SIMATIC
Signal Modules for ProcessAutomation
Reference Manual
This manual is part of the documentationpackage with the order number:ET 200M Distributed I/O Device6ES7 153-1AA00-8BA0
Edition 05/2001A5E00085262-02
Copyright © Siemens AG 2001 All rights reserved
The reproduction, transmission or use of this document or itscontents is not permitted without express written authority.Offenders will be liable for damages. All rights, including rightscreated by patent grant or registration of a utility model or design,are reserved.
Siemens AGBereich Automatisierungs- und AntriebstechnikGeschaeftsgebiet Industrie-AutomatisierungssystemePostfach 4848, D- 90327 Nuernberg
Disclaimer of Liability
We have checked the contents of this manual for agreement withthe hardware and software described. Since deviations cannot beprecluded entirely, we cannot guarantee full agreement. However,the data in this manual are reviewed regularly and any necessarycorrections included in subsequent editions. Suggestions forimprovement are welcomed.
©Siemens AG 2001Technical data subject to change.
Siemens Aktiengesellschaft A5E00085262-02
Safety Guidelines
This manual contains notices intended to ensure personal safety, as well as to protect the products and
connected equipment against damage. These notices are highlighted by the symbols shown below and
graded according to severity by the following texts:
!Dangerindicates that death, severe personal injury or substantial property damage will result if properprecautions are not taken.
! Warningindicates that death, severe personal injury or substantial property damage can result if properprecautions are not taken.
! Cautionindicates that minor personal injury can result if proper precautions are not taken.
Notedraws your attention to particularly important information on the product, handling the product, or to aparticular part of the documentation.
Qualified Personnel
Only qualified personnel should be allowed to install and work on this equipment. Qualified persons are
defined as persons who are authorized to commission, to ground and to tag circuits, equipment, and
systems in accordance with established safety practices and standards.
Correct Usage
Note the following:
! WarningThis device and its components may only be used for the applications described in the catalog or the
technical description, and only in connection with devices or components from other manufacturers
which have been approved or recommended by Siemens.
This product can only function correctly and safely if it is transported, stored, set up, and installedcorrectly, and operated and maintained as recommended.
Trademarks
SIMATIC®, SIMATIC HMI® and SIMATIC NET® are registered trademarks of SIEMENS AG.
Third parties using for their own purposes any other names in this document which refer to trademarks might
infringe upon the rights of the trademark owners.
Signal Modules for Process AutomationA5E00085262-02 iii
Preface
Purpose of the Manual
This manual helps you to use the signal modules for process automation. You willfind all the information you require on using the modules in the PCS 7 system.
Contents of the Manual
This manual is aimed at those who want to install and use the modules describedin an ET 200M and in the PCS 7 process control system.
Delivery PackageThis manual is part of the delivery package with the order number6ES7 153-1AA00-8BA0 The delivery consists of the following manuals, which havethe following contents:
Manual
ET 200M Distributed I/OSystem
Reference Manual
S7-300, M7-300Programmable Controllers,Module Specifications
Reference Manual
ET 200M Distributed I/ODevice,Signal Modules for ProcessAutomation
Mechanical configuration General technicalspecifications
Overview of usage in processautomation
Installation and wiring Power supply modules Parameter assignment withSIMATIC PDM
IM 153-x slave interfacemodule
Digital modules Digital input module
Analog modules Digital output module
RS 485 repeater
SIMATIC TOP connect
Electronic Manual
You will, of course, also find the manual in the SIMATIC Manual Collection (ordernumber 6ES7 998-8XC01-8YE0).
Preface
Signal Modules for Process Automationiv A5E00085262-02
Aids to Finding Information
To help you find specific information quickly, the manual contains the followingaids:
• A comprehensive list of contents followed by lists of all figures and tableswhich appear in the manual.
• A heading indicating the contents of each section is provided in the left-handcolumn on each page of each chapter.
• Following the rest of the chapters, you will find a glossary in which importanttechnical terms used in the manual are defined.
• At the end of the manual you will find a detailed index, which makes it easy foryou to find the information you are looking for.
Attributes for Technical Specifications
Some values in the technical specifications are specified with attributes.
These attributes of the values of the technical specifications have the followingmeanings:
Attribute Meaning
Minimum/maximum
A minimum/maximum value represents the limit or operatingvalue guaranteed by SIEMENS. This value must not beviolated during operation within other limits.
Typically The typical value applies under nominal conditions and at anambient temperature of 25 °C. The typical value can beviolated on account of component tolerances.
Approx. The "approx." value is a value that has been rounded up ordown (the weight of a module, for example).
Without attribute Values without an attribute are rated values, not values subjectto tolerance.
Feedback on the DocumentationIn order to be able to offer you and future users the best possible documentation,we would like to ask you to give us some help here. If you have any commentsabout this manual, please fill in the form at the end of the manual and return it tothe address specified there. Please also give your own assessment of the manualthere.
Preface
Signal Modules for Process AutomationA5E00085262-02 v
SIMATIC Training CenterWe offer a range of courses to help get you started with the SIMATIC S7programmable controller. Please contact your local training center or the centraltraining center in Nuremberg, D-90327 Germany.Phone: +49 (911) 895-3200.
Customer Support, Technical SupportAt your service all over the world at any time of the day:
JohnsonCity
Nuremberg
Singapore
SIMATICHotline
Worldwide (Nuremberg)Technical Support
Worldwide (Nuremberg)Technical Support
(FreeContact)
Local time: Mon-Fri 7:00 to 17:00
Phone: +49 (180) 5050 222
Fax: +49 (180) 5050 223
E-mail: [email protected]
GMT: +1:00
(charged service, only possible withSIMATIC Card)Local time: Mon-Fri 0:00 to 24:00
Phone: +49 (911) 895-7777
Fax: +49 (911) 895-7001GMT: +01:00
Europe / Africa (Nuremberg)Authorization
America (Johnson City)Technical Support andAuthorization
Asia / Australia (Singapore)
Technical Support andAuthorization
Local time: Mon-Fri 7:00 to 17:00
Phone: +49 (911) 895-7200
Fax: +49 (911) 895-7201
E-mail: [email protected]
GMT: +1:00
Local time: Mon-Fri 8:00 to 19:00
Phone: +1 423 461-2522
Fax: +1 423 461-2289
E-mail: [email protected]
GMT: -5:00
Local time: Mon-Fri 8:30 to 17:30
Phone: +65 740-7000
Fax: +65 740-7001
E-mail: [email protected]
GMT: +8:00
The languages of the SIMATIC hotlines are generally German and English: on the authorization hotline, French, Italianand Spanish are also spoken.
Preface
Signal Modules for Process Automationvi A5E00085262-02
SIMATIC Customer Support Online ServicesSIMATIC Customer Support offers you a comprehensive range of additionalinformation on the SIMATIC products by means of its online services:
• You can obtain general, up-to-date information:
- On the Internet at http://www.ad.siemens.de/simatic
• Current production information documents and downloads that can be usefulwhen using our products:
- On the Internet at http://www.ad.siemens.de/simatic-cs
- Via the bulletin board system (BBS) in Nuremberg (SIMATIC CustomerSupport Mailbox) on +49 (911) 895-7100.
To access the mailbox, use a modem with up to V.34 (28.8kbps), and set theparameters as follows: 8, N, 1, ANSI. Alternatively, access it using ISDN (x.75,64 kbps).
• You will find a local contact for Automation & in our contact database:
- On the Internet at http://www3.ad.siemens.de/partner/search.asp
&RQWHQWV
Signal Modules for Process AutomationA5E00085262-02 vii
&RQWHQWV
3URGXFW2YHUYLHZ
&RPPLVVLRQLQJDQG'LDJQRVWLFV
2.1 Basis on Which Configuration Takes Place ......................................................2-12.2 Configuration .....................................................................................................2-42.3 Parameter Assignment......................................................................................2-62.4 Changing the Parameter Assignment of the Process Control Modules
During Operation ...............................................................................................2-72.5 Diagnostics by Means of the Process Input Image...........................................2-8
*HQHUDO7HFKQLFDO6SHFLILFDWLRQV
'LJLWDO,QSXW0RGXOH
4.1 SM 321; DI 16xNAMUR (6ES7 321-7TH00-0AB0) ...........................................4-14.2 Parameters of the Digital Input Module.............................................................4-64.3 Parameter Descriptions.....................................................................................4-84.3.1 Flutter monitoring...............................................................................................4-84.3.2 Pulse lengthening............................................................................................4-104.3.3 Identification Data............................................................................................4-114.4 Sensor .............................................................................................................4-124.4.1 Connection Rules for Sensors.........................................................................4-124.4.2 Diagnosis Dependent on Sensor.....................................................................4-174.4.3 Terminal Assignment Diagrams ......................................................................4-184.5 Diagnostics of the Digital Input Module...........................................................4-224.5.1 DP Diagnostics/Module Diagnostics ...............................................................4-224.5.2 Diagnosis with a Sensor of the Changeover Contact Type ............................4-24
'LJLWDO2XWSXW0RGXOH
5.1 SM 322; DO 16xDC24V/0,5A (6ES7 322-8BH00-0AB0) ..................................5-15.2 Parameters of the Digital Output Module ..........................................................5-55.3 Diagnostics of the Digital Output Module ..........................................................5-7
'LDJQRVWLF'DWD
'LPHQVLRQHG'UDZLQJ
*ORVVDU\
,QGH[
&RQWHQWV
Signal Modules for Process Automationviii A5E00085262-02
)LJXUHV
1-1 Integration in the Process Control System........................................................1-32-1 Basis on Which Configuration Takes Place ......................................................2-12-2 Digital Input and Value Status Assignment .......................................................2-94-1 Module View and Block Diagram of the SM 321; DI 16 x NAMUR ...................4-24-2 Principle Behind Flutter Monitoring ...................................................................4-94-3 Principle Behind Pulse Lengthening................................................................4-104-4 Connections and Characteristic Quantities of a BERO...................................4-134-5 Connection Example for NAMUR Sensor .......................................................4-184-6 Connection Example for NAMUR Sensor as Changeover Contact ................4-194-7 Connection Example for 10 kΩ/47 kΩ One-Way Contact ...............................4-204-8 Connection Example for 10 kΩ/47 kΩ Changeover Contact...........................4-204-9 Connection Example for One-Way Contact Unconnected..............................4-214-10 Connection Example for Changeover Contact Unconnected .........................4-215-1 Module View and Block Diagram of the SM 322; DO 16xDC24V/0,5A ............5-26-1 Diagnostic Data Record 0 (Bytes 0 to 3)...........................................................6-26-2 Diagnostic Data Record 1 (as of Byte 4) of the Digital Input Module................6-36-3 Diagnostic Data Record 1 (as of Byte 4) of the Digital Output Module .............6-47-1 Dimensioned Drawing of the Signal Modules ...................................................7-1
7DEOHV
4-1 Parameters of the Digital Input Module........................................................4-64-2 Identification Data of the Digital Input Module .............................................4-74-3 Identification Data.......................................................................................4-114-4 Peformance Factors for BEROs and Sensors ...........................................4-144-5 Rules on the Sensor Load..........................................................................4-154-6 Sensor Load Example ................................................................................4-164-7 Diagnosis Dependent on Sensor ...............................................................4-174-8 Diagnostic Message of the Digital Input Module, Causes of Errors and
What to Do .................................................................................................4-225-1 Parameters of the Digital Output Module .....................................................5-55-2 Identification Data of the Digital Output Module...........................................5-65-3 Diagnostic Messages of the Digital Output Module, Causes of Errors
and What to Do ............................................................................................5-7
Signal Modules for Process AutomationA5E00085262-02 1-1
Product Overview 1Introduction
Signal modules for process automation are part of the S7-300 I/O module range,which offers functions in addition to those of “standard“ I/O modules:
• Process-related functions
– Pulse lengthening
– Flutter monitoring
• Enhanced diagnostics
• Provision of identification data
You can make full use of these additional functions in an ET 200M, which is usedin the PCS 7 process control system.
It is not possible to use the modules described in this manual in an S7-300(centralized configuration).
Declaration
The “signal modules for process automation“ are referred to below as “processcontrol modules“.
Product Overview
Signal Modules for Process Automation1-2 A5E00085262-02
Hardware Requirements
You will require the IM 153-2 as of the following version as a DP slave interface:
• IM 153-2 as of 6ES7 153-2AA02-0XB0, Version 07
• IM 153-2 FO as of 6ES7 153-2AB01-0XB0, Version 06
Software Requirements
You will require the following to configure and parameterize the process controlmodules:
• STEP 7 as of V 5.1 SP1 and SIMATIC PDM as of V 5.1
• PCS 7 as of V 5.1 and SIMATIC PDM as of V 5.1
• COM PROFIBUS as of V 3.0 and SIMATIC PDM as of V 5.1
• For use in non-Siemens systems: configuration software for the DP master andSIMATIC PDM as of V 5.1
Product Overview
Signal Modules for Process AutomationA5E00085262-02 1-3
Integration in Process Control System
PCS 7 is a powerful process control system. With PCS 7 and the process controlmodules, the ET 200M has a direction connection to the process control system.This is also evident from the following:
• Parameterization of the process control modules with SIMATIC PDM (add-onpackage for STEP 7)
• The evaluation and continued processing of the input/output signals is executedusing PCS 7 driver blocks in the DP master CPU.
Configuration withSTEP7
Parameter assignmentwith SIMATIC PDM
Operation and monitoringwith WinCC
Industrial Ethernet
S7-400
PROFIBUS DP
PCS7 ES
PCS7 OS
PCS 7 components
Upper level
Lowest level:actuators, sensors,
field devices
ET 200M
Process control modules
PC
PC
Figure 1-1 Integration in the Process Control System
Reference
You can find more detailed information on the PCS 7 process control system in thePCS 7documentation.
Signal Modules for Process AutomationA5E00085262-02 2-1
Commissioning and Diagnostics 22.1 Basis on Which Configuration Takes Place
Operating principle of configuration
Parameter assignmentwith SIMATIC PDM
Configuration with STEP 7
Operation and monitoringwith WinCC
Industrial Ethernet
PROFIBUS DP
PC
PCS7 OS
S7-400
Parameters (for net-work configuration,for example)
System visualization
CPU
(1) (2)
Cyclic data exchange:User data of theinputs/outputs andvalue status
!
(1) Acyclic data exchange:Parameters of theprocess control modulesInformation data of theprocess control modules
!
!
(3)
CFC
PCS7 driver
(3)
ET 200M
Process control modules
Acyclic data exchange:Configuration and busparameters for networkconfiguration (for example)Diagnostic interrupts(only with S7, DPV1)
!
!
(2)
Figure 2-1 Basis on Which Configuration Takes Place
Commissioning and Diagnostics
Signal Modules for Process Automation2-2 A5E00085262-02
Configuration
This step involves configuring and parameterizing the ET 200M using theprogramming device.
Configuration
You configure the ET 200M with STEP 7 / COM PROFIBUS or with appropriateconfiguration software. At configuration, you only set the basic features of the DPslave (the network parameters, for example).
Parameter Assignment
At parameterization, you set the parameters of the ET 200M and the insertedmodules:
• You parameterize the ET 200M and “standard“ I/O modules with STEP 7.
• You parameterize the process control modules with SIMATIC PDM.
Cyclic Data Transfer Via PROFIBUS DP
Cyclic data transfer takes place between the CPU (S7-400, for example) and theET 200M. The following data is transferred:
• The cyclic user data of the inputs and outputs, including the input value status
• The diagnostic interrupts
This data is prepared in the CPU by the PCS 7 driver and the CFC (ContinuousFunction Chart) for system visualization. This data is then presented on the OS bymeans of WINCC.
The parameters (for network configuration, for example) are also transferredcyclically.
Acyclic Data Transfer Via PROFIBUS DP
Acyclic data transfer takes place between the process control modules of the ET200M and the programming device/PC (SIMATIC PDM). The process controlmodules of the ET 200M are parameterized by means of this acyclic data transfer.Information data is also transferred and displayed in SIMATIC PDM .
• Diagnoses and interrupts
• Data sets (only with S7)
Commissioning and Diagnostics
Signal Modules for Process AutomationA5E00085262-02 2-3
Software Requirements
Configuration SoftwareUsed
Version Notes
STEP 7 and SIMATIC PDM(SIMATIC PDM isembedded in STEP 7HWCONFIG and availableas an add-on package.)
or
PCS 7 (contains amongstothers STEP 7)
STEP 7 as ofVersion 5.1 SP1 SIMATIC PDMas of Version 5.1
PCS 7 as ofVersion 5.1
• Configuration with STEP 7. TheET 200M (IM 153-2* and all themodules that can be used) iscontained in the hardware catalog.
• The SIMATIC PDM is automaticallystarted in HWCONFIG forparameterization.
STEP 7 and SIMATIC PDM(SIMATIC PDM isautonomous and availableas a stand-alone version)
STEP 7 as ofVersion 5.1 SP1 SIMATIC PDMas of Version 5.1
• You require the DDB file for theET 200M (IM 153-2*), and you carryout configuration with STEP 7.
• Parameter assignment withSIMATIC PDM
COM PROFIBUS withSIMATIC PDM (SIMATICPDM is autonomous andavailable as a stand-aloneversion)
COMPROFIBUS asof Version 3.0 SIMATIC PDMas of Version 5.1
• You require the DDB file for theET 200M (IM 153-2*), and you carryout configuration with COMPROFIBUS.
• Parameter assignment withSIMATIC PDM
Other configuration softwareand SIMATIC PDM(SIMATIC PDM isautonomous and availableas a stand-alone version)
Configurationsoftware (seemanufacturer) SIMATIC PDMas of Version 5.1
• You require the DDB file, and youcarry out configuration withappropriate configuration software.
• Parameter assignment withSIMATIC PDM
* IM 153-2 ab 6ES7 153-2AA02; E07 and IM 153-2 FO as of 6ES7 153-2AB01;E06
Commissioning and Diagnostics
Signal Modules for Process Automation2-4 A5E00085262-02
2.2 Configuration
Configuration
The table below describes the most important configuration steps:
STEP7 as of Version 5.1 SP1
or
PCS 7 as of Version 5.1
STEP7 as of Version5.1
COM PROFIBUS as of Version3.0/other configuration
software
IM 153-2 as of 6ES7 153-2AA02-0XB0, Version 07
IM 153-2 FO as of 6ES7 2AB01-0XB0, Version 06
Features
• The ET 200M (IM 153-2) iscontained in the STEP 7hardware catalog
• Diagnostic interrupts andtime stamping aresupported
• The ET 200M is integratedas an S7 DP slave
• You require the DDB file of the IM 153-2
• The ET 200M is integrated as a DP standard slave
How toproceed
1. Start SIMATIC Manager.
2. Configure the ET 200M withHWCONFIG.
– Create a new project.
– Drag the modules fromthe hardware catalog tothe configuration table.
3. Save the configuration anddownload it to the DPmaster.
1. Start SIMATICManager.
2. Integrate the DDBfile in HWCONFIG.
3. Configure the ET200M withHWCONFIG.
– Create a newproject.
– Drag themodules from thehardware catalogto theconfigurationtable.
4. Save theconfiguration anddownload it to theDP master.
1. Start COMPROFIBUS/configurationsoftware.
2. Integrate the DDB file in COMPROFIBUS /yourconfiguration software.
3. Configure the ET 200M withCOM PROFIBUS /yourconfiguration software.
4. Save the configuration anddownload it to the DP master.
Reference
You can find additional information on configuration in the STEP 7 / COMPROFIBUS online help system.
Commissioning and Diagnostics
Signal Modules for Process AutomationA5E00085262-02 2-5
DDB File in STEP 7/COM PROFIBUS
The table below describes how to integrate the DDB file in SIMATIC S7 orSIMATIC S5 (COM PROFIBUS).
STEP7 COM PROFIBUS, as of V 3.0
1. Start STEP 7 and select the menucommand Extras / Install New DDB File inthe hardware configurationf.
1. Copy the DDB file from ET 200M (IM 153-2) in the COM PROFIBUS directory:...COMPB3\GSD (default)Copy the Bitmap file in thedirectory:...COMPB3\BITMAPS
2. Select the DDB file to be installed in thefollowing dialog box and confirm with OK.Result: The field device is displayed in thehardware catalog in the PROFIBUS-DPdirectory.
2. Start COM PROFIBUS and select themenu command File / Download DDB File.Result: The ET 200M (IM 153-2) isdisplayed in the hardware catalog duringslave configuration
Downloading the DDB File
You can download the DDB file for the ET 200M (IM 153-2) from the following
• On the Internet at http//www.ad.siemens.de/csi_e/gsd
• Via modem on +49 (911) 73 79 72
Commissioning and Diagnostics
Signal Modules for Process Automation2-6 A5E00085262-02
2.3 Parameter Assignment
Parameter Assignment
The following table describes the most important steps in the parameterization ofthe process control modules:
STEP 7 (as of Version 5.1 SP1) with theSIMATIC PDM add-on package (as of
Version 5.1) or PCS 7 as of Version 5.1
SIMATIC PDM as of Version 5.1
IM 153-2 as of 6ES7 153-2AA02-0XB0, Version 07
IM 153-2 FO as of 6ES7 153-2AB01-0XB0, Version 06
Features • You parameterize the process control modules in the ET 200M.
Requirements
SIMATIC PDM is already installed on theprogramming device/PC or PCS 7 ES.
SIMATIC PDM must be a stand-alone version
How toproceed
1. You are still in HWCONFIG. Double-click the first process control module inthe configuration table.Result:SIMATIC PDM is started.
2. Assign the parameters of the processcontrol module with SIMATIC PDM.
3. In HWCONFIG, double-click the nextprocess control module in theconfiguration table.
4. Parameterize the process controlmodule with SIMATIC PDM.
5. Repeat steps 3 and 4 until you haveparameterized all the process controlmodules.
6. Save the parameters or, if you areonline, download the parameters to theprocess control modules.
1. Start SIMATIC PDM.
2. Configure a point-to-point connection tothe ET 200M.
3. Parameterize all the process controlmodules of the ET 200M with SIMATICPDM.
4. Save the parameters or, if you are online,download the parameters to the ET 200M.
Note
You parameterize the IM 153-2 and the “standard“ modules in the usual way inSTEP 7 HWCONFIG.
Reference:
You can find additional information on parameter assignment in the SIMATIC PDMdocumentation.
Commissioning and Diagnostics
Signal Modules for Process AutomationA5E00085262-02 2-7
2.4 Changing the Parameter Assignment of the Process ControlModules During Operation
Changing the Parameter Assignment
The following table describes the most important steps when changing theparameter assignment of the process control modules:
STEP 7 (as of Version 5.1 SP1) with theSIMATIC PDM add-on package (as of
Version 5.1) or PCS7 as of Version 5.1
SIMATIC PDM as of Version 5.1
Features • You can reparameterize the process control modules during operation.
Requirements
SIMATIC PDM is already integrated onthe programming device/PC or PCS 7 ES.
SIMATIC PDM must be a stand-alone version
Procedure 1. Start STEP 7 SIMATIC Manager
2. Open the project in which youconfigured the ET 200M.
3. Double-click the process controlmodule in HWCONFIG in theconfiguration table you want toreparameterizeResult:SIMATIC PDM is started.
4. Download the parameters/identificationdata of the process control module tothe programming device/PC.
5. Change the parameters/identificationdata.
6. Download the parameters/identificationdata to the process control module.
7. Check: Download theparameters/identification data of theprocess control module again to theprogramming device/PC and check thereparameterization.
1. Start SIMATIC PDM.
2. Configure a point-to-point connection tothe ET 200M.
3. Download the parameters/identificationdata of the process control module to theprogramming device/PC.
4. Change the parameters/identificationdata.
5. Download the parameters/identificationdata to the process control module.
6. Check: Download theparameters/identification data of theprocess control module again to theprogramming device/PC and check thereparameterization.
Reference
You can find additional information on parameter assignment in the SIMATIC PDMdocumentation.
Commissioning and Diagnostics
Signal Modules for Process Automation2-8 A5E00085262-02
2.5 Diagnostics by Means of the Process Input Image
Introduction
In addition to the diagnostic messages by means of LED and module/DPdiagnostics, the module also provides additional information on the validity of eachinput signal – the value status. The value status is stored in the process image likethe input signal.
Value status
The value status is additional binary information on a digital input signal. The valuestatus is entered at the same time as the process signal in the process input imageand provides information on the validity of the input signal. The value status isinfluenced by
• Wire break check
• Flutter monitoring
• Pulse lengthening
• Diagnostics for the changeover contact type of sensor
Meaning of the value status:
• “1“: Signal is valid
• “0“: Signal is invalid
Commissioning and Diagnostics
Signal Modules for Process AutomationA5E00085262-02 2-9
Digital Input and Value Status Assignment
In the process image, each input in the input word IW x of the module is assigned avalue status in the subsequent IW x+1.
Channel 1 input signal
Meaning of value status: 1: signal valid0: signal invalid
Channel 0 input signal
EW x
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EW x+1
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Value status for channel 1
Value status for channel 0
Channel 15 input signal
Value status for channel 15
Figure 2-2 Digital Input and Value Status Assignment
Evaluation of the Value Status in PCS 7
The value status is evaluated in your CFC program with block FC 277 “CH_DI:Digital Input“. This module undertakes the processing of the digital input value ofS7-300-Digital input modules.
How the value status gets into the block:
1. Link the symbol created with STEP 7 in the symbol table for the digital inputchannel with the VALUE input parameter.
2. Link the status symbol of the value of the digital input channel with theVALUE_QC input parameter
3. Set the PQC = TRUE input parameter
If you use the driver wizard in PCS 7 (as of V 5.1), steps 2 and 3 are executedautomatically by PCS 7.
A Detailed Description
You can find a detailed description of the block and how the input signals areprocessed in the PCS7 documentation.
Signal Modules for Process AutomationA5E00085262-02 3-1
General Technical Specifications 3Overview
The following general technical specifications correspond to those of the S7-300modules:
• Standards, certificates and approvals
• Electromagnetic compatibility
• Transport and storage conditions
• Mechanical and climatic environmental conditions
• Information on insulation testing, safety class and degree of protection
• Rated voltages
... correspond to those of the S7-300 modules.
Further Reading
You can also refer to the S7-300, M7-300 Programmable Controllers; ModuleSpecifications reference manual.
Signal Modules for Process AutomationA5E00085262-02 4-1
Digital Input Module 44.1 SM 321; DI 16xNAMUR (6ES7 321-7TH00-0AB0)
Order Number
6ES7 321-7TH00-0AB0
Features
The SM 321; DI 16xNAMUR has the following features:
• 16 inputs
• Connection of a wide variety of sensor types
– NAMUR sensor on the basis of NAMUR worksheet NA 01
• Process control functions
– Pulse lengthening
– Flutter monitoring
• Value status
• Identification Data
• Input nominal voltage DC 24 V
Inrush current
The SM 321; DI 16xNAMUR has an inrush current of 4 A.
We recommend you power the digital input module with its own power supply. Sothat you can make sure that no neighboring modules will be affected when thedigital input module is turned on.
Digital Input Module
Signal Modules for Process Automation4-2 A5E00085262-02
Terminal Assignment and Block Diagram
In the figure, NAMUR sensors are connected to the inputs as an example. You canfind out how to connect the other possible sensors in the section on sensors.
Channelnumber
Status displays – greenError displays – red
SFF0
F1
1
F22
F3
31V
F4
4
F5
5
F6
6
F7
7
F12
12
F13
13
F14
14
F15
15 M
L+
2VS1
2VS2
1M
2M
2P8.2
2P18
1M
MUX MUX
2V1V
0F8
F9
9
F1010
F11
112V
9
1VS1
1VS2 1P8.2
1P18
Ba
ckp
lan
eb
us
inte
rfa
ce
mo
du
le
2M
1P18
1P8.2
1M
2P18
2P8.2
2M
Figure 4-1 Module View and Block Diagram of the SM 321; DI 16 x NAMUR
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-3
Technical Specifications
Technical Specifications
Dimensions and Weight
Dimensions W x H x D (mm) 40 x 125 x 120
Weight Approx. 200 g
Data for Specific Module
Number of inputs 16
Occupied address area
• In the process-image input table 4 bytes
Line length
• Unshielded Not permitted
• Shielded Max. 200 m with 8,2 V sensorMax. 400 m with 18 V sensor
Voltages, Currents, Potentials
Rated load voltage L+ 24 VDC
• Reverse polarity protection Yes
Number of inputs that can be addressedsimultaneously
• Horizontal configurationup to 60°C
16
• Vertical configurationup to 40°C
16
Isolation
• Between channels and backplane bus Yes
• Between the channelsIn groups of
Yes8
• Between power supply and sensorpower supply
Yes
Permissible potential difference
• Between the different circuits 75 VDC,60 VAC
Insulation tested with 600 VDC
Current consumption
• From the backplane bus Max. 100 mA
• From the load voltage L+ (no load) typ. 100 mA
Power dissipation of the module typ. 11 W
Status, Interrupts, Diagnostics
Status displays
• Inputs Green LED per channel
• Sensor power supplies (Vs) Green LED per output (Vs)
Digital Input Module
Signal Modules for Process Automation4-4 A5E00085262-02
Technical Specifications
Interrupts
• Diagnostic Interrupt Parameters can be assigned
Diagnostic functions Parameters can be assigned
• Group error display Red LED (SF)
• Channel error display Red LED per channel (F)
• Diagnostic information readable Possible
Sensor Power Supply Outputs
Number of outputs 4
Output voltage
• Loaded 1VS1: 18 V1VS2: 8,2 V2VS1: 18 V2VS2: 8,2 V
Output current
• Rated value At 18 V: 220 mAAt 8,2 V: 60 mA
• Permitted range
Up to 60 °C At 18 V: 0 bis 110 mAAt 8,2 V: 0 to 60 mA
Up to 40 °C At 18 V: 0 to 220 mAAt 8,2 V: 0 to 60 mA
Additional (redundant) supply Not permitted
Short-circuit protection yes, electronic
Data for Selecting a Sensor
Input voltage
• Rated value 18 V8,2 V
Input current for NAMUR sensor
• At signal “1“ 2.1 to 7 mA
• At signal “0“ 0.35 to 1.2 mA
Input current for 0 kΩ/47 kΩ connectedcontact
• At signal “1“ typ. 10 mA
• At signal “0“ 0.35 to 1.2 mA
Input current for unconnected contact and 3-and 4-wire BEROs
• At signal “1“ typ. 10 mA
• Permitted bias current 0.5 mA
Input delay
• At “0“ to “1“ 2.5 to 3.5 ms
• At “1“ to “0“ 2.5 to 3.5 ms
Input characteristic curve To IEC 1131, type 2
Connection of 2-wire BERO Possible in accordance with NAMUR
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-5
Technical Specifications
Time/frequency
Internal processing time for
• Interrupt and diagnostics processing max. 2 ms (at default setting)
Input delay
• Tolerated switchover time forchangeover diagnostics
300 ms
Digital Input Module
Signal Modules for Process Automation4-6 A5E00085262-02
4.2 Parameters of the Digital Input Module
Overview
The following tables contain:
• all parameters and
• The identification data of the digital input module
Parameter
You set the parameters for each channel in PDM. Entering the sensor type affectsthe channel group. This means that if, for example, you set a “NAMUR sensor“ forchannel 0, PDM then automatically also sets a “NAMUR sensor“ for channel 1, etc.
Table 4-1 Parameters of the Digital Input Module
Parameter Range of Values DefaultSetting
Applicability
Diagnosis
• Enabling: Diagnosticinterrupt
Yes/no No Module
Channel x
Sensor type Channel deactivatedOne-way contact: NAMUR sensorOne-way contact: unconnectedOne-way contact: 10 kΩOne-way contact: 47 kΩChangeover contact: NAMUR sensorChangeover contact: unconnectedChangeover contact: 10 kΩChangeover contact: 47 kΩ
NAMURsensor
Channel group
Group diagnosis Yes/no Yes Channel
Pulse lengthening None; 0,5 s; 1 s; 2 s No Channel
Input signal Contact closed = “HIGH“Contact closed =“LOW“
Contactclosed =“HIGH“
Flutter monitoring Yes/no No Channel
• Monitoring window 0,5 s; 1 s to 100s (can be set in 1 sincrements)
2 s
• Number of signal changes From 2 to 31 5
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-7
Group Diagnosis and Value Status
If you deactivate the group diagnosis for a channel, a channel error will not beindicated by the channel error LED and there will be no diagnostic entry. A channelerror will, however, be displayed in the value status.
Identification Data
Table 4-2 Identification Data of the Digital Input Module
Identification Data Range of Values Default Setting Applicability
Device
Manufacturer Read SIEMENS AG Module
Device identification Read 6ES7 321-7TH00-0AB0
Module
Device serial number Read Module
Hardware revision Read Module
Software revision Read
Depends on theversion
Module
Static revision no. Read --- Module
Installation date Read/write (max. 16 characters) --- Module
Operating unit
TAG Read/write (max. 32 characters) --- Module
Description Read/write (max. 32 characters) --- Module
Reference
You can find detailed information on the parameters for pulse lengthening, fluttermonitoring and identification data in the following sections.
See also
Identification Data [→ Page 4-11]
Digital Input Module
Signal Modules for Process Automation4-8 A5E00085262-02
4.3 Parameter Descriptions
4.3.1 Flutter monitoring
Introduction
Flutter monitoring is a process control function for digital input signals. It detectsand reports any unusual signal patterns such as, for example, when an input signalfluctuates too often between “0“ and “1“. The occurrence of such signal patternsindicates that the sensor is faulty or unstable.
Enabling Flutter Monitoring
You enable flutter monitoring by means of the “Diagnosis: Flatter monitoring“ .
Tip: Also enable the diagnostic interrupt at parameter assignment so that, if thereis a flutter error, a diagnostic interrupt is also reported in addition to the diagnosticentry.
Detecting Unusual Signal Patterns
A parameterizable monitoring window is available for each input channel. Themonitoring window is started with the first change of the input signal. If the inputsignal changes more within the monitoring window than the parameterized numberof signal changes, this is recognized as a flutter error. If a flutter error is notdetected within the monitoring window, the monitoring window is started again atthe next signal change.
Reporting a Flutter Error
If a flutter error occurs, the current signal state is entered in the process image andthe value status of the signal is set to “invalid“. In addition, the “flutter error“ isentered as diagnostic information, and an incoming diagnostic interrupt istriggered.
You must evaluate and process the value status and the diagnostic information inthe user program.
Resetting a Flutter Error
If no further fluttering of the input signal is detected during the triple monitoringwindow, the diagnostic entry is removed and an outgoing diagnostic interrupt istriggered. The value status of the current signal in the process image is set to“valid“.
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-9
Principle
The following figure illustrates the principle behind flutter monitoring.
Parameter for number of signal changes = 9
Parameter for monitoring window t = x
Processsignal
Module diagnosisIncoming flutter error= report
3 x monitoring window t = 3x
Diagnosis
Module diagnosisOutgoing flutter error= reset
Detect
Figure 4-2 Principle Behind Flutter Monitoring
Reference
You can find out which settings you can make for flutter monitoring in theparameter table and in the SIMATIC PDM online help system.
Digital Input Module
Signal Modules for Process Automation4-10 A5E00085262-02
4.3.2 Pulse lengthening
Introduction
Pulse lengthening is a function for changing a digital input signal. A pulse at adigital input is extended to at least the parameterized length. The input signal willnot be changed if it is longer than the parameterized length.
Principle Behind Pulse Lengthening
The following figure illustrates with examples if and how input pulses are changed.
Pulse is longer than T1and is not changed
Parameter for pulse lengthening = T1
T for 0 1 edge1 ®
Process signal
Processedinput signal
Pulse is shorterthan T and is lengthened1to T1
Short pulses that occurduring pulse lengtheningare ignored.
Process signal
The second pulse, which occursduring pulse lengthening, isdelayed until completion of pulselengthening.
T for 1 0 edge1 ®
Processedinput signal
Figure 4-3 Principle Behind Pulse Lengthening
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-11
Note
If you parameterize pulse lengthening for an input channel, this also affects theflutter monitoring enabled for this channel. The “pulse-lengthened “ signal is theinput signal for flutter monitoring. Make sure therefore that the parameters for pulselengthening and flutter monitoring correspond to each other. By selecting theappropriate values for the parameters, you can customize the functions to suit yourprocess as well as possible.
Reference
You can find out which settings you can assign for pulse lengthening in theparameter table and in the SIMATIC PDM online help system.
4.3.3 Identification Data
Identification Data
Table 4-3 Identification Data
Identification Data Description
Manufacturer The name of the manufacturer is storedhere.
Device identification Order number of the module
Device serial number The serial number of the module is storedhere. This makes unique identification of themodule possible.
Hardware revision This indicates the module version. This isincremented when the version and/orfirmware version of the module is/areincremented.
Software revision This indicates the firmware version of themodule. If the firmware version isincremented, then the version (hardwareversion) of the module is incremented aswell.
Static revision no. This gives you information on parameterizedchanges on the module. After each change,the static revision number is incremented.
Installation date The date the module was installed. Enterthe date here. DD.MM.YYYY format
TAG Location of the module. Enter a uniqueidentification for the module here.
Description Free text stored in the module. You canenter additional information on theproperties of the module here.
Digital Input Module
Signal Modules for Process Automation4-12 A5E00085262-02
4.4 Sensor
4.4.1 Connection Rules for Sensors
Introduction
Because of the large number of sensors that can be connected to the digital inputmodule, you must take the sensor load into account at configuration. You will findin this chapter ...
• recommendations on how to connect sensors
• An overview of the sensor-specific load
• A rule for the evaluation of the sensor-specific load
• An example
Sensors Can Be “Combined “
You can connect a wide variety of sensors to the SM 321; DI 16xNAMUR , andthese can also be “combined“.
At parameter assignment, you can specify which sensors are to be connected towhich channel group. The same sensor type is assigned to the channels of achannel group.
Changeover contact
Changeover contacts always occupy two adjacent inputs (for example, 0 and 1 or 2and 3, etc.). Make sure you adhere to the following rule:
• Always connect the normally open contact to the “even“ channel,
• Normally closed contact is always connected to“odd“ channel.
2 Sensor Supplies: 18 V and 8,2 V
The SM 321; DI 16xNAMUR has two different sensor supply voltages. Thefollowing table shows you which sensor to attach to which sensor supply:
18 V 8.2 V
One-way contactt or BERO connected to 10kΩ/47 kΩ
NAMUR sensor or DIN 19234 sensor
Changeover contact or 4-wire BEROconnected to 10 k/Ω47 kΩ
NAMUR sensor changeover contact orsensor DIN 19234 as changeover contact
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-13
18 V 8.2 V
One-way contact or 3-wire BEROunconnected
Changeover contact or 4-wire BEROunconnected
Calculating the Performance Factor for the Use of a BERO
We show you below which criteria a BERO should fulfill and how to calculate theperformance factor in order to calculate the sensor load of the digital input module.
Technical Demands Made of the BERO
The following figure illustrates the connections of a BERO and the most importantcharacteristic quantities.
Electronic circuitry(e.g. magneticsensor technology)
(M1)21 (-)
(+)(1P18)10
BERO
Ic
DI16
DI16
T1
A
Ic
10K or 47KW W
DI162
Figure 4-4 Connections and Characteristic Quantities of a BERO
Selection criteria:
• Operating voltage range (BERO terminal (+) and terminal (-)): 15 V to min. 20 V
• Transistor T1 functions as a switch (on/off)
• Protective measures:
– Spurious switch-on pulse suppressed
– Output A short circuit-proof
– Reverse polarity protection
– Wire break protection
– Anti-inductive protection
– Radio telephony protection
• Load capacity (T1) = 150 mA (at TA≤ 85 °C)
Digital Input Module
Signal Modules for Process Automation4-14 A5E00085262-02
Performance Factors for BEROs from the “Low-Voltage Controlgear, Switchgearand Systems“ Catalog
You will find a value in the table below that you can use to calculate the sensorload easily if:
• You use sensors from the “Low-Voltage Controlgear, Switchgear and Systems“NSK catalog from SIEMENS
• IC = 17 mA
You calculate the performance factor as follows: LF = 0,281 + IC x 9,5 = 0,376
Table 4-4 Peformance Factors for BEROs and Sensors
Sensor Performance Factor
NAMUR sensors and sensors that complywith DIN 19234
0.099 x number of sensors
NAMUR sensor as changeover contact or .sensor as changeover contact that complywith DIN 19234
0.099 x number of sensors
One-way contact 10 kΩ/47 kΩ 0.281 x number of sensors
Changeover contact 10 kΩ/47 kΩ 0.281 x number of sensors
One-way contact unconnected 0.281 x number of sensors
3-wire BERO unconnected (0,281 + IC x 9,5) x number of sensors
Changeover contact unconnected 0.281 x number of sensors
4-wire BERO unconnected (0,281 + IC x 9,5) x number of sensors
Constant 1,9
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-15
Rules
The following table shows you which conditions you must adhere to. The sensorload on channels 0 to 7 should be approximately the same as the sensor load onchannels 8 to 15.Ensure when wiring the module that the load distribution is as symmetrical aspossible: The sensor load on channels 0 to 7 should be approximately the same asthe sensor load on channels 8 to 15.
Table 4-5 Rules on the Sensor Load
Operation of the Module with theDesired Sensor Connection Possible
at an Ambient Temperature of
Sum of sensorvalues
Channel 0 to 7 orChannel 8 to 15 Max. 60 °C Max. 40 °C
Note
3,7 Yes Yes -
> 3,7 No Yesif the sum is 5,0
Reduce the number of sensors until thesum is 3.7.
5,0 No Yes -
Digital Input Module
Signal Modules for Process Automation4-16 A5E00085262-02
Example
Using the following example of a module’s planned sensor connections, we showyou how the calculation is done.
Table 4-6 Sensor Load Example
Channel
Sensor PerformanceFactor
Evaluation
0 NAMUR sensor 0,099
1 NAMUR sensor 0,099
2
3
NAMUR sensor changeovercontact
0,099
4 One-way contact 10 kΩ 0,281
5 One-way contact unconnected 0,281
6 One-way contact unconnected 0,281
7 3-wire BERO unconnected 0.442*
Constant 1,9
Total: 3,482
Desired sensor connection possible forchannels 0 to 7
8 3-wire BERO unconnected 0.442*
9 3-wire BERO unconnected 0.442*
10 3-wire BERO unconnected 0.442*
11 3-wire BERO unconnected 0.442*
12 3-wire BERO unconnected 0.442*
13 3-wire BERO unconnected 0.442*
14 One-way contact unconnected 0,281
15 not occupied -
Constant 1,9
Total 4,833
Desired sensor connection possiblewhen the module is used up to amaximum of 40 °C
* LF = 0,281 + 17 mA x 9,5 = 0,442
Evaluation
You should not use the planned sensor connection above as follows:
• Can be used up to a maximum of 40 °C, but
• The sensor load is asymmetrical.
What to do:
• When you use the module up to a maximum of 40°C: Reassign the sensors tothe channels so that the sensor load is as symmetrical as possible.
• When you use the module up to a maximum of 60°C: Use an additional moduleto reduce the sensor load to under the specified factor of 3.5.
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-17
4.4.2 Diagnosis Dependent on Sensor
Diagnostic Options
The following table shows you which sensor supplies which diagnosis.
Table 4-7 Diagnosis Dependent on Sensor
Possible withDiagnosis
NAMUR-Compliant
Sensor
One-WayContact
Changeover
Contact
3-WireBERO
4-WireBERO
Interruption of the sensor line or sensorsupply line
X Ifconnected
Ifconnected
Ifconnected
Ifconnected
Break in the bridging resistance X Ifconnected
Ifconnected
Ifconnected
Ifconnected
Short circuit between sensor line(s) andsensor supply line
X - Changeover error atsignalchange
- Changeover error atsignalchange
Load voltage L+ of module missing X X X X X
Flutter of signal sensor X X X X X
Defective sensor (normally openchannel) = changeover contact error
Withchangeovercontact
- X - X
Reference
You can find a detailed description of the module diagnosis in the chapter "Diagnostic Data“
Digital Input Module
Signal Modules for Process Automation4-18 A5E00085262-02
4.4.3 Terminal Assignment Diagrams
Introduction
Below you can find an illustration of how to connect each parameterized sensortype.
Changeover contact
Changeover contacts always occupy two adjacent inputs (for example, 0 and 1 or 2and 3, etc.). Make sure you adhere to the following rule:
• Always connect the normally open contact to the “even“ channel,
• Normally closed contact is always connected to“odd“ channel.
NAMUR sensor or DIN 19234 sensor
As an alternative to the NAMUR sensor, you can also connect a sensor thatcomplies with DIN 19234.
3
11 = 1P8.2
Connection example for channel 0
1VS2
3
1 kW
10 kWor:
11 = 1P8.2
1VS2
Figure 4-5 Connection Example for NAMUR Sensor
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-19
NAMUR sensor changeover contact or sensor DIN 19234 as changeover contact
As an alternative to the NAMUR Sensor changeover contact, you can also connecta sensor that complies with DIN 19234 as a changeover contact .
3
Normallyopen
contact
Normallyclosedcontact
5
1VS2
1 kW
11 = 1P8.2
3
510 kW
Connection example for channels 0 and 1
or:Mechanicallylinked
11 = 1P8.2
1VS2
Figure 4-6 Connection Example for NAMUR Sensor as Changeover Contact
Digital Input Module
Signal Modules for Process Automation4-20 A5E00085262-02
One-way contact 10 kΩ/47 kΩ
As an alternative to a 10 kΩ/47 kΩ one-way contact, you can connect a BERO,connected with 10 kΩ/47 kΩ.
1VS1
2
10 = 1P18
R
Connection example for channel 0
or
R = 10 k or 47 kW W
+
1VS1
2
1M21
10 = 1P18
BERO
-
R
Figure 4-7 Connection Example for 10 kΩ/47 kΩ One-Way Contact
Changeover contact 10 kΩ/47 kΩ
As an alternative to a 10 kΩ/47 kΩ changeover contact, you can connect a 4-wireBERO, connected with 10 kΩ/47 kΩ.
R=10 kW or 47 kW
10 = 1P18
Connection example for channels 0 and 1
1VS1
2
4R
10 = 1P181VS1
212
4
1M+
-
R
BERO
or:
Figure 4-8 Connection Example for 10 kΩ/47 kΩ Changeover Contact
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-21
One-way contact unconnected
As an alternative to an unconnected one-way contact, you can connect a 3-wireBERO.
2
1VS110 = 1P18
+
1VS1
2
1M21
10 = 1P18
BERO
-
Connection example for channel 0
or:
Figure 4-9 Connection Example for One-Way Contact Unconnected
Changeover contact unconnected
As an alternative to an unconnected changeover contact, you can connect a 4-wireBERO.
1VS110 = 1P18
2
4
Connection example for channels 0 and 1
+
-
10 = 1P181VS1
212
4
1Mor:
BERO
Figure 4-10 Connection Example for Changeover Contact Unconnected
Digital Input Module
Signal Modules for Process Automation4-22 A5E00085262-02
4.5 Diagnostics of the Digital Input Module
4.5.1 DP Diagnostics/Module Diagnostics
In this section, you will find all the diagnostic messages of the digital input module–that can occur in DP diagnoses and STEP 7.
The module reports diagnoses for each channel. A visual indication is given bymeans of the SF LED.
You can activate/deactivate or parameterize the diagnosis by means of the “GroupDiagnosis“ parameter.
Diagnostic Messages, Causes of Errors and What to Do
Table 4-8 Diagnostic Message of the Digital Input Module, Causes of Errors and What to Do
Diagnostic Message
In DP Diagnosis(Channel-Specific
Diagnosis)
In ModuleDiagnosis
Causes of Errors What to Do
Failure of sensor supplyShort circuit (1D) P short circuit(sensor) Short circuit between the sensor line
and the sensor supply line
Eliminate overload/shortcircuit
Interruption of the sensor line(s) orthe sensor supply line
Re-establish theconnection
Break in the bridging resistance Eliminate the interruptionin the bridging resistance
Wire break (6D) Wire break
Defective sensor Replace the sensor
Replace the defectivesensor
Flutter of signal sensor
Reset the flutter monitor
Error (9D) Flutter error
Defective EEPROM Replace the module
Load voltage L+ of module missing Connect load voltage L+Sensor or loadvoltage missing –(17D)
Sensor supplyfailed Defective module-internal sensor
voltageReplace the module
Defective sensor Replace the sensor
Break in the bridging resistance Eliminate the interruptionin the bridging resistance
External error(26D)
Changeovercontact diagnosis
Short circuit in sensor supply andsensor line at changeover signalchange
Eliminate short circuit
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-23
Reference
You can find a detailed description of how to evaluate diagnostic information inSTEP 7 in the STEP 7 online help system.
Digital Input Module
Signal Modules for Process Automation4-24 A5E00085262-02
4.5.2 Diagnosis with a Sensor of the Changeover Contact Type
Brief Description
In the case of diagnosis with a sensor of the changeover contact type, the modulemonitors switching between 2 input channels. If after the specified switchover time(see the technical specifications) there is no change in signal on the partnerchannel, the module issues a diagnosis.
Purpose
You can use the diagnosis as follows:
• For a diagnosis of the sensor
• To check that there was definitely a switchover between the normally opencontact and the normally closed contact
Digital Input Module
Signal Modules for Process AutomationA5E00085262-02 4-25
Principle
If the digital inputs of a channel group are parameterized as “ changeover contacts“, the module for this channel group carries out a diagnosis for the changeovercontact type of sensor. The tolerated switchover time between the two channels isfixed at 300 ms.
If the check is negative, then:
• The module identifies the value status of the normally open contact channel as “invalid “.
• The module creates a diagnostic entry for the normally open contact channel.
• The module triggers a diagnostic interrupt.
The digital input signal and the value status are only updated for the normally opencontact channel. The digital input signal for the normally closed contact channel isfixed at “zero“, and the value status is set as “invalid“ because this channel is onlysupposed to check the sensor.
Note the following points in the diagnosis for the changeover contact type ofsensor:
• If there is already an error on the normally open contact channel (a wire break,for example), the module no longer carries out a diagnosis for changeovercontact errors.
• The following table lists additional points:
Changeover contact A Negative Check Means
Changeover contact asNAMUR
• Short circuit or
• Wire break
Changeover contactconnected
• Defective sensor or short circuit
It is not possible to distinguish between adefective sensor and a short circuit.
Changeover contactunconnected
Caution: no difference possible between
• Signal “0“ and wire break
• Signal “1“ and short circuit
In addition:
Changeover contact orexternal error (in the case ofDP diagnosis–)
Reference
You can find out how to evaluate the diagnosis in the user program in the STEP 7online help system.
Signal Modules for Process AutomationA5E00085262-02 5-1
Digital Output Module 55.1 SM 322; DO 16xDC24V/0,5A (6ES7 322-8BH00-0AB0)
Order Number
6ES7 322-8BH00-0AB0
Features
The SM 322; DO 16xDC24V/0,5A has the following properties
• 16 inputs, isolated in groups of 4
• A rated load voltage of 24 VDC
• Parameterizable diagnosis
• Identification data
Use with Rapid Counters
When the 24 V supply voltage is connected via a mechanical contact, the outputsof the SM 322; DO 16xDC24V/0,5A carry the signal for approx. 50 µs “1“-depending on the circuit. You must take this into account if you use the SM 322;DO 16xDC24V/0,5A with rapid counters.
Digital Output Module
Signal Modules for Process Automation5-2 A5E00085262-02
Terminal Assignment and Block Diagram
Channelnumber
1M
1L+
2L+
2M
SF
F00
F1
1
F2
2
F3
3
F4
4
F5
5
F6
6
F7
7
F0
0
F11
F2
2
F3
3
F4
4
F5
5
F6
6
F7
7
3M
3L+
4L+
4M
Backpla
ne
bus
inte
rface
module
¬
¬ Channel status (green)Channel error (red)
¬
¬
¬
Status displays – greenError displays – red
Figure 5-1 Module View and Block Diagram of the SM 322; DO 16xDC24V/0,5A
Note
Reverse polarity of the load voltage of the digital output module will also changethe behavior of the output channels: Unconnected channels output instead of“0“ a“1“ and connected channels output “1“ instead of “0“ .The module ignores the parameterized substitute values in each case.
Digital Output Module
Signal Modules for Process AutomationA5E00085262-02 5-3
Redundant Output Signals
The output with a series diode can be used for redundant control of an actuator.Redundant control can take place from 2 different modules without an externalcircuit. The two signal modules must have the same reference potential (M).
Note
If the output with a series diode is used, external P short circuits cannot bedetected.
Technical Specifications
Technical Specifications
Dimensions and Weight
Dimensions W x H x D (mm) 40 x 125 x 120
Weight Approx. 200 g
Data for Specific Module
Number of outputs 16
Line length
• Unshielded Max. 600 m
• Shielded Max. 1000 m
Voltages, Currents, Potentials
Rated load voltage L+ 24 VDC
• Reverse polarity protection Yes
Total current of the outputs without a seriesdiode (per group)
• Horizontal configurationup to 60°C Max. 2 A
• Vertical configurationup to 40°C Max. 2 A
Total current of the outputs with a seriesdiode (per group)
• Horizontal configurationup to 40°Cup to 60°C
Max. 1,2 AMax. 1 A
• Vertical configurationup to 40°C Max. 1 A
Isolation
• Between channels and backplane bus Yes
• Between the channelsIn groups of
Yes4
Digital Output Module
Signal Modules for Process Automation5-4 A5E00085262-02
Technical Specifications
Permissible potential difference
• Between the different circuits 75 VDC,60 VAC
Insulation tested with 600 VDC
Current consumption
• From the backplane bus Max. 100 mA
• From load voltage L+ (without load) Max. 40 mA
Power dissipation of the module
• With diode 10 W
• Without diode 3.5 W
Status, Interrupts, Diagnostics
Status display Green LED per channel
Interrupts
• Diagnostic Interrupt Parameters can be assigned
Diagnostic functions Parameters can be assigned
• Group error display Red LED (SF)
• Channel error display Red LED per channel (F)
• Diagnostic information readable Possible
Data for Selecting an Actuator
Output voltage
• At signal “1“ Min. L + (- 0.7 V)
Output current
• At signal “1“Rated valuePermitted range
0,5 A5 mA up to 600 mA
• At signal “0“(residual current)
Max. 0.5 mA
Load resistor range 48 Ω to 4kΩ
Lamp load Max. 5 W
Connecting 2 outputs in parallel
• For redundant triggering of a load Possible for outputs with series diodes
• To increase performance Not possible
Control of a digital input Possible
Digital Output Module
Signal Modules for Process AutomationA5E00085262-02 5-5
Switch rate
• With resistive load Max. 100 Hz
• With inductive load, to IEC 947-5-1, DC13
Max. 2 Hz
• With lamp load Max. 10 Hz
Limit (internal) of the inductive circuitinterruption voltage up
typ. L+ (-45 V)
Short-circuit protection of an output yes, electronic
• Response threshold typ. 0,7 A
•
5.2 Parameters of the Digital Output Module
Overview
The following table lists all the parameters of the digital output module.
Note: You set the substitute value behavior inSTEP 7 and the remainingparameters in PDM.
Table 5-1 Parameters of the Digital Output Module
Parameter Range of Values DefaultSetting
Applicability
Set in PDM:
Diagnosis
• Enabling: Diagnosticinterrupt
Yes/no No Module
Diagnosis
• Load voltage L+ missing Yes/no Yes Channel group
• Group diagnosis Yes/no Yes Channel
Set in STEP 7 :
Behavior at CPU-STOP Substitute a value/Keep last value
Substitute avalue
Module
Substitute value 0/1 0 Channel
Digital Output Module
Signal Modules for Process Automation5-6 A5E00085262-02
Identification Data
Table 5-2 Identification Data of the Digital Output Module
Identification Data Range of Values Default Setting Applicability
Device
Manufacturer Read SIEMENS AG Module
Device identification Read 6ES7 322-8BH00-0AB0
Module
Device serial number Read Module
Hardware revision Read Module
Software revision Read
Depends on theversion
Module
Static revision no. Read --- Module
Installation date Read/write (max. 16 characters) --- Module
Operating unit
TAG Read/write (max. 32 characters) --- Module
Description Read/write (max. 32 characters) --- Module
Reference
You can find detailed information on identification data in Section 4.3.3.
See also
Identification Data [→ Page 4-11]
Digital Output Module
Signal Modules for Process AutomationA5E00085262-02 5-7
5.3 Diagnostics of the Digital Output Module
In this table, you will find all the diagnostic messages of the digital output modulethat can occur in DP–Diagnosis and module diagnoses STEP 7.
The module reports the diagnoses for each channel. A visual indication is given bythe SF– LED.
You can activate/deactivate and parameterize the diagnosis by means of the“Group Diagnosis““ parameter.
Diagnostic Messages, Causes of Errors and What to Do
Table 5-3 Diagnostic Messages of the Digital Output Module, Causes of Errors and What to Do
Diagnostic Message
In DP Diagnosis(Channel-Specific
Diagnosis)
In ModuleDiagnosis
Causes of Errors What to Do
M short circuit– Short circuit of the output to M(channel group)
Short circuit (1D)
P-Short circuit Short circuit of the output to L+(channel group)
Eliminate short circuit
Output overload Eliminate overloadExcessivetemperature (5D)
Excessivetemperature Short circuit of the output to M Eliminate short circuit
Interruption in the wire betweenthe module and the actuator
Re-establish the connectionWire break (6D) Wire break
Channel unused (open) Disable “wire break diagnosis“for the channel
Error (9D) Fuse failure Defective Module Replace the module
Sensor or loadvoltage missing(17D)
(Load–) supplyvoltage failed
Load voltage L+ of modulemissing
Connect load voltage L+
Digital Output Module
Signal Modules for Process Automation5-8 A5E00085262-02
Behavior at M-Short circuit
If output signal = “1“ the digital output module reports “M-Short circuit“.
If output signal = “0“ the digital output module switches to the safer status and theStatus-LED turns off.
Note: The digital output module reports a P-Short circuit regardless of the signalstatus.
Reference
You can find a detailed description of how to evaluate diagnostic information inSTEP 7 in the STEP 7 online help system.
Signal Modules for Process AutomationA5E00085262-02 6-1
Diagnostic Data 6In This Chapter
This chapter describes the structure of the diagnostic data in the system data. Youmust be familiar with this structure if you want to evaluate the diagnostic data of thesignal modules in the STEP 7 user program.
In PCS 7 , the CFC diagnostic block carries out the evaluation of the diagnosticdata automatically.
Further Sources
You can find a detailed description of the principle behind the evaluation of thediagnostic data of the signal modules in the user program and a description of theSFCs you can use to do this in the System and Standard Functions referencemanual.
Data Records 0 and 1 of the System Data
The diagnostic data of a module is contained in data records 0 and 1 of the systemdata area.
• Data record 0 contains 4 bytes of diagnostic data, which are the same for allmodules and describe the current status of an S7-300/ET 200M.
• Data record 1 contains:
– 4 bytes of diagnostic data of data record 0 and
– The remaining bytes containing the module-specific diagnostic data
Structure and Contents of the Diagnostic Data
Below you can find descriptions of the structure and contents of the individualbytes of the diagnostic data.
Generally speaking, if an error occurs, the corresponding bit is set to “1“.
Diagnostic Data
Signal Modules for Process Automation6-2 A5E00085262-02
Data Record 0 (Bytes 0 to 3)
The assignment of bytes 0 to 3 illustrated in the figure applies to the digital inputand digital output modules.
7 6 5 4 3 2 1 0
Byte 0
Module malfunctionInternal error
External errorChannel error
No external auxiliary supply
0
Parameter assignment missing
7 6 5 4 3 2 1 0
Byte 1
Channel information available
Module class: digital module
0 0 0 1 1 1 1 1
7 6 5 4 3 2 1 0
Byte 2
Internal module supply voltage failed(sensor supply)
Operating mode 0 = RUN; 1 = STOP
0 0 0 0 0 0
7 6 5 4 3 2 1 0
Byte 3
EEPROM memory error
0 0 0 0 0 00
123
0
Figure 6-1 Diagnostic Data Record 0 (Bytes 0 to 3)
Diagnostic Data
Signal Modules for Process AutomationA5E00085262-02 6-3
Diagnostic Data Record 1 (as of Byte 4) of the Digital Input Module
7 6 5 4 3 2 1 0
Byte 4 70 : Digital input moduleH
7 6 5 4 3 2 1 0
Byte 5 08 : Number of diagnostic bits per channel: 8H
7 6 5 4 3 2 1 0
Byte 6 10 : Number of channels: 16H
7 6 5 4 3 2 1 0
Byte 7
Diagnostic event on channel 0
Diagnostic event on channel 7
7 6 5 4 3 2 1 0
Byte 8
Diagnostic event on channel 8
Diagnostic event on channel 15
7 6 5 4 3 2 1 0
Byte 9
Byte 24
Diagnostic event for channel x
P short circuit (sensor)
Wire break
0
Sensor supply failureFlutter error
Changeover contact diagnosis
0 0
Figure 6-2 Diagnostic Data Record 1 (as of Byte 4) of the Digital Input Module
Diagnostic Data
Signal Modules for Process Automation6-4 A5E00085262-02
Diagnostic Data Record 1 (as of Byte 4) of the Digital Output Module
7 6 5 4 3 2 1 0
Byte 4 72 : Digital output moduleH
7 6 5 4 3 2 1 0
Byte 5 08 : Number of diagnostic bits per channel: 8H
7 6 5 4 3 2 1 0
Byte 6 10 : Number of channels: 16H
7 6 5 4 3 2 1 0
Byte 7
Diagnostic event on channel 0
Diagnostic event on channel 7
7 6 5 4 3 2 1 0
Byte 8
Diagnostic event on channel 8
Diagnostic event on channel 15
7 6 5 4 3 2 1 0
Byte 9
Byte 25
Diagnostic event for channel x
P short circuit (sensor)M short circuit
Wire break (only when signal = 1)
0
Fuse failure(Load) supply woltage failure
Excessive temperature
Groups of 4 channels have a common power supply. If a power supplyerror occurs, the error bits of all 4 channels are set.
¬
¬
0
Figure 6-3 Diagnostic Data Record 1 (as of Byte 4) of the Digital Output Module
Signal Modules for Process AutomationA5E00085262-02 7-1
Dimensioned Drawing 7Dimensioned Drawing of the Signal Modules
The figure below shows a dimensioned drawing of the signal modules.
The appearance of the signal modules can vary. However, the specifieddimensions are always the same.
125
12040
130
Figure 7-1 Dimensioned Drawing of the Signal Modules
Additional Dimensioned Drawings
You can find dimensioned drawings of the modules and components of an S7-300and ET 200M in the relevant manuals..
Signal Modules for Process AutomationA5E00085262-02 8-1
Glossary 8BERO
A position switch that works without any touch or contact being involved. Adistinction is drawn between inductive and capacitive BEROs.
Flutter monitoring
Flutter monitoring is a process control function for digital input signals. It detectsand reports unusual process control signal patterns such as a fluctuation in theinput signal between“0“ and “1“that occurs too often.
Sensor
Sensors are used for the precise detection of digital signals and paths, positions,speeds, revolutions, weights, etc.
Identification Data
Identification data is information stored in a module that supports the user with thefollowing:
• Checking the configuration of a system
• Locating changes to the hardware of a system.
Pulse lengthening
Pulse lengthening is a function for changing a digital input signal. A pulse at adigital input is extended to at least the parameterized length. If the input pulse isalready longer than the parameterized length, it is not changed.
NAMUR
Normenausschuss für Mess- und Regelungstechnik (German standardizationcommittee for measurement and control engineering)
Changeover Contact
Auxiliary switch with only one contact piece that has a closed position for when theswitching device is closed and another closed position for when it is open.
Glossary
Signal Modules for Process Automation8-2 A5E00085262-02
Value status
The value status is additional binary information on a digital input signal andprovides information on the validity of the input signal.
Index
Signal Modules for Process AutomationA5E00085262-02 Index-1
Index6ES7 322-8BH00-0AB0 5-1BERO 8-1Changeover contact 8-1
Diagnosis 4-19Changing the Parameter Assignment 2-6Configuration 2-3
Operating principle 2-1Software Requirements 2-2
ConnectionFrom Sensors 4-14
DDB fileintegrate into configuration software 2-4
DDB Filedownload 2-5
DiagnosisRecord 0 and 1 6-1the digital module depend on sensor
4-14with sensor changeover contact 4-19
Diagnostic messagesSM 321 DI 16xNAMUR 4-18SM 322 DO 16xDC24V/0,5A 5-6
Dimensioned DrawingSM 321 DI 16xNAMUR 7-1SM 322 DO 16xDC24V/0,5A 7-1
Flatter monitoring 4-6Hardware Requirements 1-1Identification Data 8-1
SM 321 DI 16xNAMUR 4-5SM 322 DO 16xDC24V/0,5A 5-5
NAMUR 8-1Parameter
Flatter monitoring 4-6Pulse lengthening 4-8SM 321 DI 16xNAMUR 4-4SM 322 DO 16xDC24V/0,5A 5-5
Parameterize 2-5Process Control Modules
Integration in Process Control System1-2
Product Overview 1-1Pulse lengthening 4-8Pulse lengthening 8-1Sensor 8-1
Connect 4-14Diagnostic possibilities 4-14Performance factor 4-12Rules of Connection 4-10
Sensor as Changeover contactDiagnosis 4-19
Signal mudules for process automation 1-1SM 321 DI 16xNAMUR 4-1
Diagnosis depend on sensor 4-14Dimensioned Drawing 7-1Identification Data 4-5module diagnoses 4-18Parameter 4-4Technical Specifications 4-2Terminal Assignment and Block
Diagram 4-1SM 322 DO 16xDC24V/0,5A 5-1
Diagnostic messages 5-6Dimensioned Drawing 7-1Identification Data 5-5Parameter 5-5Technical Data 5-3Terminal Assignment and Block
Diagram 5-1Software Requirements 1-1TAG 4-9Technical data
general 3-1Technical Specifications
SM 321 DI 16xNAMUR 4-2SM 322 DO 16xDC24V/0,5A 5-3
Terminal Assignment and Block DiagramSM 321 DI 16xNAMUR 4-1SM 322 DO 16xDC24V/0,5A 5-1
Value status 2-7, 8-2Evaluation in PCS7 2-8
Top Related