CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sat Feb 16, 2019 10:45 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Jan 23, 2019 7:59 am 

Joined: Tue Jan 22, 2019 12:55 pm
Posts: 1

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.

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited