ProSoft Technology MVI69E-MBTCP User Manual

Page 53

Advertising
background image

MVI69E-MBTCP ♦ CompactLogix Platform

Configuring the MVI69E-MBTCP Using PCB

Modbus TCP/IP Enhanced Communication Module

User Manual

ProSoft Technology, Inc.

Page 53 of 150

May 20, 2015

Node IP Address

xxx.xxx.xxx.xxx

Specifies the IP address of the target device being addressed by the
command.

Service Port

1 to 9999

Use a value of 502 when addressing Modbus TCP/IP servers which
are compatible with the Schneider Electric MBAP specifications (most
devices).

If a server implementation supports another service port, enter the
value here. Service Port 2000 is common for encapsulated format
messages.

Slave Address

0 to 255

Mainly used for Modbus TCP/IP to serial conversion. This specifies
the Modbus slave node address on the serial network to be
considered.

If a Modbus TCP/IP server device does not have or need a slave
address, use a value of ‘1’.
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 9999

Specifies the register or digital point address offset within the Modbus
server device. The MBTCP client reads or writes from/to this address
within the server.

Refer to the documentation of each Modbus server device for their
register and digital point address assignments.

Note: The value you enter here does not need to include the "Modbus
Prefix" addressing scheme. Also, this value is an offset of the zero-
based Modbus addressing scheme.

Example: When using a Modbus Function Code 3 to read from
address 40010 in the server, enter a value of ‘9’ for this parameter.
The firmware (internally) adds a ‘40001’ offset to the value entered.
This is the same for all Modbus addresses (0x, 1x, 3x, 4x).

Override Value
Upon Error

This parameter is only applicable when the Enable parameter is 3
(Bit/Word Override) or 4 (Float Override).

If an error occurs associated with a read command, the module
automatically populates the associated database area with this
override value.

Advertising