WagoSysCan_Internal_PFC - Unresolved reference: 'FUCLOSELAYER2'

Hello, I am trying to use the WAGO CAN Layer 2 Device through EtherCAT EL6751 using an industrial PC but am running into reference errors. After build, I get many errors such as “Unresolved reference: 'FUCLOSELAYER2”. All of which are related to the library WagoSysCan_Internal_PFC. I’ve tried building with different versions of the WagoAppCanLayer2 and WagoSysCan_Internal_PFC libraries but get the same result. Is there a way to include the necessary files in the download?

Setup:

  • CODESYS V3.5 SP19 Patch 7 + (64 Bit)
  • CODESYS Control for Linux SL 4.14.0.0



I have never tried using the WAGO libraries with Beckhoff IOs and I would doubt that would work (but I’ve been wrong before :slightly_smiling_face:). Instead of using the WAGO CAN Layer 2 Device, use the CODESYS J1939_Manager.

1 Like

Yeah, I’ve been unsuccessful so far. I will try to follow the example here and use the codesys CAA CL2 for the ability to send layer 2 CAN messages at specific transmission rates. I will update once I have progress.