FieldServer FS-8700-123 instruction manual Map Descriptor Example 5 Change Mode

Page 13

FS-8700-123 MetOne Particle Counter Serial Driver Manual

Page 13 of 26

4.9.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,

Driver extracts one single value from this DA:Offset and uses

 

Set length to 1 for

 

the value to send a command to change the mode.

 

this Met1_Function

 

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.

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 13
Contents Applicability & Effectivity MetOne Particle CountersTable of Contents MetOne Particle Counter Serial Description FS-8700-123 MetOne Particle Counter Serial Driver Manual Hardware Connections RS-232 Port Hardware Connection Tips / HintsData Arrays/Descriptors Configuring the FieldServer as a MetOne PC Serial ClientClient Side Node Descriptors Client Side Connection DescriptionsHF CNC Timing Parameters Driver Related Map Descriptor ParametersDatimes Rdbc MET1 Datimes Wrbx MET1 Map Descriptor Example 3 Read the operating modeMap 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 FYI Appendix A.1. Driver Operating and Error StatisticsUINT32 Appendix A.2. Driver Exposed Operating and Error StatisticsPage This page Intentionally Left Blank