Post by eschwellinger on Setup problems with PiXtend
CODESYS Forge
talk
(Post)
..as usually 'update the devices' by rightclick in the device.
Last updated: 2024-06-20
Post by eschwellinger on SysProcessExecuteCommand2 and CANopen Device
CODESYS Forge
talk
(Post)
please call sysproccess in an own task with low prio
Last updated: 2024-06-20
Post by eschwellinger on SysProcessExecuteCommand2 and CANopen Device
CODESYS Forge
talk
(Post)
which runtime version is it? 4.11.0.0?
Last updated: 2024-06-21
Post by tayhim on WAGO device in Codesys V3
CODESYS Forge
talk
(Post)
ela, how did you solve that problem?
Last updated: 2024-06-25
Post by mjam04 on AM243 LaunchPad as PROFINET Device with CODESYS β RPC Aborted error when scanning devices
CODESYS Forge
talk
(Post)
Attachment
Last updated: 2026-03-13
Post by dclements on Feature Request: Read-Only References / Pointer-to-Const Support
CODESYS Forge
talk
(Post)
I would like to suggest adding support for persistent read-only references or pointers in CODESYS, similar to a C++ pointer-to-const (const T*). For example, something conceptually similar to: POINTER TO CONSTANT ST_MyData or REFERENCE TO CONSTANT ST_MyData The important distinction is that the reference itself may still be passed around or reassigned, but the referenced object cannot be modified through that reference. CODESYS currently supports VAR_IN_OUT CONSTANT, which provides read-only reference semantics for parameters, but there does not appear to be an equivalent type that can be stored in a variable or returned from a method. A practical use case is a registry that owns long-lived definitions. The registry needs to retain ownership of the data while downstream systems maintain persistent references to it. Currently, the main options are: Return the struct by value, which loses reference semantics and requires a copy. Return POINTER TO ST_Definition, which allows consumers to modify registry-owned data. Convert the structure into a Function Block and expose a getter-only interface, which provides the desired encapsulation but introduces more complexity and memory overhead. A read-only reference/pointer type would allow libraries to expose persistent, zero-copy access to internally owned data while preserving encapsulation. This would be particularly useful for library APIs and object-oriented CODESYS architectures where ownership of data should remain with one component while other components are allowed to observe it. Similar requests for constant references/pointers have been discussed on CODESYS Forge previously, so this appears to be a recurring use case rather than something specific to one application.
Last updated: 2026-09-01
Raspberry Model A+ doesn't work
CODESYS Forge
talk
(Thread)
Raspberry Model A+ doesn't work
Last updated: 2017-02-28
programming a font change
CODESYS Forge
talk
(Thread)
programming a font change
Last updated: 2018-06-01
Visu Style in a library
CODESYS Forge
talk
(Thread)
Visu Style in a library
Last updated: 2016-09-20
Creating a Custom Automation Plattform
CODESYS Forge
talk
(Thread)
Creating a Custom Automation Plattform
Last updated: 2023-06-03
Dinamic assignement of a variable
CODESYS Forge
talk
(Thread)
Dinamic assignement of a variable
Last updated: 2016-06-28
Interface member in a FB
CODESYS Forge
talk
(Thread)
Interface member in a FB
Last updated: 2018-05-15
Logging to a SoftPLC remotely?
CODESYS Forge
talk
(Thread)
Logging to a SoftPLC remotely?
Last updated: 2020-10-02
Sinnvolle Benennung der E/A Ebene
CODESYS Forge
talk
(Thread)
Sinnvolle Benennung der E/A Ebene
Last updated: 2012-03-18
First IO address of a CAADiagDeviceDefault.
CODESYS Forge
talk
(Thread)
First IO address of a CAADiagDeviceDefault.
Last updated: 2024-08-22
First IO address of a CAADiagDeviceDefault.
CODESYS Forge
talk
(Thread)
First IO address of a CAADiagDeviceDefault.
Last updated: 2024-08-22
Configuring a 2's compliment
CODESYS Forge
talk
(Thread)
Configuring a 2's compliment
Last updated: 2024-09-28
Bought a license, but can't activate
CODESYS Forge
talk
(Thread)
Bought a license, but can't activate
Last updated: 2024-10-11
A method in the Task Configurator
CODESYS Forge
talk
(Thread)
A method in the Task Configurator
Last updated: 2025-01-23
Programmatically change Tappet on a cam
CODESYS Forge
talk
(Thread)
Programmatically change Tappet on a cam
Last updated: 2025-04-02
Cursor to move to a control
CODESYS Forge
talk
(Thread)
Cursor to move to a control
Last updated: 2025-08-12
Execute a .py file with Codesys
CODESYS Forge
talk
(Thread)
Execute a .py file with Codesys
Last updated: 2025-09-03
Save a comparison of two codes
CODESYS Forge
talk
(Thread)
Save a comparison of two codes
Last updated: 2025-10-10
running a project automaticlly
CODESYS Forge
talk
(Thread)
running a project automaticlly
Last updated: 2011-05-26
Characters inside a string type.
CODESYS Forge
talk
(Thread)
Characters inside a string type.
Last updated: 2012-03-26
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.