InTouch Proxy ObjectWord下载.docx
《InTouch Proxy ObjectWord下载.docx》由会员分享,可在线阅读,更多相关《InTouch Proxy ObjectWord下载.docx(40页珍藏版)》请在冰点文库上搜索。
TheInTouchProxyobjectisakeymemberofthecoresetofAutomationObjectswithintheArchestrAsysteminfrastructure.TheInTouchProxyobjectisaDeviceIntegrationobjectthatrepresentsarunningInTouchnode.TheInTouchnodeeffectivelyservesasthedataprovider(supportingtheSuiteLinkcommunicationprotocol)byprovidingdatapointstoGalaxyapplicationobjectsthroughtheInTouchProxyobject.
NoteThisobjectiscompatiblewithInTouchv7.11andlaterapplications.
Thereisaone-to-onerelationshipbetweenaninstanceoftheInTouchProxyobjectandarunningInTouchnode.AnInTouch"
node"
isauniquecombinationofthecomputernameandInTouchapplication.IfyouwanttoreferencedatapointsinmorethanoneInTouchnode,youmustconfigureanddeploymorethanoneInTouchProxyobject.Forexample,youwouldneedtoconfigureoneInTouchProxyobjecttogetdatafromanInTouchapplicationrunningonComputer1andanotheronetogetdatafromanInTouchapplicationrunningonComputer2.
WhenyouconfiguretheInTouchProxyobject,youmightwanttospecifyoneormoreexistingInTouchtagnames(items)touseasobjectattributes.Atruntime,iftheseattributesareaddedintheclient(forexample,theObjectViewerwatchwindow),theywillbeupdatedwiththelatestvaluesfromtheInTouchitems.InTouchwillsendanewdatavalueforanitemtotheInTouchProxyobjecteachtimethevaluechanges.AnyitemsthatyouconfigureforanInTouchProxyobjectwillautomaticallybecomeavailablewithintheArchestrAAttributeBrowser.
Fromotherobjectsandfromscripts,youcanreferencetheattributesyoucreatedforInTouchitems.Forexample,youmightconfiguretheinputsourceforaFieldReferenceobjecttoreferenceoneoftheseInTouchProxyobjectattributes.Thus,theFieldReferenceobject'
sinputsourcewouldbereceivingdatafromataginanInTouchnodeviatheInTouchProxyobject.ThereferencesyntaxforanInTouchProxyobjectdatapointis:
<
objectname>
.<
InTouchTagName>
The<
isthenamethatyouchoosetogivetotheInTouchProxyobject.
ThegroupofspecifiedInTouchitemsforanInTouchProxyobjectisalsoknownasthe"
scangroup."
OnlyonescangroupexistsintheInTouchProxyobject.Run-timeobjectattributeswithinthescangroupallowyoutomonitorerrorsrelatedtothedataqualityforInTouchitemvaluesinascangroup.
Itemsinthescangroupare“dynamic”inthattheyarecreatedoractivateddynamicallyduringruntime.
ThetimestampandthevaluecomingfromtheInTouchHMIisusedtoupdatetheattribute'
stimeandvalue.Ifthequalityforadynamicattributechanges,butthedatavaluedoesnotchange,thecurrenttimeprovidedbythehostingAppEngineisused.
AnInTouchProxyobjectcannotestablishadataconnectiontoanInTouchapplicationrunninginaterminalsession.
Forgeneralinformationonobjects,includingrelationships,deployment,andalarmdistribution,seetheIntegratedDevelopmentEnvironment(IDE)documentation.
Forinformationonconfigurationoptionsforobjectinformation,scripts,user-definedattributes(UDAs),orattributeextensions,clickExtensionsHelpintheHelpfileheader.
RelatedTopics
Run-TimeBehavior
Configuration
Run-TimeObjectAttributes
Thefollowinginformationdescribestherun-timebehaviorofInTouchProxyobjects.Run-timebehaviorislimitedtothestateofindividualInTouchProxyobjects.
Afterithasbeendeployedandisoperating,anInTouchProxyobjectcanassumeoneofseveralstates,whicharedescribedinthefollowingtable:
StateChange
Behavior
Startup
Inthisstate,theInTouchProxyobjectconnectstotheInTouchnode.
Goingonscan
None.
Runningonscan
Inthisstate,theInTouchProxyobject:
∙ServicesreadandwriterequestsfortagvaluesinthetargetInTouchnode.
∙ReceivesupdateddatafromtheInTouchnode.
∙SendsvaluestotheInTouchnode.
∙MonitorsandcontrolstheconnectiontotheInTouchnode.
∙Detectsalarmconditions,ifalarmingisenabled.
∙MonitorsthedataqualityforInTouchdatavaluesandupdatesrun-timeerrorstatisticsifthequalityisnotGOOD.
Goingoffscan
Offscan
Theobjectispassive,andreadsandwritestoInToucharenotenabled.
Shutdown
Inthisstate,theInTouchProxyobjectdisconnectsfromInTouch.
Thefollowingsectiondescribestheobjecteditoroptionsforconfigurationandtheassociatedattributes:
∙GeneralConfiguration
∙ItemsConfiguration
GeneralConfiguration
UsetheGeneraltabtospecifytheInTouchnodefromwhichtoretrievedataandtoenablealarmingforthedataconnection.
EditorOption
AssociatedAttribute
Description
Run-TimeAccess(Supervisory,User,Read-Only,None)
InTouchruntimenode
InTouchNode
Thenameofthenode(computer)onwhichtheInTouchapplicationruns.Ifyouleavethisattributeblank,itisassumedthatInTouch7.11orhigherisrunningonthesamenodeastheInTouchProxyobject.
Supervisory,User
Itembrowsepath
InTouchApplication
ThefullUNCdirectorypaththatcontainstheTagname.XfileforthetargetInTouchapplication.Theformatis:
\\Node\directory
TheInTouchapplicationdirectorymustbeashareddirectory.Clicktheellipsebuttontobrowsetotheshareddirectory.
None
Detectconnectionalarm
ConnectionAlarm.Alarmed
Ifenabled,analarmistriggeredwhentheInTouchProxyobjectcannolongercommunicatewiththeInTouchnode.
Priority
ConnectionAlarm.Priority
SeeAlarmAttributes.
Reconnectsecurity
Reconnect
UsedtosetsecurityforreconnectionstotheInTouchnode.
ItemsConfiguration
UsetheItemsConfigurationtabtoconfigureInTouchitems(tagnames)tobeusedasobjectattributes.
ScanMode
ScanMode
Thescanningmodeforthescangroup,eitherActiveOnDemand,Active,orActiveAll.FortheActiveOnDemandmode,attributesthatarenotactivelybeingreferencedbyanyclientorobjectarenotscanned.FortheActivemode,anattributeisalwaysintheactivescanningstate.Whenthelastreferencetotheattributeisunregistered(unadvised),theattributeisdeleted.ForActiveAll,anattributeisalwaysintheactivescanningstate,butwhenthelastreferencetotheattributeisunregistered(unadvised),theattributeisnotdeleted.
Attribute
ItemList
TheInTouchitems(tagnames)thatwillbeusedasattributesoftheInTouchProxyobject.Amaximumof5000InTouchtagnamescanbeadded.
UsetheAdd(plussign)buttontoadditemstothelist.YoucanclicktheellipsisbuttontobrowseandselectInTouchtagnames.Todeleteanitem,selecttheiteminthelistandclicktheDelete(crosssign)button.
Thefollowingtabledescribestherun-timeonlyattributesfortheobject.
NoteConfigurablerun-timeattributesaredescribedintheconfigurationsections.Formoreinformation,seeConfiguration.
Foralistofcommonobjectattributes,clickExtensionsHelpintheHelpfileheader.
Run-TimeAccess
(Supervisory,User,Read-Only,None)
Active
IftheActiveattributeissettoTRUE,andtheScanModeattributeissettoActiveorActiveAll,theobjectattemptstoscanallofthedataitemsinthegroup.IftheActiveattributeissettoTRUE,andtheScanModeattributeissettoActiveOnDemand,theobjectattemptstoscandataitemsinthegroupindividuallyaccordingtodemand.IftheActiveattributeissettoFALSE,noscanningoccurs,regardlessofthesettingoftheScanModeattribute.
AlarmDSCnt
Thetotalnumberofdisabledandsilencedalarmsintheobject.Sub-areasorsub-notification-distributorsarenotincluded.
Read-Only
AlarmOnCnt
Thenumberofactivealarmsinthedistributor.Doesnotincludesub-areasorsub-notification-distributors.
AlarmUnAckCnt
Thenumberofunacknowledgedalarmsinthedistributor(includingunacknowledgedreturn-to-normals).Doesnotincludesub-areasorsub-notification-distributors.
AliasDatabase
Usedtostorepairsofuser-definedattributenames(aliases)andt