Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Issue in building FORTE to second generation WAGO PLC(Current procedure appears not to be compatible with PCF200 G2 WAGO SDK)
Issue in building FORTE to second generation WAGO PLC [message #1868160] Fri, 12 July 2024 18:15 Go to next message
Paulo Feller is currently offline Paulo FellerFriend
Messages: 1
Registered: July 2024
Junior Member
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 16:52 Go to previous messageGo to next message
Monika Wenger is currently offline Monika WengerFriend
Messages: 9
Registered: March 2020
Junior Member
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?
Re: Issue in building FORTE to second generation WAGO PLC [message #1868217 is a reply to message #1868214] Mon, 15 July 2024 16:57 Go to previous messageGo to next message
Monika Wenger is currently offline Monika WengerFriend
Messages: 9
Registered: March 2020
Junior Member
an additional side node, i used the IO_CONFIG based I/Os as described here https://github.com/eclipse-4diac/4diac-documentation/blob/main/src/io_config/index.adoc
Re: Issue in building FORTE to second generation WAGO PLC [message #1868220 is a reply to message #1868217] Mon, 15 July 2024 19:32 Go to previous message
Monika Wenger is currently offline Monika WengerFriend
Messages: 9
Registered: March 2020
Junior Member
i used this commit https://github.com/jwalt/4diac-fbe/commit/904f080346c943faa43ac60b1d4fb2cecbfd6b6e within the 4diac-fbe repository since the develop branch is currently broken. within the folder 4diac-fbe/dependencies/recipes/wago add the atteched files. i think you need to adapt this sha256 number within the package.txt by a proper number for the wago.7z you create. this wago.7z should contain

wago/include/ldkc_kbus_information.h
wago/include/ldkc_kbus_register_communication.h
wago/include/dal/adi_application_interface.h
wago/include/dal/canopen_types.h
wago/include/dal/dal_caps.h
wago/include/dal/dal_limits.h
wago/include/dal/dal_types.h
wago/include/dal/libcanopen.h
wago/include/dal/sdi_stack_interface.h
wago/include/dal/events/events.h
wago/include/OsLinux/OsCommon.h
wago/lib/libdal.a
wago/lib/libdbus-1.so
wago/lib/libdbus-1.so.3
wago/lib/libdbus-1.so.3.19.9
wago/lib/libdbus-glib-1.so
wago/lib/libdbus-glib-1.so.2
wago/lib/libdbus-glib-1.so.2.3.2
wago/lib/libdbuskbuscommon.so
wago/lib/libdbuskbuscommon.so.0
wago/lib/libdbuskbuscommon.so.0.0.0
wago/lib/libffi.so
wago/lib/libffi.so.6
wago/lib/libffi.so.6.0.4
wago/lib/libgio-2.0.so
wago/lib/libgio-2.0.so.0
wago/lib/libgio-2.0.so.0.5701.0
wago/lib/libglib-2.0.so
wago/lib/libglib-2.0.so.0
wago/lib/libglib-2.0.so.0.5701.0
wago/lib/libgmodule-2.0.so
wago/lib/libgmodule-2.0.so.0
wago/lib/libgmodule-2.0.so.0.5701.0
wago/lib/libgobject-2.0.so
wago/lib/libgobject-2.0.so.0
wago/lib/libgobject-2.0.so.0.5701.0
wago/lib/liblibloader.so
wago/lib/liblibloader.so.0
wago/lib/liblibloader.so.0.0.0
wago/lib/liboslinux.so
wago/lib/liboslinux.so.0
wago/lib/liboslinux.so.0.0.0
wago/lib/libpcre.so
wago/lib/libpcre.so.1
wago/lib/libpcre.so.1.2.8
wago/lib/libtypelabel.so
wago/lib/libwago_dbus.so
wago/lib/libz.so
wago/lib/libz.so.1
wago/lib/libz.so.1.2.11

you hopefull find these files either on your wago or within the github of wago
  • Attachment: package.txt
    (Size: 0.10KB, Downloaded 30 times)
  • Attachment: build.cmake
    (Size: 0.28KB, Downloaded 23 times)
Previous Topic:Error building GPIOCHIP module
Next Topic:Read TCP/IP value
Goto Forum:
  


Current Time: Tue Jan 14 04:27:46 GMT 2025

Powered by FUDForum. Page generated in 0.03612 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top