WinCC to TI545 and S7-200 PLC Communication via RS-232
WinCC remains one of the most widely deployed SCADA/HMI platforms in industrial automation, and field engineers continue to face the challenge of integrating older controllers such as the Texas Instruments TI545 (Simatic TI 505 series) and the SIMATIC S7-200 CPU 22x family. Because most of these legacy devices communicate through a serial RS-232 port, the wiring, handshake configuration, and WinCC channel selection must be performed precisely to obtain a stable online connection. This reference consolidates the wiring tables, protocol parameters, channel configuration, and verification steps required to bring a TI545 or S7-200 online with WinCC V5/V6/V7 and WinCC Professional (TIA Portal).
1. Communication Architecture Overview
WinCC connects to PLCs through channels. Each channel is a software driver that translates between the WinCC tag database and a physical or logical communications path. For serial devices, the principal channels are:
| Channel Driver | Protocol / Bus | Typical Controller | Physical Layer |
|---|---|---|---|
| SIMATIC S7 Protocol Suite | MPI / PROFIBUS / ISO-on-TCP | S7-200, S7-300, S7-400 | RS-485 / Ethernet |
| SIMATIC S5 Serial (3964R / RK512) | 3964R, RK512 | S5-95U/115U, TI505 | RS-232 / RS-422 |
| Allen-Bradley DF1 | DF1 Full-Duplex | PLC-5, SLC 500 | RS-232 |
| Modbus Serial | Modbus RTU / ASCII | Third-party / TI545 | RS-232 / RS-485 |
| OPC | OPC DA / UA | Any DCOM-capable server | Ethernet / Serial |
For a TI545 attached to a PC, the practical approach is one of:
- Use the SIMATIC S5 Serial 3964R channel with the TI545 in 3964R mode.
- Use a third-party OPC server (e.g. KEPware, Matrikon) that exposes TI545 native protocol, then connect WinCC as an OPC DA client.
- Use the Modbus Serial channel if the TI545 firmware supports Modbus RTU slave mode (TI545 firmware versions 5.x and later generally support this through a custom or third-party Modbus personality module).
For a S7-200 CPU 22x, the options are:
- PPI (Point-to-Point Interface) over RS-485 via the PC/PPI cable (USB or RS-232 variant).
- MPI over RS-485 through the CP5611 / CP5613 / CP5512 PC card.
- Ethernet via the CP243-1 IT module (ISO-on-TCP).
2. RS-232 Electrical and Mechanical Reference
RS-232 (EIA-TIA-232-F) defines a single-ended voltage interface with the following electrical characteristics that are relevant when wiring industrial PLC ports:
| Parameter | Value |
|---|---|
| Logic 1 (MARK / OFF) | -3 V to -25 V (typ. -12 V) |
| Logic 0 (SPACE / ON) | +3 V to +25 V (typ. +12 V) |
| Maximum cable length | 15 m (50 ft) at 20 kbit/s; derate with baud rate |
| Standard connector | DB-9 (DE-9) male on PC; DB-9 or DB-25 on PLC |
| Standard baud rates | 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 |
| Handshake | RTS/CTS (hardware), XON/XOFF (software), or none |
The standard PC DE-9 pinout (TIA-574) is:
| Pin | Signal | Direction (DTE = PC) | Function |
|---|---|---|---|
| 1 | DCD | Input | Data Carrier Detect |
| 2 | RD (RXD) | Input | Receive Data |
| 3 | TD (TXD) | Output | Transmit Data |
| 4 | DTR | Output | Data Terminal Ready |
| 5 | SG (GND) | — | Signal Ground |
| 6 | DSR | Input | Data Set Ready |
| 7 | RTS | Output | Request To Send |
| 8 | CTS | Input | Clear To Send |
| 9 | RI | Input | Ring Indicator |
3. Null-Modem Cable for PC-to-PLC RS-232
A null-modem (crossover) cable ties the DTE outputs of the PC to the DTE inputs of the PLC. The TI545 programming port is implemented as a DTE device; the S5-100U / TI545 series expects to see its TXD driven by the PC's RXD, and vice versa. The minimum viable null-modem swaps TD/RD, RTS/CTS, and DTR/DSR, with the signal ground straight through.
3.1 Standard Null-Modem with Full Handshake (DB-9 to DB-9)
| PC DB-9 (DTE) Pin | Signal | TI545 DB-9 (DTE) Pin |
|---|---|---|
| 2 | RD ↔ TD | 3 |
| 3 | TD ↔ RD | 2 |
| 4 | DTR ↔ DSR | 6 |
| 5 | GND ↔ GND | 5 |
| 6 | DSR ← DTR | 4 |
| 7 | RTS ↔ CTS | 8 |
| 8 | CTS ← RTS | 7 |
3.2 Minimal 3-Wire Null-Modem (No Handshake)
When the PLC and WinCC channel are both configured for "no flow control," only TD, RD, and GND are required. Pins 4-6-7-8 are left disconnected on each end.
| PC DB-9 Pin | Function | TI545 DB-9 Pin |
|---|---|---|
| 2 | RD | 3 |
| 3 | TD | 2 |
| 5 | GND | 5 |
4. TI545 PLC Serial Port Configuration
The TI545 (also referred to as the Simatic TI545 after Siemens acquired the TI industrial automation division) is a member of the TI505 family. Its front-panel COMM 0 port is an RS-232 port that can be configured for several protocols depending on the personality loaded in the PLC:
| Personality / Protocol | Use Case | Typical Baud | Handshake |
|---|---|---|---|
| TI Protocol (USDRV) over 3964R | TISOFT programming, WinCC S5 Serial channel | 9600 / 19200 | RTS/CTS |
| Modbus RTU slave | Third-party SCADA / WinCC Modbus Serial channel | 9600 | None or RTS/CTS |
| Allen-Bradley DF1 (peer) | AB PLC network gateway | 9600 | None |
The serial parameters on the TI545 are set either through TISOFT (offline configuration) or via DIP switches on the CPU faceplate. Default TI545 COMM 0 settings are typically 9600 baud, 8 data bits, no parity, 1 stop bit (8N1), RTS/CTS hardware handshake enabled.
4.1 TISOFT Configuration Steps for RS-232 / 3964R
- Connect PC COM1 to the TI545 COMM 0 port using the null-modem cable from Section 3.1.
- Launch TISOFT and select Online > Set Up Communications.
- Set Port = COM1, Baud = 9600, Parity = None, Data Bits = 8, Stop Bits = 1.
- Set Protocol = TI (NITP) over 3964R or PPP depending on the loaded personality.
- Click Connect. TISOFT should report a successful connection within 2-3 seconds.
5. WinCC Channel Configuration for TI545 via S5 Serial 3964R
WinCC V6 / V7 includes the SIMATIC S5 Serial 3964R channel. The driver implements the 3964R procedure with RK512 framing on top, which is the same procedure that TISOFT uses for online communication with the TI545.
5.1 Add the Channel in WinCC Explorer
- Open the WinCC Explorer and right-click Tag Management.
- Select Add New Driver → SIMATIC S5 Serial 3964R.
- A new logical connection slot appears. Open its Connection Properties.
5.2 Connection Parameters
| Parameter | Value |
|---|---|
| Connection name | TI545_1 (free text) |
| Physical interface | COM1 / COM2 / COM3 / COM4 |
| Baud rate | 9600 |
| Data bits | 8 |
| Parity | None |
| Stop bits | 1 |
| Handshake | RTS/CTS (DTR = ON) |
| PLC address (station number) | 1 (must match TI545's configured station number) |
| CPU number | 1 (for single-CPU systems) |
WinCC tags are then created using the S5 Datentyp addressing scheme. TI505 memory areas map to S5 DB/DX/W/F areas as follows:
| WinCC Address Field | TI545 Memory |
|---|---|
| DB 1, DW 0 | V-memory word 1 (analog register) |
| DB 1, DW 100 | User word 100 |
| DB 1, DX 0 | Discrete outputs / control relays |
| MW / IW / QW | Not used for TI545; reserved for S5 |
6. WinCC Channel Configuration for TI545 via OPC Server
When the S5 Serial channel produces unstable results on heavily loaded networks, or when the controller is a non-Siemens variant, the cleanest path is an OPC Data Access server. KEPware's TI505 Serial driver (now part of KEPServerEX) implements the native TI505 protocol and exposes it to WinCC as OPC DA tags.
6.1 Configure the OPC Channel in WinCC
- Right-click Tag Management → Add New Driver → OPC.
- Open the OPC Groups properties and click Browse Server.
- Select the KEPware OPC server, for example KEPware.KEPServerEX.V6.
- Add the desired tag names with full OPC item paths such as
Channel1.TI545.V1.
OPC DA works over DCOM, so Windows firewall rules on Windows 7 and later must allow opcenum, opccommand, and the OPC server executable. The Siemens knowledge base entry SIEMENS WinCC Communication Manual documents the COM/DCOM security model in detail.
7. S7-200 CPU 22x Connection to WinCC V5/V6
The S7-200 family does not support MPI master mode out of the box, and it does not appear in the WinCC S7 Protocol Suite as a selectable node. The supported integrations are:
| Method | Cable | WinCC Channel | Notes |
|---|---|---|---|
| PC Access (Siemens OPC for S7-200) | PC/PPI USB or RS-232 | OPC DA | Free Siemens utility; WinCC reads through OPC |
| CP5611 + PPI/MPI adapter | Siemens MPI cable | S7 Protocol Suite / PPI | Requires PPI to MPI gateway |
| CP243-1 IT Ethernet | Twisted pair | S7 Protocol Suite / ISO-on-TCP | Best performance; native Ethernet |
| Modbus RTU (S7-200 with Modbus library) | PC/PPI cable | Modbus Serial | Use MBUS_CTRL / MBUS_MSG subroutines |
7.1 S7-200 PC Access OPC Configuration
- Install S7-200 PC Access V1.0 (or the SP4 / SP6 update) on the WinCC station.
- Create a new Project, add the CPU 22x node, and configure the PPI address (default 2) and baud (9.6 kbit/s or 19.2 kbit/s).
- Insert Items in PC Access mapping to V-memory, Inputs, Outputs, Merkers (M), or Counters/Timers as required.
- Right-click the item → Test to verify the value is read before exposing it to WinCC.
- Start the OPC server. The ProgID is
S7200PCAccess.OPCServer.
Add the OPC channel in WinCC (as described in Section 6.1) and add the PC Access items as OPC tags. WinCC will poll them at the configured acquisition cycle (default 1 s).
7.2 S7-200 PC/PPI Cable Wiring Reference
The Siemens PC/PPI cable (order number 6ES7 901-3CB30-0XA0 for USB, 6ES7 901-3BF20-0XA0 for RS-232) is internally an RS-232-to-RS-485 converter. No custom wiring is required at the PLC end; the cable plugs into the S7-200 Port 0 or Port 1 (RS-485, 9-pin sub-D female). The drivers must be installed on the PC; without the USB-to-serial driver the COM port will not enumerate.
8. COM Port Parameter Matrix (Universal)
The following table summarizes the most common parameter sets encountered in the field. Confirm the PLC's actual configuration with a serial analyzer (e.g. Eltima Advanced Serial Port Monitor) if mismatches are suspected.
| Use Case | Baud | Data Bits | Parity | Stop Bits | Handshake |
|---|---|---|---|---|---|
| TI545 default (TISOFT online) | 9600 | 8 | None | 1 | RTS/CTS |
| TI545 Modbus RTU | 9600 | 8 | Even | 1 | None |
| S7-200 PPI | 9600 / 19200 | 8 | Even | 1 | None |
| S5-95U 3964R | 9600 | 8 | None | 1 | RTS/CTS |
| Modicon Modbus RTU | 19200 | 8 | Even | 1 | None |
| Allen-Bradley DF1 | 19200 | 8 | None | 1 | None |
9. WinCC Runtime Verification Procedure
- Open WinCC Explorer and start Runtime (or the configured WinCC project).
- Watch the channel diagnosis window. The S5 Serial 3964R channel displays status OK and a green check when the connection is established.
- Create a temporary I/O field on a screen bound to a known TI545 tag (e.g.
TI545_1 / V1). The field should display the actual value of the variable, updating at the configured acquisition cycle. - Force a value write from WinCC: enter a value in the I/O field and press Enter. The WinCC Tag Logging or Channel Diagnosis window should show the write event and the PLC's new state.
- Disconnect the cable and confirm WinCC raises the diagnostic alarm Connection broken within the configured timeout (default 5 s).
10. Troubleshooting Matrix
| Symptom | Probable Cause | Action |
|---|---|---|
| WinCC reports Connect Failed | Wrong cable (straight-through), wrong COM port, or wrong baud | Verify null-modem wiring with continuity tester; confirm COM port number in Device Manager |
| Channel connects, all tags show quality BAD | DB/offset mapping mismatch with TI545 memory layout | Use TISOFT to read V1; adjust WinCC tag DB/DW offset until value matches |
| Intermittent timeouts | Cable too long, missing ground, EMI from VFDs | Reduce cable length below 10 m; separate from power cables; add ferrite |
| WinCC cannot browse OPC server | DCOM / Windows firewall blocking opcenum | Add firewall rule for opcenum.exe and the OPC server executable; restart OpcEnum service |
| Garbled characters | Parity mismatch (most often Even vs None) | Match WinCC channel parity to PLC; verify with serial analyzer |
| Channel OK but writes are ignored | PLC in STOP or password protected write | Check PLC mode on faceplate; clear write protection in TISOFT |
| S7-200 PC Access shows Cannot connect to PLC | PPI address mismatch or wrong baud | Confirm PLC station address (default 2); try 9.6 kbit/s then 19.2 kbit/s |
| Only the first read returns a valid value | Handshake mismatch (RTS/CTS not wired) | Use full null-modem with RTS/CTS crossed; or set channel to No Handshake and PLC to same |
11. Cable Length and Baud Rate Derating
RS-232 cable capacitance is the dominant factor limiting distance. The rule of thumb is:
Max cable length (m) ≈ 30 / (baud rate in kbit/s) × 0.3 (capacitance factor)
At 9600 bit/s this yields approximately 30 m with low-capacitance cable (≤ 50 pF/m). At 115200 bit/s the practical limit is closer to 3 m. For runs over 15 m, convert to RS-422/485 with a converter (e.g. ICL232-based, or industrial-grade Westermo or Moxa TCC-100/120) and run differential signaling.
12. Field Commissioning Checklist
- Physical: DB-9 shells crimped, no bent pins, strain reliefs installed.
- Electrical: Shield grounded at one end only (typically the PC side); ground loop avoided.
- PLC: CPU in RUN, no active faults, COMM 0 enabled, station address known.
- WinCC: Channel driver added, logical connection configured, COM port correct, baud/parity/handshake match PLC.
- Tags: One read-only tag and one writable tag tested with known values.
- Diagnostics: Channel Diagnosis window shows green; alarm logging configured for Connection broken.
13. Document References
- WinCC Communication Manual (PDF) — Official Siemens document for WinCC V5 channel setup.
- Siemens Support Forum: PLC & WinCC connection in TIA Portal Network View — TIA Portal WinCC connection troubleshooting.
- Siemens Industry Online Support — Search for "S7-200 PC Access" and "TI505 OPC" for firmware notes and OPC server downloads.
What is the correct null-modem pinout to connect a PC to a TI545 RS-232 port?
Cross pins 2 and 3 (TD/RD), cross pins 4 and 6 (DTR/DSR), cross pins 7 and 8 (RTS/CTS), and tie pin 5 (GND) straight through. This is the standard null-modem with full hardware handshake used by TISOFT and the WinCC S5 Serial 3964R channel at 9600, 8, N, 1.
Can WinCC talk to a TI545 directly without third-party software?
Yes, through the SIMATIC S5 Serial 3964R channel included with WinCC V6/V7. The driver implements 3964R with RK512 framing, which is the same procedure TISOFT uses. Configure the channel at 9600 baud, 8 data bits, no parity, 1 stop bit, RTS/CTS handshake, and address DB1/DW for V-memory and DB1/DX for control relays.
How do I connect a Siemens S7-200 CPU 22x to WinCC V5.0?
Use the free Siemens S7-200 PC Access OPC server on a PC connected via the PC/PPI USB or RS-232 cable. Create a PC Access project with items mapped to V-memory and discrete I/O, then add the OPC channel in WinCC and add the items as OPC tags. WinCC polls PC Access over DCOM/OPC DA at the configured cycle.
What is the maximum RS-232 cable length between a PC and a TI545?
The RS-232 standard allows 15 m at 20 kbit/s. In practice with industrial-grade cable at 9600 baud you can reach 15–20 m; at 19200 baud plan for under 10 m. For longer runs convert to RS-422 or RS-485 with an industrial converter and run differential signaling.
Why does WinCC show all tags with quality BAD even though the channel reports connected?
The channel connection is up but the tag DB/offset does not match the TI545 memory layout. Use TISOFT to read a known variable (e.g. V1) and adjust the WinCC tag's DB and DW offset until the value matches. For discrete I/O use DB/DX; for analog/word values use DB/DW.