Rs-232 Communication Description - Varian Turbo-V70 Instructions Manual

Controller eurocard
Hide thumbs Also See for Turbo-V70:
Table of Contents

Advertisement

2-6 RS-232 communicafion description
Communication format:
8 data bit
no parity
stop bit
The baud rate is programmable via a set of jumper
between 4800 and 9600 baud. The controller is
factory-set for 9600 baud operation.
Communication protocol
The communication protocol is of the masterslave type,
where:
Host = Master
Eurocard controller = slave
To send a command by the serial interface, the
controller must be set to "REMOTE OFF" of operation,
otherwise it is only possible to read the data.
The master send to the slave a word according to the
following format:
slave
data
parameter
address
field
number
lenght
where:
Slave Address: controller number requested by the
master. In RS-232 version the address is set equal
to "001";
Parameter Number: it points out to the controller
about which parameter the master wants to
operate,
and
about
(read/write). It consists of:
1
2
0=
always 0
parameter
reading
1 =
parameter
writing
NOTE
check-
data
sum
the
kind
of
operation
3
4
000 to 299 = commands
300 to 699 = status
700 to 999 = parameter
Data Field Lenght: it points out the next field lenght
in characters.
combinations are:
02 = parameter reading request
06 = parameter, writing
Data: in this controller it can be:
"=?": in the case of parameter reading request
"000000" or "111111": in the case of YES/NO
command or parameter writing
a six numeric character string 0 to 9
pointing out the value of a configuration parameter
or an analogic measure
a six character string pointing out an error
Checksum: it is the sum of the string ASCII values
up to the first character of the checksum with a 8 bit
cutting-off and a conversion to a decimal number.
CR: < OxD>
All the fields are set on the right with the "O" character
used as filling character.
When a string with an address number equal to the
card one (001 in this case) is received, the controller
answers as detailed in the following:
in the case of a parameter request with a string
having the same size described before, but the first
character of the "Parameter Number" field set to 1.
Example for a low speed status request:
Master to Controller:
CR
0010000202= ?097< OxD >
Controller to Master:
0011000206111111016< OxD >
where " 111111" is for low speed status ON
in the case of a parameter writing, with a string
including the parameter value that has been set out.
Example for a low speed status ON writing:
Master to Controller:
0011000206111111016< OxD >
Controller to Master:
0011000206111111016< OxD >
5
5
SECTION II - INSTALLATION
In this protocol the possible
87-900-879-01 (A)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

969-9514

Table of Contents