CY325 ETC, CY325 Datasheet - Page 40

no-image

CY325

Manufacturer Part Number
CY325
Description
Stepper System Controller
Manufacturer
ETC
Datasheet
Finally, the CY545 has several miscellaneous commands for general control purposes. One
command provides a software reset for the CY545. It is:
When the Initialize command is processed, it acts like a power-on reset. The CY545 command
mode is changed to direct command mode, all I/O signals are brought high, and the serial baud
rate is reset. Any program that was executing from external memory is stopped if an I-command
is read.
The Initialize command and the power-on reset will redefine the CY545 stepping parameters to
the following default values:
and the current position register is cleared to zero.
The current values of these registers will always be changed back to the defaults when a reset
is performed or an I-command is executed.
The CY545 also provides a time delay function, with:
The parameter for the Delay command is a 16-bit value, calibrated in milliseconds when running
at 12 MHz. This command simply causes the CY545 to wait for the specified time before going
to the next command.
When used in an external memory program, the command allows you to pause for a known time
between program functions. For example, take a specified motion to move a part into place,
then delay for 3 seconds while some operation is performed, then remove the part.
The value of the Delay parameter allows a time delay between 1 millisecond and 65 seconds
when the CY545 is running at 12 MHz. Longer delays can be created by repeated delay
commands, or delay commands in a loop.
© 2002 Cybernetic Micro Systems
I
R 100
F 14
S 220
N 200
D Del16
C
C
C
H
H
H
A
A
A
P
P
P
Initialize CY545
Delay for specified milliseconds
T
T
T
E
E
E
R
R
R
1
1
1
0
0
0
-
-
-
Time Delay Command
M
M
M
Initialize Command
I
I
I
S
S
S
C
C
C
E
E
E
L
L
L
L
L
L
35
A
A
A
N
N
N
E
E
E
O
O
O
U
Chapter 10 - Miscellaneous Commands
U
U
S
S
S
C
C
C
O
O
O
M
M
M
www.ControlChips.com
M
M
M
A
A
A
N
N
N
D
D
D
S
S
S

Related parts for CY325