EasyManua.ls Logo

Modas mc1 - Debugging; Recording System Messages; Setting Debug File Destination

Modas mc1
41 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 Debug
The MC offers the following possibilities to record data and events:
1) store system messages in RAM, FLASH or USB memory and show them under
"Statistics -> SystemLog" and make it available for download. The download can also be carried out
with the MC-Config program.
2) send system messages to a syslog server.
3) Trace the data traffic on the WLAN and (or) the LAN interface.
The recorded trace files can be transferred to the computer via the home page (at the bottom) or via
the MC-Config-Program. The analysis of the trace files can be done with known tools like Wireshark
6.1 Recording system messages
The possibilities described here to record system messages or traces of the data traffic are always intended
only to investigate occurring problems and, if necessary, to show how these problems can be solved. In
normal operation, all settings described here should be reseted to the default values. Likewise, the log
files that are still present should be deleted by the function "Statistics -> SystemLog -> Reset System Log".
It is possibility to adjust the logging parameter in a way that specific modules of the MC operating system
generate "intensive" messages in the form of formatted text lines and store them in a file. For example, if
there are problems with the use of the serial interface, this program part can be specifically configured to
record very precisely the occurring events.
It is recommended to configure a time server (NTP) to store the messages with a time stamp so that they
can be better attributed to a problem.
In general, the system messages are not intended for the user to determine the cause of the fault by means
of a defined error list. The DebugLog file should be sent to the manufacturer for verification. The possible
system messages are not defined and commented in detail.
6.1.1 Setting the debug file destination
The destination of the debug files can be defined under "Configuration" -> "Logging".
Possible tragets are:
Choice Destination Note
RAM internal RAM The messages are getting lost after a "power down" or a
reset
Internal FLASH internal FLASH memory After a "power down" or a reset, the following messages
are written to the end of an already existing debug file.
The maximum size of the file is 16 MB.
USB External USB-FLASH memory In this mode, a new numbered debug file is created after
each reset. The file names are "DebugLog0.dat",
"DebugLog1.dat", and so on. The size of each file is
limited by the capacity of the USB memory.
6.1.2 Specifying additional information for the debug messages
In addition to the actual message text, you can specify the additional information for each message.
MC Manual Version 2.10c
32

Table of Contents

Related product manuals