User guide

When a return of submodule alarm occurs, a counter in DB 10 is incremented in the associated alarm
(OB83). This counter indicates the number of return of submodule alarms that have occurred. Because
no additional data are provided by the IO device for this alarm, SFC54 is not called in this case.
Cyclic OB1 is empty. Access to the I/O data of the devices takes place directly by the download or
transfer commands to the process image and is not discussed further here.
The example program contains the following blocks:
Block Function Comment
OB11 Cyclic OB A counter in DB10 is incremented cyclically, according to a
clock memory
OB40 Process alarm For each process alarm, increments a counter in
10.Cnt_ProcAlarm and stores the alarm data of the device in
DB140.
OB82 Diagnostic alarm For each diagnostic alarm, increments a counter in
10.Cnt_DiagAlarm and stores the alarm data of the device in
DB182.
OB83 Return of submodule alarm For each return of submodule alarm, increments a counter in
continuous counter in DB 10.RetOfSubAlarm.
OB86 Loss of rack fault
DB10 Counter for alarms Contains alarm counters for various alarms that are
incremented in the relevant alarm OBs.
DB140 Additional alarm information for
process alarm
Contains the alarm data of the IO device for a process alarm
DB40 Data block for OB40
DB82 Data block for OB82
DB182 Additional alarm information for
diagnostic alarm
Contains the alarm data of the IO device for a diagnostic
alarm
VAT_1 Variable table Displays the IO data areas used (inputs and outputs in the
process image) and the alarm counters in DB10
Table 1: Overview of PNIO Controller Blocks for Example Project
2.5.4 Downloading the STEP 7 Program and the PROFINET IO Bus Configuration
In Simatic Manager, the bus configuration can be downloaded to the CPU along with the STEP 7 program. To do
so, select the block in Simatic Manager and activate the following:
o Via the "PLC Æ Download" menu command, activate the data download to the RAM area or CPU or
o Via the "PLC Æ Download User Program to Memory Card"
menu command, activate the data download
to the CPU flash card.
Figure 7: Downloading an Example Program to the S7 CPU
Copyright © Siemens AG 2008. All rights reserved. 15 DK_ERTEC200_PNIO_Description
Technical data subject to change Version 3.0.0