BIESSE LogAnalyzer — Guide to WRT Log Analysis and Diagnostics on CNC Machines

RU PL EN

Introduction

LogAnalyzer is specialized diagnostic software designed to process and analyze log files generated by the WRT (Windows Real Time) system used in Biesse CNC machine control systems.

The application is intended for examining events recorded during machine operation, detecting errors, analyzing the history of control system startup sessions, and viewing the machine's hardware configuration.

LogAnalyzer organizes large volumes of technical messages contained in WRT logs and presents the results as reports, statistics, event lists, and hierarchical hardware trees.

The software can be used directly on the machine's control computer or on a separate diagnostic computer, provided that the relevant log files are available.

The main capabilities of LogAnalyzer include:

  • Analysis of WRT operating history.
  • Detection and classification of diagnostic events.
  • Identification of PLC, drive, and communication errors.
  • Analysis of EtherCAT, CANopen, and ENET industrial network events.
  • Detection of HALT conditions and associated messages.
  • Visualization of the machine's hardware configuration.
  • Comparison of detected hardware with a stored reference configuration.
  • Detailed examination of individual operating sessions.
  • Searching log files for custom strings and expressions.
  • Analysis of axis configuration parameters.
  • Generation of diagnostic reports and archives for remote analysis.

LogAnalyzer is a diagnostic data analysis tool. It does not replace electrical measurements, physical equipment inspection, or PLC logic analysis.

Purpose and Applications

The primary purpose of LogAnalyzer is to help technicians determine which events occurred within a machine control system, the order in which they were recorded, and which devices or subsystems were referenced in the messages.

Unlike reviewing individual alarm messages on the operator interface, analyzing stored logs makes it possible to examine the system's operating history over an extended period.

This is particularly useful when troubleshooting faults that:

  • Occur intermittently.
  • Appear during machine startup.
  • Develop during hardware initialization.
  • Cause the control system to stop.
  • Involve communication failures.
  • Temporarily disappear after restarting the machine.
  • Affect several subsystems simultaneously.

For example, a single operating session may contain CANopen communication messages, axis control errors, and a subsequent HALT event.

LogAnalyzer allows technicians to identify these events and access the original WRT log entries to examine their sequence.

Important: The chronological order of recorded messages helps reconstruct how a fault developed, but it does not, by itself, establish a causal relationship between the events.

How LogAnalyzer Works

The application processes diagnostic files generated by the WRT system during machine operation.

The primary information sources are log files such as Stdout.log, which contain messages related to software and hardware components of the control system.

During analysis, LogAnalyzer performs several operations:

  • Accesses current and archived log files.
  • Identifies WRT operating sessions.
  • Extracts diagnostic messages and events.
  • Recognizes supported error categories.
  • Generates statistics for detected events.
  • Creates detailed reports for individual operating sessions.
  • Identifies the machine's hardware configuration when sufficient data is available.
  • Provides tools for examining the results and accessing the original logs.

The documentation uses the term Session to describe an operating session.

A Session is a portion of a log file covering the period from WRT startup until the system is shut down.

The machine's operating history can therefore be represented as a sequence of individual sessions, each potentially containing timestamps, recorded events, and additional diagnostic information.

The availability of specific information depends on the WRT version, the completeness of the stored log files, and the configuration of the particular machine.

Systems That Can Be Analyzed

WRT and System Events

LogAnalyzer processes messages related to the operation of the WRT system itself.

These include detected system errors, shutdown events, and selected indicators describing the performance of the real-time system.

The Statistics page may display information about WRT software component versions, the number of detected operating sessions, and system events.

Particular attention is given to HALT events — machine stop conditions recorded by the control system.

PLC — Machine Control Logic

The application can identify messages labeled PLC together with their corresponding numeric error codes.

These messages may relate to control logic execution, equipment monitoring, communication with peripheral devices, and other control system functions.

For certain configurations, including supported systems using Biesse Wood 1 PLC, an additional diagnostic tool called PLC Parser is available.

According to the documentation, this tool can provide information about:

  • CNC program execution.
  • Spindle operations.
  • Tool changes.
  • Axis movements.
  • Emergency events.
  • Protective guard events.
  • Key press events.
  • Machine power-on states.

The availability of these functions depends on the software version and the contents of the original log files.

LogAnalyzer is not a general-purpose PLC programming environment and does not automatically provide access to the original PLC control project.

EtherCAT — Real-Time Industrial Network

LogAnalyzer includes dedicated tools for analyzing EtherCAT events.

The application can display information about network nodes, their connections, detected communication errors, and changes in network states.

When the necessary information is available, the EtherCAT topology can be displayed graphically.

The documentation describes the following event types:

EventDescription
LostLinkErrA detected loss of link on an EtherCAT port
RXErrA receive error detected on a port
InvFrameAn invalid EtherCAT frame was detected
PDI ErrorsErrors associated with the Process Data Interface
ECAT Processing Unit ErrorsFrame processing errors detected by a slave
AL Status Change ErrorsFailure to change the EtherCAT state of a node
ECAT Failed PacketAn EtherCAT frame did not return to the master

For certain events, the documentation identifies the EtherCAT registers associated with error detection.

This information allows technicians to conduct more detailed investigations of communication problems.

However, an EtherCAT error does not necessarily indicate that a particular slave device is defective. Identifying the cause may require checking cable connections, power supplies, port conditions, and other network components.

CANopen — Device Communication Diagnostics

LogAnalyzer processes diagnostic events associated with CANopen communication.

According to the application's glossary, the following conditions are recognized:

  • CANOPEN INDICATION — An emergency indication associated with a specific CANopen module.
  • CANOPEN BUS ERROR — A general CANopen bus error.
  • CANOPEN NODE GUARDING — A node guarding error.
  • CANOPEN HEARTBEAT — A heartbeat monitoring error.
  • CANOPEN BUS OFF — A Bus Off condition.
  • CANOPEN BUS ERROR PASSIVE — An Error Passive condition.
  • CANOPEN BUS RESET DONE — A bus reset recorded after a Bus Off condition.

These events help determine whether the control system detected a communication problem or a failure in device availability monitoring.

For accurate troubleshooting, it is necessary to identify the affected bus, determine which node is referenced in the log, and examine the events recorded before and after the error.

Important: CANopen Error Passive and Bus Off are different diagnostic states and must not be treated as identical faults.

ENET — Peripheral Module Communication

The application supports the analysis of ENET events associated with communication between compatible hardware modules.

Detected errors can be examined, while the Hardware page may display the relevant devices and their positions within the network structure.

In this context, ENET refers to the communication system used for peripheral equipment within the WRT architecture. It should not automatically be equated with conventional Ethernet TCP/IP networking.

Drives and Motion Control

LogAnalyzer processes messages associated with the motion control system, including those labeled AXS.

The documentation and glossary include messages concerning drive interfaces, communication issues, and internal diagnostic conditions.

Supported hardware configurations include systems using the Mechatrolink interface, such as drives connected through BH670 modules.

For detected drives, the application may display information about the associated equipment, device addresses, and axis names.

LogAnalyzer data can help identify the recorded type of error, but it does not replace the drive's own diagnostic functions available through its interface or dedicated service software.

Application Interface Structure

The LogAnalyzer documentation describes several main interface pages.

Settings — Analysis Configuration

This page is used to select log file sources, the analysis period, and processing parameters.

Users can start an analysis, select additional event categories, configure archive handling, and specify the locations of required files.

An Advanced settings mode is available for more complex diagnostic scenarios.

Settings — log analysis period and processing options

Statistics — Statistical Summary

This page displays summarized analysis results.

It provides information about WRT versions, the number of operating sessions, and recorded events.

Graphical status indicators are available for certain error categories.

The color of an indicator is determined by the analysis results and configured thresholds, rather than by direct measurement of the current electrical condition of the machine.

Statistics — analysis summary and status indicators

Report — Detailed Diagnostic Report

This page contains a list of detected operating sessions and the events associated with them.

Users can select a session, examine its summary, display additional details, and open the corresponding section of the original log.

Filtering and session highlighting functions are available for selected event categories.

Report — operating sessions and selected session details

Hardware — Hardware Configuration

This page displays detected equipment as a hierarchical tree.

Depending on the available information, it may include EtherCAT nodes, connected fieldbuses, I/O modules, and drives.

When a reference configuration is available, the application can show differences between the reference equipment and the hardware detected during the latest WRT startup.

Hardware — detected equipment tree using PLC coordinates

HWLoaded — Saved Hardware Configuration Viewer

This page displays a hardware structure loaded from an XML file previously generated by LogAnalyzer.

The function allows technicians to examine saved configurations, including those collected from other machines.

DataTable — Axis Configuration Parameters

This page is designed to extract and display axis configuration parameters from available machine data.

Users can select parameter tables and customize the set of parameters shown.

The ability to display parameters does not mean that LogAnalyzer is intended to modify them.

Data Table — axis configuration parameter table

Each of these sections will be covered in a separate technical guide describing the actual interface, individual controls, and their diagnostic applications.

Log File Locations

The technical documentation specifies standard directories used for storing WRT diagnostic data.

Directory or FilePurpose
C:\wnc\home\d_xnc\logfileMain diagnostic log directory
C:\wnc\home\zarchiveArchived log files
C:\wnc\home\d_xnc\logfile\DiagnosticaLogAnalyzer analysis results
C:\wnc\home\d_xnc\dati\dataMachine configuration data
Stdout.logWRT message log
StdoutOld.logAdditional file containing previous log entries

These paths are specified in the technical documentation. Their actual locations should be verified on the control computer of the machine being diagnosed.

The availability of historical records depends on whether the corresponding logs and archives have been preserved.

Performing an Initial Analysis

The following procedure can be used for a basic analysis directly on the machine's control computer.

Open LogAnalyzer

Launch the installed application and navigate to the Settings page.

Select the analysis period

The documentation describes the following options:

  • Today — Current day.
  • Last Week — Previous week.
  • Last Month — Previous month.
  • All — All available log records.

According to the documentation, the last month of machine activity is selected by default.

Start the analysis

Click ANALYZE.

The application begins processing the log files. A progress indicator displays the status of the operation.

Review the statistics

Once processing is complete, the application automatically switches to the Statistics page.

Begin by examining the total number of sessions, the categories of detected errors, and the statistics for communication-related events.

Open the detailed report

Navigate to Report, select the relevant operating session, and examine the recorded events.

If necessary, use Show log to display the corresponding section of the original log file.

Show log — original WRT log messages

Examine the hardware configuration

If sufficient information is available, open the Hardware page and review the detected devices.

Save the results

Use Save Info… to create a diagnostic ZIP archive containing the necessary files and analysis results.

When analyzing logs on a separate computer, the archive can be imported through the advanced settings.

Reports Generated by LogAnalyzer

Depending on the available source data and WRT version, the application can generate the following files.

diagnosi_*.txt

The main text-based diagnostic report.

Its filename includes the initial and final dates of the selected analysis period.

The report contains information about operating sessions and detected events, followed by a statistical summary.

HWInfo.xml

An XML file describing the detected hardware configuration.

It can be used to display the hardware tree in LogAnalyzer.

HWMerge.xml

An XML file describing differences between the detected hardware configuration and the stored reference configuration, when the necessary information is available.

Diagnostic ZIP Archive

The Save Info… function collects log files and the required additional information into an archive for subsequent analysis.

This is particularly useful for remote technical support when the technician is not physically present at the machine.

Before sharing an archive with third parties, consider that the logs may contain technical information about the machine, its configuration, and its operating history.

On-Machine and Remote Log Analysis

LogAnalyzer supports two primary operating scenarios.

On-Machine Diagnostics

The application runs on the computer where WRT is installed.

The advantage of this method is direct access to the standard log directories and locally stored diagnostic records.

Remote Analysis of Collected Files

Log files are copied or exported from the machine's control computer and analyzed on another PC.

This process uses the logfile and zarchive directories or a prepared ZIP archive.

It allows technicians to investigate diagnostic information without maintaining a direct connection to the machine control system.

It is important to distinguish remote log analysis from direct remote machine control. LogAnalyzer itself is not a remote desktop application or a general-purpose tool for controlling equipment over the internet.

How to Interpret Analysis Results Correctly

When investigating faults, three concepts must be distinguished.

Event — A message describing a recorded action, state transition, or other process.

Error — A diagnostic message indicating a condition classified by the system as an error.

Root Cause — The established technical factor responsible for the observed malfunction.

These concepts are not interchangeable.

For example, a communication loss event confirms that the relevant monitoring mechanism detected a communication problem. However, several different factors may be responsible, and each must be investigated separately.

The following diagnostic procedure is recommended:

  • Determine when the malfunction occurred.
  • Locate the corresponding operating session.
  • Establish the sequence of recorded messages.
  • Distinguish potentially primary events from subsequent system responses without assuming that a causal relationship has been proven.
  • Identify the affected devices and communication interfaces.
  • Compare them with the hardware configuration.
  • Consult the relevant electrical diagrams and component manuals.
  • Develop diagnostic hypotheses that can be tested.
  • Confirm or eliminate those hypotheses through measurements and additional inspections.

Professional troubleshooting should not end with identifying an error code. The objective is to establish the physical or software-related process responsible for the malfunction.

Hardware Structure and Electrical Diagrams

One of the most useful LogAnalyzer features is its ability to display the detected hardware structure.

The technical documentation describes devices such as:

  • BH660.
  • BH670.
  • CH111.
  • CH112.
  • SM137.
  • P250 and P260.
  • CC201.
  • Selected CANopen, ENET, and Mechatrolink devices and drives.

The actual hardware configuration depends on the machine model, installed options, and control system version.

For reliable hardware diagnostics, LogAnalyzer data should be compared with the electrical diagrams belonging to the specific machine under investigation.

For example, the electrical documentation for the Biesse Rover K 1232 includes sections covering power distribution, industrial networks, I/O modules, axis drives, and safety systems.

Comparing software diagnostics with electrical documentation helps technicians trace a recorded logical device address to the corresponding physical hardware.

However, the addressing conventions must be verified.

LogAnalyzer supports different hardware coordinate display formats: WRT Error, PLC, and Diagram.

The same physical module may therefore be identified differently depending on the selected coordinate convention.

An address found in a diagnostic log must not automatically be assumed to match the designation used in an electrical diagram.

Software Limitations

Several limitations must be considered when interpreting LogAnalyzer results.

Dependence on Recorded Data

The application analyzes information recorded by WRT and available when processing takes place.

The absence of an error message does not prove that a physical fault is absent.

Dependence on the WRT Version

Some features were introduced in specific LogAnalyzer versions or require particular WRT versions.

Examples include extended PLC analysis, session-specific hardware information, and additional log processing functions.

No Automatic Root Cause Identification

The application classifies events, displays their sequence, and provides diagnostic information, but it does not guarantee identification of the defective component.

Incomplete Session Data

Log files without a WRT startup header may be processed as partial sessions (PARTIAL).

Such records may not contain all the information required to reconstruct the system's operating state.

Dependence on the Reference Configuration

Hardware differences can only be interpreted correctly when the reference configuration and the machine's modification history are taken into account.

Safety During Diagnostics

Analyzing stored log files generally does not require direct interaction with the machine's mechanical or electrical systems.

However, investigating detected faults may require access to the electrical cabinet, voltage measurements, sensor checks, and other technical operations.

All such work must be performed in accordance with electrical safety requirements and the equipment manufacturer's instructions.

In particular:

  • Do not bypass protective devices to eliminate error messages.
  • Do not modify safety logic without the appropriate authorization, technical documentation, and validation procedures.
  • Do not change PLC or drive parameters without understanding their functions.
  • Preserve original log files and configuration data before making changes.
  • Do not interpret the disappearance of an error message as proof that the underlying problem has been resolved.

For intermittent and unstable faults, preserving diagnostic information before restarting the machine or making changes is especially important, whenever this can be done safely.

Conclusion

BIESSE LogAnalyzer is a specialized tool for examining WRT log files, analyzing the operating history of the control system, identifying recorded errors, and viewing machine hardware configurations.

Its main advantage is the ability to combine several diagnostic information sources: event chronology, statistics, communication messages, and detected hardware data.

LogAnalyzer is particularly valuable when troubleshooting intermittent and complex faults, especially those involving multiple subsystems.

To reach a technically justified conclusion, its results should be compared with electrical diagrams, manuals for installed components, and findings from direct equipment inspections.

This article is an independent technical guide. It is not an official Biesse publication or a manufacturer-certified service instruction.