CY327 ETC, CY327 Datasheet - Page 100

no-image

CY327

Manufacturer Part Number
CY327
Description
Stepper System Controller
Manufacturer
ETC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY3270
Manufacturer:
CYPRESS
Quantity:
92
The use of the “loop TIL” instruction is illustrated in the following example. The program loops
until the USERBIT 1 line (pin #22) goes high, then fetches the next instruction. The effect of the
INHIBIT_ABORT input on the STOPPED output is also shown.
© 2002 Cybernetic Micro Systems
PRESET:
ENTER PROG:
PROGRAM
CODE
QUIT:
EXECUTE:
B 16<cr>
R 90<cr>
S 200<cr>
F 10<cr>
N 3<cr>
Y 100<cr>
Example Programs and Waveforms
E<cr>
B 0<cr>
+<CR>
G<cr> GO,
B 16<cr>
-<cr>
G<cr> GO,
T 1,100<cr>.
B 0<cr>
B 16<cr>
0<cr>
Q<cr>
Y 100<cr>
X<cr>
clear USER BIT O Line
set RATE = 90
set SLOPE = 200
set FIRSTRATE = 10
set memory address
set NUMBER steps = 3
set CW direction
clear output line
repeat above prog Til USER BIT 1 = HI
clear USER BIT 0 line
stop run mode, enter command mode
reset pointer
set USER BIT 0
begin stepping
set CCW direction
begin stepping
set USER BIT 0 line
EXECUTE
95
Chapter 19 - Circuits and Examples
www.ControlChips.com

Related parts for CY327