ECAN-200-FD (Ethernet to 2-port CAN FD Converter) User Manual
Version 1.0.0
Page
:
43
Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: [email protected]
6. Ethernet Command Information
The Ethernet command that ECAN-200-FD supports for transmitting and receiving CAN
messages are described in the table below and following sections.
Command Header Field
Command Data Field (Max. 18 Data)
Header
Type
Length
Data-1
Data-2
…
Data-N
1 byte
1 byte
2 bytes
80 Bytes
80 Bytes
…
80 Bytes
6.1. Command Header Field
The command header field contains three parameters, header, type and length.
Command Header Field
Header
Type
Length
1 byte
1 byte
2 bytes
Parameters Size (Byte)
Description
Header
1
The content of this parameter is fixed to the value of
0x55
.
Type
1
The content of the “Command Data Field” is used for CAN Port 1 or 2.
0x01:
The content of the “Command Data Field” is used for CAN Port 1.
0x02:
The content of the “Command Data Field” is used for CAN Port 2.
Others: Reserved, for future used.
Length
2
Total Length of the “Command Data Field”
When the content of “Type” parameter is 0x01 or 0x02,
this “Length”
parameter is meaning length of “Command Data Field”. Because the
length of each data in “Command Data Field” is fixed at 80 Bytes. And a
single command can be up to 18 data. So the content of Length must be
80 multiple N (N: 1~18, data number).
For Example:
One Data
Length = 80
Two Data
Length = 80 x 2 = 160
…