beautypg.com

2 [port – ProSoft Technology MVI94-MCM-MHI User Manual

Page 21

background image

MVI94-MCM ♦ Flex I/O Platform

Configuration

Serial Communications Modbus Communication Module

User Manual

ProSoft Technology, Inc.

Page 21 of 109

March 29, 2011

3.2

[Port]

The [PORT] section of the configuration file sets the Modbus port communication

parameters. The following table lists the parameters defined in this section.

[Section]/Item

Value

Range

Description

[PORT]

Configuration header for communication port.

Type:

0, 1, 3, 4

This parameter specifies if the port will emulate a

Modbus master device (0), a Modbus slave device

without pass-through (1), a Modbus slave device
with pass-through and data swapping (3), or a

Modbus slave device with pass-through (4).

Float Flag

Yes or No

This flag specifies if the floating point data access

functionality is to be implemented. If the float flag
is set to Yes, Modbus functions 3, 6, and 16 will

interpret floating point values for registers as

specified by the following two parameters.

Float Start

0 to 32767

This parameter defines the first register of floating

point data. All requests with register values
greater than or equal to this value will be

considered floating point data requests. This

parameter is only used in the Float Flag is

enabled. For example, if a value of 7000 is
entered, all requests for registers 7000 and above

are considered as floating point data.

Float Offset

0 to 3995

This parameter defines the start register for

floating point data in the internal database. This

parameter is only used if the Float Flag is enabled.
For example, if the Float Offset value is set to

3000 and the Float Start parameter is set to 7000,

data requests for register 7000 will use the internal

Modbus register 3000.

Protocol

0 or 1

This parameter specifies the Modbus protocol to
be used on the port. Valid protocols are 0 =

Modbus RTU and 1 = Modbus ASCII.

Baud Rate:

110 to 115K

This is the baud rate to be used on the port. Enter

the baud rate as a value. For example, to select

19K baud, enter 19200. Valid entry for this field
include: 110, 150, 300, 600, 1200, 2400, 4800,

9600, 19200, 28800, 38400, 57600, and 115.

Parity:

None, Odd, or

Even

This is the parity setting for the port.

Data Bits:

5 or 8

This parameter sets the number of data bits for
each word used by the protocol.

Stop Bits:

1 or 2

This parameter sets the number of stop bits for
each data value sent.

RTS On:

0 to 65535

This parameter sets the number of milliseconds to

delay after RTS is asserted before the data is

transmitted.

RTS Off:

0 to 65535

This parameter sets the number of milliseconds to
delay after the last byte of data is sent before the

RTS modem signal will be set low.

This manual is related to the following products: