HMS Networks Anybus Communicator ABC3028 User Manual page 78

Modbus tcp to modbus rtu/serial
Table of Contents

Advertisement

Communicator Configuration
7.10.5
Endian Swap
In most cases, no endian swap is needed, as both Modbus TCP and Modbus-RTU use big-endian
by default.
Big-endian
The big-endian format places the most significant byte of the data at the byte with the lowest
memory address.
Little-endian
The little-endian format places the least significant byte of the data at the byte with the lowest
memory address.
To convert between big-endian and little-endian you must reverse the byte order.
To reverse the byte order:
1.
In the web-interface left sidebar menu, click I/O data map.
2.
In the data map, select the transaction for which you want to do swap the byte order.
3.
Select the swapping type from the Endian swap drop-down menu.
Setting
No swapping
Byte swap
Word swap
Byte and Word swap
4.
To apply the settings, click Apply in the web-interface header, and follow the instructions.
®
Anybus
Communicator
User Manual
Description
Default setting
No swapping is performed on the data.
Swap 2 bytes
A B C D becomes B A D C
Swap 4 bytes
A B C D becomes C D A B
A B C D becomes D C B A
76 (124)
SCM-1202-162 1.1 en-US

Advertisement

Table of Contents
loading

Table of Contents