CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

Data alignment in target creation.
https://forum.codesys.com/viewtopic.php?f=4&t=5038
Page 1 of 1

Author:  JussiKoo [ Tue Oct 02, 2012 6:11 am ]
Post subject:  Data alignment in target creation.

Hi all,

I need to create a new target for PLCWinNT. This is done by 3S's software MakeTarget.exe.
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.
This has worked fine until now, when we have a new 32-bit module to simulate.

Its configuration file's (.cfg) root section says that its Data Alignment is 4.
Like this:
[Module.Root]
Alignment=4

All inputs to the MakeTarget.exe are specified in document TSP_Creating_E_V23.pdf.
But this data alignment is not mentioned in the document at all.

How should I take care of it when writing the .txt file that it takes as an input?

Target platform is:
Platform=Intel 386 compatible

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/