Siemens SINUMERIK codes
Siemens SINUMERIKProgram/G-codeIntermediate30-120 minutes

101310

Siemens 840D 101310 - Error in: line: error in XML structure

Error in: line: error in XML structure

Siemens SINUMERIK alarm 101310: Error in: line: error in XML structure. This alarm indicates an error condition in the NC program or control configuration that must be resolved before the operation can continue.

Root Cause Summary

Alarm 101310 indicates a syntax or structural error in an XML file used by the SINUMERIK 840D control system. This typically occurs when configuration files, HMI customization files, or data files contain malformed XML tags, missing closing elements, invalid characters, or incorrect nesting that violates XML parsing rules.

Safety

  • Refer to Siemens documentation
  • Ensure qualified technician performs repairs

Causes and Fixes

  1. 1

    Note the filename (%1) and line number (%2) displayed in the alarm message. Access the file via HMI file manager or service mode (Startup > Commissioning > System Data).

  2. 2

    Open the indicated XML file with a text editor (use HMI text editor or transfer file to service laptop). Navigate to the specified line number and examine the XML structure.

    Create a backup copy of the XML file before making any modifications.

  3. 3

    Check for common XML errors: missing closing tags (</tag>), unclosed angle brackets, unescaped special characters (&, <, >, ', "), missing quotation marks around attributes, or incorrect nesting of elements.

  4. 4

    Correct the identified syntax error, save the file, and perform a control restart (NCK and HMI) to reload the corrected XML structure. Verify alarm clears and functionality is restored.

Service Recommended confidence

Seeing Multiple Alarms?

Seeing another alarm with this one? Enter the code.

Get machine-aware diagnosis

AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.

Start free

Was this guide helpful?

Always verify with your machine manual or a certified technician before performing service procedures.