OSCAT Scale_r function not working in LD 4.60 works in LAD2 on 3.5.21sp3
CODESYS Forge
talk
(Thread)
OSCAT Scale_r function not working in LD 4.60 works in LAD2 on 3.5.21sp3
Last updated: 2025-10-26
Post by timvh on OSCAT Scale_r function not working in LD 4.60 works in LAD2 on 3.5.21sp3
CODESYS Forge
talk
(Post)
It seems like a bug in FBD. Work-around: If you click on the small line between the box and the output variable and delete this, the variable is removed. When you then assign a variable again (Ctrl-A), then you will see that the line will be a bit longer. If you then select the previous variable, you will see that it works.
Last updated: 2025-10-26
Post by timvh on Persistent Retain Variables Not Visible in Online View (WAGO PFC100 + CODESYS)
CODESYS Forge
talk
(Post)
It is a known issue. It only happens with CODESYS and Wago controllers and the Persistent Variables. It seems related to using 64 bit variables in the PV list (e.g. LREAL). Internally in the PLC everything works okay. It is just a monitoring issue.
Last updated: 2025-10-26
Post by vtec35 on search runtime 4.9.0.0 for pi 3
CODESYS Forge
talk
(Post)
i have update the package 4.13 n the computer and install all update for all package, now impossible to start codesys... when i start to open any project i have a message invalid project...
Last updated: 2025-10-26
Runtime 🇬🇧
CODESYS Forge
talk
(Discussion)
Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms
Last updated: 2025-10-26
Post by eschwellinger on search runtime 4.9.0.0 for pi 3
CODESYS Forge
talk
(Post)
sorry I missed to say how to do this just update the runtime. (extract latest debian package out of the CODESYS package) but 8n this case an update all to the latest version including CODESYS is probably the easiest option now.
Last updated: 2025-10-26
search runtime 4.9.0.0 for pi 3
CODESYS Forge
talk
(Thread)
search runtime 4.9.0.0 for pi 3
Last updated: 2025-10-26
Post by vtec35 on search runtime 4.9.0.0 for pi 3
CODESYS Forge
talk
(Post)
if you prefer i can share the project directly
Last updated: 2025-10-26
CodeSys2.3 Modbus 64-Bit Double Read Problem
CODESYS Forge
talk
(Thread)
CodeSys2.3 Modbus 64-Bit Double Read Problem
Last updated: 7 days ago
Codesys V2.3 🇬🇧
CODESYS Forge
talk
(Discussion)
Forum about V2.3
Last updated: 7 days ago
CodeSys2.3 Modbus 64-Bit Double Read Problem
CODESYS Forge
talk
(Thread)
CodeSys2.3 Modbus 64-Bit Double Read Problem
Last updated: 7 days ago
Post by uluking on CodeSys2.3 Modbus 64-Bit Double Read Problem
CODESYS Forge
talk
(Post)
Hi everyone, I would appreciate your help with a problem I've been working on for a few days but haven't been able to resolve. I am reading data from a Siemens PAC3220 energy analyzer using Modbus with Wago-8202. However, the device's energy indices are given as doubles. Since a double variable is 64-bit, it is not possible to read it directly. I have been struggling for days, I have written many conversion functions but I have not been able to get results. I would appreciate your help. I read 4 word variables and processed them. I am converting them according to IEEE-754, but I can't seem to read the correct data. I would appreciate your help.
Last updated: 7 days ago
Post by uluking on CodeSys2.3 Modbus 64-Bit Double Read Problem
CODESYS Forge
talk
(Post)
Hi everyone, I would appreciate your help with a problem I've been working on for a few days but haven't been able to resolve. I am reading data from a Siemens PAC3220 energy analyzer using Modbus with Wago-8202. However, the device's energy indices are given as doubles. Since a double variable is 64-bit, it is not possible to read it directly. I have been struggling for days, I have written many conversion functions but I have not been able to get results. I would appreciate your help. I read 4 word variables and processed them. I am converting them according to IEEE-754, but I can't seem to read the correct data. I would appreciate your help.
Last updated: 7 days ago
TextList name error (fake)
CODESYS Forge
talk
(Thread)
TextList name error (fake)
Last updated: 6 days ago
OPC UA Client failed to connect
CODESYS Forge
talk
(Thread)
OPC UA Client failed to connect
Last updated: 6 days ago
Post by msegon on OPC UA Client failed to connect
CODESYS Forge
talk
(Post)
Hi everyone, I would appreciate your help with a problem I've been working on for a few days but haven't been able to resolve. I'm trying to read data from Tridium Niagara 4.15 OPC UA Server, but I get the error BadCertificateInvalid. As far as I understand, you need to add a CA certificate somewhere to establish a secure connection, but I don't know where. 2025-10-27T09:06:43.247Z, 0x0000008d, 4, 0, 0, * ERROR: OpcUa_Channel_BeginConnect: Cannot create secure channel without certificates! 2025-10-27T09:06:43.247Z, 0x00001090, 4, 0, 0, * ERROR: Datasource: Error Failed (268468242) in state Connecting I tried communicating without encryption, but it doesn't find the point. Has anyone managed to establish encrypted OPC UA communication?
Last updated: 6 days ago
Post by gatto on Backtick identifiers
CODESYS Forge
talk
(Post)
Hello, I’m in Codesys 3.5.20.40 and I try to declare the variable ´var1´ but I get an error. here : https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_rules.html i read : Backtick identifiers By using backticks, characters can also be used in identifiers that are not normally permitted in identifiers, such as special characters. The acute accent character is used for backticks: ´ (Unicode: U+02CA) The use of backticks is recommended in order to be able to use the same identifiers in CODESYS as in other programming languages or documents, such as circuit diagrams. Any character may be used between two backticks, except line breaks and other backticks. Keywords are also allowed as identifiers between backticks. Examples: ´Variable+9´ ´INT´ The backticks are part of each identifier and therefore var1 and ´var1´ are two different identifiers. Example PROGRAM PLC_PRG VAR var1 : INT; ´var1´: INT; END_VAR var1 := var1 + 1; ´var1´ := 12; Are there any limitations or is something missing in my development environment?
Last updated: 5 days ago
Post by wchin on Passing EtheNetIP adapter device into a Function Block to access it's IO
CODESYS Forge
talk
(Post)
We are creating helper function blocks for our VFD(EtherNetIP). How should I set it up so that I can pass the device into and out of the Function Block so that ideally I can access the IO of the device by devicename.channelname. So something like for example we have a VFD with a start bit that is in the ControlWord channel and a SetVelocity that is a channel. And we want to create a Function Block called StartVFD. So I declare something like: FUNCTION_BLOCK StartVFD VAR_IN_OUT device: ioDrvEthernetIP.RemoteAdapter; END_VAR VAR_INPUT velocity : REAL; So in the code it would look something like device.SetVelocity := velocity; device.ControlWord.6 := True; We have a pretty basic eds file for our VFD and can update it if necessary. Thanks in advance.
Last updated: 5 days ago
Passing EtheNetIP adapter device into a Function Block to access it's IO
CODESYS Forge
talk
(Thread)
Passing EtheNetIP adapter device into a Function Block to access it's IO
Last updated: 5 days ago
Post by wchin on Passing EtheNetIP adapter device into a Function Block to access it's IO
CODESYS Forge
talk
(Post)
We are creating helper function blocks for our VFD(EtherNetIP). How should I set it up so that I can pass the device into and out of the Function Block so that ideally I can access the IO of the device by devicename.channelname. So something like for example we have a VFD with a start bit that is in the ControlWord channel and a SetVelocity that is a channel. And we want to create a Function Block called StartVFD. So I declare something like: FUNCTION_BLOCK StartVFD VAR_IN_OUT device: ioDrvEthernetIP.RemoteAdapter; END_VAR VAR_INPUT velocity : REAL; So in the code it would look something like device.SetVelocity := velocity; device.ControlWord.6 := True; We have a pretty basic eds file for our VFD and can update it if necessary. Thanks in advance.
Last updated: 5 days ago
Backtick identifiers
CODESYS Forge
talk
(Thread)
Backtick identifiers
Last updated: 5 days ago
Passing EtheNetIP adapter device into a Function Block to access it's IO
CODESYS Forge
talk
(Thread)
Passing EtheNetIP adapter device into a Function Block to access it's IO
Last updated: 5 days ago
Post by wchin on Passing EtheNetIP adapter device into a Function Block to access it's IO
CODESYS Forge
talk
(Post)
We are creating helper function blocks for our VFD(EtherNetIP). How should I set it up so that I can pass the device into and out of the Function Block so that ideally I can access the IO of the device by devicename.channelname. So something like for example we have a VFD with a start bit that is in the ControlWord channel and a SetVelocity that is a channel. And we want to create a Function Block called StartVFD. So I declare something like: FUNCTION_BLOCK StartVFD VAR_IN_OUT device: ioDrvEthernetIP.RemoteAdapter; END_VAR VAR_INPUT velocity : REAL; So in the code it would look something like device.SetVelocity := velocity; device.ControlWord.6 := True; We have a pretty basic eds file for our VFD and can update it if necessary. Thanks in advance.
Last updated: 5 days ago
Passing EtheNetIP adapter device into a Function Block to access it's IO
CODESYS Forge
talk
(Thread)
Passing EtheNetIP adapter device into a Function Block to access it's IO
Last updated: 5 days ago
OPC UA multiple Endpoints
CODESYS Forge
talk
(Thread)
OPC UA multiple Endpoints
Last updated: 5 days ago
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.