FieldServer FS-8700-123 Computer Drive User Manual


 
FS-8700-123 MetOne Particle Counter Serial Driver Manual Page 12 of 26
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
4.8. Map Descriptor Example 4 – Start / Stop Counting.
In this example the driver sends a command to start or stop the field device from counting based on the value found in the Data Array
element. If the value is non-zero, the field device will be commanded to start counting. If the value is zero, the field device will be
commanded to stop counting. In this example the function is set to wrbx which means the command message will be sent each time
the value found at the specified offset in the specified Data Array is updated even if it is not changed.
// Client Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name Met1_Function, Length, Scan_Interval
Write_Count_Mode, DA_COUNT_CTRL, 0, wrbx, MET1, Count , 1, 1.0s
When the function is
wrbx then the scan
interval parameter is
ignored.
Set length to 1 for
this Met1_Function
Command is sent
each time the value
at DA:offset is
updated.
Driver extracts one single value from this
DA:Offset and uses the value to send a
command to start counting (non-zero value) or
stop counting (zero value)