Page Mode
CAN-CBM-DP
Software Manual Rev. 2.0
59
WRITE_DB
Data block for writing the output data
(DB96)
The output data is stored in the data block according to identifier number
(TxId1, TxId2, etc.). For each Tx-identifier the length (number of data
bytes +
force
-byte) is stored in one byte, the parameter
force
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 Tx-identifier always
come directly after the previous one. The address from which the data of
a Tx-identifier is stored has to be determined from the data of the previous
Tx-identifiers, therefore.
Address
1 byte
1 byte
n
bytes
Explanation
0
length 1
force 1
user data 1
user data of Tx-Id 1
Address
1 byte
1 byte
m
bytes
Explanation
n
+ 2
length 2
force 2
user data 2
user data of Tx-Id 2
Address
1 byte
1 byte
l
bytes
Explanation
n
+ 2 +
m
+ 2
length 3
force 3
user data 3
user data of Tx-Id 3
:
Address
1 byte
-
Explanation
xxx
enddata
-
marking the end of the
DB or the output data
Table 6.5.4:
Structure of
WRITE_DB
length x
This byte specifies the number of data bytes which are to
be transmitted on the Tx-identifier defined here (+1 for the
force
-byte):
lenght
= (number of data bytes) + 1