| Dettagli del download |
|
This sample contains one C++ module acting as a ADS-server providing access to a counter which could be started, stopped and read. The header file of the module defines the counter variable "m_bCount" and the corresponding .cpp file initialises the value within the constructor as well as implements the logic within the "CycleUpdate" method. The method "AdsReadWriteInd" of the .cpp parses incoming messages and sends back the return values. For one additionally added message type a define where added to the header file. Details like the definition of the ADS message types are described within the following Cookbook, where you can assemble the sample manually. |
|
|||||||||||||||||||||||||||||||||

Gli esempi presenti su questo sito sono stati liberamente inviati dagli utenti di automationforum.it, è stato espressamente specificato loro di inviare solo esempi FREE. Automationforum.it non si ritiene responsabile dell'eventuale presenza di esempi rilasciati sotto licenza commerciale, Automationforum.it invita tutti coloro che individuano esempi rilasciati sotto licenza commerciale presenti in questa raccolta a segnalarlo dall'apposito