| Page 15 of 17 |
Appendix A. Advanced Topics
Appendix A.1. 1. How Client Stores Data:
The HCS will be polled by an RDBC Map Descriptor and data will be stored in the DA_Current Data Array in the following fashion if parameter HCSR_Data_Stages >1:
•New data is stored as current data.
•If data is changed, last current data is moved to 2nd Stage, 2nd Stage data is moved to 3rd stage and 3rd stage data is lost.
Appendix A.1.1. | Data_Type is Ana_Input or not specified | |||||||
|
|
|
|
|
|
|
| |
| Data Array Offset |
|
|
| Description |
|
| |
| Current Data |
|
|
|
|
|
|
|
| 0 - 18 |
| Data bits ( 0 - 1 ) |
|
| |||
| 19 |
| Receipt ok ( 0 ), Disturbance ( 1 ) |
|
| |||
| 20 |
| From Loop ( 0 ), On Loop ( 1 ) |
|
| |||
| 21 |
| Loop Number (1,2,3,4) as integer |
|
| |||
| 2nd (Previous) Data |
|
|
|
|
|
|
|
| 24 – 42 |
| Data bits ( 0 – 1 ) |
|
| |||
| 43 |
| Receipt ok ( 0 ), Disturbance ( 1 ) |
|
| |||
| 44 |
| From Loop ( 0 ), On Loop ( 1 ) |
|
| |||
| 45 |
| Loop Number (1,2,3,4) as integer |
|
| |||
| 3rd (Prior to previous) Data |
|
|
|
|
|
| |
| 48 – 66 |
| Data bits ( 0 – 1 ) |
|
| |||
| 67 |
| Receipt ok ( 0 ), Disturbance ( 1 ) |
|
| |||
| 68 |
| From Loop ( 0 ), On Loop ( 1 ) |
|
| |||
| 69 |
| Loop Number (1,2,3,4) as integer |
|
| |||
Appendix A.1.2. | Data_Type is Digi_Input | |||||||
|
|
|
|
|
|
| ||
| Data Array Offset (Say 0) |
|
|
| Description |
| ||
| Current Data |
|
|
|
|
|
|
|
| 0 - 18 |
| Data bits ( 0 - 1 ) |
| ||||
| 19 |
| Receipt ok ( 0 ), Disturbance ( 1 ) |
| ||||
| 20 |
| From Loop ( 0 ), On Loop ( 1 ) |
| ||||
| 21,22,23 |
| 3 bits for Loop Number |
| ||||
|
|
| Offsets |
|
|
|
| |
|
|
| 21 22 23 |
|
|
| ||
|
|
| 1 | 0 | 0 |
| ||
|
|
| 0 | 1 | 0 |
| ||
|
|
| 1 | 1 | 0 |
| ||
|
|
| 0 | 0 | 1 |
| ||
| 2nd (Previous) Data |
|
|
|
|
|
|
|
| 24 – 42 |
| Data bits ( 0 – 1 ) |
| ||||
| 43 |
| Receipt ok ( 0 ), Disturbance ( 1 ) |
| ||||
| 44 |
| From Loop ( 0 ), On Loop ( 1 ) |
| ||||
| 45 |
| Loop Number (1,2,3,4) in 3 bits as above |
| ||||
| 3rd (Prior to previous) Data |
|
|
|
|
|
| |
| 48 – 66 |
| Data bits ( 0 – 1 ) |
| ||||
| 67 |
| Receipt ok ( 0 ), Disturbance ( 1 ) |
| ||||
| 68 |
| From Loop ( 0 ), On Loop ( 1 ) |
| ||||
| 69 |
| Loop Number (1,2,3,4) in 3 bits as above |
|
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.FieldServer.com Tel: 408