The field length is variable according to the
data type as per the following table:
FIELD
DATA TYPE
LENGTH
Logic (L)
1
Numeric (N)
6
Alphanumeric (A)
10
− <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.
NOTE
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>
The controller can answers with the following re-
sponse types:
TYPE
LENGTH
VALUE
Logic
1 byte
Numeric
6 bytes
Alphanumeric
10 bytes
ACK
1 byte
NACK
1 byte
Unknown
1 byte
Window
Data Type
1 byte
Error
Out of Range
1 byte
Win Disabled
1 byte
VALID CHARACTERS
'0' = OFF
'1' = ON
'-', '.', '0' . . . '9' right
justified with '0'
from blank to '_' (ASCII)
DESCRIPTION
After a read instruction
-
of a logic window
After a read instruction
-
of a numeric window
After a read instruction
-
of an alphanumeric
window
The command execu-
(0x6)
tion has been success-
fully completed
The command execu-
(0x15)
tion has been failed
The specified window
(0x32)
in the command is not
a valid window
The data type specified
in the command (Logic,
Numeric or Alphanu-
(0x33)
meric) is not accorded
with the specified Win-
dow
The value expressed
during a write com-
(0x34)
mand is out of the
range value of the
specified window
The specified window
is Read Only or tempo-
rarily disabled (for
(0x35)
example you can't write
the Soft Start when the
Pump is running)
Examples:
Command: START
Source: PC
Destination: Controller
02
80
30
30
STX ADDR
WINDOW
Source: Controller
Destination: PC
02
80
06
03
STX ADDR ACK ETX
Command: STOP
Source: PC
Destination: Controller
02
80
30
30
STX ADDR
WINDOW
Source: Controller
Destination: PC
02
80
06
03
STX ADDR ACK ETX
Command: SOFT-START (ON)
Source: PC
Destination: Controller
02
80
31
30
STX ADDR
WINDOW
Source: Controller
Destination: PC
02
80
06
03
STX ADDR ACK ETX
79
TECHNICAL INFORMATION
30
31
31
03
42
WR
ON
ETX
38
35
CRC
30
31
30
03
42
WR
OFF ETX
38
35
CRC
30
31
31
03
42
WR
ON
ETX
38
35
CRC
87-900-945-01(G)
33
CRC
32
CRC
32
CRC