beautypg.com

Server side connection parameters – FieldServer FS-8700-08 User Manual

Page 11

background image

FS-8700-01 Modbus RTU/ASCIIFS-8700-01_Modbus_RTU.doc Driver Manual

Page 11 of 21

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com

Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]

6

CONFIGURING THE FIELDSERVER AS A MODBUS RTU OR MODBUS ASCII SERVER

For a detailed discussion on FieldServer configuration, please refer to the FieldServer Configuration Manual. The
information that follows describes how to expand upon the factory defaults provided in the configuration files
included with the FieldServer (See “.csv” sample files provided with the FieldServer).

This section documents and describes the parameters necessary for configuring the FieldServer to communicate
with a Modbus RTU or Modbus ASCII Client.

The configuration file tells the FieldServer about its interfaces, and the routing of data required. In order to enable
the FieldServer for Modbus RTU or Modbus ASCII communications, the driver independent FieldServer buffers
need to be declared in the “Data Arrays” section, the FieldServer virtual Node(s) needs to be declared in the
“Server Side Nodes” section, and the data to be provided to the clients needs to be mapped in the “Server Side
Map Descriptors” section. Details on how to do this can be found below.

Note that in the tables, * indicates an optional parameter, with the bold legal value being the default.

6.1

Server Side Connection Parameters

Section Title
Connections
Column Title

Function

Legal Values

Port

Specify which port the device is connected
to the FieldServer

P1-P8, R1-R2

8

Baud*

Specify baud rate

110 – 115200, standard baud rates only, 9600

Parity*

Specify parity

Even, Odd, None

Data_Bits*

Specify data bits

7, 8

Stop_Bits*

Specify stop bits

1, 2

Protocol

Specify protocol used

Modbus RTU
Modbus_RTU
Modbus ASCII
MB_ASCII


Example

Change protocol to MB_ASCII to use Modbus ASCII protocol

// Server Side Connections

Connections

Port

, Baud , Parity , Data_Bits , Stop_Bits , Protocol

P1

, 9600 , None

, 8

, 1

, Modbus_RTU

8

Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction manual for details of the ports available

on specific hardware.

This manual is related to the following products: