Map Descriptor Example; Example 1; Example 2 - FieldServer FS-8700-124 Driver Manual

Tic ups
Table of Contents

Advertisement

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

Map Descriptor Example.

4.5.1.

Example 1

// Client Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name,
Data_Array_Name,
A1,
DA_AI_01,
For all commands except
FAULT and ALARM,
ensure that the
Data_Array_Name points
to an array of type float.
4.5.2.

Example 2

// Client Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name,
Data_Array_Name,
B1,
DA_DI_01,
B2,
DA_DI_01,
B3,
DA_DI_01,
For ALARM and
FAULT, use bit
arrays
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
Data_Array_Offset,
Function,
0,
RDBC,
Make sure the Toshiba
command supports the
selected function.
Data_Array_Offset,
Function,
23,
RDBC,
15,
RDBC,
0,
RDBC,
Use the offset to read a specific bit or
start reading at a specific bit. Use in
conjunction with length. Max value is
23.
Node_Name,
Toshiba_Command,
Node_A,
OV1,
For a list of
commands, see
Appendix A
Node_Name,
Toshiba_Command,
Node_A,
ALARM,
Node_A,
ALARM,
Node_A,
ALARM,
Specify number of bits to
read. Maximum for Offset
+ Length is 23.
Page 9 of 17
Length,
Scan_Interval
1,
5
All commands except
ALARM and FAULT
have length 1.
Length,
Scan_Interval
1,
5
4,
5
23,
5

Advertisement

Table of Contents
loading

Table of Contents