Diagnostics and maintenance
4.9 Maintenance
PROFINET with STEP 7
Function Manual, 05/2021, A5E03444486-AL
113
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-20 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).
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......