Page 17 of 58 |
4.5.5.Map Descriptor Example 1. - Read Point Status
ThisMapDescriptorcanbeusedtopollforthesta tusofaparticularpoint.Whentheresponseisob tainedthedriversetsthevalue ofoneDataArrayelementtoanumberindicatingth epoint’sstatus.ThevaluesaredescribedinAppe ndixA.4.Youneedonesuch MapDescriptorforeverypointwhosestatusyouwis htopoll.NotesinAppendixA.13providemoreinfo rmation
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_name | Length | Scan_Interval, | sim4100_func | sim4100_card, | sim4100_point, | sim4100_sub |
| |||
A1, | DA_AI3, | 0, |
| RDBC, | Node_A, |
| 1, | 5, | Clist, | 1, | 2, | 3 |
| |
TheData | Thedatais |
| Thisidentifier |
| Ignoredforthe | Performthe'Computer |
|
|
| |||||
extractedfrom | writtenintothe | mustbethesame |
|
|
| |||||||||
Simplexprotocol | ListStatus'Functionto | SimplexDevice:Sub Point | ||||||||||||
thedeviceis | arraystartingat | asthenodename | ||||||||||||
unlessthe |
| (inthiscase)readthe |
|
|
| |||||||||
placedinthis | thisposition.A | usedtoidentify |
|
|
|
|
| |||||||
| sim4100_func=ackal | currentpointstatusof |
|
|
| |||||||||
driver | valueofzerois | theportconnected | SimplexDevice:Point | |||||||||||
l,clearall, |
| thepointspecifiedby | ||||||||||||
independent | equivalenttothe | totheSimplex |
|
|
|
|
| |||||||
|
|
|
| cardpointsub.This |
|
|
| |||||||
dataarray. | firstposition. |
| devicebeing |
|
|
|
|
|
|
| ||||
|
|
|
|
| functionreturnsfire, |
|
|
| ||||||
|
|
| describedinthis |
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
| supervisory,trouble.... |
|
|
| ||||
|
|
| mapDescriptor. |
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
| data.Theformatofthe | SimplexDevice:Card | ||||||
|
|
|
|
|
|
|
|
|
returneddatais describedinAppendixA
FieldServer Technologies1991TarobCourtMilpitas,California95035USA | Web:www.fieldserver.com | |||
Tel:(408)2622299 | Fax:(408)2622296 | Toll_Free:8885091970 | email:support@fieldserver.com |