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 » Powerlink And IEC61499 FB(Powerlink And IEC61499 FB)
Powerlink And IEC61499 FB [message #1777374] Wed, 29 November 2017 02:10 Go to next message
Anugerah Nuri Satria is currently offline Anugerah Nuri SatriaFriend
Messages: 32
Registered: September 2017
Member
Excuse me Sir, I would like to ask you if there is any detailed Powerlink function block example and instruction ? I have searched in many sources yet i found nothing.

And I want to study all about Function Block based on IEC 61499, how can I found that literature?

thanks
Re: Powerlink And IEC61499 FB [message #1777522 is a reply to message #1777374] Wed, 29 November 2017 21:52 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 645
Registered: January 2014
Senior Member
Unfortunately we currently don't have any public available example or instruction on the Powerlink fbs.
Re: Powerlink And IEC61499 FB [message #1781119 is a reply to message #1777522] Thu, 01 February 2018 15:52 Go to previous messageGo to next message
Anugerah Nuri Satria is currently offline Anugerah Nuri SatriaFriend
Messages: 32
Registered: September 2017
Member
Dear Mr Alois and All,

I try to use function blocks of powerlink (MN and CN) to connect 2 raspi. I think MN and CN can used just for B&R devices. Why should I do to connect 2 raspi with powerlink as a line to communication?
Re: Powerlink And IEC61499 FB [message #1781139 is a reply to message #1781119] Thu, 01 February 2018 20:59 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 645
Registered: January 2014
Senior Member
Hi,
this is not how powerlink is normally used. powerlink is a master slave communication system. in 4diac we currently provide the master implementation allowing to access IO values provided by slaves. I haven't heard of any peer to peer communication means available in pwoerlink.

What is the use case you a trying to achieve?
Re: Powerlink And IEC61499 FB [message #1781608 is a reply to message #1781139] Fri, 09 February 2018 11:56 Go to previous messageGo to next message
Anugerah Nuri Satria is currently offline Anugerah Nuri SatriaFriend
Messages: 32
Registered: September 2017
Member
Dear Mr Alois

I have followed the way of compile forte with openpowerlink on the web 4diac documentation, but when the compile forte process reaches 100%, it appears error in the form of / usr / bin / ld: -lpowerlink,
How to solve it ? the architecture I use is posix.
Re: Powerlink And IEC61499 FB [message #1781609 is a reply to message #1781608] Fri, 09 February 2018 12:07 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 645
Registered: January 2014
Senior Member
Hi,

would you be so kind and post the full error message. This makes it much easier to give you hints what could possible be wrong.
Re: Powerlink And IEC61499 FB [message #1781751 is a reply to message #1781609] Tue, 13 February 2018 02:18 Go to previous messageGo to next message
Anugerah Nuri Satria is currently offline Anugerah Nuri SatriaFriend
Messages: 32
Registered: September 2017
Member
Dear Mr. Alois,

This is the only error message from terminal.
[100%] Linking CXX executable forte
/usr/bin/ld: cannot find -lpowerlink
collect2: error: ld returned 1 exit status
src/CMakeFiles/forte.dir/build.make:14082: recipe for target 'src/forte' failed
make[2]: *** [src/forte] Error 1
CMakeFiles/Makefile2:137: recipe for target 'src/CMakeFiles/forte.dir/all' failed
make[1]: *** [src/CMakeFiles/forte.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Re: Powerlink And IEC61499 FB [message #1781769 is a reply to message #1781751] Tue, 13 February 2018 08:56 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 645
Registered: January 2014
Senior Member
to be honest I've never used powerlink myself. but from the error message it means that the powerlink library is not at the place where it should be. Can you check where your libpowerlink.a or libpowerlink.so files are?
Re: Powerlink And IEC61499 FB [message #1781780 is a reply to message #1781751] Tue, 13 February 2018 09:59 Go to previous messageGo to next message
Filip Pröstl Andren is currently offline Filip Pröstl AndrenFriend
Messages: 5
Registered: February 2016
Junior Member
Hi,

you're getting a linking error, since the compiler cannot find the powerlink library.

For instructions on how to compile forte with powerlink, please have a look at the readme.txt file in the folder for the powerlink module: forte/src/modules/powerlink/readme.txt

You need to compile the powerlink library and place it in the main powerlink folder. This folder you have to specify in the CMAKE for forte.
Re: Powerlink And IEC61499 FB [message #1782521 is a reply to message #1781780] Sun, 25 February 2018 15:52 Go to previous messageGo to next message
Anugerah Nuri Satria is currently offline Anugerah Nuri SatriaFriend
Messages: 32
Registered: September 2017
Member
Thanks for you Mr Alois and Mr. Filip.
By the way, i wanna ask again about MQTT protocol, in MQTT Publish FB (status), there is statement that say no socket, how we can fix that?
Re: Powerlink And IEC61499 FB [message #1782741 is a reply to message #1782521] Wed, 28 February 2018 18:30 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 645
Registered: January 2014
Senior Member
typcially it means that either there is something wrong with your mqtt config data of your publish fb or that there is no connection to your broker. Futhermore currently you can only connect to one broker from one FORTE. Which FORTE version are you using?
Re: Powerlink And IEC61499 FB [message #1783460 is a reply to message #1782741] Tue, 13 March 2018 10:55 Go to previous messageGo to next message
Anugerah Nuri Satria is currently offline Anugerah Nuri SatriaFriend
Messages: 32
Registered: September 2017
Member
Dear Mr.Alois


I use 1.8.4 forte version, by the way My Undergraduate thesis looks for an analysis effect of difference of fb architecture to value of quality of services, its means that i make any program who have a different architecture like star, line and etc ( topology) , . I use OPC UA communication protocol,


I will ask, how to refresh the value running on the timer, both timer on and time period? because i have some inputs when the program is running.

the scheme I use is the automotive industry that wants the flexibility of products like car body color in indystry 4.0 era. therefore I should be able to run a program that can enter two inputs while running and eliminate the previous data.
Re: Powerlink And IEC61499 FB [message #1783461 is a reply to message #1783460] Tue, 13 March 2018 11:04 Go to previous message
Anugerah Nuri Satria is currently offline Anugerah Nuri SatriaFriend
Messages: 32
Registered: September 2017
Member

Actually i have problems again, when i try run this programs, at QX output "merah_0" has "TRUE" value in client, and i try to connect with raspi, but at gpio raspi can't switch on the lamp.
I use opc ua client and server to communicate all of them.

[Updated on: Tue, 13 March 2018 11:07]

Report message to a moderator

Previous Topic:How to find the virtual DNS configuration widows?
Next Topic:Reading Applications/Programs from FORTE device
Goto Forum:
  


Current Time: Tue Oct 23 03:45:08 GMT 2018

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

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

Back to the top