Anaheim CLCI2000 user manual Encoder Inputs, Outputs

Page 12

ENCODER INPUTS

A Rotary Encoder is a device that measures rotation of a shaft. The encoder can be mounted on the step motor shaft, or for even greater accuracy, it can be mounted on the shaft of the load. The encoder sends signals in a format called 'quadrature' to the controller which will take this data and use it to verify the motor position. The encoder has four or five wires: Power, Ground, Phase A, Phase B, and a Marker Pulse . The encoder can be used to form a closed loop system which will ensure the motor position. The guaranteed accuracy of the system will then be determined by the resolution of the encoder. Anaheim Automation stocks a 400 line encoder. This will produce 1600 counts per revolution, which results in accuracies of better than 0.225E.

INPUTS

These are general purpose inputs that can be used to integrate sensors, logic, switches, or a number of other things that will be used in coordinating the motion. They may be used to initiate a machine cycle, or allow for operator intervention, for sensing a machine condition such as 'out of material', or to wait for a particular temperature to be reached. These inputs contain 2.5K pullups resistor to +5VDC, and are activated when they reach a TTL/CMOS Low Level, or 0VDC.

OUTPUTS

These are Open-Collector Darlington type outputs. They may be used to operate coolant valves, air cylinders, relays, solenoids, external logic, or, with the right interfacing, any electrically controlled device. The Outputs will go to the 0.7 VDC level, and can sink a total of 500mA. The Maximum Voltage that can be applied to the Outputs is 50 VDC. (See Specification Section on page 3 for more information.)

9

Image 12
Contents CLCI2000 Series Limited Warranty CopyrightDisclaimer TrademarksTable of Contents Main Features DescriptionGeneral Description Packing InformationCLCI2004 Ordering InformationDPI65201 DPI65202AA37MFC-10 AA37MMC-6AA37MMC-10 AA2M37Specifications Installation Installing the BoardWiring to the CLCI2000 Address SettingsQuickstart with Quickbasic Connector Descriptions Clock Signals+5VDC Direction Signals Soft LimitHome Limit Hard LimitEncoder Inputs InputsOutputs Programming with Anaheim Automation Libraries Programming with Quickbasic or Visualbasic for DOSIndex ADR, Axis GO.CW ADR, Axis Speed ConsiderationsCLCISUB1.BAS Library ONE.AT.MAX.CCW ADDRESS, AXIS# ONE.AT.MAX.CW ADDRESS, AXIS#ORIGIN.INDEX.CCW ADDRESS, AXIS# ORIGIN.INDEX.CW ADDRESS, AXIS# RAMP.TO.BASE.CCW ADDRESS, AXIS#RAMP.TO.BASE.CW ADDRESS, AXIS# RAMP.TO.STOP.CCW ADDRESS, AXIS#SLEW.AT.BASE.CCW ADDRESS, AXIS# SLEW.AT.BASE.CW ADDRESS, AXIS#Sample #1 Program SAMPLE1.BAS on the CLCI2000 Disk Initialize ADDR,AXISTOP.OF.LOOP If GET.INPUTADDR,1 = 1 then Index ADDR,AXIS,5000Sample #2 Program SAMPLE2.BAS on the CLCI2000 Disk Initialize ADDR, AxisHOME.TYPE.1 LIMIT.CONTROL ADDR, AXIS, 0, 0CLCISUBS.CPP Program Function Definitions Oneatmaxccw ADDRESS, Axis Oneatmaxcw ADDRESS, AxisOriginindexccw ADDRESS, Axis Originindexcw ADDRESS, AxisSlewatbaseccw ADDRESS, Axis Slewatbasecw ADDRESS, AxisSoftinputccw ADDRESS, Axis Softinputcw ADDRESS, AxisUsing the CLCI2000 Indexer with Windows Using the DLL with Visual Basic for WindowsObject Command1Procedure Click Programming in WindowsWIN2000.BAS Program Listing Anaheim Automation DLL Library SupportCLCI2004 Program Generator Running the SoftwareFunction Window F1 Insert F3 DeleteF4- Terminal F5 SaveF1 Prog Stop F2 Single StepF3 Clear Program F4 Printing a ProgramCommand Window CLCI2004 Program Generator Command Dictionary Command SummaryCommand Dictionary Direction + orEncoder Resolution any number Encoder Window any integerFinish Move no value GO Index no valueJump to Line 1 to UNITS/SCALE any number Register # Bits Setting Range Description Base Setting not in HZMAX Setting not in HZ Ramp SettingCommand Buffer Register Description of Command Initial Setup Commands Input and Output Control CommandsList of Equations Acceleration = MAX Speed Base Speed / TUP Page