Siemens application note showing how to configure PROFINET diagnostics (ALARM_S, FB 54, FC11/FC12) on a CP 343-1 as a PROFINET controller.
This Siemens application note, Volume 2 of the PROFINET diagnostics application, shows how the diagnostic capabilities described in Volume 1 can be realized via a CP (CP 343-1) as a PROFINET controller. It focuses on configuring ALARM_S messages, reading out and evaluating received diagnostics information with the FB 54 PROFINET alarm function block, and reading and writing data records with a CP as a PROFINET controller.
The document describes the automation problem, the required hardware and software components (CPU 315-2 DP, CP 343-1, SCALANCE X208 and X202-2P IRT switches, ET 200S PNFO devices, SIMATIC STEP 7 V5.4 SP 2, SIMATIC NET, WinCC flexible 2005 Advanced SP1 HF7), the functional mechanisms of the application, and the installation, startup and configuration of the example program.
| CP 343-1 order number | 6GK7 343-1EX30-0XE0 |
|---|---|
| CPU 315-2 DP order number | 6ES7 315-2AG10-0AB0 |
| SCALANCE X208 firmware | 2.1 or higher |
| SCALANCE X202-2P IRT firmware | 2.1 or higher |
| IM 151-3 PN FO firmware | 5.0 or higher |
| SIMATIC STEP 7 version | V5.4 SP 2 or higher |
| SIMATIC NET SOFTNET S7 LEAN 2006 | Maximum of 8 connections |
| SIMATIC WinCC flexible version | 2005 Advanced SP1 HF7 |
| Micro Memory Card for S7 CPU | At least 2MB |
| Micro Memory Card for ET 200S PNFO | At least 64KB |
| SM322 digital output module | DO 16x24VDC/0.5A |
It shows how the PROFINET diagnostic capabilities explained in Volume 1 can be realized via a CP (CP 343-1) as a PROFINET controller, focusing on configuring ALARM_S messages and evaluating diagnostics with FB 54.
The PROFINET alarm function block FB 54 is programmed for evaluating the PROFINET IO diagnostic alarms.
The PROFINET IO communication blocks FC11 and FC12 are integrated for handling the data traffic between the S7 CPU and the S7 CP.
The SCALANCE X208 switch and the SCALANCE X202-2P IRT switch are used, connected via Industrial Ethernet and plastic optical fibers.