IMDHMIControls LibraryShop main store

Troubleshooting

Fix CODESYS RTE unresolved reference errors on EtherCAT download

Industrial networks Published 5 min read

Short answer

Ten unresolved SysEthernet reference errors at download mean the RTE runtime is missing the network driver component for your NIC, not that versions mismatch. For an Intel I211 install CmpEt1000Drv from the Cmpet1000MPD folder, add it in the RTE Component Manager, keep Secure Boot off, restart the runtime, and remove the CmpHilscherCIFX entries unless a cifX card is fitted.

On this page
  1. What the ten unresolved references actually say
  2. Why the Hilscher cifX procedure does not apply
  3. Install CmpEt1000Drv on the Intel I211
  4. Verify the repair
  5. The decision for each case
  6. Questions asked

The ten unresolved references at download are a missing driver component in the runtime, not a version problem: the CODESYS Control RTE V3 runtime on the IPC has no component loaded that can drive the network adapter, so every SysEthernet symbol the EtherCAT master calls fails to resolve. Install the CODESYS driver CmpEt1000Drv for the Intel I211 from C:\Program Files\CODESYS\CODESYS Control RTE3\Cmpet1000MPD, add CmpEt1000Drv in the runtime's Component Manager, keep Secure Boot disabled in the BIOS, restart the runtime, and take the Hilscher cifX entries back out of CODESYSControl.cfg, because there is no cifX card to configure. The version warning in the download dialog is generic text; the counts above it are the real diagnosis: 10 unresolved reference(s), 0 signature mismatch(es), 0 version mismatch(es).

What the ten unresolved references actually say #

The EtherCAT master stack inside the runtime talks to the NIC through one fixed set of SysEthernet functions. An unresolved reference means no loaded runtime component implements that symbol. It is not a compile error in your project and not a mismatch between the engineering station and the IPC: in the reported case both machines ran CODESYS Control RTE V3 v3.5.17.0 and the mismatch counts confirmed it. The same failure is reported against RTE V3 3.5.21.0, so this spans RTE versions rather than one bad build.

The ten symbols in the message view fall into three groups:

  • Adapter management: SYSETHERNETADAPTERCLOSE, GETNUMBEROFADAPTERS, GETADAPTERINFO, SYSETHERNETADAPTEROPEN
  • Raw Ethernet frames: SYSETHERNETETHFRAMESEND, SYSETHERNETETHFRAMERECEIVE, SYSETHERNETFRAMERELEASE
  • IP frames: GETIPETHFRAME, SYSETHERNETIPFRAMESEND, SYSETHERNETIPFRAMERECEIVE

Worked check: 4 + 3 + 3 = 10, exactly the dialog's count. The zeros in both mismatch columns mean the device description in the project and the runtime agree, so up- or downgrading the device, as the dialog's paragraph suggests, cannot fix this download. Read the counts, not the paragraph under them. If your message view shows a different total, count it the same way: any SysEthernet entry still points at the missing adapter component, and the same repair follows it.

This is also not the fault behind an adapter-open error at runtime start on a PFC200, which is a Linux runtime failing to open its NIC; that repair is in fixing the CODESYS EtherCAT master adapter open error on PFC200.

Why the Hilscher cifX procedure does not apply #

The RTE manual has a startup section for IPCs whose real-time traffic runs through a Hilscher cifX card, and that is the section the reported case followed first. It adds the CmpHilscherCIFX component in the Component Manager, then points CODESYSControl.cfg at the card's bootloader and firmware:

  • Device.0.BootloaderFilePath=$Firmware$\HilscherCIFX\Firmware\NETX100-BSL.bin
  • Device.0.Channel.0.FirmwareFile=$Firmware$\HilscherCIFX\Firmware\cifxecm.nxf

inside a [CmpHilscherCIFX] section holding TraceLevel=0xFFFFFFFF, InterruptMode=0 and DMAMode=1.

None of that touches an Intel I211. CmpHilscherCIFX configures a cifX card; with no card fitted there is nothing to program, and on the reported IPC the firmware folder held no cifxecm.nxf at all. The missing firmware file was never the fault — it was the sign that the wrong, hardware-specific procedure had been followed. Delete the whole [CmpHilscherCIFX] section you added unless the target genuinely carries a cifX card; in that case the procedure applies and the same ten references mean the cifX component or its firmware did not load.

Install CmpEt1000Drv on the Intel I211 #

Do this work with the machine in a safe stopped state, because uninstalling the NIC's active Windows driver cuts the runtime's network and any live EtherCAT traffic underneath it.

  1. Confirm Secure Boot is disabled in the IPC's BIOS. The RTE installation runs this check too, so it can also be handled while installing or reinstalling the runtime.
  2. In Windows Device Manager, uninstall the existing driver from the Intel I211 reserved for the EtherCAT stack, then install the CODESYS driver from C:\Program Files\CODESYS\CODESYS Control RTE3\Cmpet1000MPD. Uninstall-then-install inside Device Manager was enough on the reported machine.
  3. Open the runtime's system configuration and add CmpEt1000Drv to the component list in the Component Manager. The RTE manual's Available Dynamic Components section is where each driver is documented; the runtime loads a driver only when the list names it.
  4. Restart the runtime — rebooting the IPC is the reliable way — so the new Windows driver and the component list both take effect.

The NIC selection inside the EtherCAT master configuration had already succeeded in the reported case, on a Windows 7 Embedded IPC: the failure came later, at download, which is why the master settings were never the place to look.

Older IPCs with an Intel 82579 NIC fail one step earlier, at recognition of the adapter itself; page on resolving Intel 82579 NIC recognition in CODESYS Control RTE walks through that variant.

Verify the repair #

Download the project again and hold the repair to two checks:

  • The download completes with no unresolved references: the message view lists none and the dialog reports 0 in all three counts.
  • With the Bus Cycle Task assigned to the EtherCAT master and running, the network scan enumerates the slaves through the Intel I211.

If the same errors return, check in this order: the NIC's active driver in Device Manager is the CODESYS one, CmpEt1000Drv is present in the component list, and the runtime was actually restarted after both changes. If the CODESYS driver installs but the NIC refuses it — two drivers claiming one adapter is the usual shape of that failure — page on troubleshooting CODESYS RTE Intel NIC resource conflicts covers the conflict cases.

A master that now downloads cleanly but later loses synchronicity has a timing cause, not a driver cause; why a CODESYS EtherCAT master loses synchronicity is that article.

The decision for each case #

  • Intel I211 or another supported Intel adapter, no cifX card in the target: revert the [CmpHilscherCIFX] section, install CmpEt1000Drv from the runtime's Cmpet1000MPD folder, add the component in the Component Manager, keep Secure Boot off, restart, rescan. That is the fix; the references will not clear any other way.
  • A real Hilscher cifX card in the target: keep CmpHilscherCIFX with its NETX100-BSL.bin and cifxecm.nxf paths, confirm both files exist under the RTE's HilscherCIFX firmware folder, restart, and read the same ten references as that component failing to load.
  • Any other adapter: before downloading, match the component named in your RTE version's documented dynamic components list to the NIC. If none is documented for the adapter, it cannot carry the EtherCAT stack and its references will never resolve on it.

Questions asked

Can CmpHilscherCIFX and CmpEt1000Drv stay installed together?

Yes. Both components can sit in the component list at once, and on an IPC that genuinely carries a cifX card next to its onboard NIC you need both. The failure comes from configuration, not coexistence: a CmpHilscherCIFX section pointing at a bootloader and firmware that do not exist on a machine with only an Intel I211 loads nothing and leaves every SysEthernet symbol unresolved. Match each component's entries to hardware that is actually fitted.

Does the same fix apply to CODESYS Control Win V3?

No. Control Win V3 reaches the network differently from the RTE, so the CmpEt1000Drv install described here is an RTE fix. What transfers is how to read the error: an unresolved reference always names a symbol no loaded component implements, and the owning component differs by runtime. One documented case on Control Win V3 3.5.9.40 involved visualization components, not Ethernet at all. Identify the owning component for your runtime before changing anything.

What happens if I ignore the unresolved references and try to scan anyway?

Nothing runs. The download aborts with the error, so the application on the runtime stays without the new project and the EtherCAT master never starts. The network scan depends on a running master that can open the adapter, and until the component implementing the adapter and frame symbols is loaded there is nothing on the IPC to scan with. No setting inside the project works around a missing component.

Which network adapters does CmpEt1000Drv support?

It is the component the EtherCAT master documentation lists for Intel PRO/1000 silicon — the data sheet names the Intel EtherExpressPro1000 — and it is the driver that cleared the fault on the I211 in the reported case. For any other adapter family, use the component your RTE version's documented dynamic components list names for that hardware.

Keep reading

  • Troubleshooting

    Why a CODESYS EtherCAT master loses synchronicity

    An intermittent lost synchronicity fault on a CODESYS EtherCAT master is a missed cyclic deadline inside the controller, not a cable fault. In the reported case, a supervisory OPC UA client that opened and closed its channel on every transaction triggered the losses; keeping that channel open stopped them. Doubling the cycle to 10 ms and setting a static address changed nothing.

    Industrial networks

  • Troubleshooting

    Fix CODESYS EtherCAT master adapter open error on PFC200

    The error is fixed by the whole port configuration: PFC200 firmware 26, the two Ethernet ports separated, the EtherCAT port on its own network segment, a reboot, and ethX2 as the master's source adapter. Unswitched ports alone keep the error. With the master running, PDO reads and writes to the drive need no license; only an axis technology object does, so a torque-mode move is done through the drive's PDOs directly.

    Industrial networks

  • Troubleshooting

    Fix ctrlX CORE PROFINET device not found with XF10 connected

    This is not a Siemens fault: DCP discovery runs at the Ethernet layer, so XF10 and XF51 answer in one broadcast domain through the same unmanaged switch whatever their IP subnets. Put the engineering port on its own switch or VLAN and confirm the device name on XF51, and the startup dependency disappears.

    Industrial networks