Using Revolution Pi Library for CODESYS V1.3.0.0 with CODESYS V3.5 SP19,CODESYS Control for Raspberry Pi MC SL V4.8.0.0

Topics about the Software of Revolution Pi
Post Reply
User avatar
Amar
KUNBUS
Posts: 160
Joined: 15 Jul 2019, 12:58
Answers: 4

Using Revolution Pi Library for CODESYS V1.3.0.0 with CODESYS V3.5 SP19,CODESYS Control for Raspberry Pi MC SL V4.8.0.0

Post by Amar »

Please use the latest available versions:
Revolution Pi Library for CODESYS V1.3.0.0
https://revolutionpi.com/tutorials/downloads/

CODESYS Control for Raspberry Pi 4.8.0.0
https://store.codesys.com/en/codesys-co ... mc-sl.html

CODESYS V3.5 SP19
https://store.codesys.com/codesys.html

Release Note

CODESYS V3.5 SP19 includes a bug fix. CDS-81506: CODESYS Control SysFile
system file access vulnerability.ForceIecFilePath is activated by default, due to which file access from IEC is now restricted to the configured paths only (file sandbox).

For more details, see Advisory 2023-01, which is available on the CODESYS website:
https://customers.codesys.com/index.php ... &download=

Release notes for CODESYS V3.5 SP19
https://www.codesys.com/fileadmin/data/ ... 35190.html

In the Revolution Pi Library for Codesys, file write access under the following folder, /etc/revpi/, is required in order to create a config.rsc file based on devices configured in the CODESYS application project. The CODESYS project using the KUNBUS RevolutionPiBridge IO library creates a configuration file /etc/revpi/config.rsc, which is basically the PiCtory file /var/www/revpi/pictory/projects/_config.rsc.

Customers using Revolution Pi CODESYS devices will therefore have to manually configure PlaceholderFilePath in /etc/CODESYSControl_User.cfg as mentioned below.

Code: Select all

[SysFile]
PlaceholderFilePath.1=/etc/revpi, $configrsc$
Restart CODESYS Control in order to load the new changes from /etc/CODESYSControl_User.cfg.
Alternatively, you could reboot the device, and the changes will be automatically loaded from the user configuration file at the start of CODESYS Control.

Code: Select all

sudo service codesyscontrol restart
KUNBUS
Post Reply