We are trying to use the PLCHandler to read values from the PLC. The host application is written in Delphi and we use the C-interface of the DLL.
In the supplied h-file (PLCHandlerItf.h) there are two callback functions defined (PLCHANDLERSCANNETWORKCALLBACK and PLCHANDLERBACKUPRESTORERESULTCALLBACK). There are no callbacks functions defined for the data change and state change callbacks though. I have tried using these callbacks without success.
Are these callback functions not supported using the C-interface? If it is, how shall the callback functions be declared and used?
I do get the ScanNetwork callback working but as mentioned, not the state change or data change callbacks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got information from CodeSys that they are working on an update of the C-interface and at least some callbacks will be added (DataChange and UpdateReady).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
We are trying to use the PLCHandler to read values from the PLC. The host application is written in Delphi and we use the C-interface of the DLL.
In the supplied h-file (PLCHandlerItf.h) there are two callback functions defined (PLCHANDLERSCANNETWORKCALLBACK and PLCHANDLERBACKUPRESTORERESULTCALLBACK). There are no callbacks functions defined for the data change and state change callbacks though. I have tried using these callbacks without success.
Are these callback functions not supported using the C-interface? If it is, how shall the callback functions be declared and used?
I do get the ScanNetwork callback working but as mentioned, not the state change or data change callbacks.
I got information from CodeSys that they are working on an update of the C-interface and at least some callbacks will be added (DataChange and UpdateReady).