FieldServer FS-8700-83 Driver Notes, 7.1ICTimeout, 7.2Driver Stats, Connections, Port, Baud, 2400

Models: FS-8700-83

1 24
Download 24 pages 19.21 Kb
Page 22
Image 22
Page 20 of 24

FS-8700-83 Gamewell

Page 20 of 24

7.Driver Notes

7.1IC_Timeout

The connection IC_Timeout must be set to zero. This is done in the CSV file by setting IC_Timeout parameter.

The following fragment from a CSV file illustrates how this is done.

Connections

Port,

Baud,

Parity,

Data_Bits,

Stop_Bits,

IC_Timeout

P1,

2400,

None ,

8

,

1

,

0

7.2Driver Stats

In addition to the standard FieldServer communication statistics described in the FieldServer User’s Manual, the Gamewell Serial Driver can also expose some driver statistics by writing data to a data array. A special map descriptor is required. The driver recognizes the map descriptor by its name which must be "Gamewell-stats" .

The following example shows how this special map descriptor can be configured. You can copy this section of text directly into your CSV file.

Nodes

Node_name , Node_ID, Protocol dummy_node, 0 , Gamewell
Data_Arrays

Data_Array_Name , Data_Format, Data_Array_Length

DA_GAMEWELL_STATS, uint16 , 500

Map_Descriptors

Map_Descriptor_Name, Data_Array_Name , Data_Array_Offset, Function, node_name ,

Gamewell-Stats , DA_GAMEWELL_STATS, 0
, passive , dummy_node,

When the driver sees this map descriptor it uses the data array DA_GAMEWELL_STATS (in this example) to store driver specific statistics. Only one of these map descriptors may be specified per FieldServer.

The offset into the array is based on the port number. 30 arrays locations are used per port.

The offset is obtained by multiplying the port number by 30.

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

Page 22
Image 22
FieldServer FS-8700-83 Driver Notes, 7.1ICTimeout, 7.2Driver Stats, Connections, Port, Baud, Parity, DataBits, StopBits