FieldServer FS-8700-86 instruction manual Appendix A.4.2 Time Values, Light, Dark

Page 20

FS-8700-86 Carrier DataPort

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

Image 20
Contents Driver Manual FS-8700-86 Carrier DataPort Applicability & EffectivityTable of Contents FS-8700-86 Carrier DataPort Carrier DataPort Description DescriptionFS-8700-86 Carrier DataPort Hardware Connections Data Arrays FS-8700-86 Carrier DataPort Client Side Connections FS-8700-86 Carrier DataPort Client Side Node Descriptors Driver Related Map Descriptor Parameters Timing ParametersFS-8700-86 Carrier DataPort Map Descriptor Example 1 Read Bit FS-8700-86 Carrier DataPort Server Side Connections Server Side Node DescriptorsDriver Specific Map Descriptor Parameters FS-8700-86 Carrier DataPort NumericTime StringFS-8700-86 Carrier DataPort Map Descriptor Example Ascii Appendix A.2. Field / Variable Names BestDadump Byte DadumpFS-8700-86 Carrier DataPort Page Dark Appendix A.4.2 Time ValuesLight FS-8700-86 Carrier DataPort Appendix A.4.3 Numeric Values Appendix A.4.4. Occupancy Strings / ValuesAppendix B.2. Timeouts Appendix B.3. Determining Storage LocationsNodes NodeName Protocol Port NodeA CarrierDP TabledisplayServer.ini all one single line Crfanstb Page FYI Error Message Explanation CarrierDP13 FS-8700-86 Carrier DataPort FS-8700-86 Carrier DataPort FS-8700-86 Carrier DataPort Appendix D.1. Driver Stats DacarrierdpstatsFS-8700-86 Carrier DataPort