Sinumerik 810D RS232 Cable: Wiring Diagram and Data Transfer
The Siemens Sinumerik 810D control uses a front-panel RS232 (V.24) port for serial NC and PLC backup, restore, and series start-up. Building the correct null-modem cable and pairing it with the right transfer utility is the first step toward a reliable data exchange with a PC. This reference covers the cable specification, DB9 pin assignment, software selection, parameter setup, and a verified transfer sequence for backup and restore of NC and PLC data.
Overview of the Sinumerik 810D RS232 Port
The 810D operator panel front exposes a male DB9 connector (typically labelled X2 or marked with the serial icon) that implements an RS232-C / V.24 interface. The port is designed for point-to-point connection to an external PC for:
- NC series start-up (cold start with data load)
- NC data backup and restore (teaching, machine data, compensation data, work offsets)
- PLC program upload/download and cross-reference generation
- Tool and zero-point list archiving
- Drive and HMI log capture
The maximum cable length for reliable RS232 communication without line drivers is generally limited to 15 m at 19200 bit/s, and shorter lengths at higher baud rates. The 810D supports baud rates from 110 up to 19200 bit/s in most firmware revisions, with 9600 and 19200 being the practical choices for file transfer.
Prerequisites
Before assembling the cable, confirm the following parts and tools are available:
- Cable: 7-core overall shielded cable, stranded conductors, 24 AWG (0.22 mm²) or heavier, characteristic impedance near 100 Ω, outer diameter 5–8 mm. The seventh conductor is used for the cable shield drain wire or for an additional signal ground tie; the shield is bonded to the metal shell at both connectors.
- Connector at 810D end: 9-pin female D-sub (DE-9S) with metal hood and strain relief. The 810D side is male (DE-9P) and the mating connector is therefore female.
-
Connector at PC end: 9-pin female D-sub (DE-9S) for most desktop PCs with a built-in COM port. If the PC only has USB, use a quality industrial USB-to-RS232 adapter based on FTDI FT232 or equivalent chipset, and verify the adapter enumerates as
COM1throughCOMxin Device Manager. - Assembly tools: Soldering iron (40–60 W), 60/40 or lead-free solder, heat-shrink tubing, crimp tool if using crimp-and-insert contacts.
- Transfer software: PCIN or WinPCIN installed on the PC. HyperTerminal (Windows XP/2003), Kermit, or Tera Term can be used for interactive control but not for binary NC/PLC transfer.
DB9 RS232 Pin Reference
The DB9 (DE-9) pin numbering follows the standard EIA/TIA-574 assignment. The 810D presents a DTE, the PC presents a DTE, and the cable must cross the data and handshake lines to form a null modem.
| Pin | Signal (DTE view) | Direction at 810D | Direction at PC | Function |
|---|---|---|---|---|
| 1 | DCD (Data Carrier Detect) | Input | Input | Carrier / data-in-progress indication |
| 2 | RXD (Receive Data) | Input | Input | Serial data into the device |
| 3 | TXD (Transmit Data) | Output | Output | Serial data out of the device |
| 4 | DTR (Data Terminal Ready) | Output | Output | Terminal ready |
| 5 | SGND (Signal Ground) | — | — | Common return for all signals |
| 6 | DSR (Data Set Ready) | Input | Input | Modem / partner ready |
| 7 | RTS (Request To Send) | Output | Output | Flow control, request to send |
| 8 | CTS (Clear To Send) | Input | Input | Flow control, clear to send |
| 9 | RI (Ring Indicator) | Input | Input | Rarely used on CNC side |
The signal ground (pin 5) is the reference for all other voltages. RS232 levels swing from approximately +3 V to +15 V for SPACE (logic 1) and −3 V to −15 V for MARK (logic 0), with a typical driver swing of ±12 V from the UART line driver.
Null-Modem Cable Wiring
Between two DTE devices, the following crossover must be implemented. The pin numbers refer to the DB9 connector on each end of the cable.
| 810D DB9 (female) Pin | Signal at 810D | PC DB9 (female) Pin | Signal at PC | Cable conductor |
|---|---|---|---|---|
| 2 | RXD (in) | 3 | TXD (out) | Pair 1 |
| 3 | TXD (out) | 2 | RXD (in) | Pair 1 return / Pair 2 |
| 4 | DTR (out) | 6 | DSR (in) | Pair 3 |
| 6 | DSR (in) | 4 | DTR (out) | Pair 3 return / Pair 4 |
| 7 | RTS (out) | 8 | CTS (in) | Pair 5 |
| 8 | CTS (in) | 7 | RTS (out) | Pair 5 return / Pair 6 |
| 5 | SGND | 5 | SGND | Pair 7 (or drain wire) |
| 1, 9 | NC | 1, 9 | NC | Not connected |
| Shell | Shield | Shell | Shield | Overall shield, bonded at both connector shells |
The 7th conductor of the shielded cable carries the signal ground tie. The remaining unassigned pairs (DCD, RI) are not used by the 810D serial protocol and may be left floating, or used as additional shielding/drain conductors inside the overall braid.
Inline Wiring Diagram
Cable Assembly Procedure
- Strip the outer jacket of the 7-core shielded cable by approximately 30 mm at each end. Fold the overall braid back over the jacket to form a pigtail drain wire, or use the dedicated drain conductor inside the cable.
- Strip each conductor 3–4 mm and tin the bare copper with solder to prevent fraying.
- Solder the conductors to the DE-9 male (or female, depending on the application side) crimp-solder cups in the order shown in the wiring table. Observe the standard color convention if used (red, orange, yellow, green, blue, white, black) but always verify by continuity, not by color memory.
- Bond the shield to the connector metal shell using a solder lug or by crimping the pigtail under the cable clamp. A 360° bond is preferred over a single-point drain wire to improve EMC immunity.
- Slide the metal hood over the cable before crimping the strain relief; the hood must mechanically clamp the cable jacket, not only the conductors.
- Continuity test every conductor with a multimeter in continuity mode. Confirm no shorts between adjacent pins (especially 2-3, 4-5, 7-8) and confirm shield continuity from shell to shell.
- Insulation test between any signal pin and the shield with a 500 V insulation tester. Resistance should be >10 MΩ for a good cable.
Reference Wiring for Industrial RS232
The general-purpose RS232 null-modem construction pattern used for industrial controllers (DB9 female to DB9 female) is documented in third-party industrial motion control references such as Delta Motion's RMC RS232 wiring guide. The same crossover pattern applies to the 810D: TXD-to-RXD, RTS-to-CTS, and DTR-to-DSR. Where the 810D diverges is the protocol: the 810D expects a Siemens-specific handshake using the V.24 control lines and a record-oriented file transfer protocol implemented by PCIN and WinPCIN, not a transparent serial pipe.
Software Selection for NC/PLC Transfer
| Utility | Origin | OS support | Protocols | Best use | Notes |
|---|---|---|---|---|---|
| WinPCIN | Siemens | Windows 7/8/10/11 | Siemens V.24 record protocol (binary + text) | NC and PLC backup/restore, archive | Modern replacement for PCIN, supports long file names |
| PCIN | Siemens | DOS / Windows 9x | Siemens V.24 record protocol | Legacy controllers, DOS-based shop floor PCs | Still works on 810D, limited file size under DOS |
| HyperTerminal | Microsoft | Windows XP / 2003 (private build for Vista+) | ASCII terminal, XMODEM/YMODEM | Manual text dump, BTSS dialogue | Cannot transfer binary NC archives |
| Tera Term | Open source | Windows | ASCII terminal, several file transfer protocols | BTSS interactive mode, log capture | Not suitable for binary NC/PLC archives |
| Kermit | Columbia University | Cross-platform | Kermit protocol | Text file transfer | Useful for documentation and ladder text export |
| SIMATIC ProSave / S7-PCT (via Ethernet) | Siemens | Windows | TCP/IP, MPI/PROFIBUS | PLC upload/download over Ethernet | Does not apply to the 810D's RS232 V.24 port |
For an 810D on the front RS232 port, the only safe choices for full NC/PLC archive work are PCIN or WinPCIN. Generic terminal emulators can be used for BTSS (Basic Text Serial Service) dialogue and ASCII log capture, but they cannot perform the binary *.arc archive transfers that the 810D requires for cold start data load.
Communication Parameter Setup
The 810D serial transfer requires that both sides agree on baud rate, data bits, parity, stop bits, and flow control. The 810D's defaults for the front RS232 port are:
| Parameter | Value | Notes |
|---|---|---|
| Baud rate | 9600 bit/s (safe), 19200 bit/s (max) | Match on both 810D and PC; 810D set via machine data or BTSS |
| Data bits | 7 (text) / 8 (binary archive) | Use 8 for PLC binary or NC *.arc files |
| Parity | Even (text) / None (binary) | Match 810D setting exactly |
| Stop bits | 1 | Standard for both ends |
| Flow control | RTS/CTS hardware | Required by 810D handshake |
| Protocol | Siemens V.24 record (PCIN/WinPCIN) | Selectable in PCIN via P menu |
On the 810D, set these parameters in RS232 Settings on the Services screen (or via BTSS: RS232 ON then SET COM 1 9600 EVEN 7 1 RTS). Always start with 9600 bit/s and 7-E-1 for the first successful transfer before attempting 19200 bit/s 8-N-1.
Step-by-Step: NC Backup from 810D to PC
- Connect the null-modem cable between the 810D front RS232 port and the PC COM port (or USB-RS232 adapter). Power on the 810D; the PC should not be running the transfer utility yet.
- On the 810D, navigate to Services > Data Transfer > RS232. Set baud rate to
9600, data bits to8, parity toNone, stop bits to1, and flow control toRTS/CTS. - Select the directory on the 810D side to back up (for example, all NC and PLC areas). The 810D displays the selection as a checkbox list: NCK, PLC, TOA, ZOA, CMA, RPA, SEA, etc.
- On the PC, launch WinPCIN. In the
RS232menu, set the COM port number (e.g.,COM1), baud rate9600, data bits8, parityNone, stop bits1, and protocolPCIN V24. - In WinPCIN, choose
Receive Dataand select a target file name with the.arcextension (e.g.,backup_810d_20240101.arc). - On the 810D, press the
Startsoft key. The 810D raises RTS/CTS, sends the file header, then streams the data records. The progress bar on the 810D HMI advances as records are acknowledged. - When the 810D displays
Transfer completeand WinPCIN showsRecords received: N, exit the transfer mode on the 810D first, then close WinPCIN. - Verify the file size on the PC matches the expected size (a full NC backup is typically 500 KB to 2 MB, a full NC+PLC backup 1–5 MB depending on options).
Step-by-Step: NC Restore to 810D from PC
- Place the 810D in the correct operating mode. For a full NC series start-up, the 810D must be in
Power-On Resetstate (NCK in cold-start mode) with the password unlocked. For an in-place restore of NC data, the 810D can be in any mode exceptCommissioning. - On the 810D, navigate to Services > Data Transfer > RS232 and select
Receive NC(or the specific area to load). - On the PC, start WinPCIN in
Send Datamode. Select the.arcfile to send. - Set identical communication parameters on both sides (9600, 8, N, 1, RTS/CTS).
- Press
Starton the 810D, then on WinPCIN. The 810D acknowledges each record; if a record is rejected, the 810D displays the record number in theStatusline. - When the transfer completes, the 810D automatically processes the loaded data. A PLC restart is required if the PLC program was overwritten.
PLC STOP, observe the STOP LED, then PLC RUN) to commit the new program.
BTSS (Basic Text Serial Service) Dialogue
The 810D also accepts text commands over the same RS232 port for diagnostics and selective data dump. Examples:
RS232 ON
SET COM 1 9600 EVEN 7 1 RTS
DIR
READ NCK /_N_MPF_DIR/_N_MPF0_MPF
READ PLC /_N_CST_DIR/_N_PLIST_ST
BTSS requires 7 data bits, even parity, 1 stop bit (7-E-1). HyperTerminal or Tera Term set to those parameters can be used to interactively send BTSS commands and capture responses. WinPCIN includes a BTSS mode under the Service menu that wraps these commands for scripted use.
Verification Procedure
After a successful transfer, perform the following checks:
-
File integrity: Compare the file size of the received
.arcagainst the bytes-transferred counter in WinPCIN. They should match exactly. -
Record count: The number of records displayed at the end of the 810D transfer (e.g.,
2000 records transferred) should equal the records-received counter in WinPCIN. -
CRC check: PCIN and WinPCIN implement a 16-bit checksum on each record. A failure is reported as
Record N rejected (CRC error). The 810D halts on the first failed record; a partial restore is rejected as a whole. -
Data sanity check: For NC data, verify that the loaded machine data takes effect (e.g., a changed position display resolution appears in the
Actualfield). For PLC, verify that the new program runs by observing theRUNLED and checking a known output. - Cold start verification: After a full series start-up, power-cycle the 810D and confirm that all expected data (axes, drives, tools, zero offsets) is present without having to reload again.
Troubleshooting Matrix
| Symptom | Likely cause | Diagnostic step | Corrective action |
|---|---|---|---|
| No characters received on PC | Straight-through cable instead of null modem | Check pins 2-3 between connectors: should be crossed | Rebuild cable per null-modem wiring |
810D shows No connection
|
COM port not active on 810D, or wrong COM number on PC | BTSS: RS232 ON, then check DIR
|
Activate RS232 on 810D, set matching COM on PC |
| Transfer starts then aborts after a few records | Baud rate too high for cable length, or parity/data bits mismatch | Lower baud to 9600, set 8-N-1 on both sides | Match parameters exactly, shorten cable to <10 m |
| Garbled characters in BTSS output | Parity mismatch (7-E-1 vs 8-N-1) | Set terminal to 7-E-1 for BTSS | Reconfigure terminal session |
| USB-RS232 adapter not detected | Driver not installed, or virtual COM port number above 9 | Device Manager > Ports (COM & LPT) | Install FTDI/VCP driver, map to COM1–COM4 |
| Intermittent transfer failures | Loose connector, broken shield, EMI from VFD cable | Continuity test, inspect hood bonding | Re-terminate connector, route cable away from VFD/spindle cables |
| PLC stop after restore | PLC signature mismatch or different firmware target | Check PLC version vs. target control firmware | Recompile PLC for exact target version, repeat transfer |
Record N rejected (CRC error) |
Electrical noise or handshaking failure | Monitor RTS/CTS with oscilloscope or LED breakout | Enable hardware flow control on both ends, replace cable |
810D shows RS232 interface not available
|
Port configured for HMI, or option bit disabled | Check machine data and option bits for RS232 enable | Enable option, restart NCK |
Best Practices and Field Tips
- Always perform a verification read-back after a backup: after writing the
.arcto PC, perform a comparison if the utility supports it, or at least re-load the file into a second PC and confirm the byte count and header are identical. - Store
.arcfiles in a versioned directory (e.g.,\backups\810D\machine_07\2024-01\) with the machine serial, date, and firmware version in the filename. Without firmware version metadata, a restore into a control with a different SW release may fail PLC consistency checks. - Keep a known-good baseline archive from the commissioning of each machine. This is the fallback in case a field modification corrupts the data set.
- Use a dedicated industrial PC or a permanently installed USB-RS232 adapter for shop floor transfers. Consumer USB adapters can be a source of intermittent failures due to aggressive power saving.
- Document the baud rate, parity, and protocol on a label attached to the cable. The next engineer who picks up the cable should not have to re-derive the parameters from a multimeter.
- Do not run the cable parallel to VFD output cables. Cross at 90° if the cable must cross a power cable run, and maintain at least 200 mm separation along parallel runs.
Field Commissioning Checklist
- Inspect the 810D front panel connector for bent pins or contamination. Clean with isopropyl alcohol if needed.
- Connect the null-modem cable, power on the 810D, observe the link LED if present.
- Launch WinPCIN, set parameters, run a loopback self-test on the PC side (short pins 2 and 3 of the PC end, type into the terminal) to verify the COM port works.
- Remove the loopback, reconnect the 810D, send a
RS232 ON+DIRvia BTSS to confirm bidirectional communication. - Perform a full NC+PLC backup. Save the file with a documented filename.
- Perform a comparison restore onto a test 810D or the same control in a controlled cold-start to confirm the archive round-trips correctly.
- Log the procedure, parameters, and verification results in the machine's commissioning record.
FAQ
What type of RS232 cable is required between a Sinumerik 810D and a PC?
A null-modem (crossed) cable with two DB9 female connectors and a 7-core shielded cable. The TXD-RXD, RTS-CTS, and DTR-DSR pairs must be crossed; signal ground (pin 5) connects straight through, and the overall shield bonds to both connector shells.
Which software should I use to transfer NC and PLC data to/from the 810D?
Use Siemens PCIN (DOS) or WinPCIN (Windows) for binary NC and PLC archives. Both implement the Siemens V.24 record protocol that the 810D expects. HyperTerminal, Kermit, and Tera Term are only suitable for BTSS text dialogue and ASCII logs, not for binary archive transfer.
What baud rate and format should be configured for 810D RS232 transfer?
Start at 9600 bit/s, 8 data bits, no parity, 1 stop bit, with RTS/CTS hardware flow control (8-N-1 RTS/CTS) for binary NC/PLC archives. For BTSS text dialogue, use 9600 bit/s, 7 data bits, even parity, 1 stop bit (7-E-1). Always match the parameters on both the 810D and the PC exactly.
Can I use a USB-to-RS232 adapter instead of a built-in PC COM port?
Yes, provided the adapter is based on a reliable industrial chipset (FTDI FT232 or equivalent) and the driver is correctly installed so the adapter enumerates as COM1 through COM9 in Windows Device Manager. Avoid adapters with aggressive power-saving modes that drop characters during long transfers.
Why does my transfer abort after a few records with a CRC error?
A CRC error means electrical noise or a handshaking failure corrupted a record. Check that RTS/CTS hardware flow control is enabled on both sides, that the cable shield is bonded at both connector shells, that the cable length is under 15 m, and that the cable is routed away from VFD and spindle power cables. Lower the baud rate to 9600 bit/s as a first mitigation.