Swap code, Node ip address, Service port – ProSoft Technology MVI71-MNET User Manual

Page 35: Slave address

Advertising
background image

Module Configuration

MVI71-MNET ♦ PLC Platform

User Manual

Modbus TCP/IP Interface Module


ProSoft Technology, Inc.

Page 35 of 109

June 23, 2009

Swap Code

0, 1, 2, 3

This parameter defines if the data received from the 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 storage of these data types in Server devices. This parameter can be
set to order the register data received in an order useful by other applications.
The following table defines the values and their associated operations:

Swap Code

Description

0

None - No Change is made in the byte ordering (1234 = 1234)

1

Words - The words are swapped (1234=3412)

2

Words & Bytes - The words are swapped then the bytes in each word are
swapped (1234=4321)

3

Bytes - The bytes in each word are swapped (1234=2143)

The words should be swapped only when using an even number of words.

Node IP Address

xxx.xxx.xxx.xxx

The IP address of the device being addressed by the command.

Service Port

502 or other supported ports on server

Use a value of 502 when addressing Modbus TCP/IP servers that are compatible
with the Schneider Electric MBAP specifications (this will be most devices). If a
server implementation supports another service port, enter the value here.

Slave Address

1 to 255 (0 is a broadcast)

This parameter specifies the Modbus slave node address on the network to be
considered. Values of 1 to 255 are permitted.

Note: Most Modbus devices only accept an address in the range of 1 to 247, so be careful. If the
value is set to zero, the command will be a broadcast message on the network. The Modbus
protocol permits broadcast commands for write operations. Do not use this node address for read
operations.

Advertising
This manual is related to the following products: