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
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 , GamewellData_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 ,
| , 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)