Hello!
You have samples in:
https://github.com/gass/libads/tree/master/examples
Look for the AdsApiClient and then look for the examples in beckhoff
examples. It asks simple data from plc. And you can evolve from there.
There is no need to start an *ads* server in linux. The server examples
are available for those who want to use ads as slave (like a plc).
It will be a server in future versions, but to manage connections. What
you want is a client only.
There are a lot of improvements coming to libads that will allow you to
read a variable.
Also, this email is great, because we also need to create better
examples and simpler documentation.
In the meanwhile, ask you questions.
> --
> You received this message because you are subscribed to the Google
> Groups "Beckhoff Linux" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
beckhoff-linu...@googlegroups.com.
> To post to this group, send email to
beckhof...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/beckhoff-linux.
> For more options, visit
https://groups.google.com/groups/opt_out.