ProSoft Technology 5201-DFNT-104C User Manual
Page 37

104C Version 3 ♦ ProLinx Gateway
Configuring the Gateway
IEC 60870-5-104 Client (Firmware v3.xx)
Protocol Manual
ProSoft Technology, Inc.
Page 37 of 139
August 4, 2011
2.2.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)