The previous version was v3.5.20.40
Compiling two existing application with the new evelopment tool I get the following errors.
Revolution Pi Library for CODESYS v1.4.1.0
Revolution Pi Library for CODESYS v2.0.0.0kunbusiodrvrevpibridge, 1.4.1.0 (kunbus gmbh): IoDrvScanModules [IoDrvRevPiBridge](Line 51, Column 1 (Impl)):
Internal Error (ARM): Unsupported conversion!
These errors were not reported in the previous compiler version.kunbusiodrvrevpibridge, 2.0.0.0 (kunbus gmbh): IoDrvScanModules [IoDrvRevPiBridge](Line 51, Column 1 (Impl)): Internal Error (ARM64): Invalid type for zero extension
They've got a different description, but they have in common the same source code.
The error is due to the following conversion:
m_udiError := TO_UDINT(excCode);
The excCode variable is a system type, declared as shown below, and should be converted to a UDINT
excCode : __SYSTEM.ExceptionCode;
m_udiError: UDINT;
We would appreciate it if someone could provide feedback on this issue.
It i simportant for us, as we have to maintain two different OS; Stretch 32bit and Bullseye 64bit
That's why we are using two different version of "Revolution Pi Library"