FieldServer FS-8700-123 instruction manual Map Descriptor Example 4 Start / Stop Counting

Page 12

FS-8700-123 MetOne Particle Counter Serial Driver Manual

Page 12 of 26

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

 

 

 

 

 

 

 

 

Driver extracts one single value from this

Command is

sent

DA:Offset and uses the value to send a

each time the value

command to start counting (non-zero value) or

at

DA:offset

is

stop counting (zero value)

updated.

 

Set length to 1 for this Met1_Function

When the function is wrbx then the scan interval parameter is ignored.

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 12
Contents MetOne Particle Counters Applicability & EffectivityTable of Contents MetOne Particle Counter Serial Description FS-8700-123 MetOne Particle Counter Serial Driver Manual Hardware Connections Hardware Connection Tips / Hints RS-232 PortConfiguring the FieldServer as a MetOne PC Serial Client Data Arrays/DescriptorsClient Side Connection Descriptions Client Side Node DescriptorsHF CNC Driver Related Map Descriptor Parameters Timing ParametersDatimes Rdbc MET1 Map Descriptor Example 3 Read the operating mode Datimes Wrbx MET1Map Descriptor Example 4 Start / Stop Counting Map Descriptor Example 5 Change Mode Map Descriptor Example 6 Select Device Map Descriptor Example 7 Read the Current Record Map Descriptor Example 8 Dumping the Current Record DACURRD01LBL ,0 Map Descriptor Example 10 Reading from a SubDevice/Port Map Descriptor Example 11 Selecting a Sub-Device/Port Configuring the FieldServer as a MetOne PC Serial Server Appendix A. Driver Error Messages Page Appendix A.1. Driver Operating and Error Statistics FYIAppendix A.2. Driver Exposed Operating and Error Statistics UINT32Page This page Intentionally Left Blank