34
•
CW
DMC-1000/1500 Command Reference
DMC-1000
DMC-1500
CW
FUNCTION:
Copyright information / Data Adjustment bit on/off
DESCRIPTION:
The CW command has a dual usage. The CW command will return the copyright
information when the argument, n is 0. Otherwise, the CW command is used as a
communications enhancement for use by the Servo Design Kit software. When turned
on, the communication enhancement sets the MSB of unsolicited, returned ASCII
characters to 1. Unsolicited ASCII characters are those characters which are returned
from the controller without being directly queried from the terminal. This is the case
when a program has a command that requires the controller to return a value or string.
ARGUMENTS:
CW n,m
where
n is a number, either 0,1, 2 or ?:
0
causes the controller to return the copyright information
1
causes the controller to set the MSB of unsolicited returned characters
to 1
2
causes the controller to not set the MSB of unsolicited characters.
?
returns the copyright information for the controller.
m is 0 or 1 (optional)
0
causes the controller to pause program execution when output FIFO is
full until
FIFO no longer full.
1
causes the controller to continue program execution when output FIFO
is full -
output characters after FIFO is full will be lost.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
2, 0
In a Program
Yes
Default Format
Command Line
Yes
Can be Interrogated
Yes
Used as an Operand
Yes
OPERAND USAGE:
_CW contains the value of the data adjustment bit. 2 = off, 1 = on
Note: The CW command can cause garbled characters to be returned by the controller. The default
state of the controller is to disable the CW command, however, the Galil Servo Design Kit software
and terminal software may sometimes enable the CW command for internal usage. If the controller is
reset while the Galil software is running, the CW command could be reset to the default value which
would create difficulty for the software. It may be necessary to re-enable the CW command. The CW
command status can be stored in EEPROM.