CY325 ETC, CY325 Datasheet - Page 101

no-image

CY325

Manufacturer Part Number
CY325
Description
Stepper System Controller
Manufacturer
ETC
Datasheet
The following command sequence illustrates a simple motion with trigger signals. First we
toggle USER BIT 0, then we set the stepping parameters, and finally take five steps. In the
ASCII command mode, the command sequence is as follows:
If the same sequence is issued in the Binary command mode, the command letters are the
same, but the data values are given to the CY545 in binary form, not as ASCII decimal values.
In the Binary command mode, the equivalent sequence is:
All values are listed as their hexadecimal equivalents, but are sent to the CY545 as single 8-bit
data values. Command letters have the same codes as in ASCII, but parameters require a
count, followed by the binary parameter value. Notice that multi-byte parameters are sent least
significant byte first.
The resulting waveforms are shown below. The CY545 behavior is the same in both ASCII and
Binary modes, but the number of data bytes sent to achieve the results is different. Also, Binary
mode commands will execute somewhat faster, since the CY545 converts ASCII parameter
values into a binary format internally, taking additional command execution time.
© 2002 Cybernetic Micro Systems
ASCII and Binary Data Programming Examples
B 16<cr>
B 0<cr>
R 100<cr>
S 240<cr>
F 15<cr>
N 5<cr>
G<cr>
42 01 10
42 01 00
52 01 64
53 01 F0
46 01 0F
4E 03 05 00 00
47 00
take five steps
USER BIT 0 low
USER BIT 0 high
set Rate
set Slope
set First Rate
set Number of steps
USER BIT 0 low
USER BIT 0 high
set Rate 100
set Slope 240
set First Rate 15
set Number of steps 5
take five steps
96
Chapter 19 - Circuits and Examples
www.ControlChips.com

Related parts for CY325