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 » pub/sub state machine
pub/sub state machine [message #1867425] Tue, 25 June 2024 10:36 Go to next message
Mahsa Moazez is currently offline Mahsa MoazezFriend
Messages: 1
Registered: June 2024
Junior Member
Hi,
How can I find the state machine of a sub/pub FB in 4diac.
I would like to know in detail how a sub/pub FB works and what each input/output is used for.
Re: pub/sub state machine [message #1867428 is a reply to message #1867425] Tue, 25 June 2024 11:19 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1639
Registered: January 2014
Senior Member

Publish and subscribe are service interface function blocks. For Service Interface function blocks there is now implementation in IEC 61499. Therefore also no state machine. These FBs are implemented spefic for a certain implementation e.g. in our case in 4diac FORTE with special C++ code.

The general behavior of Publish and Subscribe is defined in IEC 61499 Annex F as unidirectional communication interaction. That means that data inputs of Publish blocks are sent over a communication medium to a corresponding Subscribe block which is then puting the data on its output and notifies your application with an IND event. How that is done depends on your implementation and on your network.

For 4diac FORTE we have a set of different communication protocols and you can find how to use them and how they work in our communication documentation.
Previous Topic:problems with compiling 4diac forte on raspberry pi 4
Next Topic:Problem 4diac project copying to other computer.
Goto Forum:
  


Current Time: Wed Feb 05 04:44:33 GMT 2025

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

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

Back to the top