×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 57249109, Entry date: 01/20/2021
(24)
Rate

Querying and Controlling the Digital Output of a SCALANCE W via a SIMATIC Controller and SNMP

  • Entry
  • Associated product(s)
The blocks of the library "LSNMP" from the Libraries for Communication for SIMATIC Controllers allow a SIMATIC S7 CPU with PROFINET interface, as a simple SNMP manager, to query information from the network components and, if necessary, also to control them.

The SCALANCE W788-x/W748-x devices of the RJ45 variant have a digital input and output. You can control or query the digital output (DO/1L) and its state via the private MIB tag "snMspsDigitalOutputLevel".

The blocks of the library "LSNMP" enable a SIMATIC S7-1200/1500 CPU as a simple SNMP manager to switch the digital output of the SNMP agent SCALANCE W748-1 RJ45 and to read its state.

The following functions are implemented in the application example:

  • Integration of the "LSNMP_Get" and "LSNMP_Set" blocks of the "LSNMP" library into the STEP 7 V16 project.
  • Switching the digital output of the IWLAN client with the "LSNMP_Set" library block.
  • Query the status of the digital output of the IWLAN client with the "LSNMP_Get" library block.

The following graphic shows the configuration scenario that is implemented in this example.
  

Downloads
  Documentation (1,5 MB) 
 Registrierung notwendig  Project (2,4 MB)

Last Changes
The blocks of the "LSNMP" library were integrated entirely into the Libraries for Communication for SIMATIC Controllers. You'll find the Libraries for Communication for SIMATIC Controllers in the entry 109780503 
A new application example for the "LSNMP" library has been created.

Below you will find the last revision of the "LSNMP" library before the integration into the Libraries for Communication for SIMATIC Controllers.

Archive
  Documentation (1,6 MB)
 Registrierung notwendig  "LSNMP"-Library_V16 (4,9 MB)
 Registrierung notwendig  "LSNMP"-Library_V15.1 (6,4 MB)


Additional keywords
SNMP, OID, SNMPv1, SCALANCE W

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.
Rate entry
no rating
Requests and feedback
What do you want to do?
Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.