1/5/2023 2:48 PM | |
Joined: 9/27/2006 Last visit: 2/14/2025 Posts: 12336 Rating:
|
Hello Anteroinen; Historically, when Intel and Motorola started building their 8- and 16-bit architectures, each chose a different order in which the bytes were sent during data exchanges. Motorola selected Big-Endian ordering, Intel chose Little-Endian. The screenshot below shows how each endian structure works. When you want to exchange data between the 2 systems ypu have to resort to byte-swaping so that the receiver can understand the sent message correcty. Whenever you exchange data between a S7-300 or 1200 over Modbus to a Controllogix CPU this is the case, for example. A lot more information can be found in this Wikipedia article: https://en.wikipedia.org/wiki/Endianness In case you are interested in the origin of the concept word "Endian", the artice explains it in this fashion: The adjective endian has its origin in the writings of 18th century Anglo-Irish writerJonathan Swift. In the 1726 novel Gulliver's Travels, he portrays the conflict between sects of Lilliputians divided into those breaking the shell of a boiled egg from the big end or from the little end. He called them the Big-Endians and the Little-Endians. Hope this helps, Daniel Chartier
|
Last edited by: dchartier at: 01/05/2023 14:58:55 |
|
This contribution was helpful to
1 thankful Users |
Follow us on