Home

There is a newer version of this page. You can find it here.

Active Projects

    JSON parsing and composing library

  • lucawu modified a comment on a wiki page

    Hello everyone, I found a bug in Version 1.0.18.0. I have a structure: TYPE ST_JSON_TEST : STRUCT testList : ARRAY[0..1] OF JSONVAR; END_STRUCT END_TYPE It is declared as follows: stJsonTest : ST_JSON_TEST; stJsonTest.testList[0].CharString := 'used'; stJsonTest.testList[1] is null; I called the method "STRUCT_TO_JSON" with the input parameter "IgnoreNull := true". After that, the string I got is: '{"stJsonTest":{"testList":["used"}]}' You can see that the position of ']' is incorrect. Does anyone...

  • lucawu posted a comment on a wiki page

    Hello everyone, I found a bug in Version 1.0.18.0. I have a structure: TYPE ST_JSON_TEST : STRUCT testList : ARRAY[0..1] OF JSONVAR; END_STRUCT END_TYPE It is declared as follows: stJsonTest : ST_JSON_TEST; stJsonTest.testList[0].CharString := 'used'; stJsonTest.testList[0] is null; I called the method "STRUCT_TO_JSON" with the input parameter "IgnoreNull := true". After that, the string I got is: '{"stJsonTest":{"testList":["used"}]}' You can see that the position of ']' is incorrect. Does anyone...

  • youness posted a comment on a wiki page

    Hello Everyone , Bugs detected during testing with PROJSON 1.0.16.0: A new bug has been discovered in the PROJSON library, an incorrect JSON is produced when the message to be composed is a structure array, and one of its attributes is another structure: Example that does not work : testLevel1: JSONVAR; house.rooms[1.. N].window.Var1 Example that works : testLevel1: JSONVAR; house.rooms[1..N].Var1 Example that works : house.room1.window.Var1 In our testing phase, we took into account previously identified...

    I/O Drivers

  • juanp posted a comment on a wiki page

    Hello, I am looking for a devdesc.xml for a driver, such as the Modbus driver, where the number of I/O's can be defined via a value in the parameter tab. In short, the array size of the I/O mapping not as predefined constant, but rather as a variable. Could you help me with this? Thank you in advance.

  • Strucc.c Strucc.c created ticket #6

    Visibility control in I/O driver libraries

  • Strucc.c Strucc.c created ticket #5

    Namespace of I/O Driver related libraries

    CODESYS 4 Linux

  • ben-merryman posted a comment on a wiki page

    Thanks for providing this! I'm changing jobs soon and will be using codesys on Linux for my next round of development.

  • cedihegi posted a comment on a wiki page

    Building the codesys-ide container does not work for me with the command you provided here. After downloading dotNetFx40_Full_x86_x64.exe, my build is simply stuck on the "Executing load_remove_mono internal" command. Do you have any idea what could cause this?

  • amy123 posted a comment on ticket #17

    docker info: Client: Version: 25.0.3 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.12.1-desktop.4 Path: C:\Program Files\Docker\cli-plugins\docker-buildx.exe compose: Docker Compose (Docker Inc.) Version: v2.24.5-desktop.1 Path: C:\Program Files\Docker\cli-plugins\docker-compose.exe debug: Get a shell into any image or container. (Docker Inc.) Version: 0.0.24 Path: C:\Program Files\Docker\cli-plugins\docker-debug.exe dev: Docker Dev Environments (Docker...

    CODESYS Examples

  • respl posted a comment on ticket #3

    Please reply. Attached is the file of wireshark capture during communication.

  • respl created ticket #3

    CR711 To EX710 Network Variable Error

  • mp9876 posted a comment on ticket #2

    Hello Ullrich, .package should have been obvious enough but I guess I missed that part somehow so I had not tried to unzip that compressed folder. Not a whole lot familiar with libraries as well so. Thank you very much for your time as I effectively found the required project file that way. Kind regards, Mike

    Selection Manager

  • lukask committed [r7] on Code

    VIS-4023 Release updated project SelectionExample with the new features of VIS-1576

  • lukask committed [r6] on Code

    VIS-4023 Release updated project SelectionExample with the new features of VIS-1576

  • lukask committed [r5] on Code

    VIS-4023 Release updated project SelectionExample with the new features of VIS-1576

    File Utilities

  • robert committed [r3] on Code

    STORE-4583: FileUtilities Example: With SysFile there is no possiblity to write on a specific position in the file

  • robert robert committed [r2]

    CDS-85868

    Scripting

  • bnewman bnewman posted a comment on ticket #23

    this is an improved version that doesn't throw an exception if the property already exists def CreateAllProperties(fbname, shouldAddMonitor = False): # get current project project = projects.primary # find the function block fb = project.find(fbname, True)[0] # get the declaration text declaration = fb.textual_declaration # iterate all lines in the declaration for i in range(declaration.linecount): line = declaration.get_line(i) # get this declaration line stripped = line.strip() # strip out white...

  • hermsen hermsen posted a comment on ticket #23

    def CreateAllProperties(fbname): # get current project project = projects.primary # find the function block fb = project.find(fbname, True)[0] # get the declaration text declaration = fb.textual_declaration # iterate all lines in the declaration for i in range(declaration.linecount): line = declaration.get_line(i) # get this declaration line stripped = line.strip() # strip out white space in this line endofline = stripped.find(";") stripped = stripped[0:endofline] # discards anything past the ";"...

  • hermsen hermsen created ticket #23

    CreateProperties from variable declaration in FB