CODESYS Talk
That jump on returning to a page rings a bell — I had a similar scaling oddity after an update on a WebVisu project a while back, and in my case it turned out the tab control was keeping the size of the last page instead of recalculating it when you came back. So I would first check whether all the pages in the register actually have the same base size. If one of them is a different size, or uses a fixed size while the others are automatic, that mismatch tends to show up exactly like this, with the...
Hi blade, I ran into this exact thing a while back and it turned out not to be the project at all, it was the installation on that PC. First thing I would check is whether the Visualization package is actually installed for the version you are running. In the IDE, go to Tools > CODESYS Installer, look under the add-ons for your version and see if Visualization is listed and enabled. I once had a setup where the main IDE installed fine but Visualization had been left out, and the entry just never...
Hallo radar17892, die Meldung sagt im Grunde schon, woran es liegt: Der Online Change wurde ausgeführt, aber die Runtime findet auf der Steuerung keine gültige Lizenz für die „Online Configuration Change". Dass es letzte Woche noch ging, spricht dafür, dass sich auf dem Gerät etwas geändert hat – bei mir war das bisher fast immer ein Firmware-Update, ein Tausch der SD-Karte oder ein Rücksetzen der Steuerung, nach dem die Lizenz nicht mehr da war, wo die Runtime sie erwartet. Ich würde zuerst im Web-Based-Management...
Hallo Thomas, der Haken ist, dass SysTimeRtcHighResGet immer UTC liefert, in Millisekunden seit 1970, das ist so gedacht. Wenn du danach erst HighResToLocal und dann gleich wieder LocalToHighRes aufrufst, heben sich die beiden Umrechnungen gegenseitig auf, und am Ende steht wieder genau die UTC-Zeit da. Genau das siehst du ja auch. Ich mache das bei mir so: einmal HighResGet, dann einmal ConvertHighResToLocal, und das Ergebnis nehme ich direkt als lokale Zeit in Millisekunden. Die Rückrichtung brauche...
I've hit this same crash in SP22 as well, and it's a nasty one precisely because the error tells you almost nothing about where it comes from. The compiler dies in phase 5 while it's rewriting an assignment expression, and in my experience that usually means it tripped over some construct SP21 quietly tolerated — a stray empty statement, a VAR_IN_OUT used as a FOR loop counter, or an assignment buried inside deeply nested IFs. hhermsen's list above is a good place to start, those are exactly the...