File : CS-SUP-MUTI-WTHERMAPP-E01.sxw
➢
Access in Writing
The user has to specify the address of the first byte to be written, the total number of bytes to be written, and
then the data.
Contents of the request REQ_SEND_FRAME
Data Field (max : 152 bytes)
Applicative
Command
MSB address of the
fisrt byte to be written
LSB address of the fisrt
byte to be written
Number of bytes to
be written
Data
1 byte
1 byte
1 byte
1 byte
variable
0x17
0x00
from 0 to 31
from 0 to 31
Contents of the response RECEIVED_FRAME
Data Field (max : 152 bytes)
Acknowledgement of
the applicative
command
MSB address of the
fisrt byte to be
written
LSB address of the
fisrt byte to be
written
Number of bytes
written
1 byte
1 byte
1 byte
1 byte
0x97
0x00
from 0 to 31
0x00 if Error
Example :
Reading a part of the memory area
The user wants to read 5 bytes from memory area, starting from the tenth bytes.
WaveTherm modules – application handbook
page 32 of 65
1
st
byte
2
nd
byte
10
th
byte
...
11
th
byte
32
th
byte
12
th
byte
13
th
byte
14
th
byte
...
Address : 0x00
Address : 0x01
Address : 0x09
Address : 0x1F
LSB address of the 1st byte to be read = 0x09
5 bytes to be read