Issue in building FORTE to second generation WAGO PLC [message #1868160] |
Fri, 12 July 2024 14:15  |
Eclipse User |
|
|
|
Hello,
I have been trying to build 4diac FORTE for a WAGO PLC named PLC200 - 750-8212.
The procedure documented on the 4diac website to build FORTE on WAGO PLC requires the WAGO Board Support Package (BSP).
The documents provided for the BSP are equivalent to the pfc-firmware-sdk G1 provided by WAGO on their github.
https://github.com/WAGO/pfc-firmware-sdk
I was able to follow the documentation and created an image of firmware with FORTE builded in, only when using a ubuntu 14.04 virtual machine (32bits - i386).
But, the pfc-firmware-sdk G1 is not compatible with the PLC200 - 750-8212, because it is a second generation of the PLC200 series and have a different sdk procedure and documents, as provided by WAGO on their github.
https://github.com/WAGO/pfc-firmware-sdk-G2
This pfc-firmware-sdk-G2 procedure requires Docker Engine for Ubuntu. Which is only compatible to 64-bit versions of the Ubuntu.
Any attempt of mine to build FORTE using 64-bit versions of the Ubuntu with the sdk G2 have fail in the same way that when i have try before using the sdk G1 on a machine that was not ubuntu 14.04.
I suspect that the rule files "forte_wago.in" and "forte_wago.make" provided are somehow having problems on 64-bit versions of Ubuntu.
I really would like to build 4diac FORTE for this PLC. I would appreciate any suggestions or help on how to make this work.
|
|
|
Re: Issue in building FORTE to second generation WAGO PLC [message #1868214 is a reply to message #1868160] |
Mon, 15 July 2024 12:52   |
Eclipse User |
|
|
|
i also have a pfc200 750-8212, since i had similar issues, i tried the 4diac build system, on my branch https://github.com/moniwe/4diac-forte/tree/update_wago i did some changes to get it built and running, with the help of the main developer of the 4diac build system (4diac-fbe). unfortunately i until now only managed to see the KBus running, the IO modules did not initialize correctly, when i downloaded a proper resource. until now i did not have time to debug it any further.
in case you want to try it, this is my configuration file for 4diac-fbe:
ARCH=arm-linux-gnueabihf
DEPS=tinyxml
DEPS=wago
COM=ETH,FBDK,LOCAL,HTTP
// IEC61131,RT_Events,UTILS,RECONFIGURATION
MODULE=CONVERT,UTILS_ADDON,CUSTOM_FBS
MODULE=WagoKbus
CMAKE_BUILD_TYPE=Debug
FORTE_LOGLEVEL=LOGDEBUG
FORTE_IO=ON
besides this configuration you also need an additional recipe under 4diac-fbe/dependencies/recipes/wago i can try to share the files needed within this folder within my fork? but i guess we will not be allowed to push it into the official repository? actually i am also not really sure if we are allowed to push these files to a fork, or upload it within this forum, maybe someone can explain the issues about this?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03966 seconds