JSON HTTP Client Library by Extend smart Coding
CODESYS Forge
talk
(Thread)
JSON HTTP Client Library by Extend smart Coding
Last updated: 2019-01-07
Open Source MQTT SparkplugB Library v1.0.0.0 released
CODESYS Forge
talk
(Thread)
Open Source MQTT SparkplugB Library v1.0.0.0 released
Last updated: 2020-11-09
Aus Library auf GPIO des PI zugreifen
CODESYS Forge
talk
(Thread)
Aus Library auf GPIO des PI zugreifen
Last updated: 2015-12-09
Can't see any documentation in the Library manager
CODESYS Forge
talk
(Thread)
Can't see any documentation in the Library manager
Last updated: 2017-08-27
Need help on Alarm Trend Library
CODESYS Forge
talk
(Thread)
Need help on Alarm Trend Library
Last updated: 2010-02-03
Using existing C code as External Library
CODESYS Forge
talk
(Thread)
Using existing C code as External Library
Last updated: 2017-02-24
How to get CAA library from CoDeSys store???
CODESYS Forge
talk
(Thread)
How to get CAA library from CoDeSys store???
Last updated: 2014-01-15
how to create my own library know-how-protect
CODESYS Forge
talk
(Thread)
how to create my own library know-how-protect
Last updated: 2016-11-08
Trouble accessing Math functions in OSCAT library
CODESYS Forge
talk
(Thread)
Trouble accessing Math functions in OSCAT library
Last updated: 2024-01-16
IFM CR711S Can Low Level Library Use
CODESYS Forge
talk
(Thread)
IFM CR711S Can Low Level Library Use
Last updated: 2024-04-03
Library error after creating project from python
CODESYS Forge
talk
(Thread)
Library error after creating project from python
Last updated: 2024-05-29
Problems using MySql Library and SysProcessExecuteCommand2 together
CODESYS Forge
talk
(Thread)
Problems using MySql Library and SysProcessExecuteCommand2 together
Last updated: 2024-06-18
Problems using MySql Library and SysProcessExecuteCommand2 together
CODESYS Forge
talk
(Thread)
Problems using MySql Library and SysProcessExecuteCommand2 together
Last updated: 2024-06-18
Synaxis of library declarations in the ST
CODESYS Forge
talk
(Thread)
Synaxis of library declarations in the ST
Last updated: 2025-11-26
Codesys 3.5.21.3 add Library search not work
CODESYS Forge
talk
(Thread)
Codesys 3.5.21.3 add Library search not work
Last updated: 2026-05-26
file library ifm CR2033 .lib in the CODESYS v2.3
CODESYS Forge
talk
(Thread)
file library ifm CR2033 .lib in the CODESYS v2.3
Last updated: 2026-04-22
Post by nz-dave on Variable Length Array - Cannot mix variable and fixed length dimensions?
CODESYS Forge
talk
(Post)
VAR CONSTANT size : INT := 10; END_VAR My_Array : ARRAY[1..SIZE , 1..5] OF REAL;
Last updated: 2025-05-26
Post by patch914 on Constant error in logs "SysEthernetGetPortConfigAndStatus: Adapter Not Found"
CODESYS Forge
talk
(Post)
Did you find a solution for this? I am seeing the same errors.
Last updated: 2024-02-05
Post by tvm on Cannot pass array of constant size to a function as a reference
CODESYS Forge
talk
(Post)
maybe this would be a better approach, then you don't have to pass the constant at all. FUNCTION fun : INT VAR_IN_OUT arr: ARRAY[*] OF INT; END_VAR VAR lower: DINT; upper: DINT; END_VAR lower:= LOWER_BOUND(arr, 1); upper:= UPPER_BOUND(arr, 1); see here as well https://help.codesys.com/api-content/2/codesys/3.5.12.0/en/_cds_datatype_array/
Last updated: 2024-01-08
Post by shamcke on Array with generic constant as persistent variable
CODESYS Forge
talk
(Post)
Hello, I have written a function block that uses a generic constant for the upper bound of an array. I wanted to have this array in the persistent memory area, thus I constructed my FB as follows: FUNCTION_BLOCK FbWithGenericArrayLength VAR_GENERIC CONSTANT uiArrayLength : UINT := 10; END_VAR VAR PERSISTENT arr : ARRAY[1..uiArrayLength] OF INT; END_VAR In my PLC_PRG I declare an instance of said FB PROGRAM PLC_PRG VAR myFb : FbWithGenericArrayLength<10>; END_VAR This compiles just fine. When I let CODESYS fill my persistent list, it adds duplicate entries {attribute 'qualified_only'} VAR_GLOBAL PERSISTENT RETAIN // Generated instance path of persistent variable PLC_PRG.myFb.arr: ARRAY [1..uiArrayLength] OF INT; // Generated instance path of persistent variable PLC_PRG.myFb.arr: ARRAY [1..uiArrayLength] OF INT; END_VAR so I manually delete the duplicate. When i now compile, I get errors ------ Build started: Application: Device.Sim.Device.Application ------- Typify code... [ERROR] Sandbox_FW31: PersistentVars [Device: PLC Logic: Application](Line 4): C0161: Border 'uiArrayLength' of array is no constant value [ERROR] Sandbox_FW31: PersistentVars [Device: PLC Logic: Application](Line 4): Type of mapped variable is not equal to original type Compile complete -- 2 errors, 0 warnings Build complete -- 2 errors, 0 warnings : No download possible Is is simply not possible to use a generic constant for the persistent array? Thanks in advance. Edit: It seems I can manually replace the uiArrayLength in the persisten list by the value 10 I used as the generic constant for this particular instance.
Last updated: 2026-05-29
Post by jorenbeyl on library inside library
CODESYS Forge
talk
(Post)
I am currently developing a library that contains real‑time data. To handle this real‑time data, I am using additional libraries called SysTime and SysTypes Interfaces. When I compile my library on its own, no errors occur. However, when I use this library in a project and compile the project, I get an error indicating that the SysTime data type is not recognized. This happens even though the SysTime library is visible as a dependency under my library. Does anyone know how to correctly include a library within another library so that the project recognizes the sub‑library without causing compilation errors?
Last updated: 2026-04-23
Post by timvh on library inside library
CODESYS Forge
talk
(Post)
1) it should be possible to access the type SysTime in the project as A_Lib.SysTime. 2) you could add the SysTimeCore library to the library manager of your library (POU Pool). This might seem as a double library, but because of the placeholder resolution only one will be used. Then, in your library manager of your library, select the SysTimeCore library, right-click, select "Properties" and enable the option "Publish all IEC symbols ...." For more information about library development, you could follow our advanced training course in Ridderkerk. The next is scheduled for 24 and 25 June 2026 https://www.extendsmartcoding.nl/codesys-training/
Last updated: 2026-04-25
Post by seesle on Extracting information out of a *.library or *.compiled-library file
CODESYS Forge
talk
(Post)
Hey there, is there a way to extract any data out of a .library or a .compiled-library file? Do you have any tools or a description of the binary or something like this to get for example the referenced libraries of a *.library file or any other stuff? Thx in advance M.
Last updated: 2023-12-04
Post by wedahitha on Could not open library 'SysSocket23,
CODESYS Forge
talk
(Post)
Hi there, I am trying to open a codesys project done by someone else and Once I install all the libraries I get this error [ERROR] : Library Manager [PROJECT 01: PLC Logic: Application]: Could not open library 'SysSocket23, * (System)'. (Reason: The library 'SysSocket23, * (System)' has not been installed to the system.) SysSocket23 is a standard library and I also tried using the same OSCAT library which was from the original computer that made this code. Using CODESYS V3.5 SP18 Patch 2 Please help me how to solve this problem.
Last updated: 2023-12-19
How to call the same program from library and get the vars updated.
CODESYS Forge
talk
(Thread)
How to call the same program from library and get the vars updated.
Last updated: 2023-08-23
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.