EasyManua.ls Logo

Siemens SIMATIC ET 200AL - Page 1039

Siemens SIMATIC ET 200AL
1585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Diagnostics and maintenance
4.1 Diagnostics mechanisms of PROFINET IO
PROFINET with STEP 7 V15
92 Function Manual, 12/2017, A5E03444486-AH
Basic procedure
The following steps are fundamentally required to create the requirements so that an I-
device can make its local modules available as an asset management record to a requesting
IO controller:
1. Make the settings in the properties of the PROFINET interface of the CPU.
Activate "IO device" operating mode
Activate the "Activate asset management using user program" option
PROFINET interface forwards a request of an IO controller to the user program of the
I-device for reading the asset management record only if the option is selected.
Figure 4-7 Activating asset management using a data record
2. Configure the program routine for compiling the asset management record. The program
part collects the required I&M0 data of the plugged central modules and stores them in
the corresponding fields of the data record structure of the asset management record.
3. Configure the program part for coordinating the data record provision:
For this, call the instruction PRVREC (Provide Record) in accordance with the following
templates in the corresponding modes:
Cyclic calling (for example in the cycle OB) of the PRVREC instruction with Mode 0, in
order to recognize the AMR request.
When the AM record request is recognized, the PRVREC program has to
acknowledge within one second that the request has been recognized. This means
that PRVREC must be called with the Mode 2, and with the required AM record. If the
I-device does not adhere to the time frame, the I-device acknowledges the record
request of the IO controller as negative!
Particular aspect for configuration of the PRVREC call: PRVREC has to be called with
F_ID = 0
. This codes that this is an IO-device-specific data record. The SLOT and
SUBSLOT output parameters therefore also return the value 0.
Within 10 seconds the AM record now has to be completed and PRVREC be called
with Mode 3 (positive response to the IO controller with provision of the AM record). If
the I-device does not adhere to the time frame, the I-device acknowledges the record
request of the IO controller as negative!
A detailed description of the PRVREC instruction and possible error codes for evaluating
the function can be found in the online help of STEP 7 (TIA Portal).

Table of Contents

Other manuals for Siemens SIMATIC ET 200AL

Related product manuals