Codesys Control Raspberry Pi SL

другие контроллеры
galexis
Posts: 5
Joined: Sun Nov 22, 2015 9:49 am

Codesys Control Raspberry Pi SL

Post 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.
psgama
Posts: 89
Joined: Thu Aug 08, 2013 6:00 pm

Re: Codesys Control Raspberry Pi SL

Post 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
galexis
Posts: 5
Joined: Sun Nov 22, 2015 9:49 am

Re: Codesys Control Raspberry Pi SL

Post by galexis »

I do it with script: restart every 118 minutes. But I search other solution.
monty_burns_007
Posts: 157
Joined: Sat Nov 19, 2005 10:20 am
Location: Europe

Re: Codesys Control Raspberry Pi SL

Post by monty_burns_007 »

any progress on finding a medizine ?
LOL, restarting each 118 min ... how does that work out for your control outputs.....
galexis
Posts: 5
Joined: Sun Nov 22, 2015 9:49 am

Re: Codesys Control Raspberry Pi SL

Post by galexis »

All output are shutdown ... not nice.
Mark0ne
Posts: 1
Joined: Tue Oct 24, 2017 6:58 am

Re: Codesys Control Raspberry Pi SL

Post by Mark0ne »

Hi, any news on this issue?? Maybe someone has solved it??
bjing
Posts: 97
Joined: Sat Mar 08, 2008 8:33 pm
Location: Belarus

Re: Codesys Control Raspberry Pi SL

Post by bjing »

Try 4DIAC open source RTE alternative https://www.eclipse.org/4diac/en_rte.php
mxManolo
Posts: 1
Joined: Fri Aug 28, 2015 3:11 am

Re: Codesys Control Raspberry Pi SL

Post by mxManolo »

Any news about this question?
monty_burns_007
Posts: 157
Joined: Sat Nov 19, 2005 10:20 am
Location: Europe

Re: Codesys Control Raspberry Pi SL

Post 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.