<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Comments in arrays and assigning RST coil's to 600 outputs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08b747f3e5/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08b747f3e5/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/08b747f3e5/</id><updated>2023-08-31T16:05:46.558000Z</updated><subtitle>Recent posts to Comments in arrays and assigning RST coil's to 600 outputs</subtitle><entry><title>Comments in arrays and assigning RST coil's to 600 outputs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08b747f3e5/?limit=25#168b" rel="alternate"/><published>2023-08-31T16:05:46.558000Z</published><updated>2023-08-31T16:05:46.558000Z</updated><author><name>garyl</name><uri>https://forge.codesys.com/u/garyl/</uri></author><id>https://forge.codesys.comde23f458e8e056df9270f5599c535546b2e421a2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;im working on a project that requires me to convert an old automation direct DirectSoft PLC d2-250-1.&lt;/p&gt;
&lt;p&gt;One of the problems im encountering is that all of the comments are attached to members of the different addresses. When i convert the addresses (1777 "C" registers, 777 X registers, and 20,0000 V registers) im running into difficulties keeping the inputs/outputs correct since they are missing documentation. Is there a good way to retain the comments of the indexes in the array?&lt;/p&gt;
&lt;p&gt;Secondly, initially i was declaring the "C" and "V" addresses individually and this worked to retain the comments as to which register did what, however i ran into a problem when one rung reset (or set to 0) approximately 600 C Addresses. Since each tag is separately declared this proved to be nearly impossible without a literal wall of code that attempted to crash the program. So i converted all of the registers (C,X,Y,V) into separate structs, declared them as arrays and pointed all of the original call outs in the program to the newly defined structs. However i have now lost comments and the program is very hard to follow.&lt;/p&gt;
&lt;p&gt;Thanks for any help with this issue.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>