CY325 ETC, CY325 Datasheet - Page 43

no-image

CY325

Manufacturer Part Number
CY325
Description
Stepper System Controller
Manufacturer
ETC
Datasheet
The CY545 also provides a mechanism for displaying messages that you define. This is done
by:
Normally, these messages would be part of a program in external memory, and can announce
specific items on the display. The messages can also be prompts to an operator to turn
something on or off at particular points in a program, with the CY545 then delaying, or waiting
for a signal before continuing with the program.
The string format is very general. Any character is allowed between the quotes (except another
quote), including ASCII control codes and carriage returns. The only character that terminates a
display string is the double quote character (ASCII 22H), also used to start the string. This is the
only character that may not be part of the string.
Strings are stored in external memory if they are received following an Enter command, just as
regular CY545 commands. Every part of the string, including the starting and ending quotes is
saved. The next CY545 command immediately follows the ending quote of the string. In Binary
mode, strings do not include data counts, they are treated like ASCII mode for the duration of
the string.
The string command allows any 8-bit characters (except ") to be transmitted as part of the
string. This will allow embedded control codes and special "setup" commands to be issued to
peripheral devices, such as the CY325 LCD windows controller. For example, the string:
puts the CY325 into the command mode (Ctrl-C character), then issues a Viewport command,
which defines a currently active window for display. The window selected uses one quarter of
the 711 display, from the middle. The Ctrl-D character then places the CY325 back into the
display mode, and the message “Hello” is written to the selected window. The carriage return
advances the cursor to the line directly below the “Hello” message.
The above sequence is sent as one string message by the CY545, since all the commands and
control codes are embedded within one character sequence, between the double quote
characters.
Finally, the CY545 has a special command for controlling the Hewlett Packard display. The
command is:
This HP Display command allows you to manipulate some special features of the HP display,
such as brightness control or custom character fonts. Use of this command is optional, since it
changes the defaults as set by the CY545. It is not required for normal operation of the HP
display.
© 2002 Cybernetic Micro Systems
"String"
"<Ctrl-C>V 0D6h<cr>
<Ctrl-D>Hello<cr>"
[Addr,Cnt,D1,...,Dn.....Special Hewlett Packard display support
Hewlett Packard (HP) LED 8 Digit Display
Embedded Control Characteristics and Their Use:
Display all characters between quotes
Message Display Command
38
Chapter 10 - Miscellaneous Commands
www.ControlChips.com

Related parts for CY325