Page 14 of 51 |
4.4.4.Map Descriptor Example 1 – N2Open
| // Client Side Map Descriptors |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
| Map_Descriptors |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
| Map_Descriptor_Name, |
| DA_Name, |
|
| DA_Offset, |
| Function, |
| MN2_Function |
| Node_name |
|
| Address |
| Data_Type |
| Scan_Interval |
|
|
|
|
|
|
| , |
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
| AI_READ, | DA_AI3, | 0, |
| RDBC, |
| Node_A, | 1, |
| Ana_Input | 5s | |||||||||
| COS_POLLER, | DA_COS, | 0, |
| COS_Poller, |
| Node_A, |
| 30s |
| ||||||||||
| AI_BY_COS, | DA_AI3, | 1, |
| COS_Read, |
| Node_A, | 1, |
| Ana_Input, | - |
| ||||||||
| BI_BY_COS, | _BI, | 3, |
| COS_Read, |
| Node_A, | 2, |
| Dig_Input, | 10 |
| ||||||||
| AI_1_Release, | _Release, | 0, |
| WRBX, |
|
| Node_A, | 1, |
| Ana_Input, | - |
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Normal read Map Descriptor. Note RDBC function, Data_Type and Address specification.
COS_Poller Map Descriptor. This only specifies the Function, Node and Scan_Interval.
COS_Read Map Descriptor sets point type the same as normal read Map Descriptor. Optional scan_interval.
Release function used in conjunction with wrbx. If the Data Array value specified in this Map Descriptor is changed, then a Release command is sent to the specified point.
Note:
To get change of state (COS) reports from an analog port, the warning/alarm levels need to be configured. If the alarm/warning values are not known, then it would be better to configure an RDBC Map Descriptor which reads the analog input directly. Limits will then not be required.
4.4.5.Map Descriptor Example 2 - VMA
//Client Side Map Descriptors
Map_Descriptors |
|
|
|
|
|
|
|
|
|
Map_Descriptor_Name, | DA_Name, | DA_Offset, | Function, | MN2_Function, | Node_name, | Address, | Data_Type, | MN2_Type, | Scan_Interval |
AI_READ, | DA_AI3, | 0, | RDBC, | Node_VMA, | 1, | Ana_Input | 5s | ||
AO_WRITE, | DA_AO, | 0, | WRBX, | Node_VMA, | 3, | Ana_Output, | 30s | ||
AO_Release, | DA_AO, | 0, | WRBX, | Release, | Node_VMA, | 3, | Ana_Output, | - | |
Special_type, | DA_DRV, | 10, |
| Node_VMA, | 23, | Driver, | 5, | 10s | |
Override release function configured as wrbx. | Driver type 5 (ADF) configured here. |
|
|
|
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)