CY325 ETC, CY325 Datasheet - Page 42

no-image

CY325

Manufacturer Part Number
CY325
Description
Stepper System Controller
Manufacturer
ETC
Datasheet
CY545 Stepper System Controller
www.ControlChips.com
Where “X” is the parameter letter, and “vvvvv” is the 5-digit ASCII decimal value for the
parameter. Parameters that only have 8-bit values will have leading zeros for the unused digits.
This is a fixed format output while the CY545 is in the ASCII command mode. Since Position
and Number of steps are 24-bit values, these two queries will output an 8-digit number, not the
standard 5-digit number.
In the Binary command mode, the “vvvvv” portion is replaced by two bytes that represent the
binary value of the parameter, sent most significant byte first. The carriage return is not sent in
the Binary command mode. Position and Number are sent as three byte values.
The parameter value message is sent to the currently selected display device, so it is possible
to send the result to something other than the command source. For example, a host computer
could issue the Query command over the serial interface, with the CY545 displaying the result
on a local HP display.
Each query command will output the current value of the requested parameter. For the user-bits
query, a 16-bit value is returned, with the lower 8 bits corresponding to the CY545 User Bits,
and the upper 8 bits corresponding the the CY545 Data bus.
Display Memory Contents
One more parameter may be issued for the Query command, the
“M” parameter. The format for this form is special, because it also
includes a second parameter, which is a count value. For example:
? M,5<cr>
For this Query command, the “M” is selecting a query of the
external memory, and the count indicates how much to display.
The memory display starts by showing the value of the memory address pointer, since the query
will start at this address. This is followed by the number of lines specified by the count value.
Each carriage return read from the memory counts as one line. This format operates in the
ASCII command mode.
In the Binary command mode, you may still perform a memory query, and the query command
takes two parameters, the “M”, and the count. However, in this case, the count is the number of
bytes to read from the memory, not the number of lines.
© 2002 Cybernetic Micro Systems
37
Chapter 10 - Miscellaneous Commands

Related parts for CY325