Page Mode
CAN-CBM-DP
Software Manual Rev. 2.0
61
READ_DB
Data block for reading the input data.
(DB97)
The input data is stored in the data block according to identifier number
(RxId1, RxId2, etc.). For each Rx-identifier the length (number of data
bytes +
count_in
-byte) is stored in one byte, the input counter
count_in
is
stored in another byte and then the user data is stored. The number of user
data can differ from 1 to 8 bytes. The data of the following Rx-identifier
always comes directly after the previous one. The address from which the
data of an Rx-identifier is stored has to be determined from the data of the
previous Rx-identifiers, therefore.
Address
1 byte
1 byte
n
bytes
Explanation
0
length 1
count_in 1
userdata 1
user data of Rx-Id 1
Address
1 byte
1 byte
m
bytes
Explanation
n
+ 2
length 2
count_in 2
userdata 2
user data of Rx-Id 2
Address
1 byte
1 byte
l
bytes
Explanation
n + 2 +
m
+ 2
length 3
count_in 3
userdata 3
user data of Rx-Id 3
:
Address
1 byte
-
Explanation
xxx
enddata
-
marking the end of the
DB or the input data
Table 6.5.6:
Structure of
WRITE_DB
length x
This byte specifies the number of data bytes to be received
via this Rx-identifier (+1 for the
count_in
-byte):
length
= (number of data bytes) + 1
count_in x
In this byte an input counter is specified by the gateway.
The input counter is incremented with every Rx-frame
received. It can, for example, be used to program a
guarding protocol.
userdata x
The user data between 1 to 8 bytes is specified after
parameter
count-in.