IMDHMIControls LibraryShop main store

Troubleshooting

Why a CANopen coupler boots up but the PLC rejects it

Industrial networks Published 7 min read

Short answer

A CANopen slave that boots but never gets initialized usually fails the controller's first SDO read: object 1000:0, the device type. Trace power, CAN wiring, bit rate and node ID first, then capture the 1000:0 exchange on the wire; only a mismatch between the returned value and the EDS justifies touching the EDS.

On this page
  1. Why does a CANopen node boot up but never get initialized?
  2. Does a device that works on the same cable prove the wiring is good?
  3. What should I measure on the CAN lines first?
  4. How long should I wait for the CANopen boot-up message?
  5. What should the CAN analyzer capture at startup?
  6. How do I decode the device-type answer in object 1000:0?
  7. When is the EDS file the reason the node is rejected?
  8. Do input-only terminals stop a coupler from being found?
  9. Questions asked

A CANopen node that sends its boot-up message has only announced that it finished its own initialization and reached Pre-operational; acceptance is a separate step. The controller then reads object 1000:0, the device type, over SDO and compares the answer with the device description in its project — and that comparison, not the boot-up, is where a healthy I/O coupler gets rejected. Work the fault in this order: power and CAN wiring, bit rate and node ID, then a capture of the 1000:0 exchange, and only then the EDS file.

Why does a CANopen node boot up but never get initialized? #

Because boot-up and initialization are separate tests: CiA 301 has the node transmit one boot-up frame on entering Pre-operational, but the controller must still read object 1000:0 by SDO and accept the answer against its configured device description.

CiA 301, the CANopen application layer and communication profile, sets the sequence after that: the node waits in Pre-operational, the master configures it through SDO transfers, and cyclic exchange begins only when the master sends the NMT Start Remote Node command. Three things must each succeed, in order: the node's own start, the controller's identity check, and the start command. The controller described by this fault opens with the device-type read of 1000:0, and a device-type or identity read is the common first move in other CANopen masters as well, which is why that exchange is the right place to point an analyzer. The same handshake is what running CiA 402 CANopen drives from an S7-1500 through a gateway puts on the wire when the slave is a drive instead of an I/O coupler.

Does a device that works on the same cable prove the wiring is good? #

It proves the controller and that cable segment can exchange frames, and nothing more: the substitute's node ID, bit-rate setting, supply and device description are all different, and unplugging it can even change termination if it sat at the end of the trunk.

The substitution tells you:

  • the controller's CAN port, the shared cable segment and the substitute's transceiver carry frames;
  • the controller is scanning the bus, at a bit rate that matches the substitute.

It does not tell you:

  • the coupler's node ID or bit-rate setting;
  • the coupler's own supply, since coupler electronics power and terminal field power are separate feeds;
  • the device identity the controller will demand from the coupler;
  • the trunk's termination, if the working device sat at a physical end and its removal moved an end resistor.

Keep the substitution as a baseline for the shared path, then measure the coupler's installation on its own merits.

What should I measure on the CAN lines first? #

With the bus powered down, measure resistance across CAN_H and CAN_L: a correctly terminated trunk reads about 60 ohm, because the two 120 ohm end resistors sit in parallel, 120 * 120 / (120 + 120) = 60 ohm.

  • Termination: exactly two 120 ohm resistors, one at each physical end of the trunk, and none at the coupler unless the coupler is an end device.
  • Bit rate: controller, coupler and analyzer all set to the same value; 125, 250, 500 or 1000 kbit/s covers the common settings, and one mismatch silences a node completely.
  • Node ID: set in the range 1-127, unique on the bus, and equal to the node number configured in the controller project.
  • Power: measure the coupler's electronics supply at its terminals, and do not assume field power implies logic power.

Move or re-terminate trunk wiring only in a planned outage: unplugging a live CAN segment can fault every node on it, and whatever they control.

How long should I wait for the CANopen boot-up message? #

Allow up to 10 s at power-up before judging the node dead: some devices spend 6-7 s in local initialization before the boot-up frame, so a controller that stops scanning after one second rejects a coupler that was simply still starting.

That wait decides how you read every later step. A node that arrives late still initializes normally if the master retries; a master whose bus-scan timeout is shorter than the node's start time fails on its own timing, not on the coupler's health. If the controller exposes a scan or boot-up timeout setting, confirm it sits above 10 s before condemning the node or editing the project.

What should the CAN analyzer capture at startup? #

Capture from before power-up of the coupler and keep the analyzer at the bus bit rate; the three frames that decide the fault are the boot-up on 0x700 + node ID, the SDO read request on 0x600 + node ID, and the response on 0x580 + node ID.

Connect the analyzer on the shortest drop the panel allows, with no termination of its own, and start the capture before the coupler is powered. Every identifier above comes from the CiA 301 pre-defined connection set; decoding CANopen COB-IDs in a CAN trace log walks through the rest of that mapping.

What the trace shows Where startup stopped Decision
No frame from the coupler at all Before the bus Fix power, wiring, termination, bit rate or node ID from the measurements above; do not open the EDS
Boot-up on 0x700 + node ID, then no request from the controller Controller never asked The controller is not scanning that node: check the node number and the node's enablement in the project
Request on 0x600 + node ID, no answer Request not served Re-check node ID and bit rate on the coupler itself and its status display; shorten the analyzer drop
SDO abort on 0x580 + node ID Object access refused Record the four-byte abort code (0x06020000 means the object does not exist); the node is powered, wired and addressed correctly
A valid answer, then silence Validation or the next transaction Compare the value with the EDS as below, then follow the next exchange, usually PDO configuration

How do I decode the device-type answer in object 1000:0? #

Object 1000:0 is a 32-bit value whose low 16 bits carry the device-profile number and whose high 16 bits carry additional-information flags, so read the four response bytes little-endian and compare the low word with the profile your EDS declares.

Worked example, with illustrative values for a coupler set to node ID 12:

  • Boot-up frame identifier: 0x700 + 12 = 0x70C.
  • Device-type read request: 0x600 + 12 = 0x60C, carrying index 0x1000, subindex 0x00.
  • Response: 0x580 + 12 = 0x58C, carrying the data bytes 91 01 00 00.
  • Read little-endian, that is 0x00000191. The low word 0x0191 = 1 * 256 + 9 * 16 + 1 = 256 + 144 + 1 = 401, the CiA 401 generic I/O profile number.
  • If the EDS loaded in the controller declares DeviceType 0x00000192, its low word 0x0192 = 402, the CiA 402 drive profile, and the controller stops initialization on identity even though the coupler answered correctly.

Decision: the wrong EDS is loaded for this device class. Load the coupler's own EDS from its manufacturer, matched to the exact device and firmware, and change the file selection, never the value inside the file.

When is the EDS file the reason the node is rejected? #

The EDS is at fault when the node answers the 1000:0 read with a valid value that disagrees with the DeviceType the EDS declares: the coupler is healthy and reachable, and the file describes a different device.

  1. Save the current controller project, and record the coupler's exact order designation and firmware version.
  2. Take the EDS from the coupler's manufacturer or its authorized distribution channel, and confirm the file states that device and firmware.
  3. In the controller's CANopen configuration tool, compare the EDS DeviceType entry and the node number against the captured 1000:0 response.
  4. On a mismatch, replace the EDS selection, load the corrected project through the normal engineering workflow, and capture startup again.
  5. On a match, identity passed: open the trace at the next exchange, usually PDO mapping or SDO configuration writes, and treat that as the new fault boundary.

A corrected identity check often exposes the next failure downstream; continue from the last successful transaction instead of restarting the diagnosis at the wiring.

Do input-only terminals stop a coupler from being found? #

No: boot-up and object-dictionary access do not depend on which way the process data flows, so a coupler with only input terminals is discovered, read and started exactly like one with outputs.

Process-data direction only matters after acceptance: once the node is started, its process image holds inputs alone, and the project must be built for that image. If your capture shows identity passing and startup stopping at PDO configuration, check whether the project still expects output data the coupler does not map. Keep the input-only arrangement, and fix the project's expectation rather than the wiring.

Questions asked

What COB-ID does the boot-up message use?

The CiA 301 pre-defined connection set assigns 0x700 plus the node ID, so node 12 transmits 0x70C. Producer heartbeat messages use the same identifier afterward, which is why a healthy node keeps traffic on 0x70C long after startup. If your analyzer shows nothing there after 10 s at power-up, the node never reached the bus.

Can I edit the DeviceType value in the EDS to make the controller accept the node?

No. The EDS value exists to be compared against what the node actually returns, so editing it hides the disagreement instead of resolving it. Get the EDS from the coupler's manufacturer or its authorized distribution and confirm it covers the exact device and firmware, or correct the node configuration if the returned value shows the node is not what the project assumes.

Does an SDO abort during the device-type read mean the wiring is bad?

No, the opposite: an abort proves the request was delivered and the node answered, so power, bit rate and node ID are working. The response on 0x580 plus the node ID carries a four-byte abort code instead of data; record that code and interpret it against the device documentation before changing anything else.

Is 0x00000191 the value every I/O coupler returns in 1000:0?

No. The 401 in that example is only the profile number in the low 16 bits; the exact 32-bit value, including the additional-information bits in the high word, is device-specific and comes from the manufacturer's documentation or EDS. Use the decode method, not the number, when judging your own capture.

How do I get a fresh boot-up message without guessing when it happened?

Reset the node: the boot-up frame is transmitted at every transition from Initialization into Pre-operational, so an NMT Reset command or a power cycle makes it appear again on demand. Start your analyzer capture first, then reset, and the whole sequence of boot-up, device-type read and answer lands inside one short trace.

Keep reading

  • Troubleshooting

    Fix an S7-300 PROFIBUS gateway: module address above the image

    The PROFIBUS side is fine: the S7-300 accepted the GSD file and the telegram carries your values. The assigned module addresses sit above the CPU's process image, so ordinary I and Q access reads zeros. Move them into bytes 0 to 127, or read and write them with peripheral access.

    Industrial networks

  • Troubleshooting

    Fixing a TwinCAT EtherNet/IP slave connection from an Omron PLC

    The CIP1 fault is a Forward Open mismatch: each Omron direction must carry the full serialized TwinCAT assembly, not the process variables alone. With 2 bytes in and 2 bytes out, the 4-byte ConnCtrl on outputs and ConnState on inputs make each direction 6 bytes, and the instances must follow producer and consumer roles. If a capture shows the request and a rejection, read the sizes and instances the originator actually serialized.

    Industrial networks

  • How-to

    How to map a 1747-SDN scanner for DeviceNet drive control

    Seeing the drive in an RSNetWorx browse is not an I/O connection. Put the drive in the 1747-SDN scanlist, read the M-file words the scanner mapping assigns, and reference those mapped words in the SLC 5/04 ladder. A node address is not an integer-file offset: the mapping view, not node 10, decides where each command and status word lives.

    Industrial networks