ProSoft Technology MVI69E-MBTCP User Manual
Page 52
Configuring the MVI69E-MBTCP Using PCB
MVI69E-MBTCP ♦ CompactLogix Platform
User Manual
Modbus TCP/IP Enhanced Communication Module
Page 52 of 150
ProSoft Technology, Inc.
May 20, 2015
Parameter
Value
Description
Enable
Disable, Enable,
Conditional,
Bit/Word Override,
Float Override
Specifies whether the command is executed and under what
conditions.
D
ISABLE
(0) = The command is disabled and is not executed in the
normal polling sequence.
E
NABLE
(1) = The command is executed each scan of the command
list if the Poll Interval (see below) is set to zero. If the Poll Interval is
set to a nonzero value, the command is executed when the interval
timer expires.
C
ONDITIONAL
(2) = For write commands only. The command executes
only if the internal data associated with the command changes.
B
IT
/W
ORD
O
VERRIDE
(3) = For read commands only. If a command
error occurs, the module overrides the associated database area with
the Override Value Upon Error parameter value.
F
LOAT
O
VERRIDE
(4) = For read commands only. If a command error
occurs, the module overrides the associated database area (2x word
count) with the Override Value Upon Error parameter value.
Internal Address
0 to 9999 (word-
level)
or
0 to 65535 (bit-level)
Specifies the module’s internal database register to be associated
with the command. Allowable range is 0 to 9999 for Modbus Function
Codes 3, 4, 6, or 16, and 0 to 65535 for Modbus Function Codes 1, 2,
5, or 15.
If the command is a read function, the data read from the server
device is stored
beginning at the module’s internal database register
value entered in this field. This register value must be in the Read
Data area of the module’s memory, defined by the Read Register
Start and Read Register Count parameters in the Module section.
If the command is a write function, the data to be written to the server
device is sourced
beginning from the module’s internal database
register specified. This register value must come from the Write Data
are
a of the module’s memory, defined by the Write Register Start and
Write Register Count parameters in the Module section.
Poll Interval
0 to 65535 seconds Specifies the minimum interval between executions of continuous
commands (Enable code = 1).
Example: If you set the value to 10, the command executes no more
frequently than once 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
No Change,
Word Swap,
Word and Byte
Swap,
Byte Swap
Defines if the data received from the Modbus server is to be ordered
differently than received from the server device. This parameter is
helpful when dealing with floating-point or other multi-register values,
as there is no standard method of storing these data types in server
devices. You can set this parameter to order the register data
received in an order useful by other applications.
N
O
C
HANGE
= No change is made in the byte ordering (ABCD =
ABCD)
W
ORD
S
WAP
= The words are swapped (ABCD= CDAB)
W
ORD AND
B
YTE
S
WAP
= The words are swapped, then the bytes in
each word are swapped (ABCD=DCBA)
B
YTE
S
WAP
= The bytes in each word are swapped (ABCD=BADC)
Note: Each pair of characters is a byte (example: AB and CD). Two
pairs of characters is a 16-bit register (example: ABCD).