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 » Subscriber and Publisher block be used for the structure of the OPAS/user defined one(Subscriber and Publisher connect to transfer the structure rather than single variable)
Subscriber and Publisher block be used for the structure of the OPAS/user defined one [message #1855096] Wed, 28 September 2022 10:10 Go to next message
Ashutosh Katke is currently offline Ashutosh KatkeFriend
Messages: 3
Registered: June 2022
Junior Member
Application for distributed block wherein AI-1 and AI-2 are the OPAS input blocks which is giving the input to the PID via selector and PID is connected to the AO block. I have attached the project for the reference.

Now want to distribute the AI-1, IS, PID and AO to FB-1 and AI-2 to FB-2.

So, both FBs working correctly checked independently.

AI-2 block data is always coming as the 0, so wanted to is public subscriber connection is proper . Is it the write way to connect the user defined out to the any as in the publish/subscriber block.
Re: Subscriber and Publisher block be used for the structure of the OPAS/user defined one [message #1855103 is a reply to message #1855096] Wed, 28 September 2022 15:16 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

Hi,

you can simply connect the struct output to the SD_1 input of a publish_1 block to publish the data of a struct. The same on the receiver side. You only need to take care that both PUBLISH and SUBSCRIBE have the same number of data points and that they have the same data type.

I hope this helps.

BR,
Alois
Previous Topic:OPC UA core server disconnnect
Next Topic:Raspi installation problems
Goto Forum:
  


Current Time: Thu Apr 25 07:23:52 GMT 2024

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

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

Back to the top