Receiving J1939 peer-to-peer messages with different target

Comprehensive CAN monitor for Windows® and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
lthevenon
Posts: 5
Joined: Tue 27. Aug 2013, 17:07

Receiving J1939 peer-to-peer messages with different target

Post by lthevenon » Mon 15. Jun 2015, 11:08

Hi,

It seems that J1939 Add-In does not differentiate peer-to-peer received messages with different targets.
For exemple, I define in PCAN symbol editor two symbols with different bytes layout using the following IDs :
- 18EF21F9
- 1CEFF921
When receiving these messages, PCAN explorer uses the same symbol to decode received bytes for both messages,
as if it does not taken into account the target address which is not the same for the 2 messages (21 or F9).

Is there a way to solve this problem ?

Regards

K.Wolf
Software Development
Software Development
Posts: 141
Joined: Wed 22. Sep 2010, 15:37

Re: Receiving J1939 peer-to-peer messages with different tar

Post by K.Wolf » Mon 15. Jun 2015, 15:19

Hi,

by default J1939 symbols are decoded only through their PGN, which is the same for both messages (61184). To override this behaviour, there is an optional parameter that you can include in your Symbol definitions. This parameter does not bind the Symbol to a specific target/destination address, but to a specific source, which would solve your problem too.
In PCAN-Explorer 5.3, the parameter can only be included directly in the Symbol file, not via the Symbol Editor, e.g.

[MySymbol1]
ID=18EF21F9h
Type=J1939PG
IgnoreSource=False
DLC=8
Var=MyVar1 unsigned ...

[MySymbol2]
ID=1CEFF921h
Type=J1939PG
IgnoreSource=False
DLC=8
Var=MyVar2 unsigned ...

By default, IgnoreSource is set to True.

You could also download and install the new PCAN-Explorer 5.4 Beta. The Symbol Editor included in this version has a Symbol option 'Valid For all Source Addresses' to control this setting. If you're interested, update the News list on your PCAN-Explorer Start Page (View -> Start Page) and click on the provided link of the PCAN-Explorer 5.4.0 Beta news entry.

lthevenon
Posts: 5
Joined: Tue 27. Aug 2013, 17:07

Re: Receiving J1939 peer-to-peer messages with different tar

Post by lthevenon » Mon 15. Jun 2015, 16:14

It woks fine !
Thank you for your quick answer.
Luc

Post Reply