Post by fredruel on ModbusServer became unreachable if reach maximum of 16 byClientConnections
CODESYS Forge
talk
(Post)
Hello Fraziersedge, the solution of Codesys might be to update your codesys to the lastest version but it was not possible for us. In our Codesys V3.5 SP9 patch 8 I was able to fix this bug. I change my ModbusTCP slave component version or one of the sub component version (ex: SysSocket). Look at the picture in attachement that's the receipe that have work for us. When I got the bug my version of ModbusTCP slave was 3.5.5.0 with SysSocket at 3.5.6.0 and I change to ModbusTCP slave 3.5.14.0 with same version 3.5.14.0 of SysSocket event if I still use codesys V3.5 SP9 patch 8.
Last updated: 2024-08-27
Post by sigurdrb on Read codesys version in the codesys application
CODESYS Forge
talk
(Post)
Hi! I want to read the codesys version into the project, so I can highlight it in the SCADA system. VAR dwVersion : DWORD; END_VAR SysTarget.SysTargetGetVersion(pulVersion := ADR(dwVersion)); This gives me the value 100859909. I tried to search ths up and found som older post (https://forge.codesys.com/forge/talk/Runtime/thread/a55981ff4d/) that said each 4 bytes reads a number in the version. Example is 50662666 = 16#03050D0A which reads to V3.5.13.10 When I run this code I get the value 100859909, which I cant translate to anything meaningful. I am running it on Codesys V3.5.19.70. Help appreciated!
Last updated: 2025-01-17
Post by christoph--b on Probleme mit Speicheraufteilung nach Wechsel von Wago 750-841 zu 750-891
CODESYS Forge
talk
(Post)
Hallo, ich habe in meiner Hausautomation eine Wago 750-841 mit einem doch mittlerweile umfangreichen Programm. Diese wollte ich nun gegen eine 750-891 der 4. Generation austauschen. Aufgrund der Programmgröße hatte ich damals die Speichergröße für Retainvariablen von 16#4000 auf 16#7000 vergrößert und so läuft sie nun seit Jahren fehlerfrei. Allerdings mit der 750-891 bekomme ich offensichtlich eine Überschneidung mit dem Modbusregister, denn die Werte über Modbus spielen verrückt. In der Standardgröße mit 16#4000 tritt das Phänomen nicht auf, reicht dann aber nicht für das vorhandene Programm. Dafür gibt es sicher eine Lösung, denn die 891 hat ja deutlich mehr Speicher. Allerdings kenne ich mich mit der Speicheraufteilung nicht aus, wo man da was optimieren kann, damit ich den Speicherbereich entsprechend erweitern kann, aber es zu keiner Überschneidung kommt. Für Hilfe wäre ich sehr dankbar
Last updated: 2025-07-20
Post by wbj0t on mobus tcp slave device. read/write holdings with 2 variables.
CODESYS Forge
talk
(Post)
Hi there. I have an issue to read and set time for the controller. In the issue many registers described as writable by 6/16 functions, and, in this time, also(!) readable! For example: I have time registers: min, hour, day, mon, year. By specifications it is possible check time (so I need always update these varibles in loop) and set time by writing these same registers, BUT how to set, if they will immediatle updated by current time after writing? So, I need to separate one address at two variables. I have seen option mark: Overlay of the process image by the holding and input register. I understand this so: When I READ by function 3, I will get variable that connected with the same INPUT address and when I WRITE by 6/16 this will change second variable that connected with HOLDING address. BUT, this mark doesnt work, when I write 6/16 and try to get by function 3, I will get written value instead INPUT variable. So, what to do?
Last updated: 2024-03-20
Raspberry Pi to Codesys 2.3
CODESYS Forge
talk
(Thread)
Raspberry Pi to Codesys 2.3
Last updated: 2014-01-29
Getting Started With CoDeSys
CODESYS Forge
talk
(Thread)
Getting Started With CoDeSys
Last updated: 2013-08-06
AWS IoT core CODESYS
CODESYS Forge
talk
(Thread)
AWS IoT core CODESYS
Last updated: 2023-12-06
AWS IoT core CODESYS
CODESYS Forge
talk
(Thread)
AWS IoT core CODESYS
Last updated: 2023-12-06
AWS IoT core CODESYS
CODESYS Forge
talk
(Thread)
AWS IoT core CODESYS
Last updated: 2023-12-06
AWS IoT core CODESYS
CODESYS Forge
talk
(Thread)
AWS IoT core CODESYS
Last updated: 2023-12-06
AWS IoT core CODESYS
CODESYS Forge
talk
(Thread)
AWS IoT core CODESYS
Last updated: 2023-12-06
Codesys 2.3 & Peak PCAN
CODESYS Forge
talk
(Thread)
Codesys 2.3 & Peak PCAN
Last updated: 2024-07-16
SFC Reset Codesys 2.3?
CODESYS Forge
talk
(Thread)
SFC Reset Codesys 2.3?
Last updated: 2024-11-26
Simulate PLC with CodeSys
CODESYS Forge
talk
(Thread)
Simulate PLC with CodeSys
Last updated: 2015-09-02
Pragma Pack In CodeSys
CODESYS Forge
talk
(Thread)
Pragma Pack In CodeSys
Last updated: 2023-06-30
CODESYS SP RTE V2.3
CODESYS Forge
talk
(Thread)
CODESYS SP RTE V2.3
Last updated: 2019-07-31
Webinar: CodeMeter secures CODESYS V3.5
CODESYS Forge
talk
(Thread)
Webinar: CodeMeter secures CODESYS V3.5
Last updated: 2013-10-08
Code coverage and codesys bugs
CODESYS Forge
talk
(Thread)
Code coverage and codesys bugs
Last updated: 2011-11-16
Cheapest CoDeSys PLC/smart relay?
CODESYS Forge
talk
(Thread)
Cheapest CoDeSys PLC/smart relay?
Last updated: 2013-05-07
Codesys Libraries - Creating Your Own
CODESYS Forge
talk
(Thread)
Codesys Libraries - Creating Your Own
Last updated: 2015-10-07
Missing libray codesys 2.3
CODESYS Forge
talk
(Thread)
Missing libray codesys 2.3
Last updated: 2020-06-19
Xsoft Codesys v2.3.9 CFC _ issue
CODESYS Forge
talk
(Thread)
Xsoft Codesys v2.3.9 CFC _ issue
Last updated: 2012-08-08
C Code implementation in Codesys
CODESYS Forge
talk
(Thread)
C Code implementation in Codesys
Last updated: 2007-06-22
CodeSys SP Program Download
CODESYS Forge
talk
(Thread)
CodeSys SP Program Download
Last updated: 2011-09-03
Infinite loop in CoDeSys
CODESYS Forge
talk
(Thread)
Infinite loop in CoDeSys
Last updated: 2007-05-07
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.