beautypg.com

Map descriptor example – FieldServer FS-8700-114 X30 User Manual

Page 8

background image

FS-8700-114 DeviceNet Master 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 Descriptors

Map_Descriptors

Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , DeviceNet_Data_Type , Address , Length , Scan_Interval
Get_Data

, Input_Data

, 0

, RDBC

, CN1

, WORD

, 0

, 10

, 1s

Put_Data

, Output_Data

, 0.

, WRBC

, CN1

, WORD

, 0

, 10

, 1s

Note that each address
refers to an individual
remote input and output
buffer. Each buffer can
contain up to 1536 bytes.

Read function map
descriptor gets data
from the DeviceNet
network and stores it
in the Input_Data data
array.

Write function map
descriptor puts data
from the
Output_Data data
array onto the
DeviceNet network.