show the entry list
Sending SYSLOG messages with a SIMATIC S7 CPU
Part number:

Task definition
The syslog protocol is in fact one of the simpliest loggers. An application uses syslog to transfer messages, warnings or error statuses to a remote server and, if required, file the messages in a database.
The Industrial Ethernet Switches of the SCALANCE product family already include syslog to send logging records.

The purpose of this application is to show the user how syslog functionality can be used to display and file CPU messages on a PC without being an expert in programming or having special knewledge in SIMATIC S7 CPU.

Solution 
To implement this automation task, function block SYSLOG (FB100) has been developed. This function block provides the following:

  • Emulation of the syslog protocol in the user program

  • Establishment of an open communication between control system and syslog server

  • Sending syslog messages to a syslog server

The function block is executable on all current PROFIINET CPU and CP.

  • CPU 31x-2 PN/DP from Firmware version 2.4 up

  • CPU 41x-3 PN/DP

  • ET 200S PN-CPU

  • S7-300/ S7-400 Ethernet CP

The present document contains the topics below:

  • SYSLOG library description with function block FB100

  • Direction on how to display the generated syslog messages on a syslog server

  • Support in the SQL database configuration to file the syslog messages.

Possible existing network

Downloads
Contents of the downloads

Download

Documentation 
Library description: Sending SYSLOG messages with a SIMATIC S7 CPU
51929235_SYSLOG_S7CPU_DOKU_V11_en.pdf ( 598 KB )
Code 
STEP 7 SYSLOG block library
51929235_SYSLOG_CLASSIC_LIB_V11.zip ( 206 KB )

History
Issue

Modifications

08/2011 First issue
06/2012 Modification of the inputparameters; the local port and the connection ID for the open communication are not fixed any more.

Filter criteria:
Hardware platform: SIMATIC S7-300/S7-400, Industrial Ethernet
Software: S7-SCL, STEP 7 up to V5.x
Entry contents: Function blocks/tools
 Entry ID:51929235   Date:2012-06-25 
I regard this article....as helpfulas not helpful                                 
related links
SIMOTION IT Ethernet-based HMI an ...
SIMOTION IT Ethernet-based HMI an ...
SIMATIC HMI WinCC V7.0 SP1 MDM - ...
Configuring acknowledgeable messa ...
Why are all the messages shown as ...
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