beautypg.com

ProSoft Technology PLX31-EIP-SIE User Manual

Page 103

background image

PLX3x Series

MBTCP Protocol

Ethernet and Serial Gateways

User Manual

ProSoft Technology, Inc.

Page 103 of 218

September 17, 2014

Parameter

Value

Description

interpreted as a bit-level address.
For Modbus functions 3, 4, 6, and 16, this parameter is
interpreted as a register-level address.

Poll Interval

0 to 65535

Specifies the minimum interval between executions of continuous
commands. The value is in tenths of a second. Therefore, if a
value of 100 is entered, the command will execute no more
frequently than once every 10 seconds.

Reg Count

1 to 125 (for

registers)

or
1 to 800 (for
coils)

This parameter specifies the number of 16-bit registers or binary

bits to be transferred by the command.

Modbus functions 5 and 6 ignore this field as they apply only to a
single data point.

For Modbus functions 1, 2, and 15, this parameter sets the
number of bits (inputs or coils) to be transferred by the command.

For Modbus functions 3, 4, and 16, this parameter sets the
number of registers to be transferred by the command.

Swap Code

No Change
Word Swap
Word and Byte
Swap
Byte Swap

Specifies 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.
No change(0) - No change is made in the byte ordering (1234 =
1234)
Word Swap (1) -The words are swapped (1234=3412)
Word and Byte Swap (2) - The words are swapped, then the
bytes in each word are swapped (1234=4321)
Byte Swap (3) - 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.

Node IP
Address

xxx.xxx.xxx.xxx

IP address of the device being addressed by the command.

Serv Port

502 or other
supported port
on server

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

Slave
Address

1 to 255 (0 is a
broadcast)

Specifies the node address of a remote Modbus Serial device
through a Modbus Ethernet to Serial converter. Values of 1 to 255
are permitted.
Note: Most Modbus devices only accept addresses in the range
of 1 to 247, so check with the slave device manufacturer to see if
a particular slave can use addresses 248 to 255.
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 node address 0 for
read operations.

Modbus

1, 2, 3, 4, 5, 6,
15, or 16

Specifies the Modbus Function Code to be executed by the