FS General Purpose ASCII

Similar documents
FieldServer FS ASCII Driver (General Purpose)

FieldServer FS Modbus Daniels

Driver Manual (Supplement to the FieldServer Instruction Manual) FS SMC 2460 APPLICABILITY & EFFECTIVITY

FieldServer FS SDD16

FS Honeywell Zellweger IR Channel Manual

FS Multistack Comput25 Master Controller Serial Driver

FS Modbus RTU & FS Modbus ASCII

Driver Manual (Supplement to the FieldServer Instruction Manual)

FS Siemens TIWAY I

FieldServer FS Gamewell-FCI 7200 Series

FieldServer FS Cresnet/IP

FS TOA VS-900 Security Intercom Systems

Driver Manual FS KNX

FieldServer FS GE-EGD

Driver Manual. FS HTTP XML Driver

FieldServer FS Modbus RTU & FS Modbus ASCII

Driver Manual. FS Gardner Denver Auto Sentry ES/RS2000

Driver Manual. FS Omron FINS

FieldServer FS KNX

FS Barrington Lanstar Serial Driver

FieldServer FS Omron FINS

FieldServer FS Gardner Denver

FieldServer FS DeviceNet Slave Adapter Driver

Driver Manual. FS DeviceNet Master Adapter Driver

FS Driver for XML HVAC Building Automation Schedules

Driver Manual. FS ModbusTCP

FieldServer FS Toshiba UPS

FieldServer FS Hochiki Packet Protocol Driver

FieldServer FS Point Six Wireless

FieldServer FS DeviceNet Master Adapter Driver

Driver Manual. FS MetOne Particle Counter

FS ControlNet

Driver Manual. FS CEI-ABI Protocol Driver for EN.54 Exchanges

FieldServer FS Silent Knight

Driver Manual. FS ModbusTCP

FieldServer FS PROFIBUS DP Master

FieldServer FS Allen Bradley CSP

FieldServer FS Schneider Electric Cassia

FieldServer FS CEI-ABI Protocol Driver for EN.54 Exchanges

FieldServer FS Gamewell FCI 7100 Series

FS CEI-ABI Protocol Driver for EN.54 Exchanges

FieldServer FS Convia XML

Driver Manual. FS M-Bus

Driver Manual. FS Gamewell FCI E3 Series Serial Driver

FieldServer FS XML over HTTP Driver

Driver Manual (Supplement to the FieldServer Instruction Manual) FS NCA

FieldServer FS M-Bus

Driver Manual. FS EtherNet/IP

Driver Manual. FS Metasys N2 by Johnson Controls

Driver Manual. FS DNP3 Ethernet

Driver Manual (Supplement to the FieldServer Instruction Manual) FS X30 DeviceNet Master Adapter Driver

FieldServer. FS Interlogix Automation Module Protocol Driver. (Supports Advent, Concord, and Concord Express Panels) Driver Manual

FieldServer FS Metasys N2 by Johnson Controls

FS Modbus Plus

FST OPC Server for FieldServer

FieldServer FS Metasys N2 by Johnson Controls

Driver Manual. FS SNMP Version 1

FieldServer FS Simplex Time Recorder Company 4100 Computer Port Protocol

FieldServer FS Cleaver Brooks Hawk

FS Rapid Engineering ICSI / ICSII (ICS one / two) Driver

FieldServer FS EtherNet/IP

FieldServer FS Simplex Time Recorder Company 4100 Computer Port Protocol

FieldServer FS DNP 3.0 Ethernet

FS Cleaver Brooks Hawk

FS FST OPC Server for FieldServers

FieldServer FS Carrier DataLink

FieldServer FS EST3-ECP

SlotServer Configuration Manual

FieldServer FS LonWorks

FieldServer Driver - Serial FS Fire Control Instruments - FCI 7100 Series

Driver Manual FS SBT-FSI

FS Data Aire (DAP)

FieldServer FS Data Aire (DAP)

CAS Driver FS GE-TLC ( GE Total Lighting Control)

ProtoCessor Configuration Manual

EQ-DCM User Manual Revision 1.02 Sep 10, 2013

FieldServer FS BACnet MS/TP Serial

FieldServer ENOTE Enabling DIP Switches on the QuickServer

Modbus ASCII Serial Device Driver Help 2009 Kepware Technologies

FieldServer FS BACnet/IP

FieldServer FS BACnet Ethernet

Up to three (3) RIO-RS232 modules may be attached to one RIO-PBA Profibus adapter.

CDN36X Series DeviceNet Gateway User Manual

FieldServer Driver - Serial FS Digital microwatt Plus 1

MODBUS TESTER SOFTWARE U S E R M A N U A L

CAS IKS Gateway (Modbus RTU/TCP and HTML) Manual

FieldServer Configuration Manual

FieldServer Configuration Manual

FieldServer Driver - Serial FS Metasys N2

FieldServer Configuration Manual

Modbus Protocol For TGP03 / THP03

TABLE OF CONTENTS 1. GENERAL OVERVIEW OF 7700PTX OVERVIEW 7700PTX-GVTALLY... 2

CAS Veeder TLS 300, 350, 450. Gateway

RS 232 Interface. RS 232 is the Serial interface on the PC. Three major wires for the Serial interface: Transmit Pin 2 Receive Pin 3

HOME AUTOMATION, INC. Model 93A00-1. Serial Server. User s Manual

Modbus Protocol For PMX / PXM3X

RG2-1TX Serial to Ethernet Interface. English Version 1.3 User Guide March 2003

DEFAULT IP ADDRESS

SERIAL TO ETHERNET CONVERTER E-P User Manual

UNIVERSAL SERIAL INTERFACE

Transcription:

- A Sierra Monitor Company Driver Manual (Supplement to the FieldServer Instruction Manual) FS-8700-115 General Purpose ASCII APPLICABILITY & EFFECTIVITY Effective for all systems manufactured after May 1, 2001 Driver Version: 1.00 Document Revision: 4

FS-8705-06 GPA (General Purpose ASCII) Manual Table of Contents TABLE OF CONTENTS 1. GPA (GENERAL PURPOSE ASCII) DRIVER DESCRIPTION...3 2. DRIVER SCOPE OF SUPPLY...4 2.1. Supplied by FieldServer Technologies for this driver...4 2.2. Provided by the Supplier of 3 rd Party Equipment...4 2.2.1. Required 3 rd Party Hardware...4 2.2.2. Required 3 rd Party Configuration...4 3. HARDWARE CONNECTIONS...5 4. CONFIGURING THE FIELDSERVER AS AN GPA DRIVER CLIENT...6 4.1. Data Arrays/Descriptors...6 4.2. Client Side Connection Descriptions...7 4.3. Client Side Node Descriptors...8 4.4. Client Side Map Descriptors...9 4.4.1. FieldServer Related Map Descriptor Parameters...9 4.4.2. Driver Related Map Descriptor Parameters...9 4.5. Map Descriptor Example....10 5. CONFIGURING THE FIELDSERVER AS A GPA DRIVER SERVER...11 APPENDIX A. ADVANCED TOPICS...12 Appendix A.1. Separating Data Streams....12 Appendix A.2. Interaction with the WebServer Driver...12 APPENDIX B. TROUBLESHOOTING TIPS...13 Appendix B.1. Timeouts...13 APPENDIX C. DRIVER ERROR MESSAGES...14

FS-8705-06 GPA (General Purpose ASCII) Manual Page 3 of 15 1. GPA (General Purpose ASCII) Driver Description The serial GPA (General Purpose ASCII) Driver allows the FieldServer to accept data from remote devices which produce an ASCII byte stream. A typical example of such a device is an electronic scale producing an output similar to the one below. :weight 0.57 Kg Tare 44.3 Kg 1 2 3 4-5 -6.7 The driver waits passively for messages. When a message is received the driver converts each space delimited string of characters/numbers into a number. The numbers so formed are stored in consecutive elements of a Data Array. Referring to the example above, the driver will store the value.57 in the 1 st element of the Data Array (DA), the value 44.3 in the next element, the value 1 in the next, the value 2 in the next etc. The driver can process negative numbers. This driver has significant limitations: Only one data stream per connection - if two different streams of string data are sent to the same port, the data from the one will overwrite data from the other. The driver can only process numbers that are presented in a simple numeric form. Hexadecimal, Exponent-mantissa and other complex forms cannot be processed. Max Nodes Supported FieldServer Mode Nodes Comments Client 1 Only 1 node per port. Server The driver cannot serve data

FS-8705-06 GPA (General Purpose ASCII) Manual Page 4 of 15 2. Driver Scope of Supply 2.1. Supplied by FieldServer Technologies for this driver FieldServer Technologies PART # FS-8915-10 FS-8915-10 FS-8917-02 FS-8917-01 FS-8705-96 Description UTP cable (7 foot) for Ethernet connection UTP cable (7 foot) for RS-232 use RJ45 to DB9F connector adapter RJ45 to DB25M connection adapter Driver Manual. 2.2. Provided by the Supplier of 3 rd Party Equipment 2.2.1. Required 3 rd Party Hardware Part # Description None 2.2.2. Required 3 rd Party Configuration Consult your vendor documentation. It is not possible to provide direction here as this driver can be connected to a huge range of devices.

FS-8705-06 GPA (General Purpose ASCII) Manual Page 5 of 15 3. Hardware Connections The FieldServer is connected to the vendor device as shown in connection drawing. Configure the ASCII Passive Client according to manufacturer s instructions Ethernet Network Connection via std networking interfaces such as hubs, switches, routers. ASCII Data Source Eg. Scale Use 8917-02 or a 3 wire cable where you connect the remote device Xmit to RJ45-01, the remote Receive to RJ45-08 and, the gound wire to RJ45-04.

FS-8705-06 GPA (General Purpose ASCII) Manual Page 6 of 15 4. Configuring the FieldServer as an GPA Driver 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 GPA (General Purpose ASCII) Driver Server. 4.1. Data Arrays/Descriptors The configuration file tells the FieldServer about its interfaces, and the routing of data required. In order to enable the FieldServer for GPA (General Purpose ASCII) Driver communications, the driver independent FieldServer buffers need to be declared in the Data Arrays section, the destination device addresses need to be declared in the Client Side Nodes section, and the data required from the servers needs to be mapped in the Client 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. 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 Data_Array_Length Example // Data Arrays Provide data format. Each Data Array can only take on one format. 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. Float, Bit, UInt16, SInt16, Packed_Bit, Byte, Packed_Byte, Swapped_Byte 1-10,000 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

FS-8705-06 GPA (General Purpose ASCII) Manual Page 7 of 15 4.2. Client Side Connection Descriptions Section Title Connections Column Title Function Legal Values Port Specify which port the device is connected to the FieldServer P1-P8, R1-R2 1 Protocol Specify protocol used ASCII Baud* Specify baud rate 110 115200, standard baud rates only Parity* Specify parity Even, Odd, None, Mark, Space Data_Bits* Specify data bits 7, 8 Stop_Bits* Specify stop bits 1 Handshaking* Specify hardware handshaking RTS, RTS/CTS, None Example // Client Side Connections Connections Port, Protocol, Baud, Parity, P8, ASCII, 9600, None, 1 Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction manual for details of the ports available on specific hardware.

FS-8705-06 GPA (General Purpose ASCII) Manual Page 8 of 15 4.3. Client Side Node Descriptors Section Title Nodes Column Title Function Legal Values Node_Name Provide name for node Up to 32 alphanumeric characters This commonly used node descriptor parameter has no special meaning for this driver. Node_ID Incoming messages could come from any node. A Node_ID may be allocated and any value may be used Protocol Specify protocol used ASCII. Connection Specify which port the device is P1-P8, R1-R2 2 connected to the FieldServer Example // Client Side Nodes Nodes Node_Name, Node_ID, Protocol, Connection PLC 1, 1, ASCII, P8 2 Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction manual for details of the ports available on specific hardware.

FS-8705-06 GPA (General Purpose ASCII) Manual Page 9 of 15 4.4. Client Side Map Descriptors 4.4.1. FieldServer Related Map Descriptor Parameters Column Title Function Legal Values Up to 32 Map_Descriptor_Name Name of this Map Descriptor alphanumeric characters One of the Data Data_Array_Name Name of Data Array where data is to be Array names from stored in the FieldServer Data Array section above 0 to maximum Data_Array_Offset Starting location in Data Array specified in Data Array section above Function of Client Map Descriptor. Function Refer to the FieldServer configuration information for more information. Note that passive client means that the map descriptor owns the Data Array elements and no other active Map Descriptor can address the same data. 4.4.2. Driver Related Map Descriptor Parameters Column Title Node_Name Data_Type Length Address Function Name of Node to fetch data from Data type Your choice affects how data is stored. If you use a Digital type then data is stored only as 1 s or Zero s. If you use non Float types the values are truncated. Thus 0.6 is stored as zero. Length of Map Descriptor Specifies the maximum number of string items that can be converted to numbers and stored. Other than using up point count, there is no danger in setting the length to a larger number than required. This commonly used parameter is not used by this driver. Server, passive Legal Values One of the node names specified in Client Node Descriptor above Ana_Input, Ana_Output, Register, Float_Reg, Dig_Input, Dig_Output 1,2,3

FS-8705-06 GPA (General Purpose ASCII) Manual Page 10 of 15 4.5. Map Descriptor Example. In this example, we provide a map descriptor to capture data from a scale and store it in a Data Array called DA_Scale. The 1 st element converted from the ASCII steam will be store at offset zero in the Data Array. The driver will convert and store floating point numbers because the data_type is a floating point type. A maximum of 10 number fields can be processed and stored. The driver only converts and stores the data when the ASCII stream ends. Read appendix xxxxxx to learn how the driver knows when a stream has ended and it should process and strore data. Map_Descriptors Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_name Data_Type Length Store_Weights, DA_Scale, 0, Passive, Node_A, Float-Reg 10, Map Descriptor Names do not need to be unique but making them so may facilitate trouble shooting. The name of the Data Array where the incoming data should be stored. Driver waits passively for incoming data. There is no polling. The 1 st element of converted data will be stored at this location in the DA. Subsequent data is stored in consecutive locations. Connects this Map Descriptor to a Node Descriptor which in turn points to a A maximum of 10 value items will be stored. connection descriptor. When the driver processes the stream it should (in this case) treat the data as floating point data. Ensure that the format of the Data is suitable to store a floating point value

FS-8705-06 GPA (General Purpose ASCII) Manual Page 11 of 15 5. Configuring the FieldServer as a GPA Driver Server Driver cannot be used to serve data. Contact the Sales group at FST if you are interested in this functionality.

FS-8705-06 GPA (General Purpose ASCII) Manual Page 12 of 15 Appendix A. Advanced Topics Appendix A.1. Separating Data Streams. The driver processes the ASCII stream and stores the converted data when the stream ends. By default the driver closes the stream when it receives the CR character (Hex code = 0x0d Decimal code = 13). The default end of stream character can be changed using the registry. The example below is an extract from registry.ini. The Registry group is for port P1. Similar groups can exist for other ports and a group may have more settings than those shown below. If you wished to change the end of stream character to a NEW LINE character (Hex=0x0a Decimal=10) then change the 13 s to 10 s in the example below. The default_ value is used by the registry when it receives a restore defaults command. [FieldServer_P1] Termination_Char = 13 default_termination_char = 13 Appendix A.2. Interaction with the WebServer Driver This driver is specially configured to watch for registry changes that are initiated from the WebServer driver. It is possible to configure the connection settings of the port without changing the configuration file as follows: Create web pages to change the registry settings. Browse to the web page. Change a setting. When the WebServer sees that the new settings have been updated it sets a signal for the ASCII driver to use the new settings. The html fragment below can be inserted in a Web Page. It will allow a user via a browser to change the connection settings for P1. <FST_COMBO Reg_name = "FieldServer_P1:Baud" List_Items="300;600;1200;2400;4800;9600;19200;38400;115200;"> <FST_TEXT Reg_name = "FieldServer_P1:Data_Bits" > <FST_TEXT Reg_name = "FieldServer_P1:Stop_Bits" > <FST_TEXT Reg_name = "FieldServer_P1:Parity" > You can add a similar field for any parameter in the registry file but note that only some registry settings are used by this driver and only some drivers (including this one) are designed to be notified of a change and will work with the changed data. Using this interface you can deliver a system which a customer can simply use to adjust the connection settings without learning how to configure a FieldServer. Ensure that registry.ini is installed on the FieldServer.

FS-8705-06 GPA (General Purpose ASCII) Manual Page 13 of 15 Appendix B. Troubleshooting tips Appendix B.1. Timeouts If the end of stream character has not been received in the default timeout period of 0.5 seconds the driver clears the incoming buffer and waits for the beginning of the next stream.

FS-8705-06 GPA (General Purpose ASCII) Manual Page 14 of 15 Appendix C. Driver Error Messages Error ASCII:#1 FYI. Port \"%s\" Connection Parameters Can Be Changed Remotely ASCII:#2a/b FYI. Port \"%s\" Setting Changed Remotely. New Setting: %s ASCII:#3a/b FYI. Port \"%s\" Initial Setting:%s Start Char 0x%2X End Char 0x%02X Termination Time %fs Description and Corrective Action You can safely ignore this message. It is designed to make you aware of the capability of the driver. Refer to Appendix A.2 You can safely ignore this message if the setting reported match your expectations. The driver is reporting that connection settings have been changed. The change resulted from a change to the FieldServer registry settings and this driver has been notified to start working with the new settings. The driver is reporting initial settings for port. The message is for your information only and no corrective action is required if it confirms you expectations. If it doesn t review and correct the configuration file or registry.ini file.

FS-8705-06 GPA (General Purpose ASCII) Manual Page 15 of 15 THIS PAGE INTENTIONALLY LEFT BLANK