Está en la página 1de 42

User calibration of

analog modules

SIMATIC S7-1500, ET 200SP, AQ 2xU/I,


Siemens
AI 2xU/I 2-/4-wire, AI 8xRTD/TC 2-wire Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109768094 Support
Legal information

Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG (“Siemens”). They are non-
binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.

Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
© Siemens AG 2019 All rights reserved

foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.

Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.

Security information
Siemens provides products and solutions with industrial security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: https://www.siemens.com/industrialsecurity.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 2
Table of contents

Table of contents
Legal information ......................................................................................................... 2
1 Introduction ........................................................................................................ 4
1.1 Overview............................................................................................... 4
1.2 Mode of operation ................................................................................ 4
1.3 Components used ................................................................................ 7
2 Engineering ........................................................................................................ 8
2.1 Calibration requirements ...................................................................... 8
2.2 Hardware setup .................................................................................... 8
2.3 Description of interface......................................................................... 9
2.4 Project integration .............................................................................. 14
2.4.1 Integrating the library.......................................................................... 14
2.4.2 Hardware setup .................................................................................. 14
2.4.3 PLC integration ................................................................................... 15
2.4.4 HMI integration ................................................................................... 16
2.5 Configuration ...................................................................................... 19
2.6 Operation at HMI ................................................................................ 21
2.6.1 Modes ................................................................................................. 23
2.6.2 Wire break detection .......................................................................... 30
2.7 Error handling ..................................................................................... 31
3 Example: User calibration of analog output module 0 to 10 V ................... 33
© Siemens AG 2019 All rights reserved

3.1 Start .................................................................................................... 33


3.2 Zero-Scale calibration ........................................................................ 36
3.3 Intermediate step ................................................................................ 38
3.4 Full-Scale calibration positive ............................................................. 40
4 Appendix .......................................................................................................... 41
4.1 Service and support ........................................................................... 41
4.2 Links and literature ............................................................................. 42
4.3 Change documentation ...................................................................... 42

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 3
1 Introduction

1 Introduction
1.1 Overview
Introduction
The characteristics of analog-digital/digital-analog converters in analog modules
are usually offset and not uniform in their rising This means you must calibrate the
characteristics to the conditions of the analog module. A general distinction is
made between factory calibration and user calibration.

Factory calibration
To ensure the accuracy of an analog module, it is calibrated during production in
the factory. You cannot delete or change the factory calibration. You can only read
the factory calibration values.

User calibration
You can start, delete and read back a user calibration for an analog module with
error-free parameter assignment at any time. User calibration is used to increase
the accuracy for specific use cases with deviations that can be compensated, for
example, by sensors or wiring.

Zero-Scale/Offset calibration
© Siemens AG 2019 All rights reserved

Zero-Scale or Offset calibration is the calibration of the zero point. Usually "0" for
bipolar ranges and the low limit of the nominal range for unipolar ranges. The
characteristic of the converter is offset corrected and thus shifted into the zero
point.

Full-Scale/Gain calibration
Full-Scale or Gain calibration is the calibration of the end point. It is usually the high
limit of the nominal range. The slope of the converter characteristic is adjusted so
that it also intersects the end point.

1.2 Mode of operation


You must perform the user calibration for each channel. To do so, always calibrate
the selected channel in the set input/output range. You can start the user
calibration at any time for a channel with error-free parameter assignment. After
successful user calibration the newly calibrated channel works in the current
input/output range with the newly determined calibration values.

Procedure
The user calibration is controlled by the data sets (DS). You must write a job data
set for the analog module and receive instructions for further actions in the
acknowledgment data set.
The analog module saves the user calibration values. The values always apply
only to the input/output range for which they were created. If the input/output range
is re-parameterized, the factory calibration values will be used once again, but the
user calibration values still exist.
Each user calibration receives a time stamp (for each channel), which includes the
date and time of the last user calibration of the channel.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 4
1 Introduction

The analog module controls the number of required calibration steps for a user
calibration.
The actions, which you must start or confirm during user calibration, are also
initiated by the analog module. The set input/output range of a channel can only be
calibrated completely during a user calibration (zero-scale and full-scale). Partial
calibration is not possible (e.g. zero-scale only).
The figure below shows the steps required for the user calibration of an instruction
to the analog module.

Figure 1-1 Steps in the user calibration for an instruction


© Siemens AG 2019 All rights reserved

Data set structure


You can start a calibration process with the Write data set (job data set) and Read
data set (acknowledgment data set) mechanisms – DS 237.
For detailed info about the data set structure see the chapter "Job data set" in the
following manual: https://support.industry.siemens.com/cs/ww/en/view/103074991.

Calibration start
An active/running calibration is reported for analog modules with diagnostic
capability:
• Analog modules with channel diagnostics signal error 31 (Channel temporarily
unavailable) for the affected channel, channel fault LED lights up red, the
module fault LED flashes.
• Analog modules which support the value status (QI) set QI to "BAD".
The user calibration can be started at any time. The start requires that the channel
was parameterized without errors and that it is not already in another calibration
mode:
• After starting the user calibration and until it is completed, all other commands
result in the user calibration being aborted.
• After completing the calibration step, the data are updated, and the status is
set:

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 5
1 Introduction

– The command was accepted with status "OK, Ready". The number of
steps that still need to be executed and the action that you need to execute
next is specified.
– For the user actions "Short-circuit, Infeed, Measuring" and "Remove
connections", the relevant terminals are specified under Terminal 1" and
"Terminal 2", whereby "Terminal 1" is always the positive terminal.
– For the user actions "Infeed" or "Measuring", the unit is specified for a
measured variable (e.g. μA or mV).
– If any errors occur, the calibration is aborted. The analog module resumes
the same status as before the calibration was started.

Calibration sequence
Each calibration step is triggered by writing the job data set, applied from the
previously signaled acknowledgment data. Next, the analog module must read and
evaluate the acknowledgment data set.
• For status "OK, Working", the calibration of the analog module initiated with the
data is still in progress.
• For status "OK, Ready", the calibration of the analog module initiated with the
data is complete and was processed without errors.
• For other statuses/errors, the calibration of the analog module initiated with the
data was not processed successfully and was acknowledged with an error. The
ongoing calibration is aborted and any determined calibration values are
discarded.
© Siemens AG 2019 All rights reserved

Calibration exit
You can exit the calibration in any calibration step. Any calibration values
determined until then will be lost. The analog module resumes the same status as
before the calibration was started

Calibration completion
The last calibration step is the confirmation of the calibration or of the determined
calibration values. All calibration values of the current calibration process are
determined and signaled back.
By confirming the calibration values, the time stamp is entered automatically. The
newly determined calibration values are now valid and in effect. The previous user
calibration values are overwritten and cannot be restored. In case of an error in the
last calibration step, the corresponding error code is signaled in the status. The
new calibration values are discarded.

Calibration counter
Each error-free and complete user calibration of a channel is counted. More than
255 calibration processes do not increase the calibration counter.
Each Reset command deletes the calibration counter.

Behavior at CPU STOP


Reading and writing of data sets is not possible in CPU STOP.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 6
1 Introduction

Re-parameterization of the input/output range


If you have conducted a user calibration on a channel, the user calibration values
are in effect for this channel. The user calibration values always apply only to the
input/output range for which they were created. If the input/output range is re-
parameterized to another input/output range, the factory calibration values will be
used once again for this range. The user calibration values still exist.
When you start a user calibration in the new input/output range, the new calibration
values are saved for this new input/output range. The user calibration values of the
previous input/output range are overwritten because only one user calibration can
be saved per channel.
If you do not start a user calibration and switch back to the previous input/output
range, the previous user calibration values will be in effect once again.
Other channel parameters (e.g. interference frequency suppression) have no effect
on the validity of the calibration values.

1.3 Components used


This application example has been created with the following hardware and
software components:

Table 1-1 List of the hardware components


© Siemens AG 2019 All rights reserved

Component Number Article number Note


CPU 1516F-3 PN/DP 1 6ES7 516-3FN01-0AB0
IM 155-6 PN HF 1 6ES7 155-6AU00-0CN0
AQ 2xU/I HF 1 6ES7 135-6HB00-0CA1
AI 2xU/I 2-/4-wire HF 1 6ES7 134-6HB00-0CA1
AI 8XRTD/TC 2-WIRE HF 1 6ES7 134-6JF00-0CA1
TP1200 Comfort 1

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 7
2 Engineering

2 Engineering
2.1 Calibration requirements
Only the HF (High Feature) modules support the calibration process.
Only modules with FW version higher than 2.0 support the calibration process.

2.2 Hardware setup


The figure below shows the hardware configuration of this application example.

Figure 2-1 Hardware configuration


© Siemens AG 2019 All rights reserved

Table 2-1 List of the IP addresses and hardware identifiers


Component IP address HW identifier
CPU 1516F-3 PN/DP 192.168.0.2
IM 155-6 PN HF 192.168.0.22
AQ 2xU/I HF 260
AI 2xU/I 2-/4-wire HF 262
AI 8XRTD/TC 2-WIRE HF 258
TP1200 Comfort 192.168.0.15

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 8
2 Engineering

2.3 Description of interface


"Calibration" function block
The "Calibration" function block ensures the whole process of writing data into and
reading the data from the module. Data are signaled via HMI.

Figure 2-2 "Calibration" function block


© Siemens AG 2019 All rights reserved

Table 2-2 "Calibration" function block in-out parameters


Name Data type Description
calibrationControl typeCalibrationRequest Structure of the signals
controlling the whole
process of calibration (e.g.:
sending the calibration
request, reading
information out of the
module, …).
calibrationDS typeCalibrationDataSet The data set was sent to
the analog module by the
user and the received
instructions for further
actions in the
acknowledgment data set
are mapped with the UDT.
The structure of the job
data set, and
acknowledgment data set is
identical. The
acknowledgment data set
reads last serves as the
template for the next job
data set.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 9
2 Engineering

Name Data type Description


calibrationDSExtended typeCalibrationDataSetExtended The extended part of the
data set. The extended part
differs according the
calibrations step. The
information from the
module sent in bytes are
converted to the right
quantities (signaling the
data to user) and the user
data are converted into
bytes (sending data to the
module).
calibrationHMI typeCalibrationHMI Structure of the signals for
controlling the visibility of
several fields on the HMI
screen.

"CalibrationControl" data block


This data block manages the parameters for the calibrations process. The HMI
screen communicates with the module via this data block.

Table 2-3 "CalibrationControl" data block


Name Data type Comment
© Siemens AG 2019 All rights reserved

dataSet typeCalibrationDataSet
dataSetExtended typeCalibrationDataSetExtended
control typeCalibrationRequest
hmi typeCalibrationHMI

"typeCalibrationRequest" data type


The "typeCalibrationRequest" data type represents the structure for controlling the
calibration process (read/write). The following figure shows you the structure of the
data type.

Table 2-4 "typeCalibrationRequest" data type


Name Data type Comment
writeRequest Bool REQ = 1: Transfer data record
writeDone Bool Data record was transferred
writeBusy Bool BUSY = 1: The writing process is not yet complete.
writeError Bool ERROR = 1: An error occurred during the writing
process.
writeStatus DWord Block status or error information. For interpretation of the
STATUS parameter, see Parameter STATUS.
writeStatusBuffer DWord Block status or error information. For interpretation of the
STATUS parameter, see Parameter STATUS.
readRequest Bool REQ = 1: Transfer data record
readValid Bool New data record was received and is valid.
readBusy Bool BUSY = 1: The reading process is not yet complete.
readError Bool ERROR = 1: An error occurred during the reading
process.
readStatus DWord Block status or error information. For interpretation of the

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 10
2 Engineering

Name Data type Comment


STATUS parameter, see Parameter STATUS.
readStatusBuffer DWord Block status or error information. For interpretation of the
STATUS parameter, see Parameter STATUS.
hardwareID Int ID number of the hardware component (DP/PROFINET
IO). The number is assigned automatically and is stored
in the properties of the component or of the interface in
the hardware configuration.

"typeCalibrationDataSet" data type


The "typeCalibrationDataSet" data type represents the structure of the
job/acknowledgment data set. The following figure shows you the structure of the
data type.

Table 2-5 "typeCalibrationDataSet" data type


Name Data type Comment
command Byte Command/mode
identifier Byte Identifier/status
channelNumber Byte Channel number
calibrationStep Byte Calibration step
inputOutputType Byte Not relevant / Input (output) type
© Siemens AG 2019 All rights reserved

inputOutputRange Byte Not relevant / Input (output) range


userAction Byte Not relevant / User action
inputOutputSize Byte Input (output) size
inputBehavior Byte Substitute value behavior of inputs / Calibration counter
reserved Byte Reserved
date1 Byte Data in byte format
date2 Byte Data in byte format
date3 Byte Data in byte format
date4 Byte Data in byte format
date5 Byte Data in byte format
date6 Byte Data in byte format
date7 Byte Data in byte format
date8 Byte Data in byte format

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 11
2 Engineering

"typeCalibrationDataSetExtended" data type


The "typeCalibrationDataSetExtended" data type represents the structure of the
extended part of the job/acknowledgment data set. The following figure shows you
the structure of the data type.

Table 2-6 "typeCalibrationDataSetExtended" data type


Name Data type Comment
date1 DWord Data in double word format
date2 Word Data in word format
date3 Word Data in word format
date4 Word Data in word format
terminal1 Byte Terminal at the BaseUnit
terminal2 Byte Terminal at the BaseUnit
timeStamp LDT Timestamp of the calibration
calibrationCounter Byte Calibration counter
gain Real Calibration values
offset Int Calibration values
beforeDecimalPoint Int Number before decimal point
afterDecimalPoint Int Number after decimal point
© Siemens AG 2019 All rights reserved

number LReal Number storing user inputs/outputs

"typeCalibrationHMI" data type


The "typeCalibrationHMI" data type represents the structure of the signals
managing the HMI control fields (buttons, IO fields). The following figure shows you
the structure of the data type.

Table 2-7 "typeCalibrationHMI" data type


Name Data type Comment
placeBeforeAfterDecimalPointVisibility Bool Visibility tag - place before and after
decimal point
setPointForCalibrationVisibility Bool Visibility tag - setpoint for
calibration
terminalVisibility Bool Visibility tag - terminals
substituteValueBehaviorVisibility Bool Visibility tag - substitute value
behavior
substituteValueVisibility Bool Visibility tag - substitute value
channelType Bool Channel type: 0 = input, 1 = output
inputTypeVoltageVisibility Bool Visibility tag - voltage type
inputTypeCurrentVisibility Bool Visibility tag - current type
inputTypeResistorVisibility Bool Visibility tag - resistor type
inputTypeThermistorVisibility Bool Visibility tag - thermistor type
inputTypeThermocoupleVisibility Bool Visibility tag - thermocouple type
outputTypeVoltageVisibility Bool Visibility tag - voltage type
calibrationCommand Bool Button signal - start calibration
nextCommand Bool Button signal - next
abortCommand Bool Button signal - abort

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 12
2 Engineering

Name Data type Comment


readSettingsCommand Bool Button signal - read calibration
values
factoryCommand Bool Button signal - restore factory
settings
resetChannelCommand Bool Button signal - reset channel
resetModuleCommand Bool Button signal - reset module
outputTypeCurrentVisibility Bool Visibility tag - voltage type
channelNumber Byte Channel number
operationMode Int Operation mode: 1 = module
selection, 2 = operation selection,
3 = calibration, 7 = calibration
values, 4 = read values,
5 = restore factory setting
calibrationWndButton Bool Button signal - calibration info wnd
calibrationStepMax Int Calibration steps - maximum
calibrationStepActual Int Calibration steps - current
nextCommandVisibility Bool Visibility tag - next button
inputOutputSizeVisibility Bool Visibility tag - input/output size
© Siemens AG 2019 All rights reserved

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 13
2 Engineering

2.4 Project integration


This section includes instructions on how to integrate the libraries into your
TIA Portal project and instructions on how to use the library blocks. If you use the
application example project and you do not intend to implement it into your project,
skip this chapter and continue with Chapter 2.5.

2.4.1 Integrating the library

In order to use the library functions, they must first be integrated into the
configuration software. The required steps can be found in the following tables.

The library is available on the website from which you downloaded this document.
1. First of all, unzip the file on your hard disk. The library for TIA Portal V15.1 has
the file name "User_Calibration_Library_V1". The library was created with
TIA Portal version V15.1. If you have a TIA Portal version higher than V15.1, a
message will be displayed saying that the library will be upgraded to your
TIA Portal version.
2. Now, open the project view and go to the "Libraries" tab. Right-click "Retrieve
library" in "Global libraries". Now, select the "User_Calibration_Library_V1"
library file and follow further instructions of TIA Portal.
© Siemens AG 2019 All rights reserved

3. The library is then available in "Global libraries".

2.4.2 Hardware setup

The PLC, HMI and ET 200 device with modules must be configured to continue
with the integration of the library. Only the HF (High Feature) modules support the
calibration process.

Figure 2-3 Hardware setup

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 14
2 Engineering

2.4.3 PLC integration

Import 4x UDT from the library (PLC-UDT) to your PLC program, PLC data types.

Figure 2-4 Import of the UDTs


© Siemens AG 2019 All rights reserved

Import the "Calibration" function block and "CalibrationControl" data block from the
library (PLC-Block) to your PLC program, Program blocks.

Figure 2-5 Import of the function and data blocks

Call the "Calibration" function block in the OB and assign the input parameters of
the block according the figure below.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 15
2 Engineering

Figure 2-6 Integration of function block into the program

Now, the PLC integration part is completed. Compile the program.

2.4.4 HMI integration


© Siemens AG 2019 All rights reserved

Import the tag table from the library (HMI-Data) to your HMI, HMI tags.

Figure 2-7 Import of HMI data tags

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 16
2 Engineering

NOTICE Open the newly imported tag table and check if the connection corresponds with
the connection of the project. If not, it is necessary to correct it.

Figure 2-8 Check of the HMI connection tag


© Siemens AG 2019 All rights reserved

Import the screens from the library (HMI-Screen) to your HMI, Screens. All
necessary text lists are automatically imported to the project together with the
screens.

Figure 2-9 Import of the HMI screens

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 17
2 Engineering

Import the pop-up screens from the library to your HMI, Screen management –
Pop-up screens.

Figure 2-10 Import of the pop-up screens


© Siemens AG 2019 All rights reserved

Import the VB scripts from the library to your HMI, Scripts – VB scripts.

Figure 2-11 Import of the VB scripts

The HMI integration part is completed. Compile the program.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 18
2 Engineering

2.5 Configuration
After any modification of the hardware configuration of the analog modules, it is
necessary to modify the list of available modules in the HMI.

Figure 2-12 Analog module configuration change


© Siemens AG 2019 All rights reserved

1. A list of these modules is stored in:HMI (TP1200 Comfort)


2. Text and graphic lists
3. Find a text list called "AnalogModule"
4. Add or edit entries

It is necessary to fill in the correct hardware identification (in the column "Value")
and module name (in the "Text" column). This name is then used to identify the
module on the HMI screen.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 19
2 Engineering

How to find hardware identification


1. Navigate to the panel Project tree
2. Find the analog module and right-click on it
3. Click on the menu item "Properties…" in the menu

Figure 2-13 Analog module properties


© Siemens AG 2019 All rights reserved

Go to the tab "System constants" and read the hardware identification from the
table.

Figure 2-14 Hardware identification of the analog module

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 20
2 Engineering

2.6 Operation at HMI


Figure 2-15 Wizard roadmap
© Siemens AG 2019 All rights reserved

The program works as a wizard.


1. "Select the module" which you want to control (calibrate, read calibration
values or reset)
2. Specify the module "channel" (see below)
3. Click on the "Next" button
If the analog input is selected, substitute value behavior of inputs appears.

NOTICE Substitute value behavior of inputs


The option "continue to supply values" is only for analog modules AI 4xRTD/TC
2-/3-/4-wire HF and AI 8xRTD/TC 2-wire HF.

4. "Select operation"
a. "Calibration" will start the user calibration. Follow the steps on the
screen.
b. "Read Values" will return the calibration values for a specified channel
and a parametrized input/output range.
c. "Reset" will open a screen with several factory resets.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 21
2 Engineering

Figure 2-16 Select module, channel screen


© Siemens AG 2019 All rights reserved

NOTE The button "Get Info" displays the input/output type and range of the specified
channel.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 22
2 Engineering

2.6.1 Modes

There are several modes which can be used.

User calibration
The calibration process of analog modules differs based on the type of an analog
module. Follow the instruction on the screen to finish the process. Also see the
Example: User calibration of analog output module 0 to 10 V.

Abort, normal channel processing


An ongoing calibration can be aborted in any calibration step and in any state with
the command "Abort", even in status "OK" or "Working".

Figure 2-17 Abort ongoing calibration


© Siemens AG 2019 All rights reserved

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 23
2 Engineering

As soon as the analog module signals the status "OK, Ready", the calibration of
the channel is aborted.
The channel has the same state as before the calibration. The values of the last
valid calibration are in use again. The input/output range currently set on the
channel is signaled.

Figure 2-18 Analog module in status OK, Ready


© Siemens AG 2019 All rights reserved

NOTE If the analog module detects an error during a calibration process, this error will
abort the calibration. The error is signaled in the status.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 24
2 Engineering

Read calibration values


All current calibration values of an analog module can be read. These are either
the values from the factory calibration or the user calibration.

Figure 2-19 Specify the module and channel


© Siemens AG 2019 All rights reserved

1. "Select the module" from the list


2. "Specify the channel"
3. If the module is analog input, specify also "substitute value behavior of inputs".
The option appears only for input modules.
4. Click on the "Next" button

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 25
2 Engineering

5. Select the "Read calibration" option


6. Click on the "Next" button for reading the calibration values from the module

Figure 2-20 Select read calibration operation


© Siemens AG 2019 All rights reserved

Only the current calibration values of the specified channel are read with the
command. These are the calibration values associated with the parameterized
input/output range.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 26
2 Engineering

The "Offset", the "Gain", "Add1" (if present) and "Add2" (if present), the "Calibration
counter" and the "Time stamp" are displayed on the screen.

Figure 2-21 Calibration values


© Siemens AG 2019 All rights reserved

The calibration counter specifies if the values are factory calibration values or user
calibration values. For user calibration values, the value of the calibration counter is
equal to the number of successful calibration processes for this input/output range
(since the last user calibration of a different input/output range).

NOTE The "Back" button displays the screen with the operation selection.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 27
2 Engineering

Restore factory calibration


Use the command "Restore factory calibration" to undo the executed user
calibration of the specified channel for the set input/output range. The analog
module applies the calibration values determined at the factory, which will be in
effect again. Delete the saved user calibration values.
The command is only permitted if the status differs from "OK, Working". Specify the
channel number and execute the command. The calibration counter is set to "0"
again with the command.

1. "Select the module" from the list


2. "Specify the channel"
3. If the module is analog input, specify also "substitute value behavior of inputs".
The option appears only for input modules.
4. Click on the "Next" button

Figure 2-22 Specify the module and channel


© Siemens AG 2019 All rights reserved

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 28
2 Engineering

5. Select the "Reset module"


6. Click on the "Next" button to show the reset description

Figure 2-23 Select reset module operation


© Siemens AG 2019 All rights reserved

There are three different options to do a reset. Click on the desired reset option
and continue. The reset options are described in the following.

Restore the specified channel of the set input/output range


Restore the factory calibration to undo the executed user calibration of the
specified channel for the set input/output range. The analog module applies the
calibration values determined at the factory, which will be in effect again.
If user calibration values of the channel exist which do not belong to the set
input/output range, these are not deleted.
The user calibration was deleted, and the channel continues operating in the
previous state with factory calibration values.

Restore the specified channel regardless of the input/output range


The factory calibration of a channel is restored according to the channel number,
and all saved user calibration values are deleted, even if the saved user calibration
values do not belong to the currently set input/output range.
The user calibration was deleted, and the channel continues operating in the
previous state with factory calibration values.

Restore the entire module regardless of the input/output range


Restore the factory calibration for the entire analog module regardless of the
parameter assignment of the channels. Restoration takes place for all channels of
the analog module.
All channels involved continue operating in their previous state with factory
calibration values.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 29
2 Engineering

The pop-up window with the confirmation of the selected reset will be shown.

Figure 2-24 Confirm the factory reset


© Siemens AG 2019 All rights reserved

The reset is complete and the involved calibration counters are set to "0" again.
The screen "Choose the functionality" is shown.

2.6.2 Wire break detection

The wire break detection is automatically turned off before the calibration and
automatically turned on after the calibration.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 30
2 Engineering

2.7 Error handling


The calibration is aborted with an error if an error occurs during the calibration. All
errors are signaled in the "Status" field.
See the description of errors in the table below.

Table 2-8 Status and error codes


Error Description Remedy/cause
code
00H OK, Working; job in progress
01H OK, Ready; job executed without error
02H … 0FH Reserved
General errors of the calibration process
10H Invalid command Correct job data set.
11H Invalid channel number
12H Invalid identification
13H Invalid calibration step
14H Error in input/output type or Input/output type or input/output range
input/output range cannot be scaled; see Analog Module
manual
© Siemens AG 2019 All rights reserved

15H Invalid module action Irrelevant for user calibration


16H Invalid input/output size Extended Record, invalid content
information
17H Reserved
18H Time stamp error (year) Invalid time stamp. Correct job data set.
19H Time stamp error (month)
1AH Time stamp error (day)
1BH Time stamp error (hour)
1CH Time stamp error (minute)
1DH Time stamp error (day of the
week)
1EH Invalid substitute value behavior Correct job data set.
of inputs
1FH Substitute value out of the
measuring range
Technology errors
20H Value measured by user Circuit, check measuring technique.
deviates too much from setpoint Correct job data set.
21H Value measured by user Circuit, check infeed technique.
deviates too much from setpoint
22H … 23H Reserved
24H User calibration not supported See Analog Module Manual
25H …2FH Reserved
System errors/general module errors
30H Error writing to EEPROM/Flash Replace analog module
31H Error in procedure A job data set with a command other
than the one active came in during the
calibration process.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 31
2 Engineering

Error Description Remedy/cause


code
32H Channel not parameterized Correct configuration/parameter
assignment.
33H Reserved
34H Abort due to parameter
assignment during ongoing
calibration
35H …3FH Reserved
Other faults/errors
40H Reserved
41H No calibration values available No calibration values available to delete.
42H …FFH Reserved
© Siemens AG 2019 All rights reserved

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 32
3 Example: User calibration of analog output module 0 to 10 V

3 Example: User calibration of analog output


module 0 to 10 V
3.1 Start
1. "Select the module" from the list – ET 200SP HF AQ 2xU I HF
2. "Specify the channel"
3. For reading the output type and range click the "Get Info" button
4. Click on the "Next" button

Figure 3-1 Specify the module and channel


© Siemens AG 2019 All rights reserved

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 33
3 Example: User calibration of analog output module 0 to 10 V

Figure 3-2 Read additional information


© Siemens AG 2019 All rights reserved

5. Select the "Execute channel calibration"


6. Click the "Next" button to start the user calibration

Figure 3-3 Select "Execute channel calibration" operation

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 34
3 Example: User calibration of analog output module 0 to 10 V

The analog module acknowledges the change to the user calibration (mode = Use
calibration) and the status "OK, Working". As soon as the analog module signals
the status "OK, Ready", the remaining data of the data set are valid, and you can
evaluate the data.
The number of required calibration steps (3) is signaled in the upper right corner
and in the "Next" button.

Figure 3-4 Measure the terminal 1, 5


© Siemens AG 2019 All rights reserved

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 35
3 Example: User calibration of analog output module 0 to 10 V

3.2 Zero-Scale calibration


The analog module requests measuring (Required user action = "Do measurement
between terminals", Size = "mV") at terminals 1 and 5. The measured voltage is
transferred to the analog module in the unit specified under the measured variable
(Size = "mV").

1. Fill in the measured value to the field


2. Click on the "Next" button
Example: 0.0 mV.

Figure 3-5 Fill in the measuered values


© Siemens AG 2019 All rights reserved

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 36
3 Example: User calibration of analog output module 0 to 10 V

As soon as the analog module signals the status "OK, Ready", the remaining data
of the data set are valid, and you can evaluate the data.
The number of necessary calibration steps is decremented.

Figure 3-6 Measure the terminal 1, 5


© Siemens AG 2019 All rights reserved

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 37
3 Example: User calibration of analog output module 0 to 10 V

3.3 Intermediate step


The analog module requests measuring (Required user action = "Do measurement
between terminals", Size = "mV") at terminals 1 and 5. The measured voltage is
transferred to the analog module in the unit specified under the measured variable
(Size = "mV").

1. "Fill the measured value" to the field


2. Click on the "Next" button
Example: +9986.300 mV.

Figure 3-7 Fill in the measuered values


© Siemens AG 2019 All rights reserved

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 38
3 Example: User calibration of analog output module 0 to 10 V

The number of necessary calibration steps is decremented. The calibration values


determined by the analog module are signaled.
Click on the "Save" button to store the values.

Figure 3-8 New calibration values


© Siemens AG 2019 All rights reserved

NOTE Click on the "Abort" button to delete the new values and use the last valid values.

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 39
3 Example: User calibration of analog output module 0 to 10 V

3.4 Full-Scale calibration positive


The synchronization values signaled by the analog module are accepted. Click the
"OK" button to finish the calibration.

Figure 3-9 Storing new calibration values

As soon as the analog module signals the status "OK, Ready" in the status field,
the determined calibration values and the time stamp of the calibration are applied
and saved. The calibration is completed.
© Siemens AG 2019 All rights reserved

Figure 3-10 Calibration complete

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 40
4 Appendix

4 Appendix
4.1 Service and support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible with just a few mouse clicks:
https://support.industry.siemens.com/

Technical Support
The Technical Support of Siemens Industry provides you fast and competent
support regarding all technical queries with numerous tailor-made offers
– ranging from basic support to individual support contracts. Please send queries
to Technical Support via Web form:
https://www.siemens.com/industry/supportrequest
© Siemens AG 2019 All rights reserved

SITRAIN – Training for Industry


We support you with our globally available training courses for industry with
practical experience, innovative learning methods and a concept that’s tailored to
the customer’s specific needs.
For more information on our offered trainings and courses, as well as their
locations and dates, refer to our web page:
https://www.siemens.com/sitrain

Service offer
Our range of services includes the following:
• Plant data services
• Spare parts services
• Repair services
• On-site and maintenance services
• Retrofitting and modernization services
• Service programs and contracts
You can find detailed information on our range of services in the service catalog
web page:
https://support.industry.siemens.com/cs/sc

Industry Online Support app


You will receive optimum support wherever you are with the "Siemens Industry
Online Support" app. The app is available for Apple iOS, Android and Windows
Phone:
https://support.industry.siemens.com/cs/ww/en/sc/2067

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 41
4 Appendix

4.2 Links and literature


Table 4-1
No. Topic
\1\ Siemens Industry Online Support
https://support.industry.siemens.com
\2\ Link to this entry page of this application example
https://support.industry.siemens.com/cs/ww/en/view/109768094
\3\ SIMATIC ET 200SP User calibration of analog module
https://support.industry.siemens.com/cs/ww/en/view/103074991

4.3 Change documentation


Table 4-2
Version Date Modifications
V1.0 06/2019 First version
© Siemens AG 2019 All rights reserved

User calibration of analog module


Entry-ID: 109768094, V1.0, 06/2019 42

También podría gustarte