Can "Data frame Sizes" be changed longer than 8? Can "Length" be changed longer than 32?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Length of some CAN message is longer than 8 bytes. Also length of signal is longer than 32bits (ex. diagnostic message) When I try to use "CAN Pack" and "canac2pcisend" for diagnostic message, error message shows in data frame sizes and length.
Is there any other way to use the message with signal?
0 Kommentare
Antworten (1)
Dimitri MANKOV
am 11 Aug. 2022
Hi Byeongsoo,
The maximum length of a CAN message is by definition 64 bits / 8 bytes. If your message contains more data, you're probably using CAN-FD instead of CAN, in which case a "CAN-FD Pack" block should be used instead.
With that being said, how exactly you'd like to use these 64 bits is completely up to you. You can use them for 1x double signal, or for 1x 32-bit signal and 4x 8-bit signals, etc. What's important is that the signal size defined in Simulink matches with the signal sizes defined in the "CAN Pack" block.
I hope this is helpfu!
Dimitri
0 Kommentare
Siehe auch
Kategorien
Mehr zu Prepare Model Inputs and Outputs finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!