For engineers in the field of industrial automation, starting, diagnosing, and troubleshooting a classic or even discontinued automation platform is a highly challenging task. The Siemens SINUMERIK 840C, combined with the SIMODRIVE 611-D drive system, was once the core of high-end CNC machine tools. This article will delve into the standard startup process of the system, diagnostic logic for common faults, and key steps for data recovery, providing a detailed technical reference for on-site engineers.
Initial installation and standard startup process of the system
Before starting any hardware operation, a detailed visual inspection and electrical testing must be completed, including confirming the grounding system, cable shielding, EMC measures, and the integrity of the operator panel. For SINUMERIK 840C, a clear standard startup process is the cornerstone to avoid subsequent issues.
1. Hardware and software preparation
Firstly, confirm the hardware versions of the central unit (NCK), MMC (human-machine communication) CPU, and PLC CPU. SINUMERIK 840C supports PLC 135 WB2/WD versions. For systems with software version 3 and above, the operating system and user programs of the PLC are loaded from the hard drive to RAM, while earlier versions relied on EPROM submodules.
2. Perform overall reset
Overall reset "is a critical step in initializing a system after its first installation or data loss. The operation path is: Diagnosis ->Startup ->Overall Reset Mode. In this mode, the following core functions can be performed:
NCK user memory formatting: The user data area of NCK (numerical control core) can be selectively formatted, such as tool offset, R parameters, zero offset, etc. The default setting is' YES'.
PLC overall reset: This operation will delete the PLC user memory and copy the ANW-PROG file (user program) stored on the hard drive to the PLC. If the file is not on the hard drive, the PLC memory will remain blank.
Driver overall reset: This function will delete the configuration files related to the digital driver (SIMODRIVE 611D) on the hard drive.
After completing these settings, exiting the overall reset mode will trigger a power on reset, and the system will load standard machine data and complete initialization.
3. Load machine data
In the 'Overall Reset Mode', standard or backup machine data files can be loaded through the 'Diagnosis ->Startup ->Machine Data ->File Function' path. For digital drive systems, when loading a user file (TEA3) containing driver data, the system may prompt driver specific error messages, which is a normal phenomenon. After exiting the overall reset mode, it is necessary to reload the driver configuration or complete driver files.

Core Fault Diagnosis and PLC Error Analysis
SINUMERIK 840C integrates powerful diagnostic tools for quickly locating issues at the PLC and NC levels.
1. PLC diagnosis and analysis
When the control panel displays' PLC CPU failure ', engineers should follow the following steps:
Observe the LED indicator lights on the PLC CPU module. The flashing frequency directly corresponds to specific hardware error codes.
If the LED is constantly on, it indicates a program error. At this point, the detailed error code (USTACK) of the PLC should be called. In SW3 and above versions, the operation path is: Diagnosis ->Service Display ->PLC Service.
If the first word of the error status word contains 00FFH, it indicates that the error occurred in the function block (FB).
If the content is not 00FFH, it is necessary to consult the system manual and determine the root cause of the problem based on specific error codes, such as programming errors or system program exceptions.
2. PLC status monitoring and enforcement
In the "PLC state" mode, engineers can read and modify various data of the PLC in real time, which is crucial for debugging and forced output. The accessible data areas in this mode include:
Input/Output Words (IW/QW): Monitor sensor signals from machine tools and control signals output to actuators.
Flag (FW): Check the internal logic status.
Data Word (DW/DX): View and modify variables in data blocks.
Timer/Counter (T/C): Monitor time logic and counting status.
Accessing these features typically requires entering a password to prevent unauthorized modifications.
Debugging and Optimization of Drive System
The debugging of the SIMODRIVE 611-D digital drive system is mainly completed through the "Drive Servo Start Application", which can be found in the diagnostic menu.
1. Driver configuration
In the "Driver Configuration" interface, it is necessary to input or select the correct module type (such as single axis or dual axis FDD module, MSD module) based on the actual slot position of the hardware module. Each drive module must be set to the 'active' state and the drive letter must be matched with the NC axis/spindle assignment. After configuration is complete, the NCK power on reset must be saved and executed through the "Accept conf+NCKPO" soft key to initialize the driver bus.
2. Motor selection and data calculation
For Siemens motors, parameters can be automatically loaded from the built-in motor data sheet through the "Select Motor" function. For non Siemens motors, SW5 and above versions provide a convenient starting method:
Select 'Non Siemens motor' and fill in the nameplate data (rated power, rated current, rated speed, etc.).
The system will automatically calculate the equivalent circuit diagram data from the nameplate data.
Next, through the "Calculate Controller Data" function, the system will automatically calculate the gain and integration time of the current controller and speed controller, as well as the torque and power limits, greatly simplifying the integration work of non-standard motors.
3. Measurement and optimization of drive control circuit
The system provides measurement functions for current, speed, and position control circuits for precise optimization.
Frequency response measurement: By injecting noise signals and evaluating the Bode plot, mechanical resonance points can be accurately identified. This enables engineers to set the current or speed setpoint filter (low-pass or band stop) in the 611D driver in a targeted manner, thereby suppressing resonance and improving control stability.
Step response measurement: By observing the actual value following the step change of the speed or position setting value, the proportional gain (P) and integration time (I) of the speed controller can be optimized, and the KV coefficient of the position loop can be adjusted.

Data backup and CPU replacement strategy
Data is the soul of numerical control systems. SINUMERIK 840C provides multiple data backup mechanisms to prevent production interruptions caused by hardware failures.
1. Valitek tape drive/PC link backup
The system supports data backup through VALITEK tape drive (connected to MMC-CPU parallel port) or PC link (connected to external PC through dedicated parallel port cable). In the "Diagnosis ->Startup ->Backup" menu, engineers can choose:
Backup system: Fully backup all software (operating system, user programs, options) on the hard drive.
Backup user data: Only backup all data under the user branch.
Restore system/user data: Backfeed previously backed up data to MMC-CPU.
2. Restart process after MMC CPU replacement
After replacing the MMC CPU, the following steps must be performed to restore the system:
Use a tape drive or PC link to restore the entire system or user data.
If the hardware configuration of the new CPU is different from the original system, it may be necessary to reconfigure the WOP options or display parameters through the "Setup/Configure options" in the ACKUP menu.
In SW6 and above versions, if the buffer battery of the NCK CPU is replaced or a software update is performed, the S-RAM area of the NCK will be automatically cleared. The system will display alarm 10 ("Start after software update") and enter startup mode during the next startup, at which point a complete startup process must be executed.
3. Loading phase of NCK user data
When the system is powered on, the data loading of NCK is divided into three key stages:
Stage 1: Boot the system program. Triggered when NCK detects system program loss or system error in DRAM.
Stage 2: Load user data. The system will request and load user UMS (User Memory Structure), IKA (Interpolation and Compensation) data records, etc. Note that TEA1, TEA2, TEA3 (axis/spindle drive data) will not be loaded at this stage.
Stage 3: Load data from the standard workpiece program.
Advanced diagnosis and special function applications
1. Contour monitoring and quadrant error compensation
Contour monitoring: The system detects collisions or driving faults by comparing actual tracking errors with model-based calculated tracking errors. Engineers can set tolerance zones (NC MD 332) and response threshold speeds (NC MD 336) to avoid false alarms due to small fluctuations.
Quadrant Error Compensation (QEC): Used to compensate for contour errors caused by friction and clearance when the axis exceeds the imaging limit. SW4 introduces the neural network QEC, which can automatically calculate and optimize the compensation characteristic curve through a "learning phase" without the need for manual complex parameter settings. Users only need to pass the circular test, and the system will automatically complete the optimization.
2. Processing of absolute value encoder
For shafts equipped with SIPOS or ENDAT absolute encoders, the relevant machine data settings are crucial:
MD 1808 *, bit 0: Indicates that the axis is equipped with an absolute value encoder.
MD 1808 *, bit 3: Indicates that the absolute value offset in MD 396 * is valid. This offset is used to synchronize the absolute value system of the encoder with the absolute coordinate system of the machine tool. If the value is 1, the system will automatically recognize it as "reference point reached" after power on.
MD 1808 *, bit 6 (single turn absolute value encoder): For a rotating shaft, if you want to use the absolute position information of the encoder within one turn and ignore the possible overflow of the number of turns, you need to set this bit.
