Author Topic: PGN 65259 SPN 588  (Read 593 times)

Offline macbahi

  • PLUS+1 Expert
  • ****
  • Posts: 64
  • Karma: +0/-0
PGN 65259 SPN 588
« on: May 17, 2022, 02:42:31 PM »
Hi!

I want to use PGN 65259 SPN 588 in order to get engine serial number but I didn't find this function in Danfoss library.

So I must to do any alternative to get it.

I didn't understand:   stat byte = c and length =200 byte  .  Please see the file included.

Please anyone have any ideas what might be the issue?

I will appreciate your collaboration if you have a similar code to share.

Thanks in advance for your help

With best regards

Offline Matt_Eng

  • PLUS+1 User
  • **
  • Posts: 7
  • Karma: +5/-0
Re: PGN 65259 SPN 588
« Reply #1 on: May 17, 2022, 05:31:58 PM »
Hi Macbahi,

PGN 65259 is a multipacket message with variable length.

This PGN is available under Bidirectional->TransProtocol_Rx->Parsers, and it is called CI_Parser

To receive and process the message, you'll need three blocks.
1. Req_PGN_Tx: This will be used to request PGN 65259 from the remote device
2. TP_RTS_CTS_Rx: This is used to receive the multipacket messages. It needs to be configured to receive PGN 65259
3. CI_Parser: This block is connected to TP_RTS_CTS_Rx and decodes the message into a nice friendly signal.

There is a small J1939 Example in the update center that shows the CI_Parser, but it is missing the Req_Pgn_Tx function which is needed.

-Matt_Eng

Offline macbahi

  • PLUS+1 Expert
  • ****
  • Posts: 64
  • Karma: +0/-0
Re: PGN 65259 SPN 588
« Reply #2 on: May 17, 2022, 07:53:33 PM »
Hello sir,

Thank you very much to answer me.

but I don't know where I find Bidirectional->TransProtocol_Rx->Parsers, and it is called CI_Parser

Thanks
With regards

Offline Matt_Eng

  • PLUS+1 User
  • **
  • Posts: 7
  • Karma: +5/-0
Re: PGN 65259 SPN 588
« Reply #3 on: May 17, 2022, 10:29:54 PM »
They are slightly newer functions, but they are available in version 5.10 of the J1939 Library.
I've attached a small screenshot of the library tab and have added red boxes to highlight the 3 functions I mentioned.

I've also added a little picture example of how the 3 blocks work together.

-Matt_Eng

Offline macbahi

  • PLUS+1 Expert
  • ****
  • Posts: 64
  • Karma: +0/-0
Re: PGN 65259 SPN 588
« Reply #4 on: May 18, 2022, 03:08:14 PM »
Hi sir Matt,

Thank you very much.

I updated my J1939 library 400 for 510.  I found all.

Thanks for your help

Yours sincerely