A Sierra Monitor Company Driver Manual (Supplement to the FieldServer Instruction Manual) FS-8700-123 HACH Ultra Analytics (formerly Pacific Scientific Instruments) Standard Protocol FX (enhanced) - ENG110 Developed for interfaces to MetOne Particle Counters APPLICABILITY & EFFECTIVITY Effective for all systems manufactured after May 1, 2001 Driver Version: 1.
FS-8700-123 MetOne Particle Counter Serial Driver Manual Table of Contents TABLE OF CONTENTS 1. 2. METONE PARTICLE COUNTER SERIAL DESCRIPTION............................................. 3 DRIVER SCOPE OF SUPPLY ........................................................................................ 4 2.1. Supplied by FieldServer Technologies for this driver.................................................. 4 3. HARDWARE CONNECTIONS.......................................................................
FS-8700-123 MetOne Particle Counter Serial Driver Manual 1. Page 3 of 26 MetOne Particle Counter Serial Description The MetOne Particle Counter Serial driver allows the FieldServer to transfer data to and from devices over RS-232 or RS-485 using MetOne Particle Counter Serial protocol. This driver is based on a specification called “Standard Protocol FX (enhanced)” ENG110 Revision A dated 1999 by Pacific Scientific Instruments.
FS-8700-123 MetOne Particle Counter Serial Driver Manual 2. Page 4 of 26 Driver Scope of Supply 2.1. Supplied by FieldServer Technologies for this driver FieldServer Technologies PART # FS-8915-16 FS-8917-02 FS-8700-123 Description UTP cable (7 foot) with Pigtail RJ45 to DB9F connector adapter Driver Manual. 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-123 MetOne Particle Counter Serial Driver Manual 3. Page 5 of 26 Hardware Connections Part of 4308 Device 13 8 6 Back of Board (408)-262-2299 SERIAL FIELDSERVER 4803 PARTICLE COUNTER CONNECTION DIAGRAM BASE NAME: FILE NAME: FS-8700-123 DATE: 6/1/07 BY: MC 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-123 MetOne Particle Counter Serial Driver Manual Page 6 of 26 9-Pin Serial Connector on rear of 2100 Device 1 Tx Rx 2 3 GND 4 5 FS-Tx/+ RJ45-01 BROWN 6 7 8 9 FS-COM FS-Rx/RJ45-04 BLUE/WHITE RJ45-08 ORANGE/WHITE 9-Pin Serial Connector on rear of 2100 Device 2 3 4 5 6 7 8 9 RS-232 Port 1 FS-8917-16 OR (408)-262-2299 SERIAL FIELDSERVER 2100 PARTICLE COUNTER CONNECTION DIAGRAM BASE NAME: FILE NAME: FS-8700-123 3.1.
FS-8700-123 MetOne Particle Counter Serial Driver Manual 4. Page 7 of 26 Configuring the FieldServer as a MetOne PC Serial 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-123 MetOne Particle Counter Serial Driver Manual 4.2. Page 8 of 26 Client Side Connection Descriptions Section Title Connections Column Title Function Specify which port the device is connected to the FieldServer Specify protocol used Specify baud rate Specify parity Specify data bits Specify stop bits Specify hardware handshaking Time between internal polls Port Protocol Baud* Parity* Data_Bits* Stop_Bits* Handshaking* Poll_Delay* Legal Values P1-P8, R1-R21 MetOne 9600 (Vendor limitation).
FS-8700-123 MetOne Particle Counter Serial Driver Manual 4.4. Page 9 of 26 Client Side Map Descriptors 4.4.1.
Map Descriptor Example 1 – Read Hold ( or Sample) Times from a Device. Page 10 of 26 While not mandatory, giving each Map Descriptor a unique name will help to diagnose configuration problems. Function, RDBC, Length, 3, Scan_Interval 5.0s This task must be executed every 5 seconds. Reserves 3 Data array locations for storing data. Met1_Function, Hold Time , Tells the driver to read the Hold Time from the field device. Node_Name MET1, The name of the Node.
Map Descriptor Example 2 – Write Hold (or Sample) Times to a Device. Page 11 of 26 Map Descriptor Example 3 – Read the operating mode. Met1_Function, Hold Time , Change this to ‘Sample Time’ to command a sample time or make two Map Descriptors – each with the correct time function. Node_Name MET1, Tells the FieldServer that one element of the data array is reserved for this Map Descriptor.
Map Descriptor Example 4 – Start / Stop Counting. Page 12 of 26 Function, wrbx, Command is sent each time the value at DA:offset is updated. Data_Array_Offset, 0, Met1_Function, Count , Set length to 1 for this Met1_Function Node_Name MET1, Scan_Interval 1.0s When the function is wrbx then the scan interval parameter is ignored. Length, 1, FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.
Map Descriptor Example 5 – Change Mode Page 13 of 26 Data_Array_Offset, 0, Function, wrbx, Met1_Function, Mode , Set length to 1 for this Met1_Function Node_Name MET1, 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.
Map Descriptor Example 6 – Select Device Page 14 of 26 Function, wrbx, Node_Name MET1, The Node_Name connects this Map Descriptor to the Node Descriptor and that is where the driver finds the Node_ID parameter. Data_Array_Offset, 0, Length, 1, Set length to 1 for this Met1_Function Met1_Function, Device Select, 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.
Map Descriptor Example 7 – Read the Current Record Page 15 of 26 Data_Array_Offset, 0, Function, Rdbc, Node_Name MET1, Length, 20, Scan_Interval 1.0s The length must be set to a value large enough to store the 8 fixed data items and the variable number of count fields. Met1_Function, Current Record, 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.
Map Descriptor Example 8 – Dumping the Current Record Page 16 of 26 Data_Array_Offset, 0, DA_Byte_Name, DA_DUMP, Function, Rdbc, A secondary Data Array is specified with the ‘DA_Byte_Name’ parameter. When this is done the driver stores the read current record response, byte for byte, in the secondary DA. Data_Array_Name, DA_DATA, Met1_Function, Current Record, Length, 20, The length specified the amount of Data Array space reserved for primary storage and has no effect on the dump.
Map Descriptor Example 9 – An alternate way of storing the current record. Page 17 of 26 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.
Map Descriptor Example 10 – Reading from a SubDevice/Port Page 18 of 26 Map_Descriptors Map_Descriptor_Name, Read Record, Data_Array_Offset, 0, Function, Rdbc, will select Address, 3, ‘SubDevice’ Met1_SubDev_or_Port, SubDevice, Number SubDevices 1..64 Number Ports 0..63 Use the keyword ‘Port’ to select a specific port. Then driver number 3. Node_Name MET1, Length, 20, Scan_Interval 1.0s Then driver will read the current record.
Map Descriptor Example 11 – Selecting a Sub-Device/Port Page 19 of 26 DA_MODE_CTRL, Select Device, 0, rdbc, Function, MET1, Node_Name Port, Met1_SubDev_or_Port, When using this type of Map Descriptor, the driver does not send a device select message first. Driver will send a port select message to the port specified with the address parameter.
FS-8700-123 MetOne Particle Counter Serial Driver Manual 5. Page 20 of 26 Configuring the FieldServer as a MetOne PC Serial Server The Server side of the driver was developed to support FST’s QA program. It is not documented or supported. If you are interested in using the driver to emulate a MetOne Particle Counter then contact the FST Sales group. FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.
FS-8700-123_MetOne Particle Counter by Hach Ultra Analytics Manual Page 21 of 26 Appendix A. Driver Error Messages Message MET1:#01 Err. Cant set mode to state=%d for MD=%s MET1:#02 Err. Cant set Sample time to zero. MD=%s MET1:#03 Err. Cant set Holde time to zero. MD=%s MET1:#04a/b Err. string=%s MD=%s Invalid time Description An attempt was made to send a mode control command to a device. The required mode is derived from the Data Array value.
FS-8700-123_MetOne Particle Counter by Hach Ultra Analytics Manual Page 22 of 26 Message Description MET1:#07 Err. Cant find DA=%s to get Mode. MET1:#07b Err. Cant find DA=%s Printed by the Server side of the driver. The Server cant to set Mode. find the specified DA which will be used to store incoming data or from which data will be extracted to form a MET1:#07c Err. Cant find DA=%s response.3 to get current record. MET1:#07d Err. Cant find DA=%s to store times. MET1:#08a Err.
FS-8700-123_MetOne Particle Counter by Hach Ultra Analytics Manual Page 23 of 26 Message MET1:#13 Err. Node=%d cant be selected because not defined in config. Description The reported device could not be selected because there isnt a node descriptor whose Node_ID matches the reported device.4 The driver has set the default poll delay to the reported "Met1:#14 FYI Poll_Delay value. This setting can be overridden in the configuration overridden to %d file.
FS-8700-123_MetOne Particle Counter by Hach Ultra Analytics Manual Page 24 of 26 Appendix A.2. Driver Exposed Operating and Error Statistics In addition to the normal operating stats the driver can expose additional operating/error stats in a Data Array which can be monitored by a remote device. A special Data Array name is required. The driver recognizes the Data Array by its name which must be "met1-stats" The following example shows how this Data Array can be configured.
FS-8700-123_MetOne Particle Counter by Hach Ultra Analytics Manual Offset 18 19 20 21 22 23 24 25 26 Page 25 of 26 Description Increments by 1 each time the Client side sends a select message Increments by 1 each time the Client side sends a sub-device select message Increments by 1 each time the Client side sends a port select message Stores the select code of the most recent select message sent by the Client Stores the sub-device/port select code of the most recent sub-device/port select message sent b
FS-8700-123_MetOne Particle Counter by Hach Ultra Analytics Manual Page 26 of 26 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.