Herunterladen Inhalt Inhalt Diese Seite drucken

Agilent Technologies Mini-TASK AG81 969-9180 Bedienungshandbuch Seite 86

Inhaltsverzeichnis

Werbung

where:
NOTE
When a data is indicated between two quotes ('...')
it means that the indicated data is the correspond-
ing ASCII 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 window,
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.
The field length is variable according to the
data type as per the following table:
The controller can answer with the following response types;
RESPONSE
RESPONSE TYPE
LENGTH
Logic
1 byte
Numeric
6 bytes
Alphanumeric
10 bytes
ACK
1 byte
NACK
1 byte
Unknown Window
1 byte
Data Type Error
1 byte
Out of Range
1 byte
Win Disabled
1 byte
Examples:
Command: START
Source: PC
Destination: Controller
02
80
30
30
30
STX ADDR
WINDOW
Source: Controller
Destination: PC
02
80
06
03
38
STX ADDR ACK ETX
RESPONSE
VALUE
-
After a read instruction of a logic window
-
After a read instruction of a numeric window
-
After a read instruction of an alphanumeric window
(0x6)
The command execution has been successfully completed
(0x15)
The command execution has been failed
(0x32)
The specified window in the command is not a valid window
The data type specified in the command (Logic, Numeric or Alphanumeric) is
(0x33)
not accorded with the specified Window
The value expressed during a write command is out of range value of the
(0x34)
specified window
The specified window is Read Only or temporarily disabled (for example) you
(0x35)
can't write the Soft Start when the Pump is running)
31
31
03
42
WR
ON
ETX
CRC
35
CRC
DATA TYPE
Logic (L)
Numeric (N)
Alphanumeric (A)
− <ETX> (End of transmission) = 0x03
− <CRC> = XOR of all characters subsequent to
<STX> and including the <ETX> terminator.
The value is hexadecimal coded and indicated
by two ASCII character.
The addressed SLAVE will respond with an AN-
SWER whose structure depends from the MESSAGE
type.
When the MESSAGE is a reading command, the
SLAVE will respond transmitting a string with the
same structure of the MESSAGE.
Using the RS 485 interface, the message structure
remains identical to the one used for the RS 232
interface, the only difference being that the value
assigned to the ADDRESS <ADDR>.
DESCRIPTION
Command: STOP
Source: PC
Destination: Controller
02
80
30
33
STX ADDR
Source: Controller
Destination: PC
02
80
06
STX ADDR ACK ETX
81/84
TECHNICAL INFORMATION
FIELD
VALID
LENGTH
CHARACTERS
1
'0' = OFF
'1' = ON
6
'-', '.', '0' . . . '9' right justified
with '0'
10
from blank to '_' (ASCII)
NOTE
30
30
31
30
WINDOW
WR
OFF ETX
03
38
35
CRC
87-901-003-01(A)
03
42
32
CRC

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis