4/30/2015 10:04 AM | |
Joined: 12/16/2012 Last visit: 11/14/2024 Posts: 654 Rating: (130) |
Hi! Have you seen chapter 5.1.1.2 from the Simotion documentation? https://support.industry.siemens.com/cs/document/48955385?lc=en-WW |
Last edited by: Kahl at: 4/30/2015 10:14:36 AMSee also on page 73 - at boBigEndian |
|
4/30/2015 12:04 PM | |
Joined: 9/8/2009 Last visit: 7/17/2023 Posts: 1410 Rating: (153) |
I do use STRUCT OVERLAP:
As for endianes, I have insterted DatagramLen := 12345678, the DatLen bytes are: [0] = 4E [1] = 61 [2] = BC [3] = 00 12345678 (dec) = BC614E (hex) from windows calculator. Wiki: Each byte of data in memory has its own address. Big-endian systems store the most significant byte of a word in the smallest address and the least significant byte is stored in the largest address (also see Most significant bit). Little-endian systems, in contrast, store the least significant byte in the smallest address So the D425 is Little-endian |
Follow us on