Anaheim CLCI2000 user manual Description of Command

Page 35

 

DATA BITS

 

 

 

 

 

COMMAND SET TYPE

 

D7

 

D6

 

 

 

 

 

(SEE DESCRIPTIONS FOR INDIVIDUAL COMMANDS)

 

 

 

 

 

 

 

 

 

0

 

 

0

 

 

START OR STOP COMMANDS

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

1

 

 

INITIAL SETUP COMMANDS

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

0

 

 

INITIAL SETUP COMMANDS

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

1

 

 

INPUT AND OUTPUT CONTROL COMMANDS

 

 

 

 

 

 

 

 

 

 

 

COMMAND BUFFER REGISTER

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description of Command

7

 

6

 

5

4

3

 

2

1

0

 

 

 

 

0

 

0

 

X

0

0

 

X

0

0

Changes to constant speed operation at the Base Speed rate. *

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

0

0

 

X

0

1

Changes to contant speed operation at the Max Speed rate. *

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

0

0

 

X

1

0

Ramps up or down to the Base Speed rate. *

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

0

0

 

X

1

1

Ramps up or down to the Max Speed rate. *

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

0

1

 

X

0

0

Changes immediately to the Base Speed rate and stops. *

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

0

1

 

X

0

1

Changes immediately to the Max Speed rate and stops. *

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

0

1

 

X

1

0

Ramps up or down to the Base Speed rate and stops. * **

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

0

1

 

X

1

1

Ramps up or down to the Max Speed rate and stops. * **

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

1

0

 

X

0

0

Starts at Base Speed operation or if already running changes to Base

 

 

 

 

 

 

 

 

 

 

 

Speed operation.

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

1

0

 

X

0

1

Starts at Max Speed operation or if already running changes to Max

 

 

 

 

 

 

 

 

 

 

 

Speed operation.

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

1

0

 

X

1

0

Starts at Base Speed (constant speed start) or if already running

 

 

 

 

 

 

 

 

 

 

 

ramps up or down to Base Speed operation.

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

1

0

 

X

1

1

Starts at Base speed and ramps to Max speed operation or if already

 

 

 

 

 

 

 

 

 

 

 

running ramps up or down to Max Speed operation.

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

1

1

 

X

0

0

Outputs a single pulse at Base Speed and Stops.

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

1

1

 

X

0

1

Outputs a single pulse at Max Speed and Stops.

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

1

1

 

X

1

0

If running, ramps up or down to Base speed and then stops. **

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

X

1

1

 

X

1

1

If running, ramps up or down to Max speed and then stops. **

 

 

 

 

 

 

 

 

 

 

 

 

START OR STOP COMMANDS

*If send during operations, otherwise no function

**For these commands, the pulse output cannot be stopped until the target pulse rate has been acheived or until a limit input has been reached.

32

Image 35
Contents CLCI2000 Series Trademarks Limited WarrantyCopyright DisclaimerTable of Contents Packing Information Main FeaturesDescription General DescriptionDPI65202 CLCI2004Ordering Information DPI65201AA2M37 AA37MFC-10AA37MMC-6 AA37MMC-10Specifications Address Settings InstallationInstalling the Board Wiring to the CLCI2000Quickstart with Quickbasic +5VDC Connector DescriptionsClock Signals Hard Limit Direction SignalsSoft Limit Home LimitOutputs Encoder InputsInputs Speed Considerations Programming with Anaheim Automation LibrariesProgramming with Quickbasic or Visualbasic for DOS Index ADR, Axis GO.CW ADR, AxisCLCISUB1.BAS Library ORIGIN.INDEX.CCW ADDRESS, AXIS# ONE.AT.MAX.CCW ADDRESS, AXIS#ONE.AT.MAX.CW ADDRESS, AXIS# RAMP.TO.STOP.CCW ADDRESS, AXIS# ORIGIN.INDEX.CW ADDRESS, AXIS#RAMP.TO.BASE.CCW ADDRESS, AXIS# RAMP.TO.BASE.CW ADDRESS, AXIS#SLEW.AT.BASE.CW ADDRESS, AXIS# SLEW.AT.BASE.CCW ADDRESS, AXIS#Index ADDR,AXIS,5000 Sample #1 Program SAMPLE1.BAS on the CLCI2000 DiskInitialize ADDR,AXIS TOP.OF.LOOP If GET.INPUTADDR,1 = 1 thenLIMIT.CONTROL ADDR, AXIS, 0, 0 Sample #2 Program SAMPLE2.BAS on the CLCI2000 DiskInitialize ADDR, Axis HOME.TYPE.1CLCISUBS.CPP Program Function Definitions Originindexcw ADDRESS, Axis Oneatmaxccw ADDRESS, AxisOneatmaxcw ADDRESS, Axis Originindexccw ADDRESS, AxisSoftinputcw ADDRESS, Axis Slewatbaseccw ADDRESS, AxisSlewatbasecw ADDRESS, Axis Softinputccw ADDRESS, AxisProgramming in Windows Using the CLCI2000 Indexer with WindowsUsing the DLL with Visual Basic for Windows Object Command1Procedure ClickAnaheim Automation DLL Library Support WIN2000.BAS Program ListingFunction Window CLCI2004 Program GeneratorRunning the Software F5 Save F1 InsertF3 Delete F4- TerminalF4 Printing a Program F1 Prog StopF2 Single Step F3 Clear ProgramCommand Window Direction + or CLCI2004 Program Generator Command DictionaryCommand Summary Command DictionaryGO Index no value Encoder Resolution any numberEncoder Window any integer Finish Move no valueJump to Line 1 to UNITS/SCALE any number Ramp Setting Register # Bits Setting Range DescriptionBase Setting not in HZ MAX Setting not in HZCommand Buffer Register Description of Command List of Equations Initial Setup CommandsInput and Output Control Commands Acceleration = MAX Speed Base Speed / TUP Page