Hallo
In case you want to connect to a BC or other PC, ( it is the same bahaviour) you need a TwinCat for ADS-routing in the system from that you want to connect to the devices.
Then you can use the c++ (or whatever) . in the infosystem you can find a lot of samples for this kind of connection, the only difference is that the BC has a Port 800.
http://infosys.beckhoff.com/content/1033/tcsample_vc/html/note.htm?id=18587
Bei weiteren Fragen zögern Sie nicht uns zu kontaktieren
In case of further questions, don’t hesitate to contact us
Mit freundlichen Grüßen / with kind regards
Udo Heinrichs
BECKHOFF New Automation Technology
Technischer Support
Hülshorstweg 20
D-33415 Verl
Germany
phone: +49 (0)5246-963-157
fax: +49 (0)5246-963-9157
mail: mailto:Sup...@beckhoff.de
http: www.beckhoff.com
Beckhoff Automation GmbH | Managing Director: Dipl. Phys. Hans Beckhoff, Arnold Beckhoff
Registered office: Verl, Germany | Register court: Gütersloh HRB 1803
Von: Михаил Рогушков [mailto:rogu...@gmail.com]
Gesendet: Mittwoch, 5. März 2014 08:43
An: Support Verl
Betreff: support read information from plc to pc using c++
Hello!
How i could read information from plc(BC9020) to pc using c++? Could you give me some example or documentation?
--Best regards,
Michael Rogushkov!
Beckhoff Automation GmbH | Managing Director: Dipl. Phys. Hans Beckhoff, Arnold Beckhoff
Registered office: Verl, Germany | Register court: Gütersloh HRB 1803
Best regards,
Hello, I used one of the sample from your webcite(http://infosys.beckhoff.com/content/1033/tcsample_vc/html/tcadsdll_api_cpp_sample17.htm?id=18610). When i read information from PLC, I get an error when calling AdsSyncReadWriteReq (see picture). Could you tell me what's wrong or what this error means?
I used port, indexGroup and indexOffset from twincat.Twincat is up and running with the controller
2014-03-05 11:53 GMT+04:00 Support Verl <>:
Hallo
In case you want to connect to a BC or other PC, ( it is the same bahaviour) you need a TwinCat for ADS-routing in the system from that you want to connect to the devices.
Then you can use the c++ (or whatever) . in the infosystem you can find a lot of samples for this kind of connection, the only difference is that the BC has a Port 800.
http://infosys.beckhoff.com/content/1033/tcsample_vc/html/note.htm?id=18587
Bei weiteren Fragen zögern Sie nicht uns zu kontaktieren
In case of further questions, don’t hesitate to contact us
Mit freundlichen Grüßen / with kind regards
Udo Heinrichs
BECKHOFF New Automation Technology
Technischer Support
Hülshorstweg 20
D-33415 Verl
Germany
phone: +49 (0)5246-963-157
fax: +49 (0)5246-963-9157
http: www.beckhoff.com
Beckhoff Automation GmbH | Managing Director: Dipl. Phys. Hans Beckhoff, Arnold Beckhoff
Registered office: Verl, Germany | Register court: Gütersloh HRB 1803
Von: Михаил Рогушков [mailto:rogu...@gmail.com]
Gesendet: Mittwoch, 5. März 2014 08:43
An: Support Verl
Betreff: support read information from plc to pc using c++
Hello!
How i could read information from plc(BC9020) to pc using c++? Could you give me some example or documentation?
--Best regards,
Michael Rogushkov!
Beckhoff Automation GmbH | Managing Director: Dipl. Phys. Hans Beckhoff, Arnold Beckhoff
Registered office: Verl, Germany | Register court: Gütersloh HRB 1803