HMS Networks Anybus Communicator ABC4021 User Manual page 34

Ethercat slave to profibus dp device
Table of Contents

Advertisement

®
Anybus
Communicator
- EtherCAT Slave to PROFIBUS DP Device
Convert Between Big-Endian and Little-Endian
To convert between big-endian and little-endian you must reverse the byte order.
Figure 20. I/O data map, Endian swap
To reverse the byte order:
1.
In the web-interface left sidebar menu, click .
2.
Select the endian swap type from the Endian swap drop-down menu.
Setting
No swapping
Bytes
Words
Bytes and words
Detailed swap
3.
To apply the settings, click Apply in the web-interface header, and follow the instructions.
Page 30 of 56
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
With Detailed swap, you can select a Endian swap method for each byte in the I/O Configuration.
Set the endian swap type No swap, Bytes, AB → BA, Word swap, ABCD → CDAB or Bytes and words,
ABCD → DCBA for each bite. See
Build Detailed Endian Swap (page
I/O Configuration
31).
SCM-1202-198 Version 1.0

Advertisement

Table of Contents
loading

Table of Contents