ProtoNode Driver Manual (FS-8700-124) rev 6.doc Manual

Page 9 of 17

4.5.Map Descriptor Example.

4.5.1.

Example 1

// Client Side Map Descriptors

 

 

 

 

 

 

Map_Descriptors

 

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

Toshiba_Command,

Length,

Scan_Interval

A1,

DA_AI_01,

0,

RDBC,

Node_A,

OV1,

1,

5

For all commands except FAULT and ALARM, ensure that the Data_Array_Name points to an array of type float.

Make sure the Toshiba command supports the selected function.

For a list of commands, see Appendix A

All commands except ALARM and FAULT have length 1.

4.5.2.

Example 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

// Client Side Map Descriptors

 

 

 

 

 

 

Map_Descriptors

 

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

Toshiba_Command,

Length,

Scan_Interval

B1,

DA_DI_01,

23,

RDBC,

Node_A,

ALARM,

1,

5

B2,

DA_DI_01,

15,

RDBC,

Node_A,

ALARM,

4,

5

B3,

DA_DI_01,

0,

RDBC,

Node_A,

ALARM,

23,

5

For ALARM and FAULT, use bit arrays

Use the offset to read a specific bit or start reading at a specific bit. Use in conjunction with length. Max value is 23.

Specify number of bits to read. Maximum for Offset + Length is 23.

ProtoCessor 1991 Tarob Court Milpitas, California 95035 USA Web:www.protocessor.com

Tel: 408.964.4433 Fax: 408.964.4425 Toll_Free: 800.317.8319 email: sales@protocessor.com

Page 9
Image 9
FieldServer FS-8700-124 instruction manual Alarm