English
Language : 

HCTL-1100 Datasheet, PDF (36/40 Pages) Agilent(Hewlett-Packard) – General Purpose Motion Control ICs
Example Code for Programming Trapezoid Moves
{ Begin }
Hard Reset { HCTL-1100 goes into INIT/IDLE Mode }
Inititalize Filter, Timer, Command Position Registers
Write 03H to Register R05H
{ HCTL-1100 is now in Position Mode }
{ Profile #1}
Write Desired Acceleration
Write Desired Maximum Velocity
Write Final Position
Set Flag F0 {Trapezoid Move Begins, PROF pin goes high}
Poll PROF pin until it goes low (Move is complete)
{ Profile #2}
Write Desired Acceleration
Write Desired Maximum Velocity
Write Final Position
Set Flag F0 {Trapezoid Move Begins, PROF pin goes high}
Poll PROF pin until it goes low (Move is complete)
{ Repeat }
.
.
.
.
{ end }
Applications of the HCTL-1100
Interfacing the HCTL-1100 to Host
Processors
The HCTL-1100 looks to the host
microprocessor like a bank of 8-
bit registers to which the host
processor can read and write (i.e.,
the host processor treats the
HCTL-1100 like RAM). The data
in these registers controls the
operation of the HCTL-1100. The
host processor communicates to
the HCTL-1100 over a
bidirectional multiplexed 8-bit
data bus. The four I/O control
lines. ALE, CS, OE, and R/W
execute the data transfers (see
Figure 15).
36