Troubleshooting NS-Designer RS232 Connection to NS7/NS12 PT

James Nishida12 min read
OmronSerial CommunicationTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

1. Problem Overview

Engineers integrating Omron NS-series Programmable Terminals (NS7, NS8, NS10, NS12, NS15) with NS-Designer version 5 frequently encounter a "Cannot connect to PT" or "Communications Error" dialog when attempting to download a project over RS-232. The error is reported in NS-Designer after a 30-60 second timeout with messages such as 0x0C05 (Communications timeout) or a generic "Failed to establish connection with PT" prompt. Symptoms include:

  • NS-Designer hangs at Transfer → Connect indefinitely
  • Transfer dialog reports "PLC connection failed" even though the PT is powered and the screen is active
  • FINS gateway service reports "Serial unit: Active" but the PC never receives a response from the PT node
  • The same USB-to-Serial converter works with another Omron peripheral (e.g., CS1 / CJ2 via CSW1-CN226) but never establishes a session with the NS

This article isolates the most common root causes — wrong cable, mismatched protocol, and COM-port parameter drift — and provides the diagnostic sequence used by Omron-certified integrators.

Critical: The NS-series PTs use different serial protocols than the CS/CJ PLCs. A cable that works for Host Link to a CPU will not necessarily work for NT-Link to a PT. Always verify the cable part number against the PT-side protocol before assuming hardware is good.

2. System Architecture & Communication Paths

The NS7 and NS12 PTs expose a single RS-232C port (DB-9 male, port labeled COM1 on the rear faceplate) used for both project transfer and runtime Host Link / NT-Link communication to a PLC. The PC running NS-Designer v5 connects to this port through one of two paths:

  1. Direct RS-232 using an Omron-branded serial cable and a physical COM port (or USB-to-Serial converter emulating COMx).
  2. Ethernet (TCP) using NS-Designer's built-in FINS/UDP gateway on the NS's Ethernet port. This path bypasses the RS-232 stack entirely and is the recommended first step when verifying basic TCP/IP connectivity.

If Ethernet is unavailable or the customer specifically requires serial transfer, the RS-232 path must use an NT-Link 1:1 or Host Link (SYSWAY) protocol on the PT side. The protocol setting is configured in the PT itself under System Menu → Communication Settings → Serial Port A → Protocol, while the matching setting in NS-Designer is under PT Configuration → Communication → Serial Port A → Protocol.

Layer Setting Location Required Match
Baud rate PT System Menu + NS-Designer PT Configuration 19200 bps (default for NT-Link 1:1) or 9600 bps (Host Link)
Data length PT System Menu + NS-Designer PT Configuration 7 bits (Host Link) / 8 bits (NT-Link)
Parity PT System Menu + NS-Designer PT Configuration Even (Host Link) / None (NT-Link)
Stop bits PT System Menu + NS-Designer PT Configuration 2 bits (Host Link) / 1 bit (NT-Link)
Node address PT System Menu + NS-Designer PT Configuration PT must be node 1 for NT-Link 1:1
Protocol PT System Menu + NS-Designer PT Configuration NT-Link 1:1 or Host Link — must match PC side

3. Cable Selection: C200H-CN229 vs XW2Z-S002

Two cables are commonly cited in the field for NS-series PT connections:

  • C200H-CN229 — 2 m, DB-9 female to DB-9 female, factory-configured for Host Link (SYSWAY) between a PC and an Omron PT or C-series/CJ-series CPU peripheral port. This is the cable most field engineers reach for first.
  • XW2Z-S002 — 2 m, DB-9 female to loose-end or DB-9 male, sold under the XW2Z family for wiring-duct and PT applications. Pin assignments vary by sub-variant; the -S002 suffix designates a specific crossover used for NS/NT-series PTs running NT-Link 1:1.

The pin assignments are not identical. Using a C200H-CN229 against a PT configured for NT-Link will leave the SD/RD crossover disconnected, producing silent timeouts. Conversely, an XW2Z-S002 connected to a PT running Host Link will leave DTR/RTS handshaking floating, producing intermittent resets.

Signal DB-9 Pin (PC side) C200H-CN229 (Host Link) XW2Z-S002 (NT-Link 1:1)
RD (RXD) 2 ↔ PT TD (pin 3) ↔ PT SD (pin 3)
TD (TXD) 3 ↔ PT RD (pin 2) ↔ PT RD (pin 2)
SG (Signal Ground) 5 ↔ PT SG (pin 5) ↔ PT SG (pin 5)
RTS (PC out) 7 ↔ PT CTS (pin 8) — Host Link only Not connected
CTS (PC in) 8 ↔ PT RTS (pin 7) — Host Link only Not connected
DTR / DSR / CD / RI 4, 6, 1, 9 Loopback 4-6, 1-4-6 per Omron spec Loopback 4-6, 1-4-6 per Omron spec

The PT-side DB-9 pinout for the NS-series is consistent with the standard Omron host-link convention: pin 2 = RD, pin 3 = SD, pin 5 = SG, pin 7 = RTS, pin 8 = CTS. If you are terminating a custom cable, follow the columns above rather than relying on cable-jacket labeling.

4. Pinout Reference — DB-9 Female (PC End)

Use this reference when building a replacement cable from scratch or when troubleshooting a suspected bad cable with a breakout box.

PC DB-9F (looking at sockets)
  1  CD  ───┐
  2  RXD   │   4 DTR ── 6 DSR ── 1 CD (loopback)
  3  TXD   │
  4  DTR ──┘
  5  GND ──────────── PT pin 5 (SG)
  6  DSR ──┐
  7  RTS ──┴── PC RTS to PT CTS (Host Link only)
  8  CTS ─────── PC CTS to PT RTS (Host Link only)
  9  RI  (unused)
Pin 1 / 6 / 4 loopback is mandatory on the PC end. Omron PLC and PT firmware asserts DSR high and refuses to transmit if DTR is not echoed back. Some generic USB-to-Serial converters (e.g., older Prolific PL2303 clones) do not implement this loopback in hardware; the symptom is a connection that opens the COM port successfully in Windows but never receives a reply from the PT.

5. Protocol Selection — NT-Link 1:1 vs Host Link

Choosing the wrong protocol is the single most common cause of an NS-Designer connection failure on a bench test. The PT will silently ignore any frame whose initial byte does not match the configured protocol's header.

5.1 NT-Link 1:1

  • Native protocol of the NS-series PT serial port
  • Point-to-point only; PT must be node 1
  • Baud: 19200 (also supports 9600, 38400, 57600, 115200 in PT firmware ≥V4.0)
  • Data: 8 bits, no parity, 1 stop bit (8-N-1)
  • No hardware handshaking required
  • Highest throughput for project transfer

5.2 Host Link (SYSWAY)

  • Legacy protocol inherited from C-series PTs (NT-series)
  • Multi-drop capable; PT node typically 0 or 1
  • Baud: 9600 (default) or 19200
  • Data: 7 bits, even parity, 2 stop bits (7-E-2)
  • Requires full RTS/CTS handshaking — pin 7 ↔ pin 8 crossover mandatory
  • Slower transfer; useful when migrating an NT31/NT631 project to NS hardware

5.3 Decision Path

  1. Open the existing NS-Designer project file (.ipp) and check PT Configuration → Communication → Serial Port A → Protocol.
  2. Match the PT System Menu setting to exactly the same protocol.
  3. Select the matching cable from the table above.
  4. If the project file is unavailable (recover-from-PT scenario), set the PT to NT-Link 1:1, 19200, 8-N-1, node 1 as the default; this is the most common factory state for the NS7/NS12.

6. NS-Designer COM Port Configuration

In NS-Designer v5, the PC-side serial parameters live under Transfer → Communications Setup → Serial. The dialog exposes:

Field NT-Link 1:1 Default Host Link Default
COM port COM1 (or actual USB-Serial port) COM1 (or actual USB-Serial port)
Baud rate 19200 9600
Data bits 8 7
Stop bits 1 2
Parity None Even
Flow control None RTS/CTS

If any field on this dialog disagrees with the PT, NS-Designer will not detect the mismatch — it will simply hang until its internal retry counter expires. Always click Test Connection after editing these fields. A successful test shows a green indicator and reads back the PT model and firmware version (e.g., NS12-V1, FW 8.10).

7. FINS Gateway Configuration

When the connection path is Ethernet, NS-Designer communicates through the FINS Gateway Service installed by the NS-Designer setup. The gateway routes UDP/TCP FINS frames between the PC's logical network and the target device's serial port. Confirm the following before opening NS-Designer:

  1. Open FinsGateway Settings from the Start menu.
  2. Expand Serial Unit — the COM port you intend to use must show Status: Active. If it shows Stopped, right-click and select Start Service.
  3. Click Serial Unit → New if no entry exists, then map it to the COMx number assigned by Windows to your USB-Serial converter.
  4. Set the baud rate and frame format to match the PT. For NT-Link 1:1 use 19200, 8-N-1; for Host Link use 9600, 7-E-2.
  5. Set the local FINS node number to a value that does not collide with the PT (e.g., PC = 200, PT = 1).
USB-to-Serial caveat: When the USB converter is unplugged and reinserted, Windows may assign a different COMx number. The FINS Gateway keeps the old mapping and points at a phantom port. Re-open FinsGateway Settings and verify the COM number matches Device Manager → Ports (COM & LPT) after every re-plug.

8. USB-to-Serial Converter Considerations

Modern PCs ship without native DB-9 ports. The two most common USB-Serial chipsets in the field are:

Chipset Driver NS Compatibility Notes
FTDI FT232R FTDI VCP driver 2.12.36+ Best compatibility. Hardware loopback on pins 1/4/6 is automatic.
Prolific PL2303 (genuine) PL2303 Prolific driver 3.8.x Compatible. Avoid counterfeit chips; Windows 10/11 will refuse to load the driver.
CH340 / CH341 WCH driver 3.7.x Generally compatible at 19200 bps; some revisions drop RTS/CTS at high baud.
CP210x (Silicon Labs) Silabs VCP 6.7.x Compatible. Disable serial enumerator if COM number reassigns on each reboot.

Verify the converter electrically with a loopback test before suspecting the PT. Short pin 2 to pin 3 on the PC end of the cable, open NS-Designer Communications Setup, click Test Connection, and confirm the dialog reports echoed bytes. A counter-based diagnostic utility such as Windows HyperTerminal, PuTTY (Serial mode), or Tera Term with echo enabled is a faster verification than waiting for NS-Designer's 60-second timeout.

9. Step-by-Step Troubleshooting Procedure

Execute the following sequence in order. Each step ends with a binary Pass / Fail gate — if a step fails, do not advance; the failure mode is itself diagnostic.

Step 1 — Verify Windows COM Port Assignment

  1. Open Device Manager → Ports (COM & LPT).
  2. Confirm the USB-Serial adapter appears (e.g., USB Serial Port (COM4)).
  3. If the device has a yellow exclamation mark, reinstall the chipset driver.
  4. Right-click → Properties → Port Settings → Advanced and force a COM number between COM1 and COM9 to avoid legacy Windows path conflicts.

Step 2 — Loopback-Test the Cable

  1. Disconnect the cable from the PT.
  2. Short pin 2 to pin 3 (TD ↔ RD) at the PT end of the cable.
  3. Open PuTTY in Serial mode at 19200 8-N-1, no flow control.
  4. Type characters; each character must echo locally. If not, the cable or converter is bad.

Step 3 — Verify PT System Menu Protocol

  1. Power the NS7/NS12 and tap the upper-left corner four times within three seconds to enter the System Menu.
  2. Navigate to Comm. Settings → Serial Port A.
  3. Record: Protocol, Baud, Data bits, Parity, Stop bits, Node No.

Step 4 — Match NS-Designer to PT Settings

  1. In NS-Designer, open the project file.
  2. Go to PT Configuration → Communication → Serial Port A.
  3. Set each parameter to match Step 3 exactly.
  4. Save and click Transfer → Communications Setup → Test Connection.

Step 5 — Validate FINS Gateway

  1. Open FinsGateway Settings.
  2. Confirm Serial Unit is Active and bound to the COM number from Step 1.
  3. Set baud and frame format to match the PT protocol.

Step 6 — Attempt Transfer

  1. In NS-Designer, choose Transfer → Download to PT.
  2. Select Serial as the transport.
  3. If transfer starts, the connection is healthy; complete the project download.
  4. If transfer times out, capture the error code and consult the matrix in Section 11.

10. Verification Tests

Once a successful transfer has completed, run the following sanity checks before commissioning the line:

  1. Round-trip project download: Read the project back from the PT via Transfer → Upload from PT and diff against the original .ipp file. Any difference indicates partial transfer or noisy line.
  2. Online edit test: With the PT connected, change a tag value from NS-Designer's Monitor view and confirm the screen updates within 200 ms.
  3. Power-cycle persistence: Power off the PT for 30 seconds, restore power, and verify the downloaded project boots and the serial session can be re-established.
  4. Noise margin test: Run the production machine and any VFDs in the cabinet. Re-establish the NS-Designer session. If the link drops, install a shielded cable and ground the shield at the PT end only.

11. Fault Code Matrix

NS-Designer Error Likely Root Cause Corrective Action
0x0C05 — Communication timeout Wrong protocol, wrong baud, or wrong cable Re-verify Sections 3 and 5
0x0C10 — Frame error Parity / data / stop mismatch Match PT and NS-Designer frame parameters exactly
0x0C12 — Node number error PT node ≠ 1 for NT-Link 1:1 Change PT System Menu → Node to 1
0x0C20 — Cable error / no DSR USB-Serial loopback missing Replace cable or converter; verify DTR-DSR-CD loopback
"Failed to open COM port" COM number changed after re-plug Re-assign COM in Device Manager; update FINS Gateway mapping
"PLC response error" PC is talking to PT but PT is bound to wrong PLC node Check NS-Designer PLC Configuration → Host Link node number

12. FAQ

Is the C200H-CN229 pinout the same as the XW2Z-S002?

No. The C200H-CN229 is wired for Host Link (SYSWAY) and includes the RTS/CTS crossover on pins 7 and 8. The XW2Z-S002 is wired for NT-Link 1:1 and leaves pins 7 and 8 unconnected. Using the wrong cable against a mismatched PT protocol produces silent timeouts with no error code.

What are the default serial parameters for an out-of-box NS7 or NS12 PT?

Factory default is NT-Link 1:1, node 1, 19200 bps, 8 data bits, no parity, 1 stop bit, no flow control. To reset to factory, enter the System Menu, choose Comm. Settings → Initialize, and confirm.

Why does my USB-Serial converter work with a CS-series PLC but not with the NS PT?

The CS/CJ peripheral port (CSW1-CN226) uses a 4-wire TTL-level interface with implicit hardware handshaking. The NS PT serial port is full RS-232 and requires explicit RTS/CTS for Host Link. A converter that works over the peripheral cable may still lack the loopback or handshaking wiring needed for the NS PT at DB-9 levels.

How do I confirm the cable pinout without an Omron datasheet?

Use a multimeter in continuity mode and trace each conductor from PC end to PT end. Pin 5 (Signal Ground) must pass straight through. Pins 2 and 3 must cross over (PC TXD → PT RD, PC RXD → PT SD). For Host Link, pins 7 and 8 must also cross over. If any conductor is missing, replace the cable.

Can I transfer projects over Ethernet instead of RS-232?

Yes. Connect the NS PT to a managed switch, assign it a static IP from the System Menu, and select Ethernet in NS-Designer's Communications Setup. Ethernet transfer uses the FINS/UDP gateway on UDP port 9600 and is the recommended path for any NS7/NS12 with firmware ≥ V6.2.

Back to blog