Cw (copyright), General – Yaskawa SMC–4000 User Manual
Page 95
85
SMC–4000 User Manual
CW (Copyright)
[General]
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. When CW = 1,
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 an external source. This is the case when a program has a command that requires the controller to
return a value or string. The benefit of this is that two-way unsolicited messages can be filtered by an
external source to retrieve answers to strings that were sent by the external source. YTERM uses this
feature to separate the incoming data into two buffers.
ARGUMENTS: CW n
where
n is a number, either 0,1 or 2:
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.
USAGE:
OPERAND USAGE:
_CW contains the value of the data adjustment bit. 1 =on, 2 = off
*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 Yaskawa
Y-Term software will enable the CW command for internal usage. If the controller is reset
while the Yaskawa 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 value is stored in EEPROM.
While Moving
Yes
*
Default Value
2
In a Program
Yes
Default Format
n/a
Command Line
Yes
Can be Interrogated
No
Used as an Operand
Yes