您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 咨询培训 > OPC-Toolbox-Users-Guide
OPCToolbox™User’sGuideR2012bHowtoContactMathWorks@mathworks.comProductenhancementsuggestionsbugs@mathworks.comBugreportsdoc@mathworks.comDocumentationerrorreportsservice@mathworks.comOrderstatus,licenserenewals,passcodesinfo@mathworks.comSales,pricing,andgeneralinformation508-647-7000(Phone)508-647-7001(Fax)TheMathWorks,Inc.3AppleHillDriveNatick,MA01760-2098Forcontactinformationaboutworldwideoffices,seetheMathWorksWebsite.OPCToolbox™User’sGuide©COPYRIGHT2004–2012byTheMathWorks,Inc.Thesoftwaredescribedinthisdocumentisfurnishedunderalicenseagreement.Thesoftwaremaybeusedorcopiedonlyunderthetermsofthelicenseagreement.NopartofthismanualmaybephotocopiedorreproducedinanyformwithoutpriorwrittenconsentfromTheMathWorks,Inc.FEDERALACQUISITION:ThisprovisionappliestoallacquisitionsoftheProgramandDocumentationby,for,orthroughthefederalgovernmentoftheUnitedStates.ByacceptingdeliveryoftheProgramorDocumentation,thegovernmentherebyagreesthatthissoftwareordocumentationqualifiesascommercialcomputersoftwareorcommercialcomputersoftwaredocumentationassuchtermsareusedordefinedinFAR12.212,DFARSPart227.72,andDFARS252.227-7014.Accordingly,thetermsandconditionsofthisAgreementandonlythoserightsspecifiedinthisAgreement,shallpertaintoandgoverntheuse,modification,reproduction,release,performance,display,anddisclosureoftheProgramandDocumentationbythefederalgovernment(orotherentityacquiringfororthroughthefederalgovernment)andshallsupersedeanyconflictingcontractualtermsorconditions.IfthisLicensefailstomeetthegovernment’sneedsorisinconsistentinanyrespectwithfederalprocurementlaw,thegovernmentagreestoreturntheProgramandDocumentation,unused,toTheMathWorks,Inc.TrademarksMATLABandSimulinkareregisteredtrademarksofTheMathWorks,Inc.See(Release14)August2004OnlineonlyRevisedforVersion1.1(Release14+)October2004OnlineonlyRevisedforVersion1.1.1(Release14SP1)March2005OnlineonlyRevisedforVersion1.1.2(Release14SP2)April2005OnlineonlyRevisedforVersion2.0(Release14SP2+)September2005OnlineonlyRevisedforVersion2.0.1(Release14SP3)March2006OnlineonlyRevisedforVersion2.0.2(Release2006a)September2006OnlineonlyRevisedforVersion2.0.3(Release2006b)March2007OnlineonlyRevisedforVersion2.0.4(Release2007a)September2007OnlineonlyRevisedforVersion2.1(Release2007b)March2008OnlineonlyRevisedforVersion2.1.1(Release2008a)October2008OnlineonlyRevisedforVersion2.1.2(Release2008b)March2009OnlineonlyRevisedforVersion2.1.3(Release2009a)September2009OnlineonlyRevisedforVersion2.1.4(Release2009b)March2010OnlineonlyRevisedforVersion2.1.5(Release2010a)September2010OnlineonlyRevisedforVersion2.1.6(Release2010b)April2011OnlineonlyRevisedforVersion3.0(Release2011a)September2011OnlineonlyRevisedforVersion3.1(Release2011b)March2012OnlineonlyRevisedforVersion3.1.1(Release2012a)September2012OnlineonlyRevisedforVersion3.1.2(Release2012b)ContentsGettingStartedIntroduction1ProductDescription...............................1-2KeyFeatures.....................................1-2OverviewofOPC,Servers,andtheToolbox..........1-3AboutOPCToolboxSoftware........................1-3AboutOPC.......................................1-4OPCServers.....................................1-5SystemRequirements..............................1-6GettingCommand-LineFunctionHelp..............1-7SetUpforOPCToolboxSoftware...................1-9PreparationIntroduction...........................1-9InstalltheOPCFoundationCoreComponents..........1-9ConfigureDCOM..................................1-10InstalltheMatrikonOPCSimulationServer...........1-17Troubleshooting...................................1-18TroubleshootingIntroduction........................1-18UnabletoFindanOPCServer.......................1-18“Classnotregistered”Error.........................1-19UnabletoQuerytheServer.........................1-19UnabletoConnecttoServer.........................1-19UnabletoCreateaGroup...........................1-19ErrorWhileQueryingInterface......................1-19vQuickStart:UsingOPCDataAccessFunctions2AccessDataatCommandLine......................2-2DAProgrammingOverview.........................2-2Step1:LocateYourOPCDataAccessServer...........2-3Step2:CreateanOPCDataAccessClientObject.......2-4Step3:ConnecttotheOPCDataAccessServer.........2-4Step4:CreateanOPCDataAccessGroupObject.......2-5Step5:BrowsetheServerNameSpace................2-6Step6:AddOPCDataAccessItemstotheGroup.......2-7Step7:ViewAllItemValues........................2-8Step8:ConfigureGroupPropertiesforLogging.........2-9Step9:LogOPCServerData........................2-9Step10:PlottheData..............................2-10Step11:CleanUp.................................2-
本文标题:OPC-Toolbox-Users-Guide
链接地址:https://www.777doc.com/doc-6372143 .html