Page 9 of 14 |
4.4.3.Map Descriptor Example.
//Server side Map Descriptor
Map Descriptor |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_Name, | Profibus_Data_Type, | Address, | Length, | Scan_Interval |
Get_Data, | Input_Data, | 0, | RDBC, | Prof_5, | WORD, | 0, | 100, | 1s |
Put_Data, | Output_Data, | 0. | WRBC, | Prof_5, | WORD, | 0, | 100, | 1s |
|
|
|
|
|
|
|
|
|
Read function Map Descriptor gets data from the Profibus network and stores it in the Input_Data Data Array.
Write function Map Descriptor puts data from the Output_Data Data Array onto the Profibus network.
Note that each address refers to an individual local input and output buffer. Each buffer can contain up to 244 bytes, although the combined total is limited to 416 bytes.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com Tel: (408)