Lib Ads is alive !

1,094 views
Skip to first unread message

Luis Matos

unread,
Oct 24, 2012, 4:20:14 PM10/24/12
to beckhof...@googlegroups.com
Hello!

I regain interest in developping libads, to use the ADS protocol in linux.

In http://github.com/gass/libads I've been making the library simplier and all the examples working.

In the future all this work will migrate to sourceforge, so we rest it into a definitive home.
For now, we need to test the library and to update it.
A lot of cleaning is needed and bugs or patches are welcome. In github it is easy to fork the project.
A debian package is in route also, so it can be easier to test.
If anyone would like to provide an rpm configuration file, please do so.

Best regards,
Luis Matos

Roba Lee

unread,
Oct 28, 2012, 11:18:51 PM10/28/12
to beckhof...@googlegroups.com
So glad that I found this group.
I'm just a Linux user and my job forces me to work with Beckhoff on Windows.
LibADS makes me feel my life is meaningful again XD. I'll give it a try later.
Btw, is there an IDE or a vim plug-in that could open and edit TwinCAT project file?

Thanks,
Roba Lee

David Rutberg

unread,
Nov 16, 2012, 7:53:03 AM11/16/12
to beckhof...@googlegroups.com
Hi!

That's great. We are in need of this lib to just read and write symbols. Nothing fancy but needs to work on a Linux box.

The lib compiles fine but when trying to run the AdsClientApi bash script I receive an "buffer overflow detected". Any ideas?

Do you know any Beckhoff docs on how the AMS Router works and how one can implement it on Linux.

Keep up the good work! :)

Luis Matos

unread,
Nov 20, 2012, 5:16:23 PM11/20/12
to beckhof...@googlegroups.com
The purpose of this library is that one. Provide a simple way of just getting data from beckhoff hardware.

can you post a simple example on how it crashes?

Thanks
Luis Matos

Håkon Nessjøen

unread,
Dec 7, 2012, 8:25:06 AM12/7/12
to beckhof...@googlegroups.com
Hi,

I might be interessted in contributing code to this project.

But I can't seem to find the protocol documentation. Do you have a local copy you could send me?

Regards,
Håkon

B B

unread,
Dec 16, 2012, 8:58:25 AM12/16/12
to beckhof...@googlegroups.com
Hi,

you can find the specs here:
http://infosys.beckhoff.com/content/1033/tcconnectivity/html/tcconnectivity_intro.htm?id=10937

Cheers,
CaptainOfCrunch

--
You received this message because you are subscribed to the Google Groups "Beckhoff Linux" group.
To view this discussion on the web visit https://groups.google.com/d/msg/beckhoff-linux/-/4vkldumJfV8J.

To post to this group, send email to beckhof...@googlegroups.com.
To unsubscribe from this group, send email to beckhoff-linu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beckhoff-linux?hl=en.

Håkon Nessjøen

unread,
Dec 16, 2012, 10:36:54 AM12/16/12
to beckhof...@googlegroups.com
What about the router, is there any documentation of that?
--
Håkon

Luis Matos

unread,
Dec 16, 2012, 6:58:01 PM12/16/12
to beckhof...@googlegroups.com
The router has no documentation associated.

The router stores the netid and handles the communication with the devices.

My plan was to provide first a library simulate a router and then an optional ads-router daemon.

Thanks for your interest.

Cheers,
Luis Matos

Håkon Nessjøen

unread,
Dec 16, 2012, 8:19:14 PM12/16/12
to beckhof...@googlegroups.com
Is it just a simple netid to ip/host/(nmbhost) translator? A lookup table to connect to the right host for netid?
To view this discussion on the web visit https://groups.google.com/d/msg/beckhoff-linux/-/rY00s2nAT9YJ.

To post to this group, send email to beckhof...@googlegroups.com.
To unsubscribe from this group, send email to beckhoff-linu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beckhoff-linux?hl=en.


--
Håkon

B B

unread,
Jan 31, 2013, 8:58:13 AM1/31/13
to beckhof...@googlegroups.com
No, not exactly. It also offers a possibility to open up to 4 different conncetions to the same host on the same port at the same time. I'd understand it as a type of proxy.

BTW, whats the exact status of this lib?? is it working? Is somewhere code to download? Please help me out.. :)

A nice project to check out: http://tomcx.github.com/tame2/

B B

unread,
Jan 31, 2013, 12:11:38 PM1/31/13
to beckhof...@googlegroups.com
ok, it's me again. I found the sources, compiles just fine, except AdsClient.

According to the README

The client is AdsClient: ./AdsClient

AdsClient should be the client, but it does not build. I have ADSclient.c, ADSclient2.c and ADSclient3.c (note the capitals!) but none of them builds.
I took a quick look ADSclient.c - are the ADSNetIDs fixed in code or can be change dynamically (although it shoudn't be dealbreaker without an ADS-router)?

Thanks in advance!

To post to this group, send email to beckhoff-linux@googlegroups.com.
To unsubscribe from this group, send email to beckhoff-linux+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/beckhoff-linux?hl=en.


--
Håkon

--
You received this message because you are subscribed to the Google Groups "Beckhoff Linux" group.
To post to this group, send email to beckhoff-linux@googlegroups.com.
To unsubscribe from this group, send email to beckhoff-linux+unsubscribe@googlegroups.com.

Luis Matos

unread,
Mar 7, 2013, 12:26:18 PM3/7/13
to beckhof...@googlegroups.com
Basically something like that.

Probaby a config file, located in /etc.
To post to this group, send email to beckhoff-linux@googlegroups.com.
To unsubscribe from this group, send email to beckhoff-linux+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/beckhoff-linux?hl=en.


--
Håkon

Yves Acremann

unread,
Jul 31, 2013, 11:16:55 AM7/31/13
to beckhof...@googlegroups.com
Dear Authors

Thanks a lot for writing and publishing this library! We are using it and it works very well! Our application is to connect a Beckhoff PLC to the Tango control system
running under Linux.

Best regards,
Yves Acremann

Reply all
Reply to author
Forward
0 new messages