CODESYS FAQ

CODESYS FAQ

License

I have problems restoring a CODESYS license, what can I do?

Update the CODESYS runtime to 4.11.0.0.

I would like to try out CODESYS, do I need a license?

No, there is a demo mode that runs about 1 hour until the runtime is stopped - take a look at this FAQ:

  • Q: Why will the Raspberry Pi MC SL licenses be discontinued next year, but not Raspberry Pi SL

Where did the Raspberry Pi MC SL license go, or is there an alternative?

Take a look here at: Why will the Raspberry Pi MC SL licenses be discontinued next year, but not Raspberry Pi SL?

Which CODESYS license can I use for my Revolution Pi device?

CODESYS changed the license model for the start of 2024. The new application-based licenses apply to all CODESYS Control SL products. They are based on the software function used and no longer on the performance of the device. This means that the licenses can be used equally on all CODESYS Control SL-capable devices.

Division into performance classes
The function of a control system is largely determined by the software, whereas the hardware is responsible for providing the required resources. For this very reason, the application-based licenses no longer refer to the hardware, but to the software used in the IEC application.
For this purpose, all applications are divided into different performance classes based on suitable characteristics. Behind this are use cases that are covered. The limits of a class are derived from the use cases:

CODESYS Application Based Licenses-20240221-133844.jpg

You can see more information here:

Runtime

I use Boolean accesses for I/O data, and unfortunately, it does not work as desired, what can I do?

  • Please switch to WORD access. Since version 1.3.0 of the Revolution Pi Library for CODESYS this access is no longer possible.

  • image-20240701-063947.png

Can I deactivate a CODESYS program?

I encountered an error with the KunbusIoDrvRevPiBridge library, “Unable to convert LWORD … “

Please change the access in the project to WORD access. Alternatively, use the supplied example projects from the Revolution Pi Library for CODESYS.

Original discussion

I get a strange PiBridge error when trying to set up CODESYS, what am I doing wrong?

  • The actual error is shown on the right in the picture, it is because the PiCtory configuration could not be written:

image-20240514-133131.png
  • Please follow the steps of the

  • Alternatively, you can switch to the 64-bit compatible version of the Revolution Pi Library for CODESYS V1.4.1.99 or higher.

  • Original discussion

How can I read analog inputs of the RevPi Compact Module under CODESYS?

I have a RevPi Core S, which device in CODESYS I should choose?

  • You should select RevPi Core 3.

 

image-20240503-143704.png

 

I have a RevPi DIO and the channels above 8 are switched incorrectly, what can I do?