<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Data alignment in target creation.</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/b9f81969b4/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/b9f81969b4/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/b9f81969b4/</id><updated>2020-02-27T18:59:42.313000Z</updated><subtitle>Recent posts to Data alignment in target creation.</subtitle><entry><title>Data alignment in target creation.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/b9f81969b4/?limit=25#af2e" rel="alternate"/><published>2020-02-27T18:59:42.313000Z</published><updated>2020-02-27T18:59:42.313000Z</updated><author><name>JussiKoo</name><uri>https://forge.codesys.com/u/jussikoo/</uri></author><id>https://forge.codesys.com503fc4b54cf38619f39047c13067de9ae77a8d0c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I need to create a new target for PLCWinNT. This is done by 3S's software MakeTarget.exe.&lt;br/&gt;
We are going to simulate HW module in PC laptop by running code in soft PLC, so we need to create a target that works just like the real HW. &lt;br/&gt;
This has worked fine until now, when we have a new 32-bit module to simulate. &lt;/p&gt;
&lt;p&gt;Its configuration file's (.cfg) root section says that its Data Alignment is 4.&lt;br/&gt;
Like this:&lt;br/&gt;
&lt;span&gt;[Module.Root]&lt;/span&gt;&lt;br/&gt;
Alignment=4&lt;/p&gt;
&lt;p&gt;All inputs to the MakeTarget.exe are specified in document TSP_Creating_E_V23.pdf. &lt;br/&gt;
But this data alignment is not mentioned in the document at all.&lt;/p&gt;
&lt;p&gt;How should I take care of it when writing the .txt file that it takes as an input?&lt;/p&gt;
&lt;p&gt;Target platform is:&lt;br/&gt;
Platform=Intel 386 compatible&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>