FS-8700-123 MetOne Particle Counter Driver Manual
Page 12 of 22
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
5.7
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
D, A_COUNT_CTRL
, 0
, Wrbx
, MET1
, Count
, 1
, 1.0s
5.8
Map Descriptor Example 5 – Change Mode
In this example the driver sends a command to change the mode of the field device. The command sent is determined by the value found in the specified Data
Array location. In this example the function is set to Wrbx. This 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
Write_Mode
, DA_MODE_CTRL
, 0
, Wrbx
, MET1
, Mode
, 1
Set length to 1 for this
Met1_Function
Driver extracts one single value from this Data Array Offset and uses the value to send a
command to change the mode.
Auto Sample Mode: Value=1
Manual Sample Mode: Value=2
Active Mode : Value = 3
Standby Mode: Value = 4
If the value found is not valid then no command is sent.
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
Data_Array_Offset is
updated.
Driver extracts one single value from this DA:Offset and uses the value to
send a command to start counting (value=1 tells device to start counting in
computer mode and value=2 tells the device to start counting in auto
mode using its preset sample and hold times.) or stop counting (zero value)