-
|
Dear 4diac developers and community, I'm exploring the use of adapters in SimpleFB within 4diac-IDE and have encountered an architectural question regarding event activation.
Any clarification on the design philosophy and practical implementation would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
The simple FB will be in the upcoming 3rd edition of IEC 61499 Part 1. 4diac IDE does not have all editing capabilities necessary for editing simple FB types. What is missing, and on our roadmap, is an edit feature for the simple states. Simple states is the IEC 61499-1 approach for assigning algorithms and events to input events. The IEC 61499 syntax is similar to the one for actions in basic FBs. You can already do that in XML and for normal input and output events we will also generate the correct code. I expect that the code generation for adapter output events will also be correct. What I'm not sure is if we have adapter input events correctly considered. We will test that as soon as we have the editing capabilities. |
Beta Was this translation helpful? Give feedback.
-
|
Dear @azoitl ! The resulting code works correctly. I am wondering whether this method aligns with the design philosophy of SimpleFB. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for your guidance. Although adapter events are not directly available, with your input I was able to develop working code after XML export. I consider the topic fully covered. I appreciate your efforts in explaining this. |
Beta Was this translation helpful? Give feedback.
Dear @rudoc!
Yes this is exactly what is expected how simple FBs would work for such a scenario.
For reacting to an adapter event the XML syntax would be: