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 » problems with compiling 4diac forte on raspberry pi 4
problems with compiling 4diac forte on raspberry pi 4 [message #1864852] Mon, 15 April 2024 08:06 Go to next message
Konstantin Pushkov is currently offline Konstantin PushkovFriend
Messages: 1
Registered: April 2024
Junior Member
I am trying to compile 4diac forte on raspberry pi 4 from the develop branch. But when connecting sysfs, an error occurs (compilation error.png).
When running multiple times setup_posix.sh the error disappears, but the QX and IX function blocks are not created(run develop.png). Can you tell me how to fix the error?
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1865025 is a reply to message #1864852] Wed, 24 April 2024 19:00 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1639
Registered: January 2014
Senior Member

Sorry for the late reply. When I saw your message I checked and thought it will be a quick fix. Unfortunately during one of the updates the process interface for sysfs was broken. This would need a bit of work for which I haven't found time yet.
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1865193 is a reply to message #1865025] Sun, 28 April 2024 01:16 Go to previous messageGo to next message
Ketut Kumajaya is currently offline Ketut KumajayaFriend
Messages: 26
Registered: January 2024
Junior Member
Alois Zoitl wrote on Wed, 24 April 2024 19:00
Sorry for the late reply. When I saw your message I checked and thought it will be a quick fix. Unfortunately during one of the updates the process interface for sysfs was broken. This would need a bit of work for which I haven't found time yet.

Sir, please fix one of the module, sysfs or i2c as an example and I will try to fix the others. Thank you.
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1865211 is a reply to message #1865193] Sun, 28 April 2024 16:54 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1639
Registered: January 2014
Senior Member

Unfortunately the situation is not so easy. Several of these IO systems still implement the old IO interface and should be migrated to the new modular IO system. Examples for these are modbus_ng or wago modular. The new IO subsystem would be much better suited and deliver better performance compared to how it is currently implemented. Therefore I'm not sure if it makes sense to just fix it.
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1865247 is a reply to message #1865211] Mon, 29 April 2024 14:13 Go to previous messageGo to next message
Ketut Kumajaya is currently offline Ketut KumajayaFriend
Messages: 26
Registered: January 2024
Junior Member
Alois Zoitl wrote on Sun, 28 April 2024 16:54
Unfortunately the situation is not so easy. Several of these IO systems still implement the old IO interface and should be migrated to the new modular IO system. Examples for these are modbus_ng or wago modular. The new IO subsystem would be much better suited and deliver better performance compared to how it is currently implemented. Therefore I'm not sure if it makes sense to just fix it.

I completely understand that there may still be many things that need to be improved. Thank you for your response.
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1867107 is a reply to message #1864852] Fri, 14 June 2024 18:10 Go to previous messageGo to next message
roger giglio is currently offline roger giglioFriend
Messages: 15
Registered: August 2023
Junior Member
Hi!

I am interested about using I/Os for raspberry pi as well. Are there any workaround to access its I/Os or use i2C communication?

Are there any documentation available for migrating these modules for the new modular IO System besides the code for wago modular?

Maybe i can contribute as well.

Thanks in advance!
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1867110 is a reply to message #1867107] Sat, 15 June 2024 01:21 Go to previous messageGo to next message
Dustin Schmitt is currently offline Dustin SchmittFriend
Messages: 15
Registered: April 2024
Junior Member
I try to get around using the GPIO controlled by 4diac with an additional http-server.
So my Raspberry Pi is getting and sending data to a http-server with the client-FBs and another programm (python, C++, java) can do the executive part.
The logic is running in 4diac and just the GPIO controlling happens over the programm.

Was my idea so far, maybe it helps ...
Dustin
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1867113 is a reply to message #1867110] Sat, 15 June 2024 14:06 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1639
Registered: January 2014
Senior Member

Jörg was so kind and upgraded the GPIO module for Linxu and with that also for Raspi, with this PR: https://github.com/eclipse-4diac/4diac-forte/pull/139. Therefore in the latest development version GPIOs should work again.
Previous Topic:Incorrect communication between 4diac IDE and FORTE on Raspberry
Next Topic:pub/sub state machine
Goto Forum:
  


Current Time: Wed Feb 05 14:03:04 GMT 2025

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

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

Back to the top