Industrial Electronic Devices
SENDING ASYNCHRONOUS CAN MESSAGES FROM ETHERNET
The converter allows to send asynchronous CAN messages directly from Ethernet to CAN.
The Ethernet message to send to the converter must have this structure:
To choose the type of CAN (2.0A or 2.0B) of the frame that the converter will send, it is necessary to put the most significant bit of the byte
1 to:
•
0: CAN 2.0A;
•
1: CAN 2.0B.
To send a CAN message from Ethernet to CAN, it is necessary to send the UDP message to the tunneling port of the converter.
Example:
We want to send the CAN message with these characteristics:
CAN Type=2.0A; Frame: Cob_ID=0x0000; Data=0x0105.
So the string of hexadecimal numbers to be send to the converter is: [00][00][00][00][01][05].
Note:
After sending the first CAN messages, if the "Send back CAN messages" option is activated, the CAN messages are sent via Ethernet
(UDP messages) with the same structure.
ADFweb.com Srl – IT31010 – Mareno – Treviso
Byte Number
Description
1÷4
COB-ID of the CAN message to send
5÷(4+n)
Data of the CAN message
n=Number of Byte to Write
User Manual CAN / SNMP Agent
Document code: MN67155_ENG
INFO:
www.adfweb.com
Phone +39.0438.30.91.31
Revision 1.100
Pagina 31 di 37
Need help?
Do you have a question about the HD67155-A1 and is the answer not in the manual?