rossanoparis - 2025-04-15

I have updated CODESYS development tool to the version v3.5 SP21 (64bit)
The previous version was v3.5.20.40

Compiling an existing application with the new evelopment tool I get the following error.

kunbusiodrvrevpibridge, 1.4.1.0 (kunbus gmbh): IoDrvScanModules [IoDrvRevPiBridge](Line 51, Column 1 (Impl)): 
Internal Error (ARM): Unsupported conversion!

This error was not reported in the previous compiler version and is now highlighted in a third-party library, which I cannot change or modify.

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;

.

I would appreciate it if someone could provide feedback on this issue.