Unscheduled map descriptor example – FieldServer ControlNet FS-8700-24 User Manual

Page 10

Advertising
background image

Driver Manual

Page 10 of 12

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

4.3.4.

Unscheduled Map Descriptor Example

The following Map Descriptor will read data from a PLC5.


// Server Side Map Descriptors

Map Descriptors

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

Block_Number,

PCCC_Type,

Address,

Length

A1,

DA_AI3,

0,

RDBC,

PLC5,

7,

SINT,

33,

5


The following Map Descriptor will send data to the card to allow other nodes to read the data contained in the FieldServer’s Data
Array.


// Server Side Map Descriptors

Map Descriptors

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

Block_Number,

PCCC_Type,

Length

Address,

A1,

DA_AI3,

0,

WRBC,

Local,

7,

SINT,

5

125,

Offset into the file

Offset into the file
(N7:33)

(N7:125)


Active Map Descriptor
polls the PLC regularly
(change to WRBC to write)

Remote Node
name of the PLC
to poll

PLC 5 file number to
read (N7:33)

PLC 5 emulated file
number (7-39)

Node name whose MacId
matches the
System_Station_Address

FS-8700-24 ControlNet

Active Map Descriptor
transfers the data to or
from the card (change to
RDBC to read data
written by other nodes)

Advertising