Anaheim CLCI2000 Initial Setup Commands, Input and Output Control Commands, List of Equations

Page 36

DATA BIT

 

FUNCTION OF BIT

 

IF IT IS A "0"

 

IF IT IS A "1"

0

 

Pulse Rate Source Selection

 

Base Speed

 

Max Speed

 

 

 

 

 

 

 

1

 

Ramping Up/Down Enable

 

No Ramping

 

Ramping

 

 

 

 

 

 

 

2

 

Pulse Direction Selection

 

CW

 

CCW

 

 

 

 

 

 

 

3

 

STOP

 

No Function

 

Stop

 

 

 

 

 

 

 

4

 

START

 

No Function

 

Start

 

 

 

 

 

 

 

5

 

No Function

 

No Function

 

No Function

 

 

 

 

 

 

 

6

 

MUST BE A ZERO

 

Always

 

Not Allowed

 

 

 

 

 

 

 

7

 

MUST BE A ZERO

 

Always

 

Not Allowed

 

 

 

 

 

START STOP COMMAND INDIVIDUAL BIT DEFINITIONS

 

 

INITIAL SETUP COMMANDS

 

 

 

To set up the Position Register and Encoder Register, set the following

 

 

 

send to the Command Buffer Register:

 

136

 

send to the LSB

1

 

 

 

send to the MID

144

 

 

 

send to the MSB

0

 

 

Another set up that should be sent to the board initially and after any 'Origin Index with the encoder Z channel'.

send to the Command Buffer Register:

65

INPUT AND OUTPUT CONTROL COMMANDS

This set of commands primarily affects the enabling and disabling of the limit switches. To enable a limit switch, select a "1" for that Data Bit. To disable a limit switch, select a "0" for that Data Bit. Enabling and Disabling the Limit Switches does not affect the reading of those switches.

DATA BIT

FUNCTION OF THE BIT

IF IT IS A "0"

IF IT IS A "1"

0

Must be a 0

Always

Not Allowed

 

 

 

 

1

±SOFT Signal Input Enable

Not Enabled

Enabled

 

 

 

 

2

EZ Signal Input Enable

Not Enabled

Enabled

 

 

 

 

3

HOME Signal Input Enable

Not Enabled

Enabled

 

 

 

 

4

No Function

No Function

No Function

 

 

 

 

5

Must be a 1

Not Allowed

Always

 

 

 

 

6

Must be a 1

Not Allowed

Always

 

 

 

 

7

Must be a 1

Not Allowed

Always

 

 

 

 

INPUT AND OUTPUT CONTROL COMMANDS

LIST OF EQUATIONS

33

Image 36
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