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: 13
Registered: September 2017
Junior 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: 454
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: 13
Registered: September 2017
Junior 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: 454
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: 13
Registered: September 2017
Junior 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: 454
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: 13
Registered: September 2017
Junior 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: 454
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 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.
Previous Topic:Forte build size
Next Topic:Where to find source for older versions
Goto Forum:
  


Current Time: Mon Feb 19 14:52:03 GMT 2018

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

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