Page 1 of 1
PCAN-USB and J1939 Diagnostic Messages
Posted: Sun 9. Sep 2018, 09:51
by martino
With the PCAN-USB how can i transmit J1939 Diag. Messages that require more than 8 data bytes ?
And, the PCAN-USB can read them when are generated by some ECU on the bus ?
Thank You
Re: PCAN-USB and J1939 Diagnostic Messages
Posted: Mon 10. Sep 2018, 08:10
by K.Wagner
Hello,
Our devices work with CAN and CAN-FD protocols (raw CAN communication). J1939 is a CAN-based high layer protocol. This means, the J1939 handling must be implemented on the application layer, e.g. on your application. We have two products that implement J1939 already:
- PCAN-RP1210: API library that allows sending/receiving CAN and J1939 data
- PCAN-Explorer 6: Application for working with CAN and CAN-FD networks, that can be enhanced through Add-Ins. One of then, J1939 Add-In, is used for J1939 communication.
Re: PCAN-USB and J1939 Diagnostic Messages
Posted: Mon 10. Sep 2018, 08:16
by martino
Thank Uou
can you suggest me an example with the products you quoted ?
I need to send a J1939 DM with 32 bytes.
Re: PCAN-USB and J1939 Diagnostic Messages
Posted: Mon 10. Sep 2018, 08:37
by K.Wagner
PCAN-Explorer:
With the PCAN-Explorer 6, all information is already there, so you only need to select your DM from a list, fill the data as needed and press a key to send the message. Responses and any data on the bus is automatically processed and presented in the reception panel.

- PCAN-Explorer 6 with J1939 AddIn - Message Sending
- PE6_J1939.PNG (53.2 KiB) Viewed 8763 times
PCAN-RP1210 API:
With the API you need to program an application (device connection, filter handling, write and read routines, etc), parse your data in a buffer and use the API function RP1210_SendMessage to send your data. You need then to use RP1210_ReadMessage to get any answer an ECU may send. Here an extract of the help showing information about the RP1210_SendMessage function:
Re: PCAN-USB and J1939 Diagnostic Messages
Posted: Mon 10. Sep 2018, 14:26
by martino
Many thanks,
the Explorer 6 can work with the PCAN-USB ?
Re: PCAN-USB and J1939 Diagnostic Messages
Posted: Mon 10. Sep 2018, 14:34
by K.Wagner
Yes. With all devices from PEAK-System