您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 信息化管理 > I-7000 DLL开发文档
DCON_FUNUser’sManual,2006.Aug,Version.1.0.------1-DCON_FUNUser’sManual(Version1.0)DynamicLinkLibrary(DLL)forDCON(I-7000/8000/87K)SeriesModulesWarrantyAllproductsmanufacturedbyICPDASInc.arewarrantedagainstdefectivematerialsforaperiodofoneyearfromthedateofdeliverytotheoriginalpurchaser.WarningICPDASInc.assumesnoliabilityfordamagesconsequenttotheuseofthisproduct.ICPDASInc.reservestherighttochangethismanualatanytimewithoutnotice.TheinformationfurnishedbyICPDASInc.isbelievedtobeaccurateandreliable.However,noresponsibilityisassumedbyICPDASInc.foritsuse,orforanyinfringementsofpatentsorotherrightsofthirdpartiesresultingfromitsuse.CopyrightCopyright1997-2003byICPDASIncandallrightsisreserved.TrademarkThenamesusedforidentificationonlymayberegisteredtrademarksoftheirrespectivecompanies.LicenseTheusercanuse,modifyandbackupthissoftwareonasinglemachine.Theusermaynotreproduce,transferordistributethissoftware,oranycopy,inwholeorinpart.DCON_FUNUser’sManual,2006.Aug,Version.1.0.------2-TableofContents1.INTRODUCTION..............................................................41.1.FEATURE.......................................................................................................................................41.2.ARCHITECTURESUNDEREVERYOSPLATFORM..........................................................52.DCON_FUNAPPLICATION..............................................62.1.USINGCLANGUAGECOMPILERFORI-8000...............................................................62.2.USINGVISUALBASICFORPC..................................................................................112.3.USINGEMBEDDEDVISUALC++FORWINCON........................................................133.DEMOLIST...................................................................183.1USAGEMODEOFDEMOFORI-8000..............................................................................203.2USAGEMODEOFDEMOFORPC......................................................................................263.3USAGEMODEOFDEMOFORWINCON-8000..............................................................294.FUNCTIONLIST............................................................384.1.DCON_WRITE_DO..............................................................................................................384.2.DCON_WRITE_DO_BIT.....................................................................................................394.3.DCON_READ_DIO...............................................................................................................404.4.DCON_READ_DIO_LATCH............................................................................................414.5.DCON_CLEAR_DIO_LATCH............................................................................................424.6.DCON_READ_DI_COUNTER............................................................................................434.7.DCON_CLEAR_DI_COUNTER.........................................................................................444.8.DCON_WRITE_AO...............................................................................................................454.9.DCON_READ_AO.................................................................................................................464.10.DCON_READ_AI...................................................................................................................474.11.DCON_READ_COUNTER....................................................................................................484.12.DCON_CLEAR_COUNTER.................................................................................................494.13.DCON_READ_OVERFLOW................................................................................................50APPENDIXA........................................................................51APPENDIXB........................................................................53DCON_FUNUser’sManual,2006.Aug,Version.1.0.------3-1.IntroductionThegeneralDconfunctionisaLIBorDLLfunctionsdesignedforMinios7,Windows95/98/2000/XP,orWinceandcanusethesamefunctioninterfaceonthoseplatform.1.1.FeatureI7000.DLLDCON_FUNSupportprotocolDCONprotocolDCONprotocolMethodofcommunicationRS-232,RS-485RS-232,RS-485SupportModuleDCONseriesmodulesDCONseriesmodulesNeedModuleID?YesNoFunctionNumber100~20~SupportOSWindows,WinceMinios7,Windows,WinceSupportDemoprogramsVB5,VC5,Delphi,BCB3VB6.0,EVC4.0,BC3.1DCON_FUNUser’sManual,2006.Aug,Version.1.0.------4-1.2.ArchitecturesundereveryOSplatformOSHardwareLinknameDevelopEnvironmentMiniOS7I-8000Dcon_8Kl.lib8000l.libBC3.01WindowsPCDCON_PC.dllUart.dllVC++6.0PlatformWinceWinconDCON_CE.dllUartce.dllEVC4.0DCON_FUNUser’sManual,2006.Aug,Version.1.0.------5-2.Dcon_FunAPPLICATION2.1.USINGClanguagecompilerforI-8000ThedemoprogramsaretestedOKunderMiniOS7andClanguagecompiler.Thoseusablecompilersareshownasfollows:TC2.01TC++1.01BC++3.1MSC6.0MSVC++(beforeVersion1.52)FromBorlandwebsite,usecandownloadthefreeTC2.01andTC++1.01compiler
本文标题:I-7000 DLL开发文档
链接地址:https://www.777doc.com/doc-4180470 .html