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 » Set up the Communication Between Both Devices
Set up the Communication Between Both Devices [message #1848833] Mon, 20 December 2021 02:16 Go to next message
chen peng is currently offline chen pengFriend
Messages: 25
Registered: November 2021
Junior Member
I'm following the course from https://www.eclipse.org/4diac/en_help.php?helppage=html/4diacIDE/distribute4diac.html#SetUpCommunication
Now I set up the logic completely according to the process, but the data did not circulate successfully, please check attached pic shows
I want to setup data connection, but I'm not sure where my problem is, can you please suggest if I should have any more operations.
Re: Set up the Communication Between Both Devices [message #1848840 is a reply to message #1848833] Mon, 20 December 2021 18:58 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

hi,
have you either manually inserted communication function blocks into your resources or created the communication function blocks with our experimental generation facility?

Unfortunately there is an issue with the console. Therefore you currently don't see any output there.

Cheers,
Alois
Re: Set up the Communication Between Both Devices [message #1848844 is a reply to message #1848840] Tue, 21 December 2021 02:27 Go to previous messageGo to next message
chen peng is currently offline chen pengFriend
Messages: 25
Registered: November 2021
Junior Member
Do you mean Publish and Subscribe node?
I add them in my logic, but I don't see data communicate between them
  • Attachment: device-1.PNG
    (Size: 37.08KB, Downloaded 113 times)
  • Attachment: device-2.PNG
    (Size: 21.48KB, Downloaded 103 times)
Re: Set up the Communication Between Both Devices [message #1848869 is a reply to message #1848844] Tue, 21 December 2021 15:24 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

Your publisher is missing a data connection. Therefore it reports to you a data type error as values of type any can not be send.

Please also not that you don't need to have the publish and subscribe blocks on your application it is perfectly fine to have them in the resource.
Re: Set up the Communication Between Both Devices [message #1848879 is a reply to message #1848869] Wed, 22 December 2021 09:27 Go to previous messageGo to next message
chen peng is currently offline chen pengFriend
Messages: 25
Registered: November 2021
Junior Member
Oh, I see, Now I add data connection, and it's OK now, thanks
Re: Set up the Communication Between Both Devices [message #1848882 is a reply to message #1848879] Wed, 22 December 2021 10:02 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

Happy to help!
Previous Topic:Location of Linux 4diac IDE update repository
Next Topic:4diac Modbus Function Blocks
Goto Forum:
  


Current Time: Wed Apr 24 23:55:58 GMT 2024

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

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

Back to the top