Parameter Validation Error - Siemens SIMATIC ET 200SP Manual

Hide thumbs Also See for SIMATIC ET 200SP:
Table of Contents

Advertisement

A.2

Parameter validation error

If you make the parameter settings in STEP 7 (TIA Portal) or in STEP 7 , the parameter
values are checked before they are transferred to the technology module. This process
prevents parameter errors.
In other use cases, the technology module checks the transferred parameter data record. If
the technology module finds invalid or inconsistent parameter values, it outputs an error
code (see below). The new parameter data record is rejected in this case, and work
continues with the current parameter values until a valid parameter data record has been
transferred.
WRREC
When the CPU is in RUN, you can change the parameter data record with the instruction
WRREC (Write Record). In case of errors, the WRREC instruction returns corresponding
error codes in the STATUS parameter.
Example:
Let us assume that an invalid value, for example 9, is written to the module for the operating
mode with WRREC. As a consequence, the module rejects the entire parameter data record.
You can recognize this by evaluating the STATUS output parameter of the WRREC
instruction. The STATUS output parameter is output as an ARRAY[1..4] of BYTE data with
the value 16#DF80E111:
Example of
WRREC
STATUS data
DF
H
80
H
E1
H
11
H
Technology Module TM Count 1x24V (6ES7138-6AA00-0BA0)
Manual, 02/2017, A5E33002339-AB
Address
Meaning
STATUS[1]
Error when writing a data record via PROFINET IO (IEC 61158-6)
STATUS[2]
Error when reading or writing a data record via PROFINET IO
(IEC 61158-6)
STATUS[3]
Module-specific error
STATUS[4]
Error code from the table below:
The "Operating mode" parameter has an invalid value.
Parameter data record
A.2 Parameter validation error
81

Advertisement

Table of Contents
loading

Table of Contents