Page 10 of 12 |
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, A1,
Data_Array_Name, Data_Array_Offset, | Function, | Node_Name, Block_Number, | PCCC_Type, | Address, | Length | ||
DA_AI3, | 0, | RDBC, | PLC5, | 7, | SINT, | 33, | 5 |
Active Map Descriptor polls the PLC regularly (change to WRBC to write)
Remote Node |
| Offset into the file |
name of the PLC | PLC 5 file number to | (N7:33) |
to poll |
| |
read (N7:33) |
| |
|
|
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, A1,
Data_Array_Name, Data_Array_Offset, | Function, | Node_Name, | Block_Number, | PCCC_Type, | Address, | Length | |
DA_AI3, | 0, | WRBC, | Local, | 7, | SINT, | 125, | 5 |
Active Map Descriptor transfers the data to or from the card (change to RDBC to read data written by other nodes)
Node name whose MacId |
|
|
matches the | PLC 5 emulated file | Offset into the file |
System_Station_Address | number | (N7:125) |
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com Tel: (408)