IMDTouchKnowledge BaseShop main store

Troubleshooting

Why an Omron NS8 Touch Screen Fails to Connect to a CJ1M

HMI and touchscreens Published 6 min read

Short answer

A hand-made RS-232 cable that passes a continuity test proves nothing. The NS8-to-CJ1M link comes up only when the cable's pinout matches the two manuals, the cable sits on the CJ1M's RS-232C port and the NS8 port chosen in the project, both ends run Host Link, and the HMI's four framing values copy the values stored in the PLC. Check those in order before changing anything else.

On this page
  1. A continuity test proves copper, not wiring
  2. Put the cable on the two ports you configured
  3. The four setting groups that must agree
  4. Worked example: reading framing off a scope
  5. Bring the link up in that order
  6. Once it connects, leave the serial settings alone
  7. Questions asked

An NS8-TV01-V2 that connects nothing to a CJ1M-CPU21 over RS-232 is failing on one of four things, and a cable that passes a continuity test rules out none of them. The link comes up only when the cable's pinout matches the connection diagrams for these two exact ports, the cable is on the CJ1M's RS-232C port and the NS8 port the project names, both ends run Host Link, and the HMI's baud, data bits, parity and stop bits copy the values stored in the PLC. Work through those in that order; every one is a two-minute check that answers yes or no.

A continuity test proves copper, not wiring #

Your cable beeps through pin to pin. That proves each conductor reaches a pin, not that it reaches the right pin. A continuity meter cannot tell a straight-through cable from the crossover these two ports need, cannot confirm that signal ground lands on signal ground, and says nothing about handshake lines. If the selected setup uses handshake lines, those must be satisfied or the port stays silent even with perfect data lines.

On an RS-232C link, transmit on one device must arrive at receive on the other with ground common. The connection diagrams in the CJ1M operation manual and the NS8 manual print which pins carry those signals between these units, and that is the reference your hand-made cable has to match, conductor by conductor. The wire-to-the-diagram discipline is the same one that makes building the RS-232 Modbus cable between an HMI and a controller reliable, and it is the step a schematic found online cannot replace: forum drawings mix port pairs and models.

Put the cable on the two ports you configured #

The CJ1M-CPU21 gives you two communications ports on the CPU: a peripheral port and an RS-232C port. Put the NS8 on the RS-232C port. That is the port whose host-link settings you will match, and the peripheral port stays with the programming cable. The peripheral port can be re-tasked for host communication, but that is a different settings page and a different cable, and there is no reason to start there.

The NS8 has two serial ports of its own, and the NS project binds its PLC driver to one of them. Read which port the project's communication settings name, and put the cable in that connector. The port that is physically cabled and the port the project polls must be the same one, or the panel transmits on a port that goes nowhere while the cable sits idle on the other. Four ends are in play across the two units, and a cable on the wrong one fails with no error at all, which is exactly the "nothing happens" you are seeing.

The four setting groups that must agree #

Protocol, port, framing and addressing have to agree on both ends at the same time, and a cable cannot compensate for a mismatch in any of them.

Setting group CJ1M side NS8 side
Protocol / method RS-232C port set to Host Link mode PLC driver for a CJ-series CPU over host link, selected in the NS project
Port RS-232C port is the one configured Serial port named in the project matches the physical connector
Framing Baud rate, data bits, parity, stop bits stored in the CPU's port settings The same four values entered on the selected NS8 port
Addressing Unit number in the port settings; the memory areas the driver reaches Same unit number in the driver; every screen object references a valid address

The CJ1M's stored values are the master copy. Go online with the programming software, read the port's settings, and enter what you find, value for value, on the NS8 side. Never configure both ends in parallel from remembered or borrowed numbers. If the CPU's port has never been configured, its operation manual prints the default settings the port is sitting at; use that table as the starting point. When the programming software itself cannot get online over serial to read the stored settings, the CPU-side steps are the ones described for fixing an Omron CJ1M serial connection that will not go online.

Worked example: reading framing off a scope #

This example uses illustrative inputs; your stored values are what count. Suppose the CJ1M's port settings read 9600 bps, 7 data bits, even parity, 2 stop bits, and the NS project is set the same. One character then carries 1 start + 7 data + 1 parity + 2 stop = 11 bits. At 9600 bps a character occupies 11 ÷ 9600 = 1.15 ms, so a 10-character host-link poll fills about 11.5 ms of line time. Put a scope on the NS8's transmit pin, which the pin diagram in its manual identifies, and read the spacing between characters in a burst:

  • No activity at all: the project is not polling on that port. Check the port assignment in the project, or move the cable to the other NS8 connector.
  • Activity at about 0.096 ms per character (11 ÷ 115200 = 95.5 µs): the panel is transmitting at 115200 bps, a 12:1 mismatch against the PLC's 9600. Set the NS8 port to the PLC's stored baud.
  • Bursts at 1.15 ms on the panel's transmit and silence on the CJ1M's transmit: data is leaving but the PLC will not frame or answer. One of the other three framing values differs, or the cable's data pair, ground or handshake lines do not match the diagrams.
  • Both lines busy and the screen still reports a communication error: wiring and framing are fine. Look at the driver, the unit number or the addresses.

Before changing anything, save a copy of the NS project and write down the CJ1M's current port settings, so the working and broken states stay comparable.

  1. Map the hand-made cable conductor by conductor against the connection diagrams for the CJ1M RS-232C port and the NS8 port, and rebuild anything that does not match.
  2. Cable the NS8 to the CJ1M's RS-232C port and to the NS8 connector the project names.
  3. Set the PLC port to Host Link mode and confirm the NS project uses the CJ-series host-link driver. The two must be the same method, not merely both serial.
  4. Copy the PLC's stored baud, data bits, parity and stop bits onto the NS8's selected port.
  5. Download the PLC port settings and transfer the NS project following each software's procedure, restarting the port where the procedure calls for it, with the machine in a safe state, because a restarted port or a fresh download can write to live addresses.
  6. Prove the link with one read-only object pointed at a word the PLC program already toggles, and watch it track before restoring the full project.

Once it connects, leave the serial settings alone #

With the link up, a blank or stuck value on one screen object is an address or data-type problem in that object, not a cable problem. Compare it against the CJ1M's memory areas instead of reworking a working link. If tags update and then stall on an established link, you have moved into the link-loading fault class rather than the bring-up class; the same PLC at the far end is covered in why Weintek HMI tags fail to update with an Omron CJ1M. Record the working combination while it is in front of you: the port pair, the driver, the four framing values, the unit number and the cable's pin map.

Questions asked

My hand-made cable passes a continuity test. Why is that not enough?

Continuity proves each wire reaches a pin, not the right pin. Two serial ports link only when transmit lands on receive, signal ground is common, and any handshake lines are wired as the two manuals' diagrams show, and a straight-through cable beeps out perfectly while failing all three. With the cable unplugged at both ends, map it conductor by conductor against the diagrams for the CJ1M's RS-232C port and the NS8 port, and rebuild anything that does not match.

Which ports should the cable use on each unit?

Use the CJ1M-CPU21's RS-232C port for the NS8 and leave the peripheral port to the programming cable; the RS-232C port is the one whose host-link settings you match. On the NS8, either serial port can carry the PLC link, but the port named in the project's communication settings must be the connector the cable is actually in. The second NS8 port is then free for a second controller or the support software.

What framing values should the NS8 use?

Whatever the CJ1M already stores. Go online with the programming software, read the port's baud, data bits, parity and stop bits, and enter the same four on the NS8. Do not choose values because they are common defaults; a port commissioned years ago may hold anything. For scale, 9600 bps with 7 data bits, even parity and 2 stop bits is 11 bits per character, or 1.15 ms, the spacing a scope shows when both ends really sit at 9600.

Both lines show data on a scope but the NS8 still reports a communication error. What is left?

Wiring and framing are then ruled out, so the fault is protocol-level: the NS project running the wrong PLC driver, the driver's unit number differing from the PLC port's unit number, or screen objects pointing at addresses the driver cannot reach on a CJ1M. Check those three in the project and port settings, in that order, before touching the cable again.

The link finally connects but one screen value stays at zero. Is the serial setup still wrong?

No. A link that negotiates and updates other objects is working. One dead value points at that object's address or data type in the NS project: an address outside the areas the selected driver reaches, or a value read with the wrong type, reads as zero or garbage. Fix the object and leave the serial settings alone; reworking a live link to repair one screen creates a second fault.

Keep reading

  • Troubleshooting

    Fixing PLC not responding between an HMI and a CQM1

    The alarm means the panel's request never returned from the CQM1. Set the panel port to RS-232C, verify the 2-2, 3-3, 5-9 cable with pin 1 open, match the CQM1's Host Link defaults of 9600 baud, 7 data bits, 2 stop bits and even parity, and reserve the panel's system start address from the PLC program.

    HMI and touchscreens

  • How-to

    Connecting Multiple HMIs to One PLC Over 200 ft Serial

    RS-232 on good cable can reach 200 ft at 9600 baud, but RS-232 connects exactly two devices, so three HMIs cannot share one PLC port. Put an RS-232-to-RS-485 adapter at the PLC and at each panel, daisy-chain one twisted pair, and terminate only the two ends. Confirm the PLC port's protocol accepts more than one master before ordering adapters.

    Industrial networks

  • How-to

    Programming a Fatek PLC Through a Weintek HMI Ethernet Link

    Yes — the FBs-20 can be programmed from a PC through the panel with only the console's one Ethernet cable. Bridge the panel's RS232 line over Ethernet with the panel's pass-through feature or an Ethernet-to-serial converter, present it to the PC as a virtual COM port, then open that port in WinProladder with the PLC's own baud, parity and station number and a raised timeout, because the panel's polling shares the line.

    HMI and touchscreens