Page 1 of 1

RevPiLib With CODESYS V3.5 SP16

Posted: 08 May 2020, 11:35
by rossanoparis
Hi at all.

I'm facing a problem using RevPiLib in CODESYS Software.
The problem is due to several compilation errors related to REVPI_CPI_IN, REVPI_CPI_OUT functions.
The error messages highlite a wrong convertion: Cannot convert type 'POINTER TO BYTE' to type 'CmpCharDevice.RTS_IEC_HANDLE'

Using the previous CODESYS version 3.5 SP15.1 I was able to build and use perfectly my project.
This issue has appeared as I've tried to port my project to the new one CODESYS version

It is necessary to modify the LibPiLib library or am I missing something ?

RevPi Version
Title: Revolution Pi IO Module Interface
Version: 3.0.0.0
Categories: Target|RevPi

CODESYS Version
V3.5 SP16

Re: RevPiLib With CODESYS V3.5 SP16

Posted: 09 May 2020, 18:52
by domenico.neri
Hi at all,
I have the same problem, please help us as soon as possible.

Regards

Domenico

Re: RevPiLib With CODESYS V3.5 SP16

Posted: 11 May 2020, 09:24
by dirk
Dear rossanoparis and domenico.neri as stated here the library is experimental and without support:
With the download you confirm these conditions:

The RevPiLib Codesys Library is experimental and for testing purposes only,
because this is not a finished product.
Therefore please note that we cannot offer you support for the RevPiLib Codesys Library.
Using the RevPiLib Codesys library is at your own risk.

http://media.kunbus.de/media/support/RevPi.Codesys.Lib.zip

Re: RevPiLib With CODESYS V3.5 SP16

Posted: 11 May 2020, 09:53
by domenico.neri
Dear Dirk,
I have read the statement about codesys support , but I have bought many RevPI connect+ with many expansion modules for my project.
I could agree on the experimental nature of codesys support even if it is questionable, but it doesn't seem professional to provide a library but don't update it. Also because I think that like me other people have also purchased your product because it is compatible with codesys. Having said that, I need your urgent feedback on how to proceed.
Sure of your seriousness, I remain waiting for an urgent response.

Regards

Domenico

Re: RevPiLib With CODESYS V3.5 SP16

Posted: 11 May 2020, 11:34
by Amar
The file handle in CmpCharDevice codesys library have been shifted internally to another location.
Here is a test version (BETA) for RevPiLib With CODESYS V3.5 SP16.Please test with attached library and let us know your valuable feedback.

Re: RevPiLib With CODESYS V3.5 SP16

Posted: 11 May 2020, 17:41
by domenico.neri
Hi,
seems to be working properly.

Thank you

Domenico

Re: RevPiLib With CODESYS V3.5 SP16

Posted: 12 May 2020, 06:58
by dirk
Hi Domenico, thank you for your positive feedback.

Re: RevPiLib With CODESYS V3.5 SP16

Posted: 13 Jun 2020, 14:28
by Nikolai
When will CODESYS be supported?