Post by yann2021 on Execute a .py file with Codesys
CODESYS Forge
talk
(Post)
Hello, I have a Raspberry Pi 3 which has a printer connected to his USB port. I have a PiFace Board on the Raspberry. I have a python script file (.py) to print a logo + a text. The script is working because when I execute it from the Raspberry terminal it works. Now, when I push a button on the PiFace I would like to execute the python script file to print. How can I do that ? Many thanks for your help and advices!
Last updated: 2025-08-26
Post by thomas-moba on "sudo"-Befehle über die Funktion "SysProcessExecuteCommand2"
CODESYS Forge
talk
(Post)
Hallo Herr Schwellinger, vielen Dank für die Antwort. Leider hat auch das weglassen des "sudo"-Befehls kein Erfolg. Folgendes passiert: Bild 1: Befehl in der Konsole eingegeben ohne sudo; Uhrzeit wird nicht gestellt (keine Berechtigung). Bild 2: Befehl mit sudo ausgeführt, Uhrzeit wird gestellt. Bild 3: Befehl ohne sudo von CoDeSys aus ausgeführt; Rückgabewert gibt die Uhrzeit an, die eingestellt werden sollte, Uhrzeit wird jedoch NICHT eingestellt. Haben Sie noch eine Idee was es sein könnte?
Last updated: 2024-02-02
Post by gland on Open project automatic with correct version
CODESYS Forge
talk
(Post)
Goodmorning, The projects we have made (with several persons) are in differents versions, Codesys V3.5 sp18 patch4, V3.5 sp19 patch 2, V3,5 sp19 patch 5 etc V3.5 sp21 patch 3 etc.. Now when we're opening an project thats's not opend before on my pc and we're not sure in witch version it's made it's quite annoying. We don't want to update to the newest version. Is there a way that it's automatic opening the correct version? Is there a program/tool/easy way to do this? Thanks,
Last updated: 2026-01-27
Post by nz-dave on *exception* [processorloadwatchdog] occurred in: app=[all], task=[all]
CODESYS Forge
talk
(Post)
Can anyone shed some light on this issue im having. at random, sometimes days, sometimes weeks or months. i get this error and have to reset the plc. Im using a Weintek HMI with ethernet/ip remote io and vsd. i have tried increasing my task times and watchdogs. and when i view my PLCload in the shell its normally around 3-4%, highest ive ever seen is 7%. Nothing i do seems to help the issue. Could the HMI's Codesys CPU be getting to hot do to high ambient temp?
Last updated: 2026-02-01
Post by fabiodasilveira on Static Analysis Error SA0026
CODESYS Forge
talk
(Post)
Hello Everyone, I am really struggling to understand why codesys would present an error regarding the following: VAR strByte1: STRING(10):= '192'; strByte2: STRING(10):= '168'; strByte3: STRING(10):= '1'; strByte4: STRING(10):= '0'; strIPAddress: STRING:= '192.168.1.1'; END_VAR //Updating Variables strByte1:= BYTE_TO_STRING(GVL.abyPSsIpAddress[0]); strByte2:= BYTE_TO_STRING(GVL.abyPSsIpAddress[1]); strByte3:= BYTE_TO_STRING(GVL.abyPSsIpAddress[2]); strByte4:= BYTE_TO_STRING(GVL.abyPSsIpAddress[3]); strIPAddress:= CONCAT(strByte1, CONCAT('.', CONCAT(strByte2, CONCAT('.', CONCAT(strByte3, CONCAT('.', strByte4)))))); Any help would be much appreciated.
Last updated: 2026-07-27
Post by hafizapik99 on Webvisu not showing Codesys V3.5 SP13 Patch 2.
CODESYS Forge
talk
(Post)
Hello, I am using a Hitachi Micro EHV+ for a small project, and I wanted to have a Web visu, done with Codesys V3.5 SP13 Patch 2. I test the Visu screen and it works well in Codesys, but I get a blank page when i enter the web visu in a browser. Here is the setting under web visualization: Update rate (ms): 5000 Default communication size: 100000 Under Visu_Task tab: Priority: 3 The Visu_Task interval is set to 2500ms I'm using Google chrome with the latest update, the Javascript is enabled with HTML5. Any advice?
Last updated: 2024-04-06
Post by bschraud on Code erzeugen mit kryptischer Fehlermeldung mit GVL_Io_dd05d808
CODESYS Forge
talk
(Post)
Hallo, beim Codeerzeugen bekomme ich wiederholt Fehlermeldungen, bei denen nicht mit einem Klick in das betroffene Modul gewechselt werden kann. Die Fehlermeldung tritt allerdings nach "Gerät aktualisieren" nicht mehr auf. Wenn ich das Projekt speichere, Codesys schließe, anschließend Codesys wieder starte und Code erzeugen will, tritt der Fehler wieder auf: ------ Übersetzungslauf gestartet: Applikation: Device.Application ------- Code typisieren... [FEHLER] PAC: C0032: Typ 'Unbekannter Typ: 'ADR(GVL_Io_dd05d808_33e6_4f6b_ba3a_6ba1d0dcc882_HPS_7.Io_dd05d808_33e6_4f6b_ba3a_6ba1d0dcc882_HPS_7)'' kann nicht in Typ 'POINTER TO IoConfigParameter' konvertiert werden [FEHLER] PAC: C0077: Unbekannter Typ: 'GVL_Io_dd05d808_33e6_4f6b_ba3a_6ba1d0dcc882_HPS_7.Io_dd05d808_33e6_4f6b_ba3a_6ba1d0dcc882_HPS_7' [FEHLER] PAC: C0046: Bezeichner 'GVL_Io_dd05d808_33e6_4f6b_ba3a_6ba1d0dcc882_HPS_7' nicht definiert Kompilierung abgeschlossen -- 3 Fehler, 1 Warnungen Übersetzung abgeschlossen -- 3 Fehler, 1 Warnungen : Kein Download möglich Die Recherche nach der Bedeutung von "HPS_7" oder "GVL_Io_dd05d808" verlief leider ergebnislos. Ich habe nur einen ähnlich erscheinenden Thread gefunden, der aber nicht gelöst wurde: https://forge.codesys.com/forge/talk/Engineering/thread/0666dce94f/ Ich verwende Codesys 3.5 SP20 (64bit) mit CODESYS Control for Raspberry Pi MC SL 4.11.0.0. Alle anderen Geräte sowie die Projektumgebung sind frisch aktualisiert. Kennt jemand die Bedeutung dieser Fehler bzw. wie man sie beheben kann? Vielen Dank für die Hilfe
Last updated: 2024-05-16
CoDeSys libraries for BECKHOFF EL7332/EL7342
CODESYS Forge
talk
(Thread)
CoDeSys libraries for BECKHOFF EL7332/EL7342
Last updated: 2023-08-25
Import RsLogix 5000 project to Codesys
CODESYS Forge
talk
(Thread)
Import RsLogix 5000 project to Codesys
Last updated: 2023-09-07
Codesys Control RTE V3. Remote Control
CODESYS Forge
talk
(Thread)
Codesys Control RTE V3. Remote Control
Last updated: 2023-09-22
Recommended Specification for running CodeSys
CODESYS Forge
talk
(Thread)
Recommended Specification for running CodeSys
Last updated: 2013-11-14
CODESYS Development System V3.5.18.30 Installation Error
CODESYS Forge
talk
(Thread)
CODESYS Development System V3.5.18.30 Installation Error
Last updated: 2022-12-07
CoDeSys OPC server with SIMULATION3 interface
CODESYS Forge
talk
(Thread)
CoDeSys OPC server with SIMULATION3 interface
Last updated: 2016-02-24
Neues Forum zur CoDeSys OPC Anbindung
CODESYS Forge
talk
(Thread)
Neues Forum zur CoDeSys OPC Anbindung
Last updated: 2011-04-14
Modbus übertragung von CodeSys nach Excel
CODESYS Forge
talk
(Thread)
Modbus übertragung von CodeSys nach Excel
Last updated: 2010-08-01
CoDeSys V3 mit Raspberry Pi Kamera
CODESYS Forge
talk
(Thread)
CoDeSys V3 mit Raspberry Pi Kamera
Last updated: 2016-05-05
Codesys Projekt läst sich nicht öffnen
CODESYS Forge
talk
(Thread)
Codesys Projekt läst sich nicht öffnen
Last updated: 2017-12-10
CODESYS on RPI - tcpip socket
CODESYS Forge
talk
(Thread)
CODESYS on RPI - tcpip socket
Last updated: 2022-07-14
Codesys V3 and Enron Modbus
CODESYS Forge
talk
(Thread)
Codesys V3 and Enron Modbus
Last updated: 2022-11-09
PY Script aus CoDeSys Programm ausführen
CODESYS Forge
talk
(Thread)
PY Script aus CoDeSys Programm ausführen
Last updated: 2017-01-25
CODESYS + Funktionale Sicherheit SIL3/PLe
CODESYS Forge
talk
(Thread)
CODESYS + Funktionale Sicherheit SIL3/PLe
Last updated: 2020-05-28
Codesys on Beaglebone Green Wireless?
CODESYS Forge
talk
(Thread)
Codesys on Beaglebone Green Wireless?
Last updated: 2019-07-04
Codesys V3.5 SP17 P3 Statusanzeige
CODESYS Forge
talk
(Thread)
Codesys V3.5 SP17 P3 Statusanzeige
Last updated: 2022-04-14
CoDeSys Testmanager commenting out Test Cases
CODESYS Forge
talk
(Thread)
CoDeSys Testmanager commenting out Test Cases
Last updated: 2022-04-05
More COM port in Linux Codesys
CODESYS Forge
talk
(Thread)
More COM port in Linux Codesys
Last updated: 2022-03-28
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND or OR.