<DATA> =
alphanumeric ASCII string
containing, in the case of writing
operation,the parameter to input
into the window addressed by
the field <WINDOW>This field
may have variable length
according to the data type
contained in the window where
you are working in. In the case of
reading request of a window, the
data field doesn't exist.
<ETX>=
0x03
<CRC>=
XOR among all the characters
following <STX>=(with
exception of <STX>), including
the end character <ETX>
hexadecimally encoded by two
ASCII characters.
When a slave device is addressed by the master:
1) In case of reading request of the value contained in
a window, the slave answers a string equal to the
one sent by the master but in addition there is the
field <DATA> containing the value of the window.
The format of the field <DATA> depends to the
window type.
The different types are:
Length
Logic (L)
1
Numeric (N)
6
Alphanumeric (A)
max 10
Characters
Permitted
'0'=OFF
'1'=ON
'0'...'9'
(Justifield to the right
with '0')
' '...'_'
EXAMPLES:
Command : START
Source
: PC
Destination : Inverter
02
80
30
STX
ADDR
WINDOW
Source
: Inverter
Destination : PC
02
80
06
STX
ADDR
ACK
Command : STOP
Source
: PC
Destination : Inverter
02
80
30
STX
ADDR
WINDOW
Source
: Inverter
Destination : PC
02
80
06
STX
ADDR
ACK
Command : SOFT-START (ON)
Source
: PC
Destination : Inverter
02
80
31
STX
ADDR
WINDOW
Source
: Inverter
Destination : PC
02
80
06
STX
ADDR
ACK
Command : SOFT-START (OFF)
Source
: PC
Destination : Inverter
02
80
31
STX
ADDR
WINDOW
60
TECHNICAL INFORMATION
03
30
30
31
31
WR
ON
ETX
03
38
35
ETX
CRC
03
30
30
31
30
WR OF
ETX
F
03
38
35
ETX
CRC
30
30
31
31
03
WR
ON
ETX
03
38
35
ETX
CRC
30
30
31
30
03
WR OF
ETX
F
87-900-885-01 (B)
42
33
CRC
42
32
CRC
42
32
CRC
42
33
CRC