Purpose of Diagnostic Reports
BIESSE LogAnalyzer processes WRT (Windows Real Time) logs and saves the results for later examination. Analysis can be performed on the machine's control computer or on another computer with access to copied diagnostic data.
This article covers text report generation, hardware information saved in XML, and transferring logs in a ZIP archive. Diagnostic Reports is the subject of the article; no separate tab with this name is shown in the interface examined here.
The main operations are:
| Operation | Purpose |
|---|---|
ANALYZE | Process logs and generate analysis results |
Save Info... | Create a ZIP containing diagnostic data and results of processing already performed, if available |
Import Report | Extract an archive created through Save Info and populate the paths needed to work with its data |
-a | Automatically analyze the last month of activity and offer to save a diagnostic ZIP |
-b | Create a backup ZIP of logs for the specified period |
The interface description applies to Log File Analyzer 12.2.15.0. The functions have been checked against the BIESSE LogAnalyzer manual.
Analysis results do not establish the cause of a malfunction. They represent information extracted from the available logs. A technical conclusion requires examination of the original messages and the necessary equipment checks.
Analysis Results and Original Logs
When working with diagnostic materials, distinguish two types of data.
Analysis results are the text report and hardware XML files prepared by LogAnalyzer.
Source data consists of the WRT logs used for processing. These are required to check original messages and repeat the analysis.
The TXT report provides a quick overview of detected events. Keeping the original logs allows processing to be repeated, a different date range to be selected, and messages requiring closer examination to be checked.
Main Files and Directories
| File or Directory | Purpose |
|---|---|
logfile | Main logs, including Stdout.log and StdoutOld.log |
zarchive | Archived logs |
Diagnostica | LogAnalyzer processing results |
diagnosi_<initial date>_<final date>.txt | Detailed text report with a statistical summary at the end |
HWInfo.xml | Information about the detected hardware configuration |
HWMerge.xml | Comparison of detected and reference hardware configurations when the required data is available |
logfile\equipment | Reference hardware XML files and saved hardware detection history |
MachineValidation.log | List of Machine Validation checkpoints |
wholeLog_... | Combined text of analyzed logs, created in a temporary directory |
LAOptions.txt | Threshold settings for ENET and CANopen statistical indicators |
A shared XML extension does not mean that files serve the same purpose. A description of detected equipment and its comparison with a reference must be considered separately.
Standard Paths
The manual and the interface examined here use the following locations:
| Data | Path |
|---|---|
| Main logs | C:\wnc\home\d_xnc\logfile |
| Archived logs | C:\wnc\home\zarchive |
| Results when logfile is in its standard location | C:\wnc\home\d_xnc\logfile\Diagnostica |
| RTDB Machine Data | C:\wnc\home\d_xnc\dati\data |
When analyzing copied data, specify its actual location. Paths on the service computer may differ from those on the machine.
Diagnostica contains processing results. It does not replace the original logfile and zarchive directories.
Settings: Period and Data Sources
Settings provides Today, Last Week, Last Month, All, and Range Selection. The manual specifies the last month of machine activity as the default period. Today is selected in this particular screenshot; the displayed interface state should not be treated as confirmation of the default setting.
Enabling Advanced settings provides the following fields:
| Field | Purpose |
|---|---|
Logfile Path | Directory containing the main logs |
Zarchive Path | Directory containing archived logs |
Destination Path | Directory for saving results |
Data Path | RTDB Machine Data directory for reading axis parameters |
The N.A. checkboxes exclude an unavailable source. Before processing, check that the required sources have not been excluded.
The date range must include the event under investigation. The presence of a zarchive directory alone does not confirm that all required archived logs are available: check the actual files and detected sessions.
Destination Path and Complete
The Complete button populates the destination path using the rules described in the manual:
| Available Sources | Destination Path |
|---|---|
| logfile is available | <Logfile Path>\Diagnostica |
| logfile is unavailable; zarchive is available | <Zarchive Path>\..\Diagnostica |
| Neither source is available | C:\wnc\home\d_xnc\logfile\diagnostica |
Check Destination Path after importing an archive or changing sources manually. Populating this field does not check the log contents or confirm that results have been saved successfully.
Starting and Completing ANALYZE
Procedure:
- Open Settings and select the period.
- Check logfile, zarchive, and Destination Path.
- Click ANALYZE.
- Wait for processing to finish.
- Examine Statistics and Report.
- Check the files created in the destination directory.
During processing, State of elaboration shows the current stage and a progress indicator:
| State | Meaning |
|---|---|
Archive extraction | Extracting logs from archives |
Log Elaboration | Processing logs |
Elaboration terminated | Processing has finished |
Stop now interrupts processing and displays the results obtained up to that point. Such results should be identified as partial.
When processing finishes, the application automatically switches to Statistics. Session details are available in Report, and hardware information is displayed in Hardware when the relevant data is available.
The diagnosi_...txt Text Report
The manual describes this filename:
diagnosi_<initial date>_<final date>.txt
The placeholders in angle brackets represent the initial and final dates of the analysis period. This is a filename pattern, not a literal filename to create manually.
The file contains detailed information corresponding to Report. At the end is a statistical summary corresponding to Statistics.
Open the TXT file in an external text editor to search event names or codes. It contains processing results and is not a complete copy of the original WRT logs.
How to Read the Report
In Interpretation of automatic elaboration results, the manual recommends starting with the summary at the end of the file. It helps identify the number and type of events of interest, which can then be located in the descriptions of individual operating sessions.
Practical sequence:
- Open the TXT and examine the final statistics.
- Identify event categories relevant to the investigation.
- Locate the corresponding sessions.
- Check message timestamps and contents.
- Consult the original logs as needed.
The recommendation to start with the summary concerns the order in which the report is read. It does not establish causation between recorded events.
Statistics and Original Messages
Statistics helps select sessions for further examination. An error count or indicator color does not identify a defective physical component.
To check original records, select a session in Report and click Show log.
The manual specifies notepad.exe as the default editor. Another application can be selected through Log Display Text Editor in Advanced settings.
Check the full text, timestamps, and surrounding records. A brief reference to an event in the TXT report does not replace examination of this data.
HWInfo.xml: Detected Hardware Configuration
HWInfo.xml contains information about network topology and equipment detected by WRT. The manual's Settings section specifies support for this output from WRT version 10.4.0 onward.
Hardware information depends on the available messages. Setting a destination path does not guarantee that every set of logs will provide a complete equipment description.
To view a previously created hardware XML file, click Show Hardware in Settings and select a compatible file. The device tree opens in HWLoaded.
HWLoaded displays saved information. Viewing XML on a service computer does not poll the machine's devices in real time.
HWMerge.xml: Comparison with Reference Hardware
HWMerge.xml is associated with comparing detected equipment against a reference configuration. The corresponding reference data is required for this comparison.
The manual distinguishes the following colors in the hardware view:
| Color | Meaning |
|---|---|
| Black | Elements matching the reference configuration |
| Red | Elements missing compared with the reference |
| Blue | Added elements; if no reference is available, the entire tree is blue |
A device missing relative to the reference is a comparison result, not a confirmed physical fault. First check which reference was used and which devices were detected during the corresponding WRT startup.
Reference Data and Machine Validation
Machine Validation records a checkpoint for the machine. The manual describes writing a marker to the log, updating the checkpoint list, and saving a reference hardware configuration in logfile\equipment.
The reference is based on equipment detected during the most recent WRT startup before validation. The manual therefore explicitly states that all devices must have been detected and the machine must be working correctly.
Creating a checkpoint and ordinary processing through ANALYZE are separate operations. A new checkpoint is not required to prepare a diagnostic ZIP.
The final part of Machine validation also describes saving the hardware configuration of the latest startup with -l. This operation requires the startup to have occurred less than ten minutes earlier; the additional -i option removes that restriction. The filenames <date of launch>_HWInfo.xml and Latest_HWInfo.xml are described for logfile\equipment.
These parameters are presented in the context of a separate operation for preserving hardware history. They should not be added to the LogAnalyzer backup commands below. Creating a validation point and saving a detected hardware file must also be distinguished.
Save Info: Creating a Diagnostic ZIP
Save Info... is located in Settings. According to the manual, it collects data from logfile and zarchive needed for analysis with the current settings, together with processing results if analysis has already been performed.
If fresh results are required, run ANALYZE for the selected period first. Then click Save Info, save the archive, and check its contents.
Save Info creates an archive for subsequent transfer or storage. The manual does not describe the button as automatically sending materials over the internet.
Compression Notification
The application title in this screenshot also contains the Polish message brak odpowiedzi, meaning “not responding”. A single image cannot establish whether the operation subsequently completed successfully.
Check the package after the operation ends: the archive must exist, open correctly, and contain the required data. The notification alone confirms neither the contents nor the integrity of the result.
Automatic Analysis Archive Structure
Automatic Elaboration and On Machine Elaboration describes the following structure after extracting a ZIP created by automatic analysis:
tmpSendReport/
├── logfile/
│ ├── [log files]
│ ├── Diagnostica/
│ │ ├── [text report]
│ │ └── [hardware XML files, if available]
│ └── equipment/
│ └── [reference hardware XML files, if available]
└── zarchive/
└── [archived logs]
This diagram represents the mode described in the manual. It does not guarantee identical contents for every ZIP produced by every LogAnalyzer version and launch mode.
Check the files and dates actually preserved. The presence of tmpSendReport or the size of the ZIP alone is not sufficient to declare a package complete.
Import Report: Moving Analysis to Another Computer
Import Report is intended for an archive created through Save Info. The manual describes selecting a ZIP, specifying an extraction directory, and automatically populating logfile, zarchive, and report paths.
Procedure:
- Copy the ZIP to the service computer.
- Open Settings and enable Advanced settings.
- Click Import Report and select the archive.
- Specify an extraction directory.
- Check the populated paths and required date range.
- Click ANALYZE to repeat processing.
- Examine the resulting Statistics, Report, and Hardware views.
The manual also describes dragging a ZIP onto Settings: after the archive is specified, the application requests an extraction directory.
Import Report is not a way to open an individual diagnosi_...txt file. Importing an arbitrary ZIP containing text files should not be treated as a documented workflow.
Automatic Analysis with -a
LogAnalyzer.exe -a
The -a parameter automatically starts analysis of the last month of machine activity. After processing, the application offers to select a destination for a ZIP containing logs and results. It remains open for examination of the report and hardware tree.
The command assumes that LogAnalyzer.exe is available in the current directory or specified by its actual path. Check the filename of the ZIP saved by the particular run.
If the malfunction occurred before the analyzed month, select a suitable period in Settings and confirm that the corresponding logs are available.
Backup with -b
Documented syntax:
LogAnalyzer.exe -b <d|w|m|a> <Zip file path>
| Value | Period |
|---|---|
d | Current day |
w | Last week |
m | Last month |
a | All available logs |
Examples with illustrative destination paths:
LogAnalyzer.exe -b d "D:\CNC_Diagnostics\logs_today.zip"
LogAnalyzer.exe -b w "D:\CNC_Diagnostics\logs_week.zip"
LogAnalyzer.exe -b m "D:\CNC_Diagnostics\logs_month.zip"
LogAnalyzer.exe -b a "D:\CNC_Diagnostics\logs_all.zip"
For actual use, specify an existing destination directory and the correct application path.
The manual describes -b as backup without the main interface. If no ZIP path is specified, a destination selection dialog opens.
The purpose of -b is log backup. Its documented description does not justify promising a new TXT report and hardware XML files as generated by ANALYZE.
Additional -y and -s Parameters
| Parameter | Action in Backup Mode |
|---|---|
-y | Forces overwrite of an existing destination file |
-s | Suppresses notifications about archived log backup stages |
Example allowing overwrite:
LogAnalyzer.exe -b m "D:\CNC_Diagnostics\monthly.zip" -y
Use -y only when the previous file may be overwritten. Use different archive names to preserve a history.
The -s parameter supplements -b. It is not described as independently starting analysis or guaranteeing that no dialogs or system errors will appear.
Log Format and Partial Sessions
Force old log format selects traditional log processing instead of CSV. The manual describes its use for WRT logs from 12.1.0 PL 50 onward when the system is not configured for CSV. Select the mode according to the actual source format.
LogAnalyzer also processes fragments without a WRT startup header. These sessions are labeled PARTIAL, with question marks in the start date. Information from the beginning of startup, including the EtherCAT network description, may be missing.
When sharing results, state whether PARTIAL sessions are present and whether processing was interrupted. A missing message in incomplete data does not prove that the event did not occur.
Filters and Statistical Thresholds
End Session Filter excludes events within a specified number of seconds before session end. The manual relates its use to machine shutdown events while the UPS is operating.
Document the filter settings used in the analysis. If a stop or shutdown is being investigated, examine events around session end separately.
LAOptions.txt describes threshold settings for statistical indicators:
ENET_ERR_SEM_TH=<n>
CANOPEN_ERR_SEM_TH=<n>
These settings apply to evaluation of ENET and CANopen error counts in Statistics. Consider the selected thresholds when comparing indicators from two analyses. Changing these settings does not eliminate errors recorded in the original logs.
Temporary wholeLog_ Files and RTDB Machine Data
As a by-product of analysis, the manual describes combined text from the processed logs in %TEMP%\LogAnalyzer\temp, with a filename starting with wholeLog_. This is a temporary result and should not replace a saved diagnostic package.
DataTable uses a separate RTDB Machine Data source. The description of a ZIP containing logfile, zarchive, and processing results does not confirm that the entire data directory is always included. If axis parameters are required, check the availability of the corresponding RTDB data separately.
Preparing a Package for a Service Technician
The following sequence is a practical recommendation for organizing the materials:
- Specify the machine model and identifier, WRT version, and LogAnalyzer version.
- Record the date and time of the problem, operator actions, and observed behavior.
- Select a period that includes the event under investigation.
- Check the sources and run ANALYZE.
- Examine the summary and corresponding sessions.
- Save the package through Save Info.
- Check that the ZIP opens and contains data for the required period.
- Check for the TXT report, hardware XML files, and reference data when required and available.
- Preserve the original ZIP unchanged; use a separate extraction directory for reanalysis.
- Document the original message checks and confirmed findings.
Do not combine packages from different machines in one extraction directory. Identical filenames and different hardware references make it harder to establish where data originated.
Transferring the archive to a recipient is separate from creating it. Before transfer, check the contents and use your organization's prescribed method for exchanging technical information.
Limits of Diagnostic Conclusions
A report can establish which events were recognized in the available data, which sessions they belong to, and what hardware information was recorded.
An error preceding HALT does not automatically establish causation. A change in the hardware tree alone does not establish the physical cause of a missing device. Successfully creating a ZIP confirms that a package was saved, but not that every machine event was recorded.
For a technical conclusion, correlate the TXT report, XML files, original records, and necessary equipment checks. Creating a report does not require bypassing safeguards, changing drive parameters, or creating a new reference from a malfunctioning machine.
Technical Documentation and References
- BIESSE LogAnalyzer — User Guide (English), Introduction and Settings page sections. Application purpose, period and source selection, ANALYZE, Save Info, Destination Path, Import Report, and Show Hardware.
- BIESSE LogAnalyzer — User Guide (English), Report page and Statistics page sections. Session details, original messages, text report, temporary wholeLog_ file, filters, and statistical indicators.
- BIESSE LogAnalyzer — User Guide (English), Hardware page and Hardware display from xml file page (HWLoaded) sections. Detected equipment, comparison with a reference, and viewing saved hardware XML files.
- BIESSE LogAnalyzer — User Guide (English), Automatic Elaboration and On Machine Elaboration, Interpretation of automatic elaboration results, and Interpretation of log analysis results sections. Automatic processing, diagnostic package structure, and reading the report.
- BIESSE LogAnalyzer — User Guide (English), Options through configuration file and LogAnalyzer launch options sections. Statistical thresholds and -a, -b, -y, -s parameters.
- Documentation for the Relevant BIESSE WRT Version and Installed Equipment. Used for further technical interpretation of messages and checking the particular machine configuration.
This article is an independent technical guide to working with BIESSE LogAnalyzer diagnostic reports. It is not an official service instruction issued by Biesse.