ISTRUZIONI ORIGINALI
When the configuration parameters have to be
changed, send a Request string a string with 9
characters of the following type:
"H" + .... data .... + CRC
The following parameters can be changed:
BYTES
1
Speed threshold
2-5
Run up time in seconds
(long coded in 4 bytes)
6
Deat time
(0 = NO 1 = YES)
7
Reserved
8
Soft Start mode
(0 = YES 1 = NO)
9
CRC
When the Request is "I" (Status readings), the
Answer will contain a string of 2 characters with
the following parameters:
BYTES
1
MSB
LSB
- - X X X X X X
0
= STOP
1
= WAITING INTERLOCK
2
= STARTING
3
= NORMAL OPERATION
4, 5 = HIGH LOAD
6
= FAILURE
7
=APPROACHING LOW SPEED
R2 status 0 = OFF
R1 status 0 = OFF
2
CRC
When the Request is "J" (Numerical readings),
the Answer will contain a string of 5 characters
with the following parameters:
BYTES
1
Current (0-255 scaled)
2
Voltage (0-255 scaled)
3
Rotational speed KRPM
4
Pump temperature °C
(0-254 temperature reading, 255 = fail)
5
CRC
When the Request is "K" (Counters readings), the
Answer will contain a string of 11 characters with
the following parameters:
MEANING
MEANING
1 = ON
1 = ON
MEANING
BYTES
1-4
Cycle time
5-8
Pump life
9-10
Cycle number
11
CRC
On request a sample program in QBasic language
is available by Varian.
Window Protocol
Description
Communication Format
• 8 data bit
• no parity
• 1 stop bit
• baud rate: 600/1200/2400/4800/9600 pro-
grammable
Communication Protocol
The
communication
TER/SLAVE type where:
• Host = MASTER
• Controller = SLAVE
The communication is performed in the following
way:
1.
the host (MASTER) send a MESSAGE +
CRC to the controller (SLAVE);
2.
the controller answer with an ANSWER +
CRC to the host.
The MESSAGE is a string with the following for-
mat:
<STX>+<ADDR>+<WIN>+<COM>+<DATA>+<ETX>+<CRC>
where:
When a data is indicated between two quotes ('...') it
means that the indicated data is the corresponding AS-
CII character.
− <STX> (Start of transmission) = 0x02
− <ADDR> (Unit address) = 0x80 (for RS 232)
<ADDR> (Unit address) = 0x80 + device num-
ber (0 to 31) (for RS 485)
− <WIN> (Window) = a string of 3 numeric char-
acter indicating the window number (from '000'
to '999'); for the meaning of each window see
the relevant paragraph.
− <COM> (Command) = 0x30 to read the win-
dow, 0x31 to write into the window
− <DATA> = an alphanumeric ASCII string with
the data to be written into the window. In case
of a reading command this field is not present.
99/105
TECHNICAL INFORMATION
MEANING
protocol
is
a
NOTE
87-901-005-01(A)
MAS-