Page 18 of 37 |
5.1.3.Map Descriptor Example 1: IO Read
The following Map Descriptor enables the Driver to serve the clients for CIO memory operations. The Command_Name “MEMORY AREA READ” makes this memory readable.
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_Name | Address | Length | Data_Type | Command_Name | Unit_Number |
SRV_CIOr, | DA_CIO, | 0, | SERVER, | PLC1, | 0, | 6143, | MEMORY AREA READ | 0 |
One of the Data |
|
|
|
Arrays declared in |
|
|
|
the Data_Array |
|
|
|
section. |
|
|
|
Driver will serve |
|
|
|
client for CIO |
|
|
|
operations using this | Specify the | This is the | Starting Address |
Data Array. | |||
| Driver to Serve | logical name of | of the memory |
| Clients. | the server device | area to serve. |
Starting |
| having the |
|
location for data |
| parameters |
|
within Data |
| defined in section |
|
Array |
| “Server Node |
|
|
| Descriptors”. |
|
Specify the | Specifies the type | Command Name |
number of | of memory to | specifies the |
elements | serve. | Main and Sub |
(number of | Also this | request codes to |
Words in this | parameter can be | make a request to |
case) that this | replaced with | read this |
Map | Memory_Code | memory. |
Descriptor | parameter. | Assigning Direct |
can serve. | See chapter 6 to | MRC and SRC |
| for memory | parameters can |
| codes | replace this |
|
| parameter. |
|
| See chapter 6 to |
|
| for MRC |
|
| values to enable |
|
| to read this CIO |
|
| memory area. |
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)