MVI69E-MBS ♦ CompactLogix™ Platform
Configuring the MVI69E-MBS Using PCB
Modbus Serial Enhanced Communication Module
User Manual
ProSoft Technology, Inc.
Page 46 of 159
Example:
The parameter is entered in 1/10th of a second.
Therefore, if a value of 100 is entered, the command executes
no more frequently than every 10 seconds. When the
command reaches the top of the command queue and 10
seconds has not elapsed, it is skipped until the poll interval
has expired.
Register Count
1 to 125 (words)
or
1 to 800 (coils)
Specifies the number of registers or digital points to be
associated with the command. Modbus Function Codes 5 and
6 ignore this field as they only apply to a single data point.
For Modbus Function Codes 1, 2 and 15, this parameter sets
the number of single bit digital points (inputs or coils) to be
associated with the command.
For Modbus Function Codes 3, 4 and 16, this parameter sets
the number of 16-bit registers to be associated with the
command.
Swap Code
0,1,2,3
Defines if the data received from the Modbus slave is to be
ordered differently than received from the slave device. 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. You can set this
parameter to order the register data received in an order
useful by other applications.
No Change
(0)= No change is made in the byte ordering
(ABCD = ABCD)
Word Swap
(1)= The words are swapped (ABCD= CDAB)
Word and Byte Swap
(2) = The words are swapped, then the
bytes in each word are swapped (ABCD=DCBA)
Byte Swap
(3) = The bytes in each word are swapped
(ABCD=BADC)
Note:
Each pair of characters is a byte. Ex: AB and CD. Two
pairs of characters is 16-bit register Ex: ABCD.
Node Address
1 to 255
(0 = broadcast)
Specifies the Modbus slave node address on the network to
be considered. Most Modbus devices only accept an address
in the range of 1 to 247. If you set the value to zero, the
command is a broadcast message on the network. The
Modbus protocol permits broadcast commands for write
operations. Do not use this node address for read operations.
Modbus Function 1,2,3,4,5,6,15,16
Specifies the Modbus function to be executed by the
command. These function codes are defined in the Modbus
protocol.
1
– Read Coil Status (0xxxx)
2
– Read Input Status (1xxxx)
3
– Read Holding Registers (4xxxx)
4
– Read Input Registers (3xxxx)
5
– Force (Write Single) Coil (0xxxx)
6
– Force (Write Single) Holding Register (4xxxx)
15
– Preset (Write) Multiple Coils (0xxxx)
16
– Preset (Write) Multiple Registers (4xxxx)
MB Address in
Device
0 to 65535
Specifies the register or digital point address offset within the
Modbus slave device. The MBS Master reads or writes
from/to this address within the slave.
Refer to the documentation of each Modbus slave device for
their register and digital point address assignments.
Note: The value entered here does not need to include the
"Modbus Prefix" addressing scheme. Also, this value is an
offset of the zero-based Modbus addressing scheme.