12/20/2021 1:12 PM | |
Joined: 12/28/2016 Last visit: 11/12/2024 Posts: 364 Rating:
|
Hi I am using the example below as FC501 https://support.industry.siemens.com/tf/ww/en/posts/copy-data-from-16-diffrent-input-to-one-word/114417/?page=0&pageSize=10 To combine 16 Inputs in a single Word in step7 V5.5 So I haveInput1 to Input16and Output is DB1.DBW0 So I noticed that when Input1 is True it is reflected as address DB1.DBX1.0 (becomes True) which I believe is Bit 8 (Bit 0 t0 Bit 15 ) However when I use this word on HMI MP277 Wincc flexible then the Input1 is reflected as Bit 0 of the Word Tag . How to make sense of it AttachmentFC501.zip (436 Downloads) |
With kind regards... |
|
12/20/2021 1:25 PM | |
Joined: 9/23/2005 Last visit: 9/15/2025 Posts: 5116 Rating:
|
The answer is endianness. This property describes how computer systems store data longer than 1 byte in memory, i.e. what is byte order of such data. S7-300/400 are big endian. While Windows systems (on which WinCC runs) are low endian. |
Last edited by: jacek d at: 12/20/2021 13:27:11Regards, |
|
This contribution was helpful to
3 thankful Users |
Follow us on