show the entry list
Monitoring and Control of Network Components with an S7 PN-CPU as an SNMP Manager
Part number:

Problem
Monitoring and regular control of network components allow us to get a complete overview of the status and availability of an industrial network. It is important to be able to monitor and, if necessary, change the factors that influence them. In this entry, the following requirements are to be met:

  • Providing also S7 CPUs with an option to control the network components
  • Controlling the digital I/O of a new SCALANCE W748-1 RJ45 IWLAN component using network management functions. This function can be used to deliberately switch off specific plant sections of, for example, monorail conveyors.

Solution  
Network management systems monitor and, if necessary, control the status of SNMP-capable network components via SNMP (Simple Network Management Protocol). The blocks of the "SNMP_Library" and the applications now allow you to use a SIMATIC S7 CPU with PROFINET interface to poll all desired information from network components and, if necessary, control them.

The diagram below shows a network where the S7 CPU controls different network components.

In the download area, three documents are available that deal with the topic of this entry.

SNMP library for STEP 7 5.5

  • The library contains all necessary blocks for reading and writing SNMP variables for S7 CPUs with integrated PROFINET interface.

Simple application example of the SNMP library

  • The application example shows you how to use the blocks of the SNMP library in order to read and write different SNMP variables from SCALANCE switches from the S7 CPU.
  • The example was created in FBD.

SNMP control block for control and status check of the digital IO of a SCALANCE W748-1 IWLAN client

  • This application example shows the programming of a block that can read and switch the digital output of a SCALANCE W748-1 RJ45 with the aid of the SNMP library.
  • The user block was created in SCL.

Downloads
Content of Downloads

Download

Documentation 
Description of the SNMP library for S7 CPUs with PROFINET interface
57249109_Library_SNMP_S7_CPU_DOKU_V1_0_en.pdf ( 512 KB )
Code 
Block library for STEP 7 V 5.5
57249109_SNMP_Library_CODE_V1_1.zip ( 211 KB )
Documentation 
Description of the simple application example to use the SNMP library
57249109_SNMP_RW_DOKU_V1_0_en.pdf ( 1029 KB )
Code 
STEP 7 project (V 5.5) for the simple application example
57249109_SNMP_RW_CODE_V1_1.zip ( 884 KB )
Documentation 
Description of the control block to control the digital output of a SCALANCE W786-1 RJ45
57249109_SCAL_W_IO_SNMP_S7_CPU_DOKU_V1_0_en.pdf ( 962 KB )
Code 
STEP 7 project (V 5.5) for the control block
57249109_SCAL_W_IO_SNMP_S7_CPU_CODE_V1_1.zip ( 965 KB )

Note on security
Caution
The functions and solutions described in this entry predominantly confine themselves to the realization of the automation task. Please also take into account that corresponding protective measures have to be taken in the context of Industrial Security when connecting your equipment to other parts of the plant, the enterprise network or the Internet. For more information, please refer to Entry ID 50203404.

Last modification
The Library blocks SNMP_GET (FB 100) and SNMP_SET (FB 101) have been changed.

Filter criteria:
Hardware platform: IWLAN
Software: S7-SCL
Entry contents: Application Examples
 Entry ID:57249109   Date:2012-09-19 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
Contact
Support Request
Contacts worldwide
Technical Forum
QuickLinks
Compatibility tool 
Performance Data 
Micro Automation Sets
Help
Online Help
Guided Tour