background image

FS-8700-101_Setra Model 370 Digital Pressure Gage Manual   

 

Page 22 of 23 

 
 

FieldServer Technologies

 1991 Tarob Court Milpitas, California 95035 USA  

Web

:www.fieldServer.com 

Tel

: (408) 262-2299   

Fax

: (408) 262-9042   

Toll_Free

: 888-509-1970   

email

: [email protected] 

Appendix C.2.  Standard Driver Stats 

Driver Statistics Recorded 

Explanation 

PLC Read Messages sent 

Number of message sent to the Gage 

PLC Write Messages sent 

Should be zero 

PLC Bytes sent 

Total number of bytes sent by the Client side driver 

PLC Message received 

Total number of messages of all types received (ACK, 
NAK, error response, normal response) on the Client side 
driver. 

PLC Bytes received 

Total number of bytes received by all message types on 
the Client side driver. 

Protocol 

Protocol errors are incremented when the Client side 
cannot correctly parse a response message from the 
Gage.  This includes responses that are formatted 
differently from what the driver expects, or messages that 
report the Gage is ‘unable’ or in setup mode. 

IC_Timeout 

Incoming message buffer experiences an excessive 
delay between incoming bytes 

Timeout 

Client side messages that were not responded to by a 
Server.  Possibly a communications error or a command 
was made to a unit that does not exist. 

Streaming 

Message size was too large for the input buffer.  This 
should never occur.  

Exception 

Increments when a ‘status’ response contains a line with 
insufficient information for storage but which may be a 
heading. 

Summary of Contents for FS-8700-101

Page 1: ...LICABILITY EFFECTIVITY Effective for all systems manufactured after May 1 2001 Driver Manual Supplement to the FieldServer Instruction Manual FS 8700 101 Setra Digital Pressure Gage Model 370 Driver Version 1 00 Document Revision 7 ...

Page 2: ...ptors 9 4 4 1 FieldServer Related Map Descriptor Parameters 9 4 4 2 Driver Related Map Descriptor Parameters 9 4 4 3 Timing Parameters 9 4 4 4 Map Descriptor Example 1 Read Pressure 10 4 4 5 Map Descriptor Example 2 Read Status 11 4 4 6 Map Descriptor Example 3 Verify 12 5 CONFIGURING THE FIELDSERVER AS A SETRA MODEL 370 DIGITAL PRESSURE GAGE SERVER 13 5 1 Server Side Connection Descriptors 13 5 2...

Page 3: ...able of providing active Client and passive Server support An active Client polls for data and processes responses it is not capable of processing unsolicited messages from the remote device A passive Server can respond to polls but is not capable of sending unsolicited messages reporting change of state or other information When configured as a Client it is important the digital Gage is configure...

Page 4: ...erver settings The following notes have been extracted from the operator s manual The Setra Digital Pressure Gage is capable of interfacing with a wide variety of computers or other devices through the RS 232 serial communications port Devices which are connected this way must be set up to communicate at the same rate of speed To change the baud rate of the gage the rate at which the gage sends in...

Page 5: ...rob Court Milpitas California 95035 USA Web www fieldServer com Tel 408 262 2299 Fax 408 262 9042 Toll_Free 888 509 1970 email support fieldServer com 3 Hardware Connections The FieldServer is connected to the rear side of the Model 370 Digital Pressure Gage as shown in the following connection drawing ...

Page 6: ...andard female DB25S pin connector This means that it receives data on pin 2 and sends data on pin 3 This is in contrast to DTE Data Transmission Equipment which receives data on pin 3 and sends data on pin 2 The RS 232 standard describes communications between DTE and DCE devices Since many computers have serial ports configured as DTE the Model 370 conveniently plugs directly into the standard se...

Page 7: ... 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 ...

Page 8: ...andshaking The Setra Model 370 does not support handshaking RTS RTS CTS None Poll _Delay Time between internal polls 0 32000 seconds 1 second Example Client Side Connections Connections Port Protocol Baud Parity Handshaking Poll_Delay P8 Setra370 2400 None None 0 100s 4 3 Client Side Node Descriptors Section Title Nodes Column Title Function Legal Values Node_Name Provide name for node Up to 32 al...

Page 9: ...p Descriptor RDBC 4 4 2 Driver Related Map Descriptor Parameters Column Title Function Legal Values Node_Name Name of Node to fetch data from One of the node names specified in Client Node Descriptor above Data_Type This commonly used parameter has no special meaning to this driver and may be omitted Register Coil AI DI Length Length of Map Descriptor The driver knows the correct length for the va...

Page 10: ...eters and hence the length of the Map Descriptor is 5 Refer to Appendix A for further information Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function Node_Name Gage_Function Length Scan_Interval Read_Press DA_PRESSURE 0 RDBC Gage1 Pressure 5 5 0s Reserves 5 elements of the Data Array to store response data Unique names assist config file validation debugging but are not necessary The na...

Page 11: ...20 parameters and hence the length of the Map Descriptor is 20 Refer to Appendix A for further information Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function Node_Name Gage_Function Length Scan_Interval Read_Status DA_STATUS 0 RDBC Gage1 Status 20 5 0s Reserves 20 elements of the Data Array to store response data Unique names assist config file validation debugging but are not necessar...

Page 12: ...erved to store the verification sting The verification string is stored by writing each consecutive letter in consecutive Data Array elements It is recommended that the Data_Array_Format is set to BYTE in this case This will enable the use of the String display to read the verification string in RuiNet Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function Node_Name Gage_Function Length Sc...

Page 13: ...ection the FieldServer virtual node s needs to be declared in the Server Side Nodes section and the data to be provided to the Clients needs to be mapped in the Server 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 5 1 Server Side Connection Descriptors Section Title Conne...

Page 14: ...umn Title Function Legal Values Node_Name Provide name for node Up to 32 alphanumeric characters Node_ID This commonly used parameter is not used by this driver and maybe omitted Protocol Specify protocol used Setra370 Server_Hold_Timeout Specifies time FieldServer will reserve Server side connection while waiting for the Client side to update data in Data_Array if necessary 1 0s Example Server Si...

Page 15: ...a Array section above Data_Array_Offset Starting location in Data Array 0 to maximum specified in Data Array section above Function Function of Server Map Descriptor Server Server_Hold_Timeout Specifies time FieldServer will reserve Server side connection while waiting for the Client side to update data in Data_Array if necessary 1 0s 5 3 2 Driver Specific Map Descriptor Parameters Column Title Fu...

Page 16: ...f the 5 elements are defined in Appendix A 1 1 The 2nd element is the units index the 3rd is the pressure indicating letter Both of these elements must be set to non zero values Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function Node_name Gage_Functon Length SRV_Pressure DA_PRESSURE 0 Server Gage1 Pressure 5 Data for the response to a P poll is extracted from this Data Array This funct...

Page 17: ...elds are absent in the response to a poll for status data then the values are set to zero for that field Offset where x is the offset specified in the MD Notes X 0 ELEV measurement A signed real number X 1 ELEV engineering units index See table Appendix A 2 Gage Pressure Units X 2 MAX measurement A signed real number X 3 MAX engineering units index See table Appendix A 2 Gage Pressure Units X 4 MI...

Page 18: ...rrectly there were no units reported the units reported were not part of the following list This may be the case if the Gage is reporting some custom units that the driver does not recognize 1 HPA 2 PSI psi 3 mbar MBAR 4 MmHG mmHg 5 MmH20 6 InH20 7 ft FT 8 m M 9 Units 10 inHG In HG IN HG Appendix A 3 Driver Limitations Exclusions This driver implements a subset of the commands defined by the proto...

Page 19: ...al pressure Gage must be left in an operational state in which it is able to respond to the commands polls sent by the FieldServer It is possible to enter a configuration mode using the buttons on the front panel of the Gage and then fail to complete the configuration sequence In such cases the Gage will not be able to respond to polls from the FieldServer This problem can be eliminated by ensurin...

Page 20: ... QA testing Set370 6 Err Array too short DA s MD s The Data Array associated with the reported MD is too short to store all the data returned by the Setra Gage Increase the length of the Data Array and of the Map Descriptor 3 Set370 7 Err Pressure message can t be parsed Abandoned The response to a pressure reading request cannot be parsed by the driver Use the connection view to check the number ...

Page 21: ...on offset indicated in the table below Offset x Where x port_number 100 Physical Port 1 Port Number 2 Physical Port 2 Port number 1 Data Array Offset Contents 0 For FieldServer use only 1 For FieldServer use only 2 For FieldServer use only 3 Increments by 1 each time a Client poll message is sent to a Gage 4 Increments each time a Client poll message is sent to a Gage Increases by the number of by...

Page 22: ...e driver PLC Bytes received Total number of bytes received by all message types on the Client side driver Protocol Protocol errors are incremented when the Client side cannot correctly parse a response message from the Gage This includes responses that are formatted differently from what the driver expects or messages that report the Gage is unable or in setup mode IC_Timeout Incoming message buff...

Page 23: ...e Gage Manual Page 23 of 23 FieldServer Technologies 1991 Tarob Court Milpitas California 95035 USA Web www fieldServer com Tel 408 262 2299 Fax 408 262 9042 Toll_Free 888 509 1970 email support fieldServer com THIS PAGE INTENTIONALLY LEFT BLANK ...

Reviews: