IMDHMIControls LibraryShop main store

Troubleshooting

Why a CP1L Modbus RTU master sees a MicroLogix 1500 node but no data

Industrial networks Published 8 min read

Short answer

Node recognition and Modbus error code 88 do not prove a valid exchange between a CP1L master and a MicroLogix 1500 slave. Verify the CP1W-CIF01 socket DIP switch (4 OFF for socket 1, 5 OFF for socket 2), the RS-232 conductors, and identical baud, parity and stop bits on both ends. Then capture the CP1L's request with a PC terminal and compare it with the working PC-master request before touching function codes.

On this page
  1. What node recognition and error 88 actually prove
  2. Check the CP1W-CIF01 socket and its DIP switch first
  3. Verify the RS-232 conductors on the CIF01 cable
  4. Match the serial settings at both ends
  5. Frame-silence budget at 9600 baud with no parity and one stop bit
  6. Capture the CP1L request before changing function codes
  7. What proves the link is fixed
  8. Questions asked

Yes — a CP1L master and a MicroLogix 1500 slave run Modbus RTU over RS-232 with nothing between them but the CP1W-CIF01 option board, and the MicroLogix 1500 user manual (1764-UM001D-EN-P) documents the controller as a Modbus RTU slave for SCADA networks. The reported symptom — node 1 recognized, error code 88, no read or write with any function code — is therefore a configuration and wiring fault, not an unsupported pairing. Recognition alone does not tell you which layer passed. The fault sits in what happens before the function code is read: the socket the option board occupies and its DIP switch, the RS-232 conductors between the boards, and the serial settings both ends must share. Work that order, then capture the CP1L's request with a PC terminal before touching function codes.

What node recognition and error 88 actually prove #

Three observations come with this fault pattern, and none of them is a completed exchange. A recognized node tells you at most that something on the line matched; it does not identify which layer passed. An error code that stays 88 no matter which function code you send means the request is being rejected before its contents are read, because the function code is the first thing that changes between two otherwise valid frames. A response-memory value that falls to zero when the cable is pulled reflects the port's communication status or the failure path in your own program, not a valid Modbus reply.

The PC master test is a useful baseline with a hard limit: it proves the MicroLogix answers that PC's cable, settings and request. The option board, its socket, its DIP switch and the CP1L program are not in that circuit, so the test clears the slave side and nothing else.

Check the CP1W-CIF01 socket and its DIP switch first #

The option board operates according to which CPU socket it serves, and a serial gateway label in the CP1L's setup does not confirm that the board's switch agrees with the socket the cable is plugged into. Read the switch on the board itself before changing any serial parameter:

  • Record the physical socket the option board occupies. Some compact CP1L models provide a single option socket, so the socket 2 condition may not exist on your unit.
  • Switch 4 must be OFF when the board serves socket 1.
  • Switch 5 must be OFF when the board serves socket 2.
  • Confirm the socket's serial mode is the one that carries Modbus RTU master traffic — the gateway mode the setup reports — on the same socket the cable uses.

A switch set for the other socket produces exactly the reported pattern: the port transmits, the link looks alive, and no valid reply is ever assembled. The same option board and its switch-and-pinout routine appear in other Omron serial builds — the CJ2M CIF01 RS-232 setup walkthrough documents those checks step by step.

Verify the RS-232 conductors on the CIF01 cable #

RS-232 is point-to-point signaling, so every conductor the exchange needs must exist between the two boards. On the CIF01 side this link uses:

  • Pin 2 — TXD, the CP1L's transmit line.
  • Pin 3 — RXD, the CP1L's receive line.
  • Pins 4 and 5 — RTS and CTS, either jumpered together at the option board or carried through to the MicroLogix RTS and CTS. Left open, they can block the exchange even when the baud rate matches.
  • Pin 9 — signal ground, the common reference for both signal lines.

Confirm the pin numbering at both connectors instead of inferring a cable from the connector shape, and check continuity on all four paths end to end. A cable that swaps the transmit and receive lines, omits signal ground, or leaves a required handshake conductor open produces the same pattern: the master transmits, the port status may still react, and no valid response comes back. When a homemade cable does not pass, the RS-232 RXD and TXD identification walkthrough shows how to tell the two lines apart on a live port.

Match the serial settings at both ends #

The reported trials moved through three rates written 38k, 19,2k and 9,2k — shorthand that does not pin every rate down — so read the configured baud, parity and stop bits in each device's serial setup instead of assuming the numbers agree. Both ends need identical values, and the master must target the slave's node address, 1 in the reported setup. Copy the framing the PC test proved on the slave: no parity, one stop bit, at whichever rate you settle on.

Port mode matters as much as the numbers. A CP1L option socket can just as well carry Host Link — the CP1L Host Link commissioning article covers that protocol's serial reads — but a Modbus RTU master needs the socket set for Modbus RTU, not Host Link. On the MicroLogix side, the channel that serves the link must be set to Modbus RTU slave mode; a channel left on DF1 answers no Modbus master, and the MicroLogix 1500 DF1 node address article covers that protocol's addressing separately.

Frame-silence budget at 9600 baud with no parity and one stop bit #

Two inputs set the numbers, and both come from the reported setup. The line rate is 9600 b/s, the rate the trials settled on. The character format is 8 data bits, no parity and one stop bit — the framing the PC test proved on the slave — so one RTU character carries 1 start bit plus 8 data bits plus 1 stop bit: 10 bits in total.

Modbus RTU delimits frames by silence, not by a byte count: at least 3.5 character times of silence must separate two frames, and a silence longer than 1.5 character times between characters inside a frame makes the receiver discard the frame as incomplete.

The arithmetic:

  • Character time: 10 bits ÷ 9600 b/s = 1.0417 ms per character.
  • Intra-frame limit: 1.5 × 1.0417 ms = 1.5625 ms, about 1.6 ms.
  • Inter-frame minimum: 3.5 × 1.0417 ms = 3.6458 ms, about 3.6 ms.

The format moves both limits. Many RTU devices transmit two stop bits when parity is none; an 11-bit character at the same rate gives 11 ÷ 9600 = 1.1458 ms per character, an intra-frame limit of about 1.7 ms and an inter-frame minimum of 3.5 × 1.1458 = 4.0104 ms, about 4.0 ms.

At this rate and framing, every byte of one request must follow the previous byte within 1.6 ms, and at least 3.6 ms of silence must stand before the first byte and after the check field. Time the captured request against those limits. Bytes spaced more than 1.6 ms apart mean the MicroLogix discards the frame before the function code is read — the same failure the frame-gap-before-the-CRC walkthrough traces from the raw bytes — so fix the sender's port mode or timing, not the request contents. One clean burst through the check field clears the timing rule and moves the fault to the conductors or the framing.

Capture the CP1L request before changing function codes #

The decisive test sends the CP1L's request somewhere you can read it. Connect a PC serial terminal as a receive-only listener across the option board's transmit line and signal ground, set the terminal to the link's baud, parity and stop bits, and run one master read or write. This is the same technique used to check an Omron serial port's TXD and RXD traffic — the CP1H serial port TXD and RXD setup walkthrough shows the hookup.

Run the rest as one controlled sequence:

  1. Record the option board's socket and DIP switch position, and confirm the socket's serial mode carries Modbus RTU.
  2. Check continuity on all four RS-232 conductors: transmit, receive, the RTS and CTS arrangement, and signal ground.
  3. Read baud, parity and stop bits from both PLCs and set them identical to each other and to the framing the PC test proved.
  4. Run one master request into the terminal and inspect the bytes: slave address, function code, data reference, quantity or value, and check field, all inside one burst.
  5. Compare that burst byte for byte with the request that worked from the PC master against the same registers.
  6. Reconnect the PLCs and change exactly one setting per test, so each result names one cause.

Three outcomes split the fault. No request in the capture points back at the CP1L: socket selection, switch position, serial mode or the master program's execution. A complete request with no reply moves the fault to the receive conductors, the framing match, the node address or the request contents. A reply that arrives but lands in the wrong place points at the master's response mapping, not the wire.

Judge the link by a completed exchange with the cable connected — never by node recognition or by a value that moves when the cable is pulled. The pass is a captured CP1L request whose address and function match the intended operation, a MicroLogix reply that passes its check field, and the expected value landing in the destination area. For a write, read the affected register back from the MicroLogix and match it against what you sent; for a read, compare the returned value against a known register value. Then pull the cable once and require a distinct communication error from the master.

If disconnecting instead leaves a plausible-looking value behind, your program's failure path is masking the loss. Fix that before the link carries production data: a write that lands in the wrong register moves a live output, not a test value.

Keep the edits ordered, and keep the function code last. If you are building master logic rather than repairing an existing link, the CPM2 Modbus RTU master in ladder walkthrough constructs the requests from the first byte; this article assumes the program already exists and the exchange fails.

Questions asked

Why does the error code not change when I change the function code?

An unchanged error across function codes means the frame is rejected before its contents are read. The function code is the part of the frame that names the operation; a receiver discarding broken wiring, wrong socket settings or a split frame never reaches it. Capture the outgoing request once, confirm it is one complete burst with a passing check field, then compare it against the request that worked from the PC master. After that, stop editing the code and work through socket, conductors and framing in order.

Can I test the CP1L without the MicroLogix connected?

Yes, and that is the point of the capture step. Terminate the option board's transmit line and signal ground into a PC serial terminal set to the link's baud, parity and stop bits, run one master request, and read the bytes. The slave never answers in this arrangement, so a silent port or a split frame is a CP1L-side fault, while a clean burst clears the master and moves your attention to the cable and the slave.

Which serial settings have to match on the two PLCs?

Baud rate, parity and stop bits must be identical at the master and the slave, and the master must target the slave's node address. Read the configured values in each device's serial setup instead of trusting rate shorthand, because a rate written with a comma as the decimal mark is easy to enter differently at each end. Keep every test on the framing the PC master already proved against the slave.

Should RTS and CTS be jumpered at the option board or wired to the MicroLogix?

Either arrangement can work; what fails is leaving them open. Jumpers at the option board satisfy the port's own handshake check, while carrying RTS and CTS through to the slave keeps hardware flow control available end to end. Choose one arrangement, wire it consistently on both connectors, and do not mix the two, because an open handshake conductor blocks the exchange even when every serial parameter matches.

What does a valid MicroLogix response look like in the capture?

It returns inside one silence-delimited burst that echoes the slave's address, carries the function code the request used, holds the data or confirmation block, and ends with a two-byte check field. Treat a reply with a failed check field as a wiring or noise problem, and a reply whose function code differs from the request as a refusal from the slave, not as noise to ignore.

Keep reading

  • How-to

    Configure MicroLogix 1100 Channel 0 for Modbus RTU

    On the tested MicroLogix 1100 (1763-L16BBB rev. B), Channel 0 is a serial port with a selectable driver — DF1, Modbus RTU Slave or Modbus RTU Master — set in RSLogix Micro under Channel Configuration while Channel 1 keeps carrying Ethernet. Slave mode creates the data files, binary for coils and contacts and integer for input and holding registers; master mode runs MSG instructions against the stations you poll.

    Industrial networks

  • Troubleshooting

    Why an S7-1200 MB master gets status 80C8 with no reply

    80C8 is a slave timeout: the MB_MASTER call transmitted and accepted no response frame before the timeout expired. With a slave proven good by a laptop test tool, work the order A/B swap, slave ID, MB_COMM_LOAD on First Scan, then bus capture; the 400xx leading-zero entry is an address convention, not the fault.

    Industrial networks

  • How-to

    How a PLC runs two Modbus networks at the same time

    Yes. Each serial port is its own independent link: the HMI polls the PLC on one port while the PLC acts as master, or slave, on a separate RS-485 Modbus RTU network. The two links share no settings — only their endpoints must match — and PLC copy logic moves any data between them.

    Industrial networks