ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual
Version 1.0.0
Page
:
47
Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: [email protected]
5.1.1.2 CAN Rx FIFO Address
The CAN1/2 port support CAN Rx FIFO. By using Modbus function code 0x04 read command to
read the protocol base address of “0” or “4096” and data length in multiples of 40 words, user
can get maximum 10 CAN/CAN Messages from CAN1/2 Rx FIFO at one time.
CAN1 Rx FIFO Message #1 ~ #10
Protocol
Base Address
(0xxxx)
PLC
Base Address
(3xxxx)
Words
Description
00000 ~ 00399
30001 ~ 30400
40 * 10 CAN1 Rx FIFO Message #1 ~ #10 (N: 1~10)
Read “Protocol Base Address: 00000” and
“Word No: 40 * N”, you can get N CAN
messages from CAN1 Rx FIFO (N: maximum 10
messages). When there is no data in Rx FIFO
#N, the corresponding 40 words data content
will be 0.
CAN2 Rx FIFO Message #1 ~ #10
Protocol
Base Address
(0xxxx)
PLC
Base Address
(3xxxx)
Words
Description
04096 ~ 04135
34097 ~ 34136
40 * 10 CAN2 Rx FIFO
Message #1~ #10 (N: 1~10)
Read “Protocol Base Address: 04096” and
“Word No 40 * N”, you can get N CAN
messages from CAN2 Rx FIFO (N: maximum 10
messages). When there is no data in Rx FIFO
#N, the corresponding 40 words data content
will be 0.