Wago custom firmware build and C module for runtime

Hi everyone.

I haven’t played with custom pfc-firware-sdk yet - GitHub - WAGO/pfc-firmware-sdk-G2: Firmware SDK for PFC200-G2 family

But I wonder if it is possible to implement Codesys FB module in C code. I know that it is possible in Codesys e.g. with Raspberry SL licence.

So following those guides, I was able to implement FB module in C and upload it with Codesys project to Raspberry. I also tried the same way to upload it to PFC 200 with normal Wago firmware. But I was unsuccessful. I think it is due to the requirements of CODESYS Control Extension Package in runtime.

But I hope that with manual firmware building I can extend the firmware and already include in it my custom C module, so it won’t have to be uploaded with Codesys project to PLC. I mean that I will have to only mark FB module as ‘external implementation’

Can somebody say if I am correct or wrong? I hope that somebody has already tried this and has some knowledge of whether it is possible or not.

Thanks a lot for any help

Sorry for second post, but I was unable to paste more than two links. I’m refering to this codesys functionality