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 » Developing distributed application
Developing distributed application [message #1761202] Mon, 08 May 2017 20:54 Go to next message
Yernar Nukezhanov is currently offline Yernar NukezhanovFriend
Messages: 4
Registered: December 2016
Junior Member
Hello,
I am developing a program for conveyor system with 4 machines controlled by 4 Raspberry Pis. I set up them as Raspberry SPS, checked inputs/ outputs and now I need to develop program itself.
I am using existing function blocks for that and it is possible to implement the program only using them. However, the program gets messy because of all connections between INT, REQ and etc. Also, I need to transfer data between Raspberry Pis and therefore I am using Publish/Subscribe. It also adds complexity to the program and some scheduling issues (proper order of initializations and requests).
What can you suggest? Am I doing everything correctly from a design point of view?
P.S. I have also problems with Supplications. I am not able to map them.
Re: Developing distributed application [message #1761204 is a reply to message #1761202] Mon, 08 May 2017 21:17 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1582
Registered: January 2014
Senior Member

Hi,

yes it is possible to just use existing FBs. But as you noticed it leads to very complex programs. What I would recommend is to develop your own Basic FBs. What has been identified as a good practice to develop basic FBs for each mechtaronik component and then higher level coordinating Basic FBs providing superviory commands for coordinating the lower level basic FBs. This should also reduce the number of communication blocks between the parts.

In the 1.8.4 version mapping of Subapplications is currently disabled as subapplications where a highly experimental feature in this versions which could lead to lost data. We are currently heavily reworking 4diac-ide for version 1.9 where the whole subapplication code has been changed and the old issues should be removed. In the current state of the 1.9 development subapplication mapping is already working. The next step which is still missing is that subapplications are downloaded to the devices.
Previous Topic:No trace info in Debug mode in 4DIAC-IDE
Next Topic:Unable to launch FBRT/Local FORTE after importing application
Goto Forum:
  


Current Time: Fri Apr 19 20:22:55 GMT 2024

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

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

Back to the top