FieldServer FS-8700-127, HCS-R instruction manual Map Descriptor Example Read Data and Keep History

Page 10

FS-8700-127 Hanning & Kahl HCS-R Manual

Page 10 of 17

4.6.Map Descriptor Example: Read Data and Keep History

This Map Descriptor allows the storage of data history up to HCSR_Data_Stages. Data will be shifted to next Stage only if the data is changed. The driver divides the Data Array into sections corresponding to the number of HCSR_Data_Stages. Current data (stage1) will be stored in the first section and oldest (last stage) data will be stored in the last section in the Data array.

Map_Descriptors

 

 

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_name

Length

Scan_Interval,

HCSR_Data_Stages

 

CMD_DI_HCSR_01,

DA_CURRENT,

0,

RDBC,

Node_A,

72,

5,

3

 

Map_Descriptors

 

 

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_name

Length

HCSR_Onfrom

HCSR_Loop

HCSR_Data_Stages

CMD_FromLoop_01,

DI_FromLoop01,

0,

Passive_Client,

Node_A,

63,

From

1

3

CMD_OnLoop_01,

DI_OnLoop01,

0,

Passive_Client,

Node_A,

63,

On

1

3

CMD_FromLoop_02,

DI_FromLoop02,

0,

Passive_Client,

Node_A,

63,

From

2

3

CMD_OnLoop_02,

DI_OnLoop02,

0,

Passive_Client,

Node_A,

63,

On

2

3

CMD_FromLoop_03,

DI_FromLoop03,

0,

Passive_Client,

Node_A,

63,

From

3

3

CMD_OnLoop_03,

DI_OnLoop03,

0,

Passive_Client,

Node_A,

63,

On

3

3

CMD_FromLoop_4,

DI_FromLoop04,

0,

Passive_Client,

Node_A,

63,

From

4

3

CMD_OnLoop_04,

DI_OnLoop04,,

0,

Passive_Client,

Node_A,

63,

On

4

3

 

 

 

 

 

 

 

 

 

Name one of the Data Array

defined in Data_Array section to store data

Starting offset in Data Array to hold data

RDBC will cause read poll and Passive_Client is used to store data returned by response.

One

of

the

Maximum

 

How often

(in

The number of

 

seconds) to

poll

Nodes

declared

number

of

data

stages

target device.

in Client

Node

placeholders for

(data

changes)

Irrelevant

if

Section.

This

data storage.

 

to be

kept as

 

Function

is

Node

will

be

 

 

history.

 

 

 

Passive_Client

 

polled

 

if

 

 

 

 

 

 

 

 

 

 

 

Function

is

 

 

 

 

 

 

RDBC

 

 

 

 

 

 

 

 

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 HCS-R Table of Contents Hanning & Kahl HCS-R Description FS-8700-127 Hanning & Kahl HCS-R Manual Hardware Connections Hardware Connection Tips / HintsData Arrays/Descriptors Configuring the FieldServer as a HCS-R ClientDacurrent HCS-R Client Side Connection DescriptionsClient Side Node Descriptors Hcsr HCS-RDriver Related Map Descriptor Parameters Timing ParametersMap Descriptor Example Read Data CMDDIHCSR01 Dacurrent RdbcMap Descriptor Example Read Data and Keep History CMDDIHCSR01 Dacurrent RdbcServer Side Connection Descriptors Configuring the FieldServer as a HCS-R ServerHcsr Server Side Node Descriptors Driver Specific Map Descriptor Parameters SMDHCSR01 Dahcsr Appendix A.1.1 DataType is AnaInput or not specified Appendix A.1.2 DataType is DigiInputAppendix A.2.1 DataType is AnaInput or not specified Appendix A.2 . How Server expects DataAppendix A.2.2 DataType is DigiInput This page Intentionally Left Blank