read information from plc to pc using c++

130 views
Skip to first unread message

Михаил Рогушков

unread,
Mar 17, 2014, 2:14:23 AM3/17/14
to beckhof...@googlegroups.com

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

ADS_SumReq.cpp
Reply all
Reply to author
Forward
0 new messages