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 Fri Apr 26, 2019 1:05 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jan 23, 2019 7:59 am 
Offline

Joined: Tue Jan 22, 2019 12:55 pm
Posts: 2
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.


Top
   
PostPosted: Wed Feb 27, 2019 10:15 am 
Offline

Joined: Tue Jan 22, 2019 12:55 pm
Posts: 2
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).


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

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