FS-8700-104_ControlNet_X30 Manual
4.4.3.
Map Descriptor Example.
//
Client side Map Descriptors
Map_Descriptors
Map_Descriptor_Name,
Data_Array_Name,
Get_Data,
Input_Data,
Put_Data,
Output_Data,
Read function map
descriptor gets data
from the ControlNet
network and stores it
in
the
Input_Data
data array.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldserver.com
Page 9 of 13
Data_Array_Offset,
Function,
0,
RDBC,
0.
WRBC,
Write function map
descriptor
puts
data
from
the
Output_Data data
array
onto
the
ControlNet
network.
Node_Name,
CNT_Data_Type,
CN5,
WORD,
CN5,
WORD,
Note the start
address for the
output buffer is
4.
Addresses
0-3
are
not
available.
Address,
Length,
Scan_Interval
0,
225,
1s
4,
225,
1s
Note that each address
refers to an individual
local input and output
buffer. Each buffer can
contain up to 450 bytes.