RS-232C interface(continued)
Software specifications (Protocol)2.Send format
[controller (PC) 5 VTR]
1.Communication parameters
$ Data format
CommunicationAsynchronous, full duplex
system[STX] [command] [:][data] [ETX]
.....
Communication300/600/1200/2400/4800/960002hXX XX XX 3Ah XXXX03h
speed
20H<XX<7FH
Bit length7bit/8 bit
(XX = ASCII code: symbols, numbers upper-case
Stop bit1 bit/2 bit
letters)
Parity bitNONE/ODD/EVEN
ACK codeACK code returned/ACK code not returned[command] :
<Note>Command identifier; a 3-byte identifier (ASCII
The ACK code is what is returned from thecode: symbols, numbers, upper-case letters) is
VTR to the controller when data has been
sent as the command.
successfully sent from the controller.
[ : ] :
The underlining indicates the factory settings.This code serves as a delimiter between the
command and data.
Any changes to the settings can be made using the[data] :
setup menu items listed below.Data (ASCII code: symbols, numbers, upper-case
letters) can be added in the number of bytes
Communication
Setup menu itemrequired.
parameter
CommunicationNo.205 BAUD RATE$ Outline of send procedure from controller
speed
Bit lengthNo.206 DATA LENGTH1The send command starts with STX (start of text =
02h).
Stop bitNo.207 STOP BIT
The command is then identified by COMMAND
Parity bitNo.208 PARITY
which follows and the data is added as required.
ACK codeNo.209 RETURN ACKThe format ends with ETX (end of text = 03h).
2When a different command is to be sent, a response
is awaited from the VTR, and then the command is
sent. (See page 79.)
3If STX is sent again before ETX is sent, the receive
data buffer inside the VTR is cleared. A command
error is returned to the controller, and the data is
newly processed with STX which was received
again at the head.
77 |