From address, To address, Register count – ProSoft Technology 5201-MNET-ASCII User Manual
Page 32: Swap code
Modbus TCP/IP Protocol Configuration
MNET ♦ ProLinx Gateway
Driver Manual
Modbus TCP/IP Interface Module
Page 32 of 78
ProSoft Technology, Inc.
September 1, 2010
2.6.1 From Address
0 to highest Status Data address
This field specifies the beginning internal database register address for the copy
operation. This address can be any valid address in the User Data Area or the
Status Data Area of the gateway.
2.6.2 To Address
0 to 3999
This parameter specifies the beginning destination register address for the copy
operation. This address must always be within the User Data registers area.
Take care to specify a destination address that will not overwrite data that has
been stored in memory by one of the communication protocols running on the
gateway.
2.6.3 Register Count
1 to 100
This parameter specifies the number of registers to copy.
2.6.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)
- 5201-MNET-DFCM 5208-MNET-HART 5303-MBP-MNET 5204SE-MNET-PDPMV1 5202-MNET-ADM4 5201-MNET-BACNET 5210-MNET-RIO 5228-MNET-HART 5207-MNET-HART 5205-MNET-PDPS 5204-MNET-PDPMV1 5201-MNET-DH485 5201-MNET-104S 5201-MNET-EGD 5201-MNET-DFNT 5201-MNET-DNPSNET 5201-MNET-103M 5201-MNET-101S 5201-MNET-DNPS 5201-MNET-DNPM 5202-MNET-DFCM4 5202-MNET-ASCII4