![background image](http://html1.mh-extra.com/html/varian/929-7015m002/929-7015m002_instruction-manual_3514428081.webp)
TECHNICAL INFORMATION
74/94
CN929-7015M002
SOFTWARE PROTOCOL
The protocol has equivalent data fields which comply
with the following formats:
Type
No. of
Bytes.
Description
Read
1
“?” (3Fh
3
) performs reads on
the E-Net Dual Controller
Status
1
“0” (30h) = false = off,
“1” (31h) = true = on
5
Integer
5
“xxxxx” represented in BCD
4
on 5 digits
(always positive)
BitField
8
Like the integer type, but with
meanings associated to the
number’s single bits
Expo-
nential
7
“x.xEsxx” where x is BCD
digits, E is the 45h character
and s is the
(“+” o “-“ sign
String
n
Sequence of n characters
included within the 20h and
7Fh range
3
the “h” notation following a number indicates that the
number is expressed in hexadecimal format
4
BCD: the number is represented by digits included
within the “0” and “9” range (ASCII 30h - 39h).
5
Status can also assume values greater than “1”.
The commands have a read and a write mode. By
specifying the type of read operation being performed,
the Host queries the E-Net Dual Controller which in turn
replies in a format compliant with the command sent.
As long as a write operation can be carried out, the
write and read formats for the same command
coincide.
The write modes will have the following possible
replies:
•
ACK
command correctly received and
executed: run a query to check that
the value has been written (typical for
High Voltage/Gauge power on/power
off)
•
Error
unexecutable command due to a
context error (“!” 21h) (see Protocol
Errors)
•
Value
command received and executed: the
value is immediately returned in the
same format of the write command
(the query is not required).
The commands are associated to the channel which is
specified in the Channel field. The following table
indicates the values that can be assigned in this field:
Value
Channel
Description
“0”
30h
No channel
The command does not act on any specific channel but overall on the entire E-Net
Dual Controller (e.g. firmware version read)
“1”
31h
High Voltage 1
The command acts on a Channel 1 corresponding to the High Voltage 1 module
“2”
32h
High Voltage 2
The command acts on a Channel 2 corresponding to the High Voltage 2 module
“5”
35h
Serial
The command acts on a Channel 5 corresponding to the Serial Communication
module
Furthermore, the physical measurements visible from
the serial line will always have the related unit of
measure indicated. This applies, above all, for pressure
measurements that are not subject to the settings
made on the E-Net Dual Controller.
In the Remote I/O mode, only the commands present
on the digital outputs of the Remote I/O (Fixed/Step,
Local/Remote, Start/Protect, pump on/off) are read-only
active.
The write commands are enabled in the automatic
mode only. In addition, the remote mode cannot be
selected during a menu editing phase using the front
panel.