| FORUM | LATEST POST | # TOPICS |
|---|---|---|
|
Engineering 🇬🇧 Discussions about the CODESYS Development System, IEC programming, CODESYS Professional Developer Edition |
EVC - issues assigning variables from VarGlobal lists by YIN 8 hours ago |
6079 |
|
Runtime 🇬🇧 Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms |
Unknown Type by YIN 5 hours ago |
2316 |
|
Visualization 🇬🇧 Realizing operator screens with CODESYS HMI, Targetvisu, Webvisu |
Visualization Object missing from drop-down list... by YIN 19 hours ago |
1073 |
|
Motion 🇬🇧 Realizing single or multi axis motion control, CAM, CNC and Robotic applications |
SOFTMOTION - Error 34 when trying to execute and SMC_DI_AXIS_Error by YIN 2 days ago |
575 |
|
Codesys V2.3 🇬🇧 Forum about V2.3 |
Where Can I download the latest Version of CoDeSys V by yueqiqi 2026-06-15 |
2245 |
|
Deutsch 🇩🇪 German forum |
SysTimeRtcHighResGet --> Millisekunden mit Zeitzone verrechnet by YIN 1 hour ago |
4596 |
|
Automation Server 🇬🇧 The Industry 4.0 administration platform for users and operators of CODESYS compatible controllers |
Gateway in China - "Gateway not connected" by pernockham 8 hours ago |
81 |
|
Forge 🇬🇧 Discussions about CODESYS Forge projects and features of the CODESYS Forge website |
WebVisu scaling regression in V3.5.22 P2: frame size jumps when switchin... by YIN 16 hours ago |
232 |
Hallo thomas-k, kurz gesagt: der Wert aus SysTimeRtcHighResGet ist immer UTC, das ist so gewollt. Die Funktion liefert die Unix-Zeit in Millisekunden, und die kennt keine Zeitzone. Die Umrechnung passiert erst mit SysTimeRtcConvertHighResToLocal, und genau da liegt bei dir vermutlich der Haken. In deinem Code machst du die Umrechnung nämlich gleich wieder rückgängig: erst HighRes nach Local, dann Local wieder zurück nach HighRes. Am Ende steht logischerweise wieder der UTC-Wert da, das ist kein Fehler...
Hi mait-tim, I ran into the same class of error on an older target a while back, and your screenshot actually points at the cause pretty clearly. The telling message is C0063: the TARGETCONTAINER library installed on your system, version 3.5.16.20 from TOPCON, contains no definition for TDS. So the project is asking for ISOImages.TargetContainer.TDS, but the library version the compiler resolves simply doesn't have it. The other two errors are just knock-on effects of that one. What I'd check first...
I've run into something similar after a Safety package update, and the pattern you describe, one group knocking another one out after code generation, usually pointed me at the EVC mapping rather than at the variables themselves. What helped me narrow it down was to work on a copy of the project first, then run a Clean All and a full rebuild, and watch whether the same groups drop out on a fresh generation. I also went through the GVLs for a variable that had ended up with the same name in two lists,...
Good question, and one I have run into as well when a customer started asking for a list of everything inside a project before they would accept it. Short version: I have not found a built-in "export SBOM" button in the IDE, so your Python script is already on the right track. What I usually do is treat the Library Manager as the source of truth. It shows the name, version and company for every library actually referenced, including the ones pulled in through placeholders. Your script reading the...
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...
Hi chaylak, I ran into almost the same 'works in CFC, not in ST' situation a while back, and in my case the function block wasn't the problem at all — it was the program around it. First thing I would check is whether this POU actually compiles and downloads as ST. The code you pasted has a VAR_INPUT block with CFC_Motion sitting at the very bottom, after the executable code. In ST all declarations have to come before the body, so a trailing VAR_INPUT like that won't compile, and if the POU never...