Parameter Validation Errors - Siemens ET 200SP Manual

Technology module tm pulse 2x24v
Hide thumbs Also See for ET 200SP:
Table of Contents

Advertisement

A.2

Parameter validation errors

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 the operating state 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 Pulse 2x24V (6ES7138‑6DB00‑0BB1)
Manual, 05/2019, A5E35061186-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 errors
167

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents