Driver Manual |
5.4.4 Map Descriptor Example.
In this example the FieldServer can respond to polls the request %R data provided that the request is in the range of address indicated below.
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name, Address, Length, Data_Type
, TABLE_R | , 0 | , passive, PLC1 , 1 | , 1000 ,%R |
If the client is reading then response data will be obtained from this table. If the client array writing then incoming data will be stored in this array.
Address 1 |
|
corresponds to | This is a server. It |
offset zero (1st | responds to polls but |
location) in the | does no active work |
array. | itself. |
If client reads %R15 |
|
then driver responds |
|
with data from |
|
element 14 of the |
|
array. |
|
This map descriptor | This map descriptor |
can be used to | will be used to |
respond to poll that | process client |
read and write to | read/writes of |
addresses 1 to 1000. | Register (%R) data. |
If a poll attempts to |
|
read data at address |
|
1001 then if no |
|
other map descriptor |
|
covers that address |
|
space then a no data |
|
response will be |
|
sent. |
|
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 (408)
Visit our website: www.fieldserver.com