Anaheim CLCI2000 user manual

Page 38

NOTES

35

Image 38
Contents CLCI2000 Series Disclaimer Limited WarrantyCopyright TrademarksTable of Contents General Description Main FeaturesDescription Packing InformationDPI65201 CLCI2004Ordering Information DPI65202AA37MMC-10 AA37MFC-10AA37MMC-6 AA2M37Specifications Wiring to the CLCI2000 InstallationInstalling the Board Address SettingsQuickstart with Quickbasic +5VDC Connector DescriptionsClock Signals Home Limit Direction SignalsSoft Limit Hard LimitOutputs Encoder InputsInputs Index ADR, Axis GO.CW ADR, Axis Programming with Anaheim Automation LibrariesProgramming with Quickbasic or Visualbasic for DOS Speed ConsiderationsCLCISUB1.BAS Library ORIGIN.INDEX.CCW ADDRESS, AXIS# ONE.AT.MAX.CCW ADDRESS, AXIS#ONE.AT.MAX.CW ADDRESS, AXIS# RAMP.TO.BASE.CW ADDRESS, AXIS# ORIGIN.INDEX.CW ADDRESS, AXIS#RAMP.TO.BASE.CCW ADDRESS, AXIS# RAMP.TO.STOP.CCW ADDRESS, AXIS#SLEW.AT.BASE.CCW ADDRESS, AXIS# SLEW.AT.BASE.CW ADDRESS, AXIS#TOP.OF.LOOP If GET.INPUTADDR,1 = 1 then Sample #1 Program SAMPLE1.BAS on the CLCI2000 DiskInitialize ADDR,AXIS Index ADDR,AXIS,5000HOME.TYPE.1 Sample #2 Program SAMPLE2.BAS on the CLCI2000 DiskInitialize ADDR, Axis LIMIT.CONTROL ADDR, AXIS, 0, 0CLCISUBS.CPP Program Function Definitions Originindexccw ADDRESS, Axis Oneatmaxccw ADDRESS, AxisOneatmaxcw ADDRESS, Axis Originindexcw ADDRESS, AxisSoftinputccw ADDRESS, Axis Slewatbaseccw ADDRESS, AxisSlewatbasecw ADDRESS, Axis Softinputcw ADDRESS, AxisObject Command1Procedure Click Using the CLCI2000 Indexer with WindowsUsing the DLL with Visual Basic for Windows Programming in WindowsWIN2000.BAS Program Listing Anaheim Automation DLL Library SupportFunction Window CLCI2004 Program GeneratorRunning the Software F4- Terminal F1 InsertF3 Delete F5 SaveF3 Clear Program F1 Prog StopF2 Single Step F4 Printing a ProgramCommand Window Command Dictionary CLCI2004 Program Generator Command DictionaryCommand Summary Direction + orFinish Move no value Encoder Resolution any numberEncoder Window any integer GO Index no valueJump to Line 1 to UNITS/SCALE any number MAX Setting not in HZ Register # Bits Setting Range DescriptionBase Setting not in HZ Ramp SettingCommand Buffer Register Description of Command List of Equations Initial Setup CommandsInput and Output Control Commands Acceleration = MAX Speed Base Speed / TUP Page