I am trying to communicating Siemens S7 1200 PLC with visual c++ . I am able to write data to the plc and make an output from plc using 'UpdateData(true)' function. But i want to read a data from the plc on pressing a push button. Any help would be gratrful
Thanks
