Post by davidbo on *EXCEPTION* [ProsessorLoadWatchdog] codesys 3.5.11.40
CODESYS Forge
talk
(Post)
Under Application->"Task Configuration" you can find your task double click on that and you will see a fane to the right. You find the watchdog enable switch it off or increase the time
Last updated: 2025-11-17
Post by danamocca on SM3_CNC Sentence modifier
CODESYS Forge
talk
(Post)
Hi! Does anyone have an example of ReadNCFile2 with Sentence Modifier? Current examples on CODESYS help page are outdated and have a lot of errors, like "SMC_CNC_LibParams.MAX_SUBPROGRAM_NESTING_DEPTH" calls, which are not present in current version of SMC3_CNC library.
Last updated: 2025-12-25
Post by karsonsv on CODESYS HMI and 2 monitors
CODESYS Forge
talk
(Post)
I need open visualization on two monitors (every monitor 19201080). In TargetVisu i configure Scaling Options as Fixed 38401080. But visualization open onli main monitor and onli half.
Last updated: 2026-01-02
Post by mtorell on Safe Editor in codesys v3.5sp21p30
CODESYS Forge
talk
(Post)
How do I negate an output signal from an OR gate. I have tried right click to no avail and I cannot find an propriate NEGATE box? I want to save the output from the block to an inverted variable.
Last updated: 2026-03-12
Post by dim54 on Disabling automatic logout from the owner user
CODESYS Forge
talk
(Post)
Hello! Please tell me how I can disable the automatic logout as the Owner user (CODESYS 3.5 SP15 Path 2). I have to reconnect multiple times during the workday. Thanks!
Last updated: 2026-01-16
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by wollvieh on (no subject)
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Hallo, nach Umstellung auf Raspberry Trixie sowie neueste CODESYS Version funktioniert das Schreiben Lesen mit Sysfile Bei mir nicht mehr. Zugriff bei Fileopen wird abgelehnt. Gibt es irgendwo eine Dokumentation, welche Einträge für Sysfile in der Datei CODESYSControl.cfg vorzunehmen sind? In Ratlosigkeit...
Last updated: 2026-01-19
Post by gseidel on SMC_Trafo 6DOF Config Error
CODESYS Forge
talk
(Post)
Hi jgalaska, the parameters and their valid ranges are described here (0). In particular, the parameter d1 must be non-positive (<= 0). (0) https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_trafo_pou_six_dof_robot.html#UUID-5451338b-a728-5c42-0f62-d9735b01d032_id_b18ea4b1b308acfdc0a8646358edc019_id_e7016982df408f59c0a8657d017550b3 Best regards, Georg
Last updated: 2026-01-21
Post by eschwellinger on The element of type 'VisuFbElemImage' could not be updated. Reason: Index was outside the bounds of the array.
CODESYS Forge
talk
(Post)
check with the CODESYS Installer er if you are on latest Visuversion. 4.9.1.0
Last updated: 2026-01-27
Post by ketanvaishnav on Redundancy Codesys Runtime, Synchronization
CODESYS Forge
talk
(Post)
i am facing same data sync issue. i am use two 750-8212 (FW30) controllers. datas are sync from active to standby during changeover time, but datas are not sync from standby to active.
Last updated: 2026-01-30
Post by risele on AI + Programming
CODESYS Forge
talk
(Post)
It's already fine to use, with help of exporting/importing as PLC_Open, at least CODEX is good in editing directly at XML and/or providing changes description separately.
Last updated: 2026-02-13
Post by risele on CODESYS and Github Copilot
CODESYS Forge
talk
(Post)
You actually can use copilot by PLCOpen XML file exporting/importing. It's fine to work with it directly (at least, the Codex do it quite well).
Last updated: 2026-02-13
Post by oemcba on Editor FIND highlight color
CODESYS Forge
talk
(Post)
Today is 2026, and we still have the same issue since 2017, anyone have the answer? i'm using V3.5 SP18 P4+ from festo, thanks in advance... @rudolsto @r.evbatyrov @cole @mahmutonx @root @codesys-com
Last updated: 2026-03-06
Post by gordonkeller360 on RS232 Communication in CODESYS Control RTE V3
CODESYS Forge
talk
(Post)
Hi -- Did you have any luck porting this over to RTE? I have a similar situation, where I am using CAA SerialCom and it works fine with Control Win, but I can't open the port when using in RTE. Any advice helps. Thanks!
Last updated: 2026-03-14
Post by reinier-geers on CODESYS crashes when adding standard OPC UA Information Model to Communication Manager
CODESYS Forge
talk
(Post)
I only experiance a lot of problems with Version 20 and 21. Version 20 crashes at a online change Version 21 - 5 identical programms in one project. The frist runs. The thirt Crashes. NOt even a screen
Last updated: 6 days ago
Post by george32 on CSV file and string manipulation.
CODESYS Forge
talk
(Post)
Dear folks, I think I have a rather simple question but I could not find the right answer to my question: I have made with Excel a CSV file where I would like to have some general data regarding my program variables. I have made an program what let me read the file. The string I am currently get is at follows: 'IP_Adres;192.168.45.12$R$NPort_number;2000$R$NCycle_time;43$R$NStart_Standard_IO;20$R$N' Now I want to split the string in multiple part, which I later would connect to the right variable. By Google and experimenting I have reached to the following code for the first part of the splitting proces: // Splitting the BOM of the string: Received_string := FileReadString; IF LEFT(STR:=New_string,3)= '' THEN Received_string_without_BOM :=RIGHT(STR:= Received_string,SIZE:= (LEN(STR:= Received_string))-3); END_IF //Splitting the remaining string in part for later declaration. WHILE index = 0 DO index_split_part := FIND(STR1:= Received_string_without_BOM,STR2:= '$R$N'); Part_of_String[index]:=LEFT(STR:=Received_string_without_BOM, SIZE:= index_split_part); index := index + 1; END_WHILE However in the splitting proces I could not understand what is really happening. I understand that the Find() function returns the first value the $R$N in the Received_string_without_BOM. This would mean that the index_split_part := 23 I|P| _ |A |d|r|e|s|;|1_|9 |2 |. |1 |6 |8 |. |4 |5 |. |1 |2 |$ |R |$ |N |P | 1|2| 3 |4 |5|6|7|0|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27| So the next part is to read the first 23 characters of the Received_string_without_BOM with the LEFT() function. I expected that the outcome the following was: 'IP_Adres;192.168.45.12$'. However the outcome is: 'IP_Adres;192.168.45.12$R'. I do not understand where the R after the $ sign comes from, because its place is 24 so it would not be added to the part_of the_string[index]. If I hard coded value 24 for the size it gives me the following return: 'IP_Adres;192.168.45.12$R$N'. I would expect everything till the R but the code adds the $N also to the string. I hope someone could explain to my what I am seeing wrong in my point of view? With kind regards, George
Last updated: 2024-09-27
Post by struccc on Backtick identifiers
CODESYS Forge
talk
(Post)
Important: ` - Backtick - ASCII 96 ' - Apostrophe or Single Quote - ASCII 39 In the online help for some reason it renders ’ ... The only issue I don't get, why identifiers are still case-insensitive, even within `backtricks`? `mPa` and `MPa` for milli-, mega Pascal are the same identifiers, unfortunately... Is this a bug or a feature? Otherwise can do pretty nasty things with it: // A practical (?) ASCII table served as crazy strict enumeration // Just for hangover Monday mornings {attribute 'qualified_only'} {attribute 'strict'} TYPE ASCII : ( NULL := 16#00, START_OF_HEADING := 16#01, START_OF_TEXT := 16#02, END_OF_TEXT := 16#03, END_OF_TRANSMISSION := 16#04, ENQUIRY := 16#05, BELL := 16#06, ACKNOWLEDGE := 16#07, BACKSPACE := 16#08, HORIZONTAL_TAB := 16#09, LINE_FEED := 16#0A, VERTICAL_TAB := 16#0B, FORM_FEED := 16#0C, CARRIAGE_RETURN := 16#0D, SHIFT_OUT := 16#0E, SHIFT_IN := 16#0F, DATA_LINK_ESCAPE := 16#10, DEVICE_CONTROL_1 := 16#11, DEVICE_CONTROL_2 := 16#12, DEVICE_CONTROL_3 := 16#13, DEVICE_CONTROL_4 := 16#14, NEGATIVE_ACKNOWLEDGE := 16#15, SYNCHRONOUS_IDLE := 16#16, END_OF_TRANS_BLOCK := 16#17, CANCEL := 16#18, END_OF_MEDIUM := 16#19, SUBSTITUTE := 16#1A, ESCAPE := 16#1B, FILE_SEPARATOR := 16#1C, GROUP_SEPARATOR := 16#1D, RECORD_SEPARATOR := 16#1E, UNIT_SEPARATOR := 16#1F, ` ` := 16#20, `!` := 16#21, `$"` := 16#22, `#` := 16#23, `$$` := 16#24, `%` := 16#25, `&` := 16#26, `$'` := 16#27, `(` := 16#28, `)` := 16#29, `*` := 16#2A, `+` := 16#2B, `,` := 16#2C, `-` := 16#2D, `.` := 16#2E, `/` := 16#2F, `0` := 16#30, `1` := 16#31, `2` := 16#32, `3` := 16#33, `4` := 16#34, `5` := 16#35, `6` := 16#36, `7` := 16#37, `8` := 16#38, `9` := 16#39, `:` := 16#3A, `;` := 16#3B, `<` := 16#3C, `=` := 16#3D, `>` := 16#3E, `?` := 16#3F, `@` := 16#40, A := 16#41, B := 16#42, C := 16#43, D := 16#44, E := 16#45, F := 16#46, G := 16#47, H := 16#48, I := 16#49, J := 16#4A, K := 16#4B, L := 16#4C, M := 16#4D, N := 16#4E, O := 16#4F, P := 16#50, Q := 16#51, `R ` := 16#52, `S ` := 16#53, T := 16#54, U := 16#55, V := 16#56, W := 16#57, X := 16#58, Y := 16#59, Z := 16#5A, `[` := 16#5B, `\` := 16#5C, `]` := 16#5D, `^` := 16#5E, `_` := 16#5F, `agrave`:= 16#60, `a` := 16#61, `b` := 16#62, `c` := 16#63, `d` := 16#64, `e` := 16#65, `f` := 16#66, `g` := 16#67, `h` := 16#68, `i` := 16#69, `j` := 16#6A, `k` := 16#6B, `l` := 16#6C, `m` := 16#6D, `n` := 16#6E, `o` := 16#6F, `p` := 16#70, `q` := 16#71, `r` := 16#72, `s` := 16#73, `t` := 16#74, `u` := 16#75, `v` := 16#76, `w` := 16#77, `x` := 16#78, `y` := 16#79, `z` := 16#7A, `{`{} := 16#7B, `|` := 16#7C, `}` := 16#7D, `~` := 16#7E, DEL := 16#7F ) BYTE; END_TYPE
Last updated: 2025-11-05
Post by janber0206 on Gateway doesn't come online, regarding a working internet connection
CODESYS Forge
talk
(Post)
Solved (see comment) Setup: Kunbus RevPi Connect+ (a raspberry based PLC) Codesys runtime package: 4.5.0.0 (raspberry, armhf) based on Codesys V3.5.18.20 Edge Gateway: 4.5.0.0 (edgearmhf,armhf) EN: The edge-gateway was added over a year ago to the automation server. I now need to make a few changes to the Codesys software, but the Pi is not showing as online in the Automation Server. Internet connection is established, I have remote access to the Pi via RealVNC. Anyone have an idea how I can solve this? Some screenshots added. DE: Ich muss nun ein paar Änderungen an der Codesys-Software vornehmen, aber der Pi wird im Automation Server nicht als online angezeigt. Die Internetverbindung ist hergestellt, ich habe über RealVNC Fernzugriff auf den Pi. Hat jemand eine Idee, wie ich das Problem lösen kann?
Last updated: 2023-10-26
Post by appling on License status of Linux 64Bit runtime via CLI
CODESYS Forge
talk
(Post)
Hi, I have a Linux 64Bit system with a Codesys application running on it. It stops after 2hours and a few minutes, which makes me think something is wrong with the installed license. (in my last timing it stopped after 2h4min, on the codesys website it is stated that runtimes without a license stop after 2h) I installed the license via a USB license dongle that I activated on my workstation with the Codesys IDE a while ago. Now the system is shipped at not accessible physically, only remotely via SSH. So is there a way to check the status of the License of the Codesys runtime when it is running on the system? Running the codesyscontrol script with "status" just tells me that it is running, but does not provide any license information. Best regards
Last updated: 2023-12-04
Post by andre-luis on Check if Codesys runtime is on 'Running' or 'Stopped' state?
CODESYS Forge
talk
(Post)
Hi there, I'm running the Codesys runtime on Windows 64 and I need to know if it is on "Running" or "Stopped" state just after a system crash. The following commands works perfectly well to (re)start it... net stop “CODESYS Control Win V3 - x64" net start “CODESYS Control Win V3 - x64" ...however I'm unable to determine when it is required to be call; I mean, by checking the System Tray icon, it is possible to know if it is on "Stopped" state, but I wanted to run a .BAT command to retrieve it. How can we do that?
Last updated: 2024-07-02
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.