ProSoft Technology 5105-103M-PDPS User Manual
Page 47

5105-103M-PDPS ♦ ProLinx Gateway
Start Here
IEC 60870-5-103 Master to PROFIBUS Slave Gateway
User Manual
ProSoft Technology, Inc.
Page 47 of 144
November 24, 2010
1.9.4 Swap Code
N
O
C
HANGE
, W
ORD
S
WAP
, W
ORD AND
B
YTE
S
WAP
, B
YTE
S
WAP
You may need to swap the order of the bytes in the registers during the copy
process in order to change the alignment of bytes between dissimilar protocols.
This parameter is helpful when dealing with floating-point or other multi-register
values, as there is no standard method of storage of these data types in slave
devices.
The following table defines the values and their associated operations:
Swap Code
Description
No Swap
No change is made in the byte ordering (1234 = 1234)
Word Swap
The words are swapped (1234=3412)
Word and
Byte Swap
The words are swapped, then the bytes in each word are swapped (1234=4321)
Bytes
The bytes in each word are swapped (1234=2143)