FieldServer FS-8700-08 User Manual

APPLICABILITY & EFFECTIVITY
Effective for all systems manufactured after January 2013
Driver Manual
FS-8700-01 Modbus RTU
&
FS-8700-08 Modbus ASCII
There are several similarities between these two drivers and we have
incorporated them into the same manual to ensure that our information
stays current. Although both drivers are referenced in this manual, they are
different drivers and need to be ordered separately."
Driver Version:
4.06
Document Revision:
3
A Sierra Monitor Company
FS-8700-01 Modbus RTU/ASCIIFS-8700-01_Modbus_RTU.doc Driver Manual Table of Contents
TABLE OF CONTENTS
1 Modbus RTU/ Modbus ASCII Description ....................................................................................................... 3
2 Driver Scope of Supply ................................................................................................................................... 3
2.1 Supplied by FieldServer Technologies for this driver ................................................................................... 3
2.2 Provided by Supplier of 3rd Party Equipment ............................................................................................... 3
3 Hardware Connections ................................................................................................................................... 4
4 Data Array Parameters ................................................................................................................................... 5
5 Configuring the FieldServer as a Modbus RTU or Modbus ASCII Client. .......................................................... 6
5.1 Client Side Connection Parameters .............................................................................................................. 6
5.2 Client Side Node Parameters ....................................................................................................................... 7
5.3 Client Side Map Descriptor Parameters ....................................................................................................... 8
5.3.1 FieldServer Related Map Descriptor Parameters ..................................................................................... 8
5.3.2 Driver Related Map Descriptor Parameters ............................................................................................. 8
5.3.3 Timing Parameters ................................................................................................................................... 9
5.3.4 Map Descriptor Examples. ..................................................................................................................... 10
6 Configuring the FieldServer as a Modbus RTU or Modbus ASCII Server ........................................................ 11
6.1 Server Side Connection Parameters ........................................................................................................... 11
6.2 Server Side Node Parameters .................................................................................................................... 12
6.3 Server Side Map Descriptor Parameters .................................................................................................... 13
6.3.1 FieldServer Specific Map Descriptor Parameters ................................................................................... 13
6.3.2 Driver Specific Map Descriptor Parameters ........................................................................................... 13
6.3.3 Map Descriptor Examples ...................................................................................................................... 14
6.3.4 Slave_Id .................................................................................................................................................. 14
Appendix A. Useful Features – Modbus RTU ........................................................................................................ 15
Appendix A.1. Managing Floating points with Modbus ........................................................................................... 15
Appendix A.1.1. Transferring non-integer values with one register ................................................................. 15
Appendix A.1.2. Transferring 32 bit values with two registers ......................................................................... 16
Appendix A.2. Node_Offline_Response................................................................................................................... 16
Appendix B. Troubleshooting ............................................................................................................................... 18
Appendix B.1. Server Configuration of System Station Address.............................................................................. 18
Appendix C. Vendor Information ......................................................................................................................... 19
Appendix C.1. Connection to York Modbus Microgateway ..................................................................................... 19
Appendix C.2. Modbus ASCII - Examples of FieldServer setup for typical clients .................................................... 19
Appendix C.2.1. FieldServer with GE Cimplicity as client .................................................................................. 19
Appendix C.2.2. FieldServer with Intellution FIX as a client .............................................................................. 19
Appendix D. Reference ........................................................................................................................................ 21
Appendix D.1. Data Types ........................................................................................................................................ 21
Appendix D.2. Single Writes .................................................................................................................................... 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: support@fieldserver.com
FS-8700-01 Modbus RTU/ASCIIFS-8700-01_Modbus_RTU.doc Driver Manual Page 3 of 21
FieldServer Technologies PART #
Description
FS-8915-10
UTP cable (7 foot) for RS-232 use 1
PART #
Description
Modbus RTU or Modbus ASCII device
1
1 MODBUS RTU/ M O D B US ASCII DE SC R I P TION
The Modbus RTU and Modbus ASCII drivers allow the FieldServer to transfer data to and from devices using Modbus RTU or Modbus ASCII protocol respectively. Data can be transferred over either RS-232 or RS-485. The driver was developed for Modbus Application Protocol Specification V1.1a" from Modbus-IDA. The specification can be found at www.modbus.org. 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.
There are various register mapping models being followed by various vendors
To cover all these models FieldServer uses the following three Models
Modicon_5digit – Use this format where addresses are defined in 0xxxx, 1xxxx, 3xxxx or 4xxxx format. A
maximum of 9999 registers can be mapped of each type. This is FieldServer driver’s default format.
ADUApplication Data Unit address. Use this format where addresses of each type are defined in the
range 1-65536
PDU –Protocol Data unit address. Use this format where addresses of each type are defined in the range
0-65535.
The key difference between ADU and PDU is for example if Address_Type is ADU and address is 1, the driver will poll for register 0. If Address_Type is PDU, the driver will poll for address 1.
Note 1: If vendor document shows addresses in extended Modicon (i.e. 6 digit) format like 4xxxxx then consider these addresses as xxxxx (omit the first digit) and use either ADU or PDU
Note 2: The purpose of providing 3 different ways of addressing the Modbus registers is to allow the user to choose the addressing system most compatible with the address list being used. At the protocol level, the same protocol specification is used for all three with the exception of the limited address range for Modicon_5digit.
2 DRIVER SCOPE OF SU P PLY
2.1 Sup plied by FieldSe r v e r Technologies fo r t h i s driver
2.2 Provided by Supplier of 3
rd
Party Equipment
This cable is necessary for connection to the driver. It is shipped with the FieldServer and not separately with the driver.
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: support@fieldserver.com
FS-8700-01 Modbus RTU/ASCIIFS-8700-01_Modbus_RTU.doc Driver Manual Page 4 of 21
RJ45 to
RS-232
Connector
Connect
to 2-wire
RS-485
network
OR
RJ45 Connector
Typical DB9/DB25 kit assemblies are shown here. Refer to the third party device literature for exact configuration
required.
DB25M
FUNCTION FROM TO COLOUR
Rx RJ45-01 DB9F-03 WHITE
GND RJ45-04 DB9F-05 GREEN
Tx RJ45-08 DB9F-02 BLUE
FUNCTION FROM TO COLOUR
RX RJ45-01 DB25M-03 WHITE CTS RJ45-02 DB25M-05 BROWN DSR RJ45-03 YELLOW GND RJ45-04 DB25M-07 GREEN GND RJ45-05 RED
TX RJ45-08 DB25M-02 BLUE
RTS RJ45-07 DB25M-04 ORANGE
DTR RJ45-06 BLACK
8917-01 WIRE LIST
FUNCTION FROM TO COLOUR
RX RJ45-01 DB25F-02 WHITE CTS RJ45-02 DB25F-04 BROWN DSR RJ45-03 YELLOW GND RJ45-04 DB25F-07 GREEN GND RJ45-05 RED
TX RJ45-08 DB25F-03 BLUE
RTS RJ45-07 DB25F-05 ORANGE
DTR RJ45-06 BLACK
8917-04 WIRE LIST
DB25F
DB9M
FUNCTION FROM TO COLOUR
RX RJ45-01 DB9M-02 GREY CTS RJ45-02 DB9M08 BROWN DSR RJ45-03 DB9M-06 YELLOW GND RJ45-04 DB9M-05 GREEN GND RJ45-05 RED
TX RJ45-08 DB9M-03 BLUE
RTS RJ45-07 DB9M-07 ORANGE
DTR RJ45-06 DB9M-04 BLACK
8917-03 WIRE LIST
BASE NAME: FILE NAME:
FIELDSERVER
GENERIC
CONNECTION DIAGRAM
DATE: 8/16/05 BY: MC
(408)-262-2299
DB9F
8917-02 WIRE LIST
PLC
Ethernet Interface
FS-8915-10
FS-8915-10
Site Ethernet
2
3 HARDWARE C O N N E CT ION S
It is possible to connect a Modbus RTU or Modbus ASCII device to any of the existing serial ports on the FieldServer2. These ports simply need to be configured for the appropriate driver in the configuration file.
Configure the Modbus RTU or Modbus ASCII device according to manufacturer’s instructions.
Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction manual for details of the ports available
on specific hardware.
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: support@fieldserver.com
FS-8700-01 Modbus RTU/ASCIIFS-8700-01_Modbus_RTU.doc Driver Manual Page 5 of 21
Section Title
Data_Arrays
Column Title
Function
Legal Values
Data_Array_Name
Provide name for Data Array
Up to 15 alphanumeric characters
Data_Array_Format
Provide data format. Each Data Array can only take on one format.
FLOAT, BIT, UInt16, SInt16, Packed_Bit, Byte, Packed_Byte, Swapped_Byte
Data_Array_Length
Number of Data Objects. Must be larger than the data storage area required by the Map Descriptors for the data being placed in this array.
1-10, 000 // Data Arrays
Data_Arrays
Data_Array_Name
, Data_Array_Format
, Data_Array_Length
DA_AI_01
, UInt16
, 200
DA_AO_01
, UInt16
, 200
DA_DI_01
, Bit
, 200
DA_DO_01
, Bit
, 200
4 DATA A R R AY PARAMETERS
Data Arrays are “protocol neutral” data buffers for storage of data to be passed between protocols. It is necessary
to declare the data format of each of the Data Arrays to facilitate correct storage of the relevant data.
Example
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: support@fieldserver.com
FS-8700-01 Modbus RTU/ASCIIFS-8700-01_Modbus_RTU.doc Driver Manual Page 6 of 21
Section Title
Connections
Column Title
Function
Legal Values
Port
Specify which port the device is connected to the FieldServer
P1-P8, R1-R23
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
Poll_Delay*
Time between internal polls
0-32000s, 0.05s
// Client Side Connections
Connections
Port
, Baud
, Parity
, Data_Bits
, Stop_Bits
, Protocol
, Handshaking
, Poll_Delay
P1
, 9600
, None
, 8
, 1
, Modbus _RTU4
, None
, 0.100s
3
4
5 CONFIGUR I N G T HE FIELDSERVER A S A M O DBUS RTU OR MODB U S A SCII CLIENT.
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 Server.
5.1 Client Side Connect ion Parameters
Example
Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction manual for details of the ports available
on specific hardware.
Change protocol to MB_ASCII to use Modbus ASCII protocol
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: support@fieldserver.com
FS-8700-01 Modbus RTU/ASCIIFS-8700-01_Modbus_RTU.doc Driver Manual Page 7 of 21
Section Title
Nodes
Column Title
Function
Legal Values
Node_Name
Provide name for Node
Up to 32 alphanumeric characters
Node_ID
Modbus station address of physical Server Node
1-255
Protocol
Specify protocol used
Modbus RTU
Modbus_RTU
Modbus ASCII
MB_ASCII
Port
Specify which port the device is connected to the FieldServer
P1-P8, R1-R2
3
Address_Type5
Specify Register Mapping Model
ADU,PDU, -,
Modicon_5digit
Write_Fnc*
Set to Multiple if Remote Server Node only supports Write Multiple function code 15 & 16
Multiple, -,
Write_Length*
Set to Map Descriptor Length if write-thru operation should write all registers as specified by Map Descriptor length. By default write-thru writes a single register. If Write_Length also specified on Map Descriptor, Map Descriptor’s parameter will be used.
Map Descriptor Length, -, 1,
// Client Side Nodes
// For devices where 65536 addresses are available in each memory area.
Nodes
Node_Name
, Node_ID
, Protocol
, Port
,Address_Type
Modbus device 1
, 1
, Modbus _RTU6
, P1
,ADU
Modbus device 2
, 2
, Modbus_RTU
, P1
,PDU
// For devices where only 9999 registers are available in each memory area.
Nodes
Node_Name
, Node_ID
, Protocol
, Port
Modbus device 3
, 3
, Modbus_RTU
, P1
5
6
5.2 Client Side Node P a r a m eters
Example:
Optional for Modicon 5 digit devices Change protocol to MB_ASCII to use Modbus ASCII protocol
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: support@fieldserver.com
Loading...
+ 14 hidden pages