Welcome to the Industrial Automation website!

NameDescriptionContent
HONG  KANG
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Siemens SINUMERIK 840C CNC System Installation and Debugging Guide

来源: | 作者:FAN | 发布时间 :2026-01-27 | 439 次浏览: | 🔊 Click to read aloud ❚❚ | Share:

Siemens SINUMERIK 840C CNC System Installation and Debugging Guide

Siemens SINUMERIK 840C is a high-performance CNC system widely used in the field of machine tool control. Combined with the SIMODRIVE 611-D digital drive system, high-precision and high dynamic response motion control can be achieved. This article is based on the official SINUMERIK 840C SIMODRIVE 611-D Installation Guide (version 09.2001), which systematically outlines the entire process of installation, configuration, and debugging, covering various aspects from hardware preparation to software optimization, from PLC integration to driver debugging, providing a complete and professional technical reference for machine tool manufacturers and debugging engineers.


System Overview and Preparation Before Installation

The SINUMERIK 840C system adopts a modular design, including core units such as NCK (numerical control core), MMC (human-machine communication), and PLC (programmable logic controller). The system supports both analog and digital drivers, with SIMODRIVE 611-D being a fully digital driver system with stronger communication capabilities and debugging flexibility.

The following prerequisites must be met before installation:

The mechanical and electrical installation of the machine tool has been completed, and all axes are ready for operation.

The customer's PLC program has been written and preliminarily tested.

The measurement system (such as grating ruler, encoder) has been installed and wired to the SINUMERIK interface.

All cables have been connected, and the shielding layer is grounded according to the interface instructions.

The grounding system complies with DIN VDE 0160 standard and adopts star shaped grounding points for centralized grounding.

The customer needs to provide personnel support for interface debugging, machine operation, and PLC program verification.

Visual Inspection is a critical step that requires focused inspection of:

Module handling: Electrostatic sensitive devices (MOS modules) require special protection to avoid direct contact with printed circuits.

Grounding system: Ensure that the grounding wire has no loops, the cross-section meets the requirements, and achieve equipotential connection.

Position encoder: installed in accordance with specifications (such as air gap, coupling), correctly wired and well shielded.

Cable laying: Power cables and control cables are routed separately to avoid grounding loops, and the minimum bending radius meets the requirements.

Shielding and anti-interference: All cable shielding layers entering and exiting the control cabinet must be grounded through connectors, and relays and motors must be equipped with suppressors.

Operation panel: The buttons, indicator lights, and display functions are normal.

Overall status: The module is securely installed, the front cover screws are tightened (grounded), and the accessory package is complete (including logs, spare parts list, transparent cover plate, etc.).


Hardware installation and electrical inspection

1. Voltage and functional testing

After the system is powered on, NCK and MMC will perform a self-test program. If a system program verification error is detected in the NCK area, the red LED will continue to flash and enter a stop state. The MMC area will display startup information, including memory testing, interrupt controller detection, etc. Starting from software version 4, the system will automatically perform a hard disk consistency check upon startup, and it is recommended to perform it regularly to free up disk space.

2. Data loading process (software version 2 and above)

When the system starts up, data is loaded from the MMC hard drive into NCK in three stages:

Stage 1: Load NCK system programs (such as during DRAM data loss or forced startup).

Stage 2: Load user data, including user customized UMS (if any) and NC data files under the user branch.

Stage 3: Load standard workpiece data.

3. Standard/export version identification

Due to export controls, 840C offers standard version (840C) and export version (840CE). The export version prohibits 5D interpolation, interpolation and table compensation (IKA) and other functions. The system software version determines the control properties, and replacing or upgrading the software may require an export license for the control system. The control version can be identified through delivery notes, invoices, and software packaging labels. After startup, the export version will display an additional character "E" in the service screen.

Software Configuration and Standard Startup

1. Universal reset and standard startup (software version 3 and above)

For newly installed or data lost systems, it is necessary to enter the "universal reset mode" for standardized startup. In this mode, the following key operations can be performed:

Format NCK user memory: Clear user data (machine data, R parameters, tool data, etc.) from SRAM to ensure consistent initial state.

Delete digital drive configuration file: Only applicable to digital drive systems.

Save PLC user program to hard drive: Save the current PLC program as an ANW-PROG file for easy loading in the future.

End universal reset mode: Trigger power on reset to make the settings effective.

Important note: Starting from software version 6, NCK's SRAM will automatically clear upon software updates or CSB battery failures to ensure the defined initial state.

2. Memory configuration (software version 3 and above)

Users can flexibly configure the allocation of DRAM and SRAM according to their needs:

DRAM: Used for storing part programs, UMS, IKA data, block buffers, measurement value storage, etc. The capacity depends on the software version (such as SW 4.1-4.3 supporting a maximum of 2760 kB of part program storage).

SRAM: Used for tool compensation, R parameters, and other data that need to be powered off to maintain. The total capacity is 64 kB, which can be allocated between tool compensation and R parameters.

After changing the memory configuration, the 'NCK Format User Memory' operation must be performed in universal reset mode.

3. Machine tool data loading

Standard data or user files can be loaded through the "Machine Data Dialogue". At initial startup, the system loads standard data files under the SIEMENS branch (such as STAND_T, STAND_M). Subsequent launches can load customized files under the user branch. If the file contains driver data, it is necessary to confirm the driver related alarms during the loading process and reload the driver configuration after completing the universal reset.


PLC installation and diagnosis

1. PLC CPU version and connection

840C supports three types of PLC CPUs:

PLC 135 WB2 (with EPROM submodule, suitable for software version 2 and below).

PLC 135 WB2 (with REST EPROM submodule, software version 3 and above).

PLC 135 WD (no interface PLC, software version 3 or above).

Programming devices are limited to the PG 7xx series and are connected via NC-PG cables. The interface parameters are fixed at 9600 baud, even parity, and 2 stop bits.

2. PLC universal reset and start

Before starting the PLC, the user program needs to be loaded into the RAM of the PLC CPU. For software versions 3 and above, programs are usually loaded from the hard drive. In the universal reset mode, the "PLC initial clear" can be executed to delete the user program in RAM, and then the ANW-PROG file can be loaded from the hard disk. If the file does not exist, the RAM remains empty.

3. PLC diagnostic function

The system provides multiple diagnostic tools:

LED display: Indicates hardware malfunction.

System initialization program: Check the startup conditions and decide whether to perform a cold start or a hot start.

Detailed Error Code (USTACK): Provides precise error information when the PLC stops, which can be accessed through Diagnosis>Service Display>PLC Service.

PLC status: can view and modify the values of input/output words, flag words, data words, timers, and counters (password required).

Timeout analysis: By setting the MD bit 6049.0 of the PLC operating system, buffer access to the communication/local bus can be disabled to accurately locate the cause of timeout.


MMC regional diagnosis and configuration

1. Password protection

Both NCK and MMC regions are password protected. The password is set through NC MD 11, with a default value of 0 corresponding to password 1111. Passwords can be set or deleted in the diagnostic area. Password error will prompt 'PASSWORD INCORRECT'.

2. Language switching (software version 5 and above)

At the initial screen of the diagnostic area, the language of subsequent input screens can be switched through the soft key "Language/Sparche". The switchable areas include system (MMC, NCK), WOP, simulation, and PG software. Only installed languages will appear in the switching options.

3. Screen hard copy printing

Hard copies are stored in compressed TIFF or PCX format and can be transmitted via RS232 interface. The format is set in the BEDCONF configuration file (such as a 15 1 CO for color and a 15 6 TIFF for TIFF format).

4. PC data management and configuration editing

Users can access MMC's file system through Diagnosis>Startup>PC Data. The system data is stored in two branches, SIEMENS and USER. The USER branch is editable, while the SIEMENS branch is the default setting for protected systems. The 'PRESSET' soft key can be used to copy files from the SIEMENS branch to the USER branch.

The key configuration files include:

CONFIG file: defines language, operation panel interface, alarm log format, message priority, etc.

BEDCONF file: Parameterize the overall behavior of the operating system, such as application management, color mode (CO/MO), display mode (PO/NE), screen saver time, etc. Editors need to be extra cautious, as errors can lead to system failures.

Color Chart (CLUT) and Color Mapping List: Allow users to customize the color scheme for each display area.

5. Data Backup (Backeup)

By using VALITEK streaming tape drive or PC link, all data on the hard drive (system software, user software, part programs, machine data) can be fully backed up. This is a necessary measure to prevent data loss caused by MMC CPU failure. The backup function is located in the Diagnosis>Startup>ACKUP menu, where you can select operations such as backing up the system, backing up user data, and restoring the system.


Machine tool data dialogue (MDD - software version 3 and above)

MDD provides a graphical data input interface, replacing the traditional list input method.

1. NC configuration and machine tool data

In the NC configuration screen, the attribution relationship between channels, axes, spindles, and mode groups can be set, and axis names, axis types (straight/rotary), virtual and real axes, etc. can be defined. Subsequent NC machine tool data will be displayed grouped by function, including:

General NC MD

Geometry and Motion

Channel related data

Axis related data (basic data, monitoring and limiting, speed, measurement system, controller data, etc.)

Spindle related data

Gearbox interpolation data

Memory configuration data (software version 4 and above)

The allocation of set values/actual values is a key step before driving debugging, and the corresponding driving/measuring circuit module number needs to be correctly set in the basic MD of the shaft or spindle.

The adaptive function of the measurement system (software version 4 and above) can automatically calculate the position control resolution and measurement system resolution, optimizing closed-loop control. After the user inputs parameters such as screw pitch, grating pitch, encoder pulse per revolution, pulse doubling, etc., the system automatically calculates and fills in the corresponding MD.

2. PLC configuration and machine tool data

The PLC configuration screen is used to configure the availability, address, lathe type (T/TT), and directional key processing method (processed by the PLC operating system or user program) of two machine tool control panels. PLC machine tool data is divided into peripheral device settings, alarm messages, PLC basic data, user MD, tool management, computer links, and other areas.

3. Driver configuration and machine tool data

The driver configuration screen is used to activate and configure the actual FDD (feed drive) and MSD (spindle drive) modules. The user needs to select the module model and change its status from "passive" to "active". After completion, the 'Accept Configuration+NCK Power On' soft key must be used to update the boot files on the hard drive and initialize the driver bus.

Detailed grouping of driving machine tool data, including:

Motor/power unit data

Monitoring and Restrictions

message data

Measurement system data

Controller data (speed loop, current loop, etc.)

Status data

Digital driven startup: can be done by loading an existing TEA3 file or through the standard startup process (selecting module and motor model). The system will preset driving parameters using standard data from the controller. For non Siemens motors, manual input of motor data is required, followed by the use of the 'Calculate Controller Data' function.

4. File function

MDD supports managing data files at three levels:

Level 1: Machine Configuration: Manage data files for all areas (TEA1, TEA2, TEA3, etc.), and can save or load the entire machine configuration at once.

Level 2: Each data area: manages drivers NC、PLC、 Loop and IKA data files.

Level 3: Sub regions within each data area: finer file management.

The user display function allows users to customize the list of machine tool data they are most concerned about, and configure it through the "Edit List" soft key to improve debugging efficiency.


Installation and commissioning of shafts and spindles

This is a crucial stage in integrating the control system with the physical axis of the machine tool.

1. Shaft installation

Drive optimization: Check and set the control direction of the feed axis; Perform speed setting value matching/speed measurement machine compensation; Set servo gain factor Kv; optimize acceleration and acceleration limits; Configure location monitoring and dynamic contour monitoring.

Drift compensation: compensates for position deviation when stationary.

Axis motion test: Test axis motion in jog mode and program control mode.

Reference point proximity: Configure different zeroing methods (with/without automatic direction recognition, program control, no motion zeroing, etc.). For the reference markers of distance encoding, initial installation settings are required.

2. Spindle installation

Control modes: including open-loop control mode, oscillation mode, and positioning mode (M19).

Detailed explanation of positioning mode: involving absolute and incremental positioning sequences, gain factor changes, positioning termination, etc.

Acceleration feature (software version 4 and above): configurable curve acceleration feature.

PLC intervention: PLC can intervene in the spindle control process.


Data backup and CPU replacement

1. Data backup method

Streaming tape drive: Fully backup MMC hard disk data.

V24 interface or floppy drive: transfers specific data files.

Hard disk boot: The control system can be started using user data.

2. CPU replacement process

After replacing the MMC CPU or NCK CPU, data needs to be restored from the backup. For MMC CPUs, "system recovery" is typically performed using a streaming tape drive. For NCK, system programs and user data need to be loaded through the V24 interface or network.

  • ABB SCC-C 23070-0-10232110 gas cooler
  • Sick LGTN101-521 CPU Module
  • Okuma 1911-2836 PLC Circuit Board
  • Mitsubishi Melsec PM-120M PLC
  • Omron F210-C15 Vision Mate Controller System
  • Siemens 7ML5110-1GD07-4AF3 Ultrasonic Level Gauge
  • ABB Pluto S46 V2 Safety Relay
  • Omron Z3RN-5A Optical Serial Link
  • Omron R7D-APA3H 30W Servo Drive
  • Giddings Lewis 502-03638-41R3 PLC Processor
  • Omron SCY-P1 Sequencer Controller
  • Siemens C98043-A7002-L1-13 PCB Board
  • SACS TECNICA Palletizer PC PLC Control System
  • AutomationDirect T1F-14THM PLC Module T1F14THM
  • OMRON C200H-AD003 Analog Input Unit PLC Module
  • Applied Materials 0010-A0000 Electricity Box PLC 200mm
  • ABB RVT-6 Power Factor Controller RVT6
  • Allen-Bradley 2094-BC01-MP5-M Kinetix 6000 Axis Module
  • OMRON FQM1S-MC233 Motion Controller PLC Module
  • OMRON C200H-SNT31 PLC Special I-O Module
  • Yaskawa SGMPH-04AAA61D-OY Servo Motor 400W 200V
  • Yaskawa SGMGH-09DCA6F-OY AC Servo Motor 850W 400V
  • REFU ELEKTRONIK SR17002 PLC Logic Module Circuit Board
  • Siemens 6DP1231-7AA PLC Board Module Industrial Control
  • ABB SACE ISOMAX S3 N 160 Molded Case Circuit Breaker
  • OMRON C120-SC024-V1 SYSMAC C120 Compact PLC Unit
  • OMRON CJ1W-SCU41-V1 Serial Communication Unit PLC Module
  • OMRON 3G3MX2-A4110-ZV1 MX2 Variable Frequency Drive
  • Yaskawa SGDH-04AE-OY Sigma-II Servo Driver 400W 200V
  • OMRON CQM1-AD041 Analog Input Module PLC I/O Unit
  • Delta Omega XML2-0060-45-4/S-A Servo Drive
  • Omron CJ1W-AD041 Analog Input
  • Omron CJ1W-NC271 Position Control Unit
  • Omron CJ1G-CPU45H PLC CPU
  • Omron CJ1W-EIP21 EtherNet/IP Unit
  • Omron F210-C15 Vision Mate Controller
  • Omron CQM1H-ADB21 Analog I/O Board
  • Omron GRT1-PRT PROFIBUS DP-V1 Adapter
  • Omron CP1H-Y20DT-D PLC CPU
  • TE.CO TFX 4G 1.5 Grey Cable 470m
  • Yaskawa SGDH-04AE-OY Servo Driver 400W 200V
  • OMRON CJ1H-CPU66H V4.0 PLC CPU
  • OMRON R7M-A10030-BS1 Servo Motor 200W 100V
  • OMRON FQM1-MMA21 Motion Controller
  • Yaskawa SJDE-08APA Servo Amplifier
  • OMRON CQM1-AD041 Analog Input Unit
  • Siemens OCI55 Dialogue Module Landis
  • OMRON F350-C10E Image Processing Unit
  • OMRON NT10S-SF121 HMI Terminal
  • SIEMENS 3RB1262-0LB31 Overload Relay
  • OMRON YASKAWA SGDS-02A12A Servo Drive
  • TE.CO TFX 4G 1.5 Grey Cable ST 500m
  • FANUC A16B-3200-0362 PCB Control Board
  • OMRON CQM1-ARM21 Analog Output Unit
  • Allen-Bradley 1788-EN2DN Ethernet DeviceNet Gateway
  • Siemens 3VL9440-7EE40 3VL4740-2AA46-0AA0 Circuit Breaker
  • OMRON CJ1W-AD041-V1 Analog Input Unit
  • OMRON CQM1-AD041 CQM1-IPS02 Analog Input Power Supply
  • Texas Instruments System 505 PLC 525-110 525-1102
  • OMRON CQM1-AD042 Analog Input Unit
  • Yaskawa SGDH-04AE-OY Servo Driver 200V 400W
  • CTI 2512 75W Power Supply for CTI 2500
  • Omron F300-B5 Image Processing Unit
  • Mitsubishi 15050-PR01A PLC Board
  • Omron CQM1-TC101 Temperature Controller
  • SCE M68-2000 2 Axis Motion Controller HW 2.3/B
  • Omron 3Z4SP-C22 Visual Positioning Sensor
  • Omron 3G3SV-BB007-E 0.75kW VFD
  • CML 6622 IRD Entek AW10528 Vibration Monitor
  • Omron CP1L-EL20DR-D PLC CPU
  • TE.CO TFX 4G 1.5 Grey Cable 500m
  • Mitsubishi Electric 3BK23057 Circuit Board Module
  • OMRON FQM1-MMP21 Motion Control Module
  • OMRON CP1E-E40SDR-A Micro PLC CPU Unit
  • KEBA CU201 PLC Control Unit
  • OMRON F150-C10E-2 Vision Sensor Controller
  • YASKAWA SGDH-04AE-OY Sigma-II Servo Driver
  • OMRON CS1H-CPU65-V1 PLC Central Processing Unit
  • OMRON NB7W-TX01B Interactive Display HMI
  • OMRON C500-TU002E Programmable Logic Controller Timer Unit
  • OMRON C200HW-PRT21 PROFIBUS DP Slave Unit
  • ExcelTech MX-5-S-I-6-4 Static Transfer Switch
  • Allen-Bradley 100-B300ND3 Contactor 304A 600V
  • Pasaban MTC-3052 Fast I/O PLC Card
  • OMRON CQM1-TC101 Temperature Control Unit
  • OMRON 3G3SV-BB007-E VFD 0.75kW 220V
  • OMRON CQM1H-MAB42 PLC Module
  • OMRON R88M-K75030T-S2 Servo Motor
  • Yaskawa SGMAH-03DAAA61 Servo Motor 200V 300W
  • OMRON F300-P Power Supply Unit
  • Land System 4 M1 Thermometer 65071800C-L35-A50
  • Yamatake MAH10-ME0100 ME-NET Module
  • Siemens Simatic 505 16 Slot PLC Rack
  • Yaskawa SGDH-02AE-OY Servo Driver 200W
  • SCE M68-2000 2-Axis Motion Controller
  • Zenith Controls K-1201 Transfer Switch Controller
  • Yaskawa SGDH-02AE-OY 200W Servo Driver
  • Yaskawa SGMAH-02AAA61D-0Y 200W Servo Motor
  • Schneider TSX P573634M Modicon Premium CPU
  • Siemens 6FX5002-5DN31-1DA0 Power Cable
  • Omron CJ1G-CPU43H CPU Unit 30K Steps
  • OMRON C28P-EDR-D PLC Unit
  • SIEMENS S7-300 PLC System
  • Schneider TP400-PLC-1411 Board
  • Siemens 6FC5203-0AF00-0AA3 Panel
  • ALLEN BRADLEY 1754-L28BBB GuardPLC
  • Omron E6C3-AG5B-C Encoder
  • SCE M68-2000/5 CNC Controller
  • SCHNEIDER TM2ALM3LT Module
  • OMRON C200H-OV001 Voice Module
  • OMRON R88M-H30030 Servo Motor
  • Bosch RD500 Indramat Servo Drive RD51.2-4B
  • Siemens 6SE7090-0XX84-0AH2 T300 Module
  • Omron GRT1-TS2P SmartSlice Thermocouple Input
  • Xaar XP55500016 XUSB Drive Electronics
  • Siemens 6SL3210-1SE21-8UA0 PM340 Power Module
  • Mitsubishi GT2708-VTBA Touch Display 8.4 Inch
  • Pasaban Fast I/O MTC-3052 PLC Card
  • ABB ACS355-01U-02A4-2 VFD 0.37kW
  • Yamatake MAH20-PC2100 Processor Module
  • Allen Bradley 1774-P1 PLC Power Supply
  • Yaskawa SGDH-04AE-OY 400W Servo Driver
  • Omron CPH-X40DT1-D PLC CPU Unit
  • Pilz PNOZ mm0.2p Safety PLC Mini 772002
  • Siemens 6SL3555-OPR01-0AA0 Sinamics G110M Panel
  • Sanyo PLC-XTC50L LCD Projector
  • SCE M68-2000 2-Axis Motion Controller
  • Omron CS1W-CT021 High-Speed Counter Unit