ABLEpickApplicationProgramInterface(API)User'sManualVERSION:4.0DATE:August.10,2005(C)CopyrightofATOPTech.Inc.,2005,AllRightsReserved-1--2-ThisdocumentmaycontainTradeSecretsInformationwhichisproprietarytoATOPTechnologiesInc.Thesoftwaredescribeinthisdocumentarefurnishedunderalicenseagreementornondisclosureagreement.Thesoftwareand/orinformationmaybeusedorcopiedonlyinaccordancewiththetermsoftheagreement.Itisagainstthelawtocopythesoftwareand/orinformationonanymediumexceptasspecificallyallowedinthelicenseornondisclosureagreement.Thepurchasermaymakeonecopyofthesoftwareforbackuppurposes.Nopartofthismanualmaybereproducedortransmittedinanyformorbyanymeans,electronicormechanical,includingphotocopying,recording,orinformationstorageandretrievalsystems,foranypurposeotherthanthepurchaserspersonaluse,withouttheexpresswrittenpermissionofATOPtechnologiesInc.Informationissubjecttochangewithoutnotice.ATOPTechnologiesInc.makesnowarranties,eitherexpressedorimpliedwithrespecttothesoftwarehereindescribedastoitsquality,performance,including,withoutlimitationsto,itsmerchantabilityoritsfitnessforanyparticularpurpose.ATOPTechnologiesInc.acceptsnoresponsibilityorliabilityforanydamagesorlossofbusinessorrevenueduetotheuseofthisdocument.Alltrademarks,registeredtrademarksandtradenamesmentionedinthisdocumentarethesolepropertyoftheirrespectiveholders.-3-**************************************************************************************CHAPTER1ApplicationProgramInterface(API)forABLEPickpick-to-lightsystem**************************************************************************************“ABLEPickisa“picktolight”systemdevelopedbyATOPTech.Inc.ItisconstructedbyapowerfulandstandardnetworkTCP/IPandasetofpickingdevicestomeetdiversifiedapplicationin“picktolightapplication”.Basedonalotofpastapplicationexperience,wedefineasetofpreciseandeffectivefunctioncallsthatmakeuserdevelopmentapplicationprogramwithease.TheyaredescribedinChapter2.BasicABLEPicksystemisshownasFigure1.1.MessagesaretransmittedbetweencomputerandlowleveldevicesviaTCP/IPGateway.Usersjusttakealittletimetounderstandthesefunctioncalls,thentheycandeveloptheirown“pickingsystemsoftware”.Tomaketheprogrammingbesimpleandflexible,wesuggestusersusingABLEPickAPItodevelopmenttheprogram.TheseAPIareDLLformat,whichcanbeusedbyDelphi2.0orabove,VisualFoxPro3.0orabove,VisualBasic4.0,andsoon,inWindows95/98/2000/XPandWindowsNTEnvironment.IfusedinUNIX,OS/2orDOS,youhavetotakealotoftimetounderstandthedetailedlowlevelstructure.PleasecontactATOPTech.Inc.-4-Node100TCP/IPGateway(RS485)EthernetSub-node100TCP/IPGatewayCompletionindicatorOrderdisplayerZonelampPickingtag100Pickingtag1Pickingtag1Pickingtag100Sub-node1Sub-node1Sub-node100port2(RS485)port1(RS485)..............................node1(RS485).....................................UNIXTCP/IPMSWindowsTCP/IPDOSTCP/IPOS/2TCP/IPTCP/IPGateway(RS485)TaglevelFigure1.1BasicABLEPickSYSTEMABLEPickproductfamily-5-Modelno.FunctionDescriptionOutlookAT500TCP/IPcontrollerAMaximumof120lightmodulecaconnected10/100MbpsEthernetTCP/IPprotocolAT5055-digitPickingTag1confirmbutton+2functionkeys3coloredLEDlightAT5022-digitPickingTag1confirmbutton+2functionkeys3coloredLEDlightAT50NEconomicpickingtag1confirmbutton+2functionkeys3coloredLEDlightAT506OrderDisplay6-digitdisplayAT50C12-digitAlphanumericaldisplay1confirmbutton+2functionkeys.RedLEDlight+BuzzerAT510CompletionIndicatorConfirmbuttonGreenLEDlight+buzzerAT510MMelodyCompletionIndicatorConfirmbuttonGreenLEDlight+speakerAT511BayindicatorYellowLEDlightAT503A3-digitdirectionalpickingtags1confirmbutton+2functionkeys3coloredLEDlight2directionalarrows,uparrowisred,thearrowisgreenAT502V2-digitvertical&directionalpickingtags1confirmbutton+2functionkeys3coloredLEDlight2directionalarrows,rightarrowisred,tharrowisgreenAT506-3W-1236-digit,3separatedwindowspickingtag1confirmbutton+2functionkeys3coloredLEDlight3separatedwindowsAT530RS232/485converter9-pinfemaleRS232connectorAT506-2W-336-digit,2separatedwindowspickingtag1confirmbutton+2functionkeys3coloredLEDlight2separatedwindowsAT50A-3W-52310-digit,3separatedwindowsAlphanumericalpickingtag1confirmbutton+2functionkeys.RedLEDlight+Buzzer3separatedwindows-6--7-***************************************************************CHAPTER2:ABLEPickFUNCTIONLIBRARY*********************************************************************FUNCTIONDESCRIPTION:ThetablelistedbelowdescribesthemeaningofparametersinAPIfunctioncall.TheDescriptionofParametersinAPIFunctionCallforVisualFoxProIntegerType-N;StringType-STypeParameterDescription(N)Gateway_IDAddressofGateway.(N)Port_IDPortofGateway(0=LCDDisplay,1=Port1,2=Port2)Addressofpickingtagordevicesonthecorrespondinglevel(intermsofdecimalnotation)(N)Node_addrMinus(-)addressmeanspickingtagisconnectedtoPort1.Plus(+)addressmeanspickingtagisconnectedtoPort2.IfNode_Addressisequalto252or-252,itimpliesin“Broadcastmode”,thatmeansalldevicesonthisPortacceptthecommand.Setdecimalpointsonpickingtag.00H-Donotdisplayanydecimalpoint.01H-Showdecimalpointon1stdigit.Forinstance,123456.02H