eCAN_UserManual_Eng_DM v1.0.1

eCAN
User Manual
33
eCAN Data Frame Structure
The total length of the eCAN Data Frame is 6~22bytes and consists of TYPE · ID · DLC · DATA · CR(0x0D.
eCAN Error Frame
Set TYPE to 1byte.
Set ID to STD Frame value(3byte, ASCII) or to EXT Frame value(8byte, ASCII).
TYPE VALUE
CAN Frame
eCAN Frame
Available ID Range
0x74
STD DATA
eCAN Data
Frame
000(0x303030) ~
7FF(0x374646)
0x54
STD
REMOTE
0x65
EXT DATA
00000000
(0x3030303030303030)
~
1FFFFFFF
(0x3146464646464646)
0x45
EXT
REMOTE
0xFF
Error Info
eCAN Error
Frame
-
Set DLC to 0x30~0x38(0 ~ 8 ASCII) 1byte.
DATA consists of 0~16bytes, and converts each 1byte HEX value of the data to be transmitted into 2bytes of ASCII
code.
-1byte to send 0x31 0x3331 (31 ASCII)
The table below summarizes the explanation above.
TYPE
ID
DLC
DATA
CR
1Byte
3Byte or 8Byte
1Byte
0Byte ~ 16Byte
1Byte
Ex) STD DATA, ID=12, DLC=6, Data=0x31 0x32 0x33 0x34 0x35 0x36
Send t0126313233343536(ASCII)<0x0D>
74 30 31 32 36 33 31 33 32 33 33 33 34 33 35 33 36 0D (hex)
eCAN Error Frame Structure
Set TYPE to 1byte as the minimum value.
Status represents the current state and its values are described in the table below.
Value
Description
0x30
Error Active