![background image](http://html1.mh-extra.com/html/varian/turbo-v70/turbo-v70_instructions-manual_3581278009.webp)
SECTION II - INSTALLATION
87-900-879-01 (A)
5
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
NOTE
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
address
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 the kind of operation
(read/write). It consists of:
1
2
3
4
5
0=
parameter
reading
1 =
parameter
writing
always 0
000 to 299 = commands
300 to 699 = status
700 to 999 = parameter
•
Data Field Lenght: it points out the next field lenght
in characters. In this protocol the possible
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:
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 >
parameter
number
data
check-
sum
CR
data
field
lenght