<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Array of array</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3d2cff3f9b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3d2cff3f9b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/3d2cff3f9b/</id><updated>2021-05-28T08:02:20.354000Z</updated><subtitle>Recent posts to Array of array</subtitle><entry><title>Array of array</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3d2cff3f9b/?limit=25#dd93" rel="alternate"/><published>2021-05-28T08:02:20.354000Z</published><updated>2021-05-28T08:02:20.354000Z</updated><author><name>galexis</name><uri>https://forge.codesys.com/u/galexis/</uri></author><id>https://forge.codesys.com8016062c22bdaf4174eef975f7f3fcee7d9dfd8c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ok it work.&lt;br/&gt;
I have inverse &lt;span&gt;[1..30]&lt;/span&gt; et &lt;span&gt;[1..48]&lt;/span&gt; in my project.&lt;br/&gt;
Thank you very much !&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Array of array</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3d2cff3f9b/?limit=25#820b" rel="alternate"/><published>2021-05-27T14:38:08.798000Z</published><updated>2021-05-27T14:38:08.798000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.comd0242e6ae1f7b73cf71a34854d02d233cdb9d26e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This works for me&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Array of array</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3d2cff3f9b/?limit=25#6908" rel="alternate"/><published>2021-05-27T14:36:15.208000Z</published><updated>2021-05-27T14:36:15.208000Z</updated><author><name>galexis</name><uri>https://forge.codesys.com/u/galexis/</uri></author><id>https://forge.codesys.com0cb7d50cf3e731943bf492819edead955d6042a1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I want introduce in frame only 1 column, because I don't want to configure all column of array of array.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Array of array</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3d2cff3f9b/?limit=25#8a52" rel="alternate"/><published>2021-05-27T14:19:29.178000Z</published><updated>2021-05-27T14:19:29.178000Z</updated><author><name>galexis</name><uri>https://forge.codesys.com/u/galexis/</uri></author><id>https://forge.codesys.coma253c16bdddf7e365acc4d43aec922cf9e8225fa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I forget ARRAY when I write the post, because it's not a copy/paste from the project. In my project it's ok.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Array of array</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3d2cff3f9b/?limit=25#237f" rel="alternate"/><published>2021-05-27T09:27:43.187000Z</published><updated>2021-05-27T09:27:43.187000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.coma218a900aa7f9f21323ddc053d75b94da64c4610</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;I think there a few issues. &lt;br/&gt;
&lt;em&gt; Both your declarations in the GVL and Frame are missing 'Array'&lt;br/&gt;
&lt;/em&gt; The array size of your frame declaration does not match the size declared in the GVL (30 vs 48)&lt;br/&gt;
* The initial value of ColumnToEdit should be at least 1 to not access invalid data&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Array of array</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3d2cff3f9b/?limit=25#8fbc" rel="alternate"/><published>2021-05-27T08:24:20.454000Z</published><updated>2021-05-27T08:24:20.454000Z</updated><author><name>galexis</name><uri>https://forge.codesys.com/u/galexis/</uri></author><id>https://forge.codesys.comcc39c3929bc365b57f99076440036bbc7cf64f42</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;HI,&lt;br/&gt;
On webvisu, I would like to make a frame to display a table. &lt;br/&gt;
On variable input /output I have an array of array of BOOL. 30 lines of 48 column wich contain BOOL.&lt;br/&gt;
I want display only 1 column shoes with variable&lt;/p&gt;
&lt;p&gt;GVL:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;VAR&lt;/span&gt;
&lt;span class="err"&gt;MyArray : [1..30] OF ARRAY [1..48] OF BOOL;&lt;/span&gt;
&lt;span class="c"&gt;ColumnToEdit: INT;&lt;/span&gt;
&lt;span class="err"&gt;END_VAR&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Frame:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;VAR_IN_OUT&lt;/span&gt;
&lt;span class="err"&gt;    MyColumn: [1..30] OF BOOL;&lt;/span&gt;
&lt;span class="err"&gt;END_VAR&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;In the table on the frame, I call variable MyColumn.&lt;/p&gt;
&lt;p&gt;How to call only column X ?&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;GVL&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;MyArray&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;ColumnToEdit&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This refernce create an error.&lt;/p&gt;
&lt;p&gt;For array of array, what is the structure for call ? MyArray&lt;span&gt;[column, line]&lt;/span&gt; ? MyArray&lt;span&gt;[line, column]&lt;/span&gt; ?&lt;/p&gt;
&lt;p&gt;Sorry for my bad english....&lt;br/&gt;
Thank you very much for your help.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>