A Sierra Monitor Company Driver Manual (Supplement to the FieldServer Instruction 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.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual Table of Contents Table of Contents 1. Modbus RTU/ Modbus ASCII Description ....................................................................... 3 2. Driver Scope of Supply..................................................................................................... 4 2.1. Supplied by FieldServer Technologies for this driver.................................................... 4 2.2. Provided by Supplier of 3rd Party Equipment ...................
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual 1. Page 3 of 21 Modbus RTU/ Modbus ASCII Description The Modbus RTU and Modbus ASCII drivers allow the FieldServer to transfer data to and from devices over either RS-232 or RS-485 using Modbus RTU or Modbus ASCII protocol respectively. 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.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual 2. Page 4 of 21 Driver Scope of Supply 2.1. Supplied by FieldServer Technologies for this driver FIELDSERVER TECHNOLOGIES PART # FS-8915-10 FS-8917-02 FS-8917-01 FS-8917-21 FS-8700-01 (T28700-01) 2.2.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual 3. Page 5 of 21 Hardware Connections It is possible to connect a Modbus RTU or Modbus ASCII device to any of the existing serial ports on the FieldServer1. 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. 1 Not all ports shown are necessarily supported by the hardware.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual 4. Page 6 of 21 Configuring the FieldServer as a Modbus RTU or Modbus ASCII 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).
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual 4.2.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual 4.3.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual 4.4. Client Side Map Descriptors 4.4.1. FieldServer Related Map Descriptor Parameters Column Title Function Map_Descriptor_Name Name of this Map Descriptor Data_Array_Name Name of Data Array where data is to be stored in the FieldServer Data_Array_Offset Starting location in Data Array Function Function of Client Map Descriptor 4.4.2.
Map Descriptor Examples. Function, RDBC, RDBC, RDBC, RDBC, // For Nodes where Address_Type is Modicon_5digit.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual 5. Page 11 of 21 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).
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual 5.2.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual 5.3. Server Side Map Descriptors 5.3.1. FieldServer Specific Map Descriptor Parameters Column Title Function Map_Descriptor_Name Name of this Map Descriptor Data_Array_Name Name of Data Array where data is to be stored in the FieldServer Data_Array_Offset Starting location in Data Array Function Function Descriptor 5.3.2.
Data_Array_Offset, 0, 0, Address, 1, 1, Length, 200, 200, Data_Array_Low_Scale, 0, 0, Data_Array_High_Scale 100, 100, Data_Array_High_Scale 100, 100, Node_Low_Scale 0, 0, Node_Low_Scale 0, 0, Node_Low_Scale 0, 0, 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.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual Page 15 of 21 Appendix A. Advanced Topics – Modbus RTU Appendix A.1. Data Types If Node parameter Address_Type is set as ADU or PDU, then Data_Type must be specified as follows For Address_Type ADU : Address range 1 - 65536 1 – 65536 1 – 65536 1 - 65536 Data_Type Coil Discrete_Input Input_Register Holding_Register Function Code (Write) 15 n/a. n/a.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual Page 16 of 21 Appendix A.2. Single Writes For pure write operations where the function = WRBC or WRBX, the driver defaults to using Function Codes 15 and 16 (Multiple writes).
Page 17 of 21 Data_Array_Name, DA_AI_01, DA_AO_01, Data_Array_Offset, 0, 0, Function, Server, Server, Node_Name, MBP_Srv_11, MBP_Srv_11, Address, 30001, 40001, Length, 200, 200, Data_Array_Low_Scale, 0, 0, Data_Array_High_Scale, 100, 100, Node_Low_Scale, 0, 0, Node_High_Scale, 10000 10000 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.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual Page 18 of 21 Transferring 32 bit values with two registers If a Modbus Server sends two consecutive registers to the FieldServer representing either a floating point value or a 32 bit integer value, the FieldServer can combine and decode these registers back into their original format. To do this, the user must read the registers into an integer data array, and then use the Moves function to move the data to a floating point or 32 bit integer data array.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual Page 19 of 21 Appendix A.6. Node_Offline_Response This function is specific to the Modbus RTU driver. In systems where data is being collected from multiple Server Nodes and made available on a FieldServer configured as a Modbus RTU Server, when a Server Node goes offline the default behavior of the FieldServer would be to stop responding to polls for this data. This might not be what the user wants.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual Page 20 of 21 Appendix B. Modbus ASCII - Examples of FieldServer setup for typical clients Appendix B.1. FieldServer with GE Cimplicity as client • • • • • • • • • • • • • Run the Cimplicity “Workbench” and create a “New Project” with a unique “Project Name” option of “Basic Control” and protocol “Modbus ASCII”. Check the project properties and continue with the “Project Wizard Setup” that appears. Add Modbus port giving it a description.
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual Page 21 of 21 THIS PAGE INTENTIONALLY LEFT BLANK 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.