Page 1 of 1

Codesys Control Raspberry Pi SL

Posted: Sun Nov 22, 2015 9:54 am
by galexis
Hi,
I have raspberry PI with codesys on. Codesys is free demo version limited on 2hours. Anybody have solution to activate licence ?
http://store.codesys.com/codesys-contro ... pi-sl.html
Thanks for your answers.

Re: Codesys Control Raspberry Pi SL

Posted: Sun Nov 22, 2015 9:45 pm
by psgama
Find the routine where it does:
Read time
Read Hardcoded 2 hours
Check <
If False Jump to Shutdown

I don't have a raspberry pi or anything like that, but a simple time check should be fairly easy to patch out

Re: Codesys Control Raspberry Pi SL

Posted: Mon Nov 23, 2015 6:10 am
by galexis
I do it with script: restart every 118 minutes. But I search other solution.

Re: Codesys Control Raspberry Pi SL

Posted: Sun Dec 27, 2015 7:17 pm
by monty_burns_007
any progress on finding a medizine ?
LOL, restarting each 118 min ... how does that work out for your control outputs.....

Re: Codesys Control Raspberry Pi SL

Posted: Sun Dec 27, 2015 7:24 pm
by galexis
All output are shutdown ... not nice.

Re: Codesys Control Raspberry Pi SL

Posted: Thu May 24, 2018 6:09 am
by Mark0ne
Hi, any news on this issue?? Maybe someone has solved it??

Re: Codesys Control Raspberry Pi SL

Posted: Tue Jun 19, 2018 8:12 pm
by bjing
Try 4DIAC open source RTE alternative https://www.eclipse.org/4diac/en_rte.php

Re: Codesys Control Raspberry Pi SL

Posted: Thu Jul 19, 2018 12:48 am
by mxManolo
Any news about this question?

Re: Codesys Control Raspberry Pi SL

Posted: Sat Jul 31, 2021 10:18 am
by monty_burns_007
any update on this topic ?
4diac looks nice, but was very confusing and difficult to understand even how to make a simple TON timer logic.
It's all related to EventTrigger based block processing.
You have to trigger for ex. each block each x ms to simulate some sort of PLC scan cycle.
logic gates are limited (for ex. AND OR functions only with 2 or 3 input, not able to add more to one block).
IO communication does not seem provided (for ex. Modbus IO scanning) Modbus is there, but as libmodbus which requires I think a lot of self programming, reinventing the IEC code wheels.
CodeSys is much more ready made but requires all kinds of soft licenses, while a hardware PLC just runs with all available functionality already build in.