CW |
Syntax: | Implicit Only |
| Operands: | _CWn | |
| Burn: | not burnable | |
Copyright information Data Adjustment bit on off | Hardware: | All |
The CW command will return the copyright information when the argument, n, is 0 or is omitted. Otherwise, the CW command is used as a communications enhancement for use by the Galil terminal software programs. When turned on, the most significant bit of unsolicited ASCII characters is set to 1. Unsolicited ASCII characters are characters that are returned from a program running on the controller (usually from the MG command). This command does not affect solicited characters, which are characters that are returned as a response to a command sent from a host PC (e.g. TP).
If using Galil drivers, CW will be automatically configured - the user should not change the CW settings.
where
n is a number, either 0,1 or 2:
0 or ? Causes the controller to return the copyright information
1 Causes the controller to set the MSB of unsolicited returned characters.
2 Causes the controller to not set the MSB of unsolicited characters.
m is 0 or 1 (optional)
0 Causes the controller to pause program execution when hardware handshaking disables character transmissions.
1 Causes the controller to continue program execution when hardware handshake disables character transmissions, output characters will be lost.
_CW contains the value of the data adjustment bit. 1 =on, 2 = off
| Usage | Value |
|---|---|
| While Moving (No RIO) | Yes |
| In a Program | Yes |
| Command Line | Yes |
| Controller Usage | All |
CF - Configure Unsolicited Messages Handle
CW1;' Set CW to Galil Driver mode (MSB set on unsolicited characters) 'Note: The CW command can cause garbled (non-ASCII) characters to be returned ' by the controller when using third-party software. Use CW2. CW2;' Set CW to third-party device mode (normal ASCII on unsoliticed characters)