| Page 14 of 58 | |||
| Example |
|
|
|
|
|
|
|
|
| //ClientSideNodes |
|
|
|
| Nodes |
|
|
|
| Node_Name, | PLC_Type, | Protocol, | Connection |
| Device1, | 4100U, | Sim4100, | P8 |
4.4.Client Side Driver Tables
Adrivertableisusedtoextendatableofvalues/ attributesthathavebeenhardcodedinto
thedriver.Itispossibletoextendthetablesus ingCSVfileparameters.
Additionalinformationontheuseofthesetablesm aybefoundinAppendixA.8
4.4.1.SHOW Response Attributes Driver Table
Column Title | Function | Legal Values | |
Protocol | Theprotocolmustbespecifiedoneachrow | Sim4100 | |
ofadrivertable. | |||
|
| ||
| TheSHOWcommandresponseconsistsof | Theexact | |
| character | ||
| anumberofattributesandtheircurrent | ||
| sequencethat | ||
| state/values. | ||
sim4100_Attr_Name | mustbe | ||
| |||
| Usethisparametertoaddanewattributeto | specified.May | |
| includeanequal | ||
| thetable. | ||
| sign. | ||
|
| ||
| Iftheresponsecontainstheattributedefined |
| |
| above,itscurrentstate/valuemustbestored |
| |
sim4100_Attr_Offset | atoffsetxintheassociatedDataArray. | Maynotbezero. | |
Usethisparametertodefinex.Takecareto | |||
|
| ||
| leaveenoughspaceforthoseattributes |
| |
| whichhavemultiplevalues. |
| |
| Thisparametertellsthedriverhowto |
| |
| convertthecurrentstate/valueforstoragein |
| |
| theDataArray.Forexample,thedriver |
| |
| cannotstorethestate‘Normal’.By | 1,2,3 | |
sim4100_Attr_Method | specifyingmethod1,youtellthedriverto | ||
Maynotbezero. | |||
| usethestatedescriptor‘Normal’inalookup | ||
|
| ||
| tableofattributestatestofindthevalue |
| |
| associatedtoNormalandtostorethat |
| |
| value. |
|
FieldServer Technologies1991TarobCourtMilpitas,California95035USA | Web:www.fieldserver.com | |||
Tel:(408)2622299 | Fax:(408)2622296 | Toll_Free:8885091970 | email:support@fieldserver.com |