Hi,
I'm developing can network with PCAN Ethernet Gateway DR.
And I have to send can message with 29 bits CAN id to enable display devices.
But I'm in trouble to transmit can message with extended CAN ID (29 bits long) in LAN2CAN Routing mode.
It's just only 11 bits can id was transmitted from LAN to CAN when I check the can message by PCAN-View.
Is there any solution to transmit 29 bits long CAN ID in LAN2CAN routing mode?
Please let me know if you have solution.
My environment for development with Gateway DR is following.
1. PCAN Etherent Gateway version : 2.6.0
2. Ethernet protocol : UDP
PCAN Ethernet Gateway Extended CAN ID for LAN2CAN mode
Re: PCAN Ethernet Gateway Extended CAN ID for LAN2CAN mode
Hello,
could you please give us more information? Since sending 29-bit messages with PCAN-View (i.e. using the Virtual Gateway communication) works, I supposes you are programming your own routes. Could you please post code of how you are sending i.e. configuring the 29-bit messages?
Here an extract of the documentation. Please check that you are setting the message as needed:
could you please give us more information? Since sending 29-bit messages with PCAN-View (i.e. using the Virtual Gateway communication) works, I supposes you are programming your own routes. Could you please post code of how you are sending i.e. configuring the 29-bit messages?
Here an extract of the documentation. Please check that you are setting the message as needed:
Best regards,
Keneth
Keneth
Re: PCAN Ethernet Gateway Extended CAN ID for LAN2CAN mode
Hi,
The actual CAN ID is "0x1B000073" from LAN to CAN by gateway.
I know it's working on PCAN-View,but not on gateway.
As you commented setting extended bit to CAN ID on gateway can message form,
Is it possible to set "0x80000000(extended bit) + 0x1B000073(actual can id)"
for transmitting to gateway?
I'll try it. Thank you.
The actual CAN ID is "0x1B000073" from LAN to CAN by gateway.
I know it's working on PCAN-View,but not on gateway.
As you commented setting extended bit to CAN ID on gateway can message form,
Is it possible to set "0x80000000(extended bit) + 0x1B000073(actual can id)"
for transmitting to gateway?
I'll try it. Thank you.
Re: PCAN Ethernet Gateway Extended CAN ID for LAN2CAN mode
I tried as you commented and it is working well.
Thank you for your help.
Thank you for your help.