beautypg.com

Map descriptor example, 3 map descriptor example – FieldServer Profibus FS-8700-113 User Manual

Page 8

background image

FS-8700-113 Profibus DP Slave Driver Manual

Page 8 of 13

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: [email protected]

5.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

Get_Data

, Input_Data

, 0

, Rdbc

, Prof_5

, Word

, 0

, 100

Put_Data

, Output_Data

, 0.

, Wrbc

, Prof_5

, Word

, 0

, 100

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.

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.