CODESYS FAQ
- 1 License
- 2 Runtime
- 2.1 I use Boolean accesses for I/O data, and unfortunately, it does not work as desired, what can I do?
- 2.2 Can I deactivate a CODESYS program?
- 2.3 I encountered an error with the KunbusIoDrvRevPiBridge library, “Unable to convert LWORD … “
- 2.4 I get a strange PiBridge error when trying to set up CODESYS, what am I doing wrong?
- 2.5 How can I read analog inputs of the RevPi Compact Module under CODESYS?
- 2.6 I have a RevPi Core S, which device in CODESYS I should choose?
- 2.7 I have a RevPi DIO and the channels above 8 are switched incorrectly, what can I do?
- 2.8 I notice that outputs flicker when operating with CODESYS, what can I do?
- 2.9 Would it be possible to use a Revolution Pi with CODESYS as a Real-Time Soft-PLC, with the CODESYS Soft-Motion-Bundle?
- 2.10 Would it be possible to use the CODESYS Control for Linux ARM SL runtime?
- 2.11 RevPi Connect 4 with CODESYS does not seem to work right away - what could be the reason?
- 2.12 I cannot see data of an I/O module via CODESYS – what can I do?
- 2.13 Would it be possible to implement a PROFIBUS master with a Revolution Pi module under CODESYS?
- 2.14 How could I point Revolution Pi IO as DWORD value?
- 2.15 How can I use the CODESYS Redundancy Configuration module?
- 2.16 What is a difference between Standard and Multicore CODESYS runtime?
- 2.17 Does Revolution PI hardware's support retain and persistence variables in CODESYS?
- 2.18 Is it possible with CODESYS runtime for raspberry MC to use WebVisu via Ethernet (web server) and Connect an HDMI monitor to RevPi and open a browser to show the Webvisu in kiosk like mode?
- 2.19 Does CODESYS override the configuration of PiCtory?
- 2.20 How can I configure a DIO module under CODESYS, is there a manual?
- 2.21 Would it be possible to run CODESYS in RevPi Core S?
- 2.22 How to order the devices in CODESYS
- 2.23 The outputs are behaving strangely in my application. What can be the cause of this.
- 2.24 Can we use simulation mode with CODESYS for RevPi without real hardware?
- 2.25 I would like to control the RS485 interface of the RevPi Connect under CODESYS.
- 2.26 I have a RevPi Connect with CODESYS. Now I would like to set up a Modbus master on the RS485 interface on the device. Do you have a tutorial for this?
- 2.27 I have a connection issue RevPi Connect+ MIO CODESYS, what can I do?
- 2.28 I am unable to install device configuration in CODESYS for RevPi DIO Module, What can I do?
- 2.29 I have an issue with my RevPi with CODESYS. We get the error message that a driver for the PiBridge is missing.
- 2.30 I am unable to find any option within CODESYS to set the parameters for Analog outputs. How can I configure it?
- 2.31 If I am using RevPi+CODESYS to control PROFINET slave, for example PROFINET IO, what is the fastest control cycle I can do?
- 2.32 The connection via CODESYS to my Revolution Pi device does not work.
- 2.33 Where can I find documentation about the Revolution Pi CODESYS library?
- 2.34 Can the CODESYS license of a RevPi Connect+ feat. CODESYS be transferred to another device?
- 2.35 Can RevPi S/SE install CODESYS runtime?
- 2.36 I would like to clone a RevPi Connect+ feat. CODESYS. What do I have to consider?
- 2.37 Would it be possible to install CODESYS on the RevPi Core device?
- 2.38 I get an error message when installing components such as “Revolution Pi Library for CODESYS” that access has been denied.
- 2.39 Is there please a tutorial on how to set the safety module in CODESYS?
- 2.40 The LEDs on the RevPi Connect are controlled, although my program does not use them, what can I do?
- 2.41 I get error messages that indicate version conflicts in CODESYS. What can I do?
- 2.42 I have purchased a RevPi feat. CODESYS. Now I lost the CODESYS license because I flashed the image, what can I do?
- 2.43 I get an error “Field bus lost synchronicity” with an EtherCAT master following
- 2.44 I get an error in the RevPi library when compiling. Even the code example does not work. How can this be, and what can I do?
- 2.45 I’m trying to use the RevPi with CODESYS, but I can’t communicate with it. Once I try to log in, after the download there’s a message that says, “Connection to device closed”.
- 2.46 The menu Update Raspberry Pi seems missing, what can I do?
- 2.47 I would like to use the WebVisu on an HDMI monitor, does that work?
- 2.48 How can I check or install a CODESYS License?
- 2.49 I do not see any information about the license in the license manager.
- 2.50 Is there a CODESYS support for the X2 input of the RevPi Connect devices and outputs? How?
- 2.51 Which RevPi products are supported in CODESYS with the “Revolution Pi library for CODESYS”?
- 2.52 I am getting errors when compiling my CODESYS project that originate from the Revolution Pi Library. What can I do?
- 2.53 How can I modify the CODESYS bus cycle task priority?
- 2.54 I can no longer log into CODESYS, what can I do?
- 2.55 I want to use the RevPi Con CAN Module with CODESYS to implement CANopen communication. However, things didn't go so smoothly. What can I do?
- 2.56 I have bought a RevPi Connect+ feat CODESYS and I would like to use it as a soft PLC and I would like to communicate with a sensor via CANopen. How can I implement something like this?
- 3 Docker
- 4 Is there a docker image of CODESYS runtime (“CODESYS Control for Raspberry Pi MC SL”)?
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:
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.
Can I deactivate a CODESYS program?
To restore your RevPi to a clean state, you can simply install a new image: https://revolutionpi.com/en/tutorials/images-2/safe-and-install-new-image-jessie-and-stretch
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:
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.