FORUM | LATEST POST | # TOPICS |
---|---|---|
Engineering π¬π§ Discussions about the CODESYS Development System, IEC programming, CODESYS Professional Developer Edition |
Display minutes as hours & minutes by TimvH 2 hours ago |
5091 |
Runtime π¬π§ Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms |
Raspberry PI change tag only responds after stopping PLC by yofi 2 days ago |
2111 |
Visualization π¬π§ Realizing operator screens with CODESYS HMI, Targetvisu, Webvisu |
Regarding trend storage access error by donm 2 hours ago |
893 |
Motion π¬π§ Realizing single or multi axis motion control, CAM, CNC and Robotic applications |
Configuring an Encoder by yofi 2 days ago |
441 |
Codesys V2.3 π¬π§ Forum about V2.3 |
The current baud rate could not be determined in CR0020 IFM with mainten... by engrahman 6 days ago |
2162 |
Deutsch π©πͺ German forum |
Bacnet-Properties werden nicht aktualisiert by jozef 4 days ago |
4448 |
Automation Server π¬π§ The Industry 4.0 administration platform for users and operators of CODESYS compatible controllers |
File transfer via visu and codesys automation server by eschwellinger 2024-03-11 |
30 |
Forge π¬π§ Discussions about CODESYS Forge projects and features of the CODESYS Forge website |
MQTT PLC Chat: by ppix 15 hours ago |
174 |
You could use the Modulo function to get the minute part from the total minutes: Minutes := TotalMinutes MOD 60;
i have created a project which contain 30 trend and suddenly trend recording is not working. its showing an error 30437."Determination of root pages for recording did not work for 'screen', error:30437" how to solve this issue?
Your function block instance is not called, so the code is not executed to set the light on when the button is pressed.
i have created a project which contain 30 trend and suddenly trend recording is not working. its showing an error 30437."Determination of root pages for recording did not work for 'screen', error:30437" how to solve this issue?
Use declaration with ARRRAY [1..x] instead of ARRAY [0..x]
Use ARRRAY [1..x] instead of ARRAY [0..x]
Did you ever find a solution to this? I am having the same issue but using TLS connection.
A got a larger project but this very small example makes it clear. I have a button, and after it's clicked a lamp should flip on and stays on, and when the mouse-button is released it should stay on. When I try that in the PLC_PRG it works, but when I change it to a function block (seet attched demo proj) it isn't. I'm fairly new to PLC programming but are very experienced C# engineer, but this goes above my head...
hey time := INT_TO_TIME(minutes * 1000 * 60); update: forum show the math wrong
Thanks for the response, as I've thought about this problem over the last month I began to suspect this was a problem with not being able to exactly represent .1 as a 32 bit binary number. I think I've found a work around by making the number an integer, then dividing it by 10 and storing that value as a floating point number. There is still an issue with the value not being exact somewhere in the 8th or 9th decimal place, but because I'm incrementing an integer value then dividing it, the error...