Skip to content

Reconnecting GDS Port List Variables

Hello,

I have a problem in PLCnext Engineer for quite a long time now. I am using PLCnext Engineer 2024.6

The problem is that when I rebuilt my project in visual studio, then sometimes in PLCnext Engineer I get errors like this.

What I then have to do is disconnect all of these variables and reconnect them exactly the same way so that the error disappears. This happens in GDS Port List.

Since I have way too many variables and this is very time consuming is there a way I can work around this bug?

Thank you for your time in advance.

Comments

  • edited January 31

    Also if I have an array of Booleans (defined as a C# Visual Studio Struct like in your CSharpExamples) is there a way to connect a specific variable of my array to an actual Plc Input or Output? I ask this because when I have an array and I go to "Select Process data item here" my options do not appear.

    At least this way the first problem would be much less annoying

  • Regarding the first problem I described: it seems to be happening when I add another variable in an already existing struct which I have already connected part of its variables in PLCnext Engineer.


  • Also if I have an array of Booleans (defined as a C# Visual Studio Struct like in your CSharpExamples) is there a way to connect a specific variable of my array to an actual Plc Input or Output?

    I defined an array of BOOLs in C#, like shown in the examples in Github.

    In PLCnext Engineer, I defined a global variable of that array type.

    I am able to connect any element of that array to a PLC input or output from the "GDS Port List" tab of the Axioline window.


  • The problem of not being able to connect array elements to digital I/O only happens when trying to connect a "Process data item" in the general IEC 61131 Page, not the GDS Port List.

  • In the Data List tab, it's also possible to connect elements of a BOOL array to a PLC input or output:


    In your screen shot, I don't know what Process Data Item (I/O variable) is supposed to match with the variable of type "Array32_Integers". Which I/O module includes a process data variable of this type?

Sign In or Register to comment.