| Page 20 of 32 |
In the following two examples the keywords that are not recognized are 'Reset T' and 'Tripout' respectively
CarrDP:#24 Err. MD=<MapDesc1> discrete state word not recognized.
T02> <MODE Reset T 000 000 Control Mode
>
T02> CarrDP:#24 Err. MD=<MapDesc1> discrete state word not recognized.
T02> | <STATUS Tripout 000 000 Run Status |
> |
|
In the following example the keyword '********' is not being recognized. If this message is printed it is necessary to consult Carrier Corp. to learn why a variables’ value is printed as '********'. It may be that the value is over range or invalid.
T02> CarrDP:#24 Err. MD=<MapDesc1> discrete state word not recognized.
T02> <CHWPD ********** 020 000 Chilled Water Delta P
>
T02>
Extending the List of Discrete State Words
You can extend the list of state words the driver recognizes by modifying the configuration CSV file.
The following example adds three state words. If a device reports the state of the variable as LIGHT then the driver will store the value of 1, if on the other hand the state is reported as DARK then the driver will store the value zero.
Keyword starts a new section of the CSV file.
State Words | Normally | the values | ||
| ||||
The name will be | will be | 1/0 | for | the |
stripped of all | on/off states | but | the | |
spaces between the | driver | does | not | |
last character and | restrict the value. |
|
the comma.
Protocol must be defined on every line.
Driver_Table |
|
|
|
|
Carrier_Attr_State_Name, | Carrier_Attr_State_Value, | Protocol | ||
LIGHT | , | 1 | , | CarrierDP |
DARK | , | 0 | , | CarrierDP |
This method may be used to change the values of any of the driver’s default state words by duplicating the word and specifying a new value in the configuration file.
Appendix A.4.2. | Time Values |
If the driver receives a variable value reported in the format hh:mm then the driver stores a number obtained by multiplying the hours by 60 and adding the minutes. The driver recognizes a time value by checking the 3rd character for a colon and checking that the 1st character is a digit.
Value_Stored = hh * 60 + mm
E.g. 5:30pm is reported as 17:20 and is stored as 17*60 + 20 = 1040.
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.com