Hi, the CAN Libary you have in your project doesnt fit to the runtime you are using on the PFC.
When functions in a libary have an external implementation and the external implementation can not found in the firmware/runtime after the download you get the error message 'unresolved ref..'
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
im runing codesys 3.5.17.0, im having a Wago 750-8213. when uploding PLC program im getting thees
[FATAL ERROR] Unresolved reference: 'CL2_DELETERECEIVER'
[FATAL ERROR] Unresolved reference: 'CL2_GETBUSALARM'
[FATAL ERROR] Unresolved reference: 'CL2_DRIVERCLOSE'
[FATAL ERROR] Unresolved reference: 'CL2_CREATEIDAREARECEIVER'
[FATAL ERROR] Unresolved reference: 'CL2_REGISTERIDAREA'
[FATAL ERROR] Unresolved reference: 'CL2_DRIVEROPENH'
[FATAL ERROR] Unresolved reference: 'CL2_CREATEMASKRECEIVER'
[FATAL ERROR] Unresolved reference: 'CL2_CREATESINGLEIDRECEIVER'
[FATAL ERROR] Unresolved reference: 'CL2_GETRECEIVECOUNTER'
[FATAL ERROR] Unresolved reference: 'CL2_GETRECEIVEERRORCOUNTER'
[FATAL ERROR] Unresolved reference: 'CL2_GETTRANSMITCOUNTER'
[FATAL ERROR] Unresolved reference: 'CL2_GETTRANSMITERRORCOUNTER'
[FATAL ERROR] Unresolved reference: 'CL2_GETBUSSTATE'
[FATAL ERROR] Unresolved reference: 'CL2_GETBAUDRATE'
[FATAL ERROR] Unresolved reference: 'CL2_GETBUSLOAD'
[FATAL ERROR] Unresolved reference: 'CL2_ISSENDINGACTIVE'
[FATAL ERROR] Unresolved reference: 'CL2_GETLOSTCOUNTER'
[FATAL ERROR] Unresolved reference: 'CL2_GETRECEIVEPOOLSIZE'
[FATAL ERROR] Unresolved reference: 'CL2_GETRECEIVEQUEUELENGTH'
[FATAL ERROR] Unresolved reference: 'CL2_GETTRANSMITPOOLSIZE'
[FATAL ERROR] Unresolved reference: 'CL2_GETTRANSMITQUEUELENGTH'
[FATAL ERROR] Unresolved reference: 'CL2_READ'
[FATAL ERROR] Unresolved reference: 'CL2_FREEMESSAGE'
[FATAL ERROR] Unresolved reference: 'CL2_RESETBUSALARM'
[FATAL ERROR] Unresolved reference: 'CL2_CREATEMESSAGE'
[FATAL ERROR] Unresolved reference: 'CL2_WRITE'
[FATAL ERROR] Unresolved reference: 'CL2_CSTCYCLECLOSE'
when i exclude a program from my build, it workes fine. but i do not have CAN bus running.
Hi, the CAN Libary you have in your project doesnt fit to the runtime you are using on the PFC.
When functions in a libary have an external implementation and the external implementation can not found in the firmware/runtime after the download you get the error message 'unresolved ref..'