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
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.
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
Sending syslog messages to a
The function block is executable on all
current PROFIINET CPU and CP.
The present document contains the topics
SYSLOG library description with function
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
|Contents of the
Library description: Sending SYSLOG messages with a SIMATIC S7
STEP 7 SYSLOG block library
||Modification of the inputparameters;
the local port and the connection ID for the open communication are
not fixed any more.|