A Sierra Monitor Company
Driver Manual
(Supplement to the FieldServer Instruction Manual)
FS-8700-02 Modbus Plus
APPLICABILITY & EFFECTIVITY
Effective for all systems manufactured after May 1, 2001
Instruction Manual Part Number FS-8700-02
Version 1.00
Revision 1a
5/24/2002
Download from Www.Somanuals.com. All Manuals Search And Download.
FS -8700-02 Modbus Plus
Driver Manual
1. Modbus Plus Description
The Modbus Plus driver allows the FieldServer to transfer data to and from devices using
Modbus Plus protocol. The FieldServer can emulate either a Server or Client.
The information that follows describes how to expand upon the factory defaults provided in the
configuration files included with the FieldServer.
The FieldServer is shipped with the switches set of a default address of 11.
Set the Modbus Plus address switches 1--6 to the address in your application. Switches 7 and 8
are not used.
Switch 1 is the least significant bit of the address. Switch 6 is the most significant bit. The address
will be one higher than the binary value you set into the switches.
1.1 Hardware/Software
Supplied by FieldServer
FieldServer
Technologies PART #
FS-8915-01
DESCRIPTION
Adapter Card, Modbus Plus, Single Port. User must supply
Modbus Plus cables and connectors, including termination
connectors as documented by Group Schneider/Modicon
Provided by user
PART #
DESCRIPTION
Refer to the Drawings in section 3
1
Modbus Plus Client, e.g. Wonderware, Intellution FIX, GE
Cimplicity, etc.2
1 If FieldServer used as Modbus Plus Client.
2 If FieldServer used as Modbus Plus Server.
Table 1: Modbus Plus Addresses and Switch Settings
Address Switches 6--1
Address Switches 6--1
Address Switches 6--1
1
0 0 0 0 0 0
0 0 0 0 0 1
0 0 0 0 1 0
0 0 0 0 1 1
0 0 0 1 0 0
0 0 0 1 0 1
0 0 0 1 1 0
0 0 0 1 1 1
0 0 1 0 0 0
0 0 1 0 0 1
0 0 1 0 1 0
0 0 1 0 1 1
0 0 1 1 0 0
23
24
25
26
27
28
29
30
31
32
33
34
35
0 1 0 1 1 0
0 1 0 1 1 1
0 1 1 0 0 0
0 1 1 0 0 1
0 1 1 0 1 0
0 1 1 0 1 1
0 1 1 1 0 0
0 1 1 1 0 1
0 1 1 1 1 0
0 1 1 1 1 1
1 0 0 0 0 0
1 0 0 0 0 1
1 0 0 0 1 0
45
46
47
48
49
50
51
52
53
54
55
56
57
1 0 1 1 0 0
1 0 1 1 0 1
1 0 1 1 1 0
1 0 1 1 1 1
1 1 0 0 0 0
1 1 0 0 0 1
1 1 0 0 1 0
1 1 0 0 1 1
1 1 0 1 0 0
1 1 0 1 0 1
1 1 0 1 1 0
1 1 0 1 1 1
1 1 1 0 0 0
2
3
4
5
6
7
8
9
10
11*
12
13
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042
Page 1
Download from Www.Somanuals.com. All Manuals Search And Download.
FS -8700-02 Modbus Plus
Driver Manual
Address Switches 6--1
Address Switches 6--1
Address Switches 6--1
14
15
16
17
18
19
20
21
22
0 0 1 1 0 1
0 0 1 1 1 0
0 0 1 1 1 1
0 1 0 0 0 0
0 1 0 0 0 1
0 1 0 0 1 0
0 1 0 0 1 1
0 1 0 1 0 0
0 1 0 1 0 1
36
37
38
39
40
41
42
43
44
1 0 0 0 1 1
1 0 0 1 0 0
1 0 0 1 0 1
1 0 0 1 1 0
1 0 0 1 1 1
1 0 1 0 0 0
1 0 1 0 0 1
1 0 1 0 1 0
1 0 1 0 1 1
58
59
60
61
62
63
64
1 1 1 0 0 1
1 1 1 0 1 0
1 1 1 0 1 1
1 1 1 1 0 0
1 1 1 1 0 1
1 1 1 1 1 0
1 1 1 1 1 1
* = default
Table 2: Summary of Modbus Data Access Commands
Function Code (Decimal)
1
2
3
4
5
Command Name
Read Discrete Output Status (0xxxx)
Read Discrete Input Status (1xxxx)
Read Output Register (4xxxx)
Read Input Register (3xxxx)
Force Single Coil (0xxxx)
6
15
16
Preset Single Register (4xxxx)
Force Multiple Coils (0xxxx)
Preset Multiple Registers (4xxxx)
Modbus Plus Card Indicators
The Modbus Plus card has an indicator that flashes a repetitive pattern to show its network
communication status, plus two indicators which identify communication errors on the two
Modbus Plus cable paths. Note that one error indicator will be lit normally in single-cable
installations, showing that a second cable does not exist.
Table 3: Modbus Plus Active Indicator Patterns
Indicator Pattern (Green)
Six flashes/second
Status
Normal operating state. All nodes on a healthy
network flash this pattern
One flash/second
The node is off-line. After being in this state for 5
seconds, the node attempts to go to its normal
operating state.
Two flashes, then OFF for 2 The node detects the network token being passed
seconds
among other nodes, but it never receives the
token.
Three flashes, then OFF for
1.7 seconds
The node does not detect any token passing on the
network.
Four flashes, then OFF for
1.4 seconds
The node has detected another node using the
same address.
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042
Page 2
Download from Www.Somanuals.com. All Manuals Search And Download.
FS -8700-02 Modbus Plus
Driver Manual
2. FieldServer as a Modbus Plus Client
2.1 Hardware Connections
It is possible to connect a Modbus RTU device to any of the eight RS232 ports or two RS485
ports. These ports just need to be configured for Modbus RTU in the configuration file.
Configure the PLC according to manufacturer’s instructions.
2.2 Configuration File Structure
Refer to section 4.1 of the Instruction Manual for a description of the operation principle
of the FieldServer. The following tables describe parameters that need to be filled out in
the configuration file. For convenience, a few example parameters already exist in the
supplied PRIMSERV.CSV and SECDSERV.CSV files.
Note that * indicates an optional parameter, with the bold legal value being the default.
2.2.1 Data Arrays
Section Title
Data_Arrays
Column Title
Data_Array_Name
Function
Provide name for Data Array
Legal Values
Up to 15
alphanumeric
characters
Data_Format
Provides data format
INT16, INT32, BIT,
FLOAT
Data_Array_Length
Number of Data Objects
1-10,000
2.2.2 Client Side Connections
Section Title
Connections
Column Title
Adapter
Function
Adapter name
Legal Values
MBP
2.2.3 Client Side Nodes
Section Title
Nodes
Column Title
Node_Name
Function
Provide name for node
Legal Values
Up to 32
alphanumeric
characters
Route
Modbus Plus Path
Note 1*
Protocol
Specify protocol used
Modbus Plus
Note 1: Refer to the Modicon user guide 890 USE 102 00 for details on path
establishment. In general, the first number is the Destination BM85 MAC address,
the second number represents the internal path, and the third number is the
destination node. This varies if the BM85 is not connected to the FieldServer.
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042
Page 3
Download from Www.Somanuals.com. All Manuals Search And Download.
FS -8700-02 Modbus Plus
Driver Manual
2.2.4 Client Side Map Descriptors
Section Title
Map_Descriptors
Column Title
Map_Descriptor_Name
Function
Name of this Map Descriptor Up to 32
alphanumeric
characters
Legal Values
Data_Array_Name
Data_Array_Offset
Name of Data Array where
data is to be stored in the
FieldServer
Starting location in Data
Array
One of the Data Array
names from “Data
Array” section above
0 to maximum
specified in “Data
Array” section above
RDBC
Function
Function of Client Map
Descriptor
Node_Name
Name of Node to fetch data
from
One of the node
names specified in
“Client Node
Descriptor” above
Address
Length
Starting address of read block 40001, 30001, etc
Number of items to read
1 - 125
Data_Array_Low_Scale* Scaling zero in Data Array
-32767 to 32767,
default 0
Data_Array_High_Scale* Scaling max in Data Array
-32767 to 32767,
default 100
Node_Low_Scale*
Node_High_Scale*
Scaling zero in Connected
Node
Scaling max in Connected
Node
-32767 to 32767,
default 0
-32767 to 32767,
default 100
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042
Page 4
Download from Www.Somanuals.com. All Manuals Search And Download.
FS -8700-02 Modbus Plus
Driver Manual
3. FieldServer as a Modbus Plus Server
3.1 Hardware Connections
Refer to the Drawings in section 4
Configure the Modbus Plus client according to manufacturer’s instructions (refer to
section below on examples of FieldServer setup for typical clients
3.2 Configuration File Structure
Refer to section 4.1 of the Instruction Manual for a description of the operation principle
of the FieldServer. The following tables describe parameters that need to be filled out in
the configuration file. For convenience, a few example parameters already exist in the
supplied PRIMSERV.CSV and SECDSERV.CSV files.
Note that * indicates an optional parameter, with the bold legal value being the default.
3.2.1 Data Arrays
SectionTitle
Data_Arrays
Column Title
Data_Array_Name
Function
Provide name for Data Array
Legal Values
Up to 15
alphanumeric
characters
Data_Format
Provides data format
INT16, INT32, BIT,
FLOAT
Data_Array_Length
Number of Data Objects
1-10,000
3.2.2 Server Side Connections
Section Title
Connections
Column Title
Adapter
Function
Adapter name
Modbus Plus data path
Legal Values
MBP
1 - 8
Internal Path
3.2.3 Server Side Nodes
Section Title
Nodes
Column Title
Node_Name
Function
Provide name for node
Legal Values
Up to 32
alphanumeric
characters
Node_ID
Protocol
Node ID of virtual server node
Specify protocol used
1 – 255
Modbus Plus
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042
Page 5
Download from Www.Somanuals.com. All Manuals Search And Download.
FS -8700-02 Modbus Plus
Driver Manual
3.2.4 Server Side Map Descriptors
Section Title
Map_Descriptors
Column Title
Map_Descriptor_Name
Function
Name of this Map Descriptor Up to 32
alphanumeric
characters
Legal Values
Data_Array_Name
Data_Array_Offset
Name of Data Array where
data is to be stored in the
FieldServer
Starting location in Data
Array
One of the Data Array
names from “Data
Array” section above
0 to maximum
specified in “Data
Array” section above
Server
Function
Function of Client Map
Descriptor
Node_Name
Name of Node to fetch data
from
One of the node
names specified in
“Client Node
Descriptor” above
Address
Length
Starting address of read block 40001, 30001, etc
Number of items to read
1 - 125
Data_Array_Low_Scale* Scaling zero in Data Array
-32767 to 32767,
default 0
Data_Array_High_Scale* Scaling max in Data Array
-32767 to 32767,
default 100
Node_Low_Scale*
Node_High_Scale*
Scaling zero in Connected
Node
Scaling max in Connected
Node
-32767 to 32767,
default 0
-32767 to 32767,
default 100
3.3 Examples of FieldServer setup for typical clients
MSTR Example: Modbus Plus Node
This example shows a Modicon Modsoft screen for an MSTR function in a Modbus Plus
node. It writes one register of data to a virtual node in the FieldServer.
H
H
H
H
The MSTR Function Code specifies a Write operation
One register of data is to be transferred
The destination register is 40000 (addressed as register 1).
The FieldServer’s node address is 1. Note that the decimal value 1025
equals 0401 hexadecimal, addressing a Modbus Plus Network Option
Module (NOM) in backplane slot 04 and a node at address 01.
H
The destination index is 28. The FieldServer will forward the message to
the TCP node whose IP address is in this location in the FieldServer’s TCP
Mapping table.
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042
Page 6
Download from Www.Somanuals.com. All Manuals Search And Download.
FS -8700-02 Modbus Plus
Driver Manual
MSTR in Modbus Plus Node
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042
Page 7
Download from Www.Somanuals.com. All Manuals Search And Download.
|