ProSoft Technology 5301-MBP-ASCII User Manual
Page 27

MBP ♦ ProLinx Gateway
MBP Protocol Configuration
Modbus Plus
Protocol Manual
ProSoft Technology, Inc.
Page 27 of 52
May 12, 2011
3.3.3 Poll Interval
0 to 65535
This parameter specifies the minimum interval to execute continuous commands
(Enable code of 1). The parameter is entered in units of seconds. Therefore, if a
value of 10 is entered for a command, the command will execute no more
frequently than every 10 seconds.
3.3.4 Count
1 to 125
This parameter specifies the number of registers to associate with the command.
Functions 5 and 6 ignore this field as they only apply to a single data point.
For functions 3 and 16, this parameter sets the number of registers to be
associated with the command.
3.3.5 Swap Code
N
ONE
S
WAP
W
ORDS
S
WAP
W
ORDS
&
B
YTES
S
WAP
B
YTES
This parameter defines if and how the order of bytes in data received or sent is to
be rearranged. This option exists to allow for the fact that different manufacturers
store and transmit multi-byte data in different combinations. This parameter is
helpful when dealing with floating-point or other multi-byte values, as there is no
one standard method of storing these data types. The parameter can be set to
rearrange the byte order of data received or sent into an order more useful or
convenient for other applications. The following table defines the valid Swap
Code values and the effect they have on the byte-order of the data.
Swap Code
Description
N
ONE
No change is made in the byte ordering (1234 = 1234)
S
WAP
W
ORDS
The words are swapped (1234=3412)
S
WAP
W
ORDS
&
B
YTES
The words are swapped, then the bytes in each word are swapped
(1234=4321)
S
WAP
B
YTES
The bytes in each word are swapped (1234=2143)
These swap operations affect 4-byte (or 2-word) groups of data. Therefore, data
swapping using these Swap Codes should be done only when using an even
number of words, such as when 32-bit integer or floating-point data is involved.