FieldServer FS-8700-123 instruction manual Datimes Rdbc MET1

Page 10

FS-8700-123 MetOne Particle Counter Serial Driver Manual

Page 10 of 26

4.5.Map Descriptor Example 1 – Read Hold ( or Sample) Times from a Device.

In this example the driver reads the hold time from the field device. The time is stored in 3 consecutive Data Array elements. To read Sample Times simply change the Met1_Function to ‘Sample Time. The driver extracts the time from the response and stores the hours at the specified offset, the minutes in the next Data Array location and the seconds in the 3rd location.

//Client Side Map Descriptors

Map_Descriptors

 

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name

Met1_Function,

Length,

Scan_Interval

Read_Time,

DA_TIMES,

0,

RDBC,

MET1,

Hold Time ,

3,

5.0s

 

 

 

 

 

 

 

 

While

not

When

 

 

a

mandatory,

response

 

is

giving

each

received

 

the

Map

Descriptor

driver

extracts

a unique name

the data

and

will

help to

stores

it

in

the

diagnose

Data

 

Array

configuration

named

 

here

problems.

starting

 

at

the

 

 

location

 

 

 

 

specified

by

the

 

 

offset

 

 

 

 

 

parameter.

 

 

 

Tells

the driver

Tells

the driver

to read the Hold

Time

from the

to

Read

field device.

continuously.

 

 

The name of the Node. The driver uses this name to link the Map Descriptor to a Node Descriptor (where it finds the Device Number specified with the Node_ID parameter). The Node Descriptor provides a link to the connection.

Reserves 3

Data array locations for storing data.

This task must be executed

every 5 seconds.

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 10
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 Node Descriptors Client Side Connection DescriptionsHF 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