| Page 9 of 15 |
4.5.Map Descriptor Example: Read Indications
The following Map Descriptors will read 256 indication statuses from physical Server Node_A (described in Client Side Node Descriptors section) after every 1 second. One such Map Descriptor is required for each Node.
//Client Side Map Descriptors
Map_Descriptors |
|
|
|
|
|
|
|
|
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_name | Data_Type, | SCS128_Poll_Type, | Length, | Scan_Interval |
CMD_DI1, | DA_DI, | 0, | RDBC, | Node_A, | Flag, | Recall, | 256, | 1 |
CMD_DI2, | DA_8I_01, | 0, | RDBC, | Node_A, | Byte, | Poll, | 32, | 1 |
CMD_DI3, | DA_16I_01, | 0, | RDBC, | Node_A, | Register, | 2, | 16, | 1 |
CMD_DI4, | DA_32I_01, | 0, | RDBC, | Node_A, | 1, | 8, | 1 | |
|
|
|
|
|
|
|
|
|
Name of one of the | Starting | offset | One of the Nodes | Number | of consecutive | |||||||
Data Arraya defined | in | Data | Array | declared | in | Node | locations | in | the | Data | ||
in the Data_Array | to | hold | 1st | Section. | Indications | array to be used for | ||||||
section. | Indication | indication | will be read from the | storing data | from | the | ||||||
statuses | will | be | status |
| station | address | Server. |
|
|
| ||
stored in | this | Data |
|
|
| belonging | to | this |
|
|
|
|
Array |
|
|
|
|
| Node |
|
|
|
|
|
|
Frequency (in seconds) to read Indication Statuses
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.FieldServer.com Tel: 408