I'm trying to create a J1939 message with a PGN equal to 130. But I couldn't determine how the ID is going to look like in order to get that exact PGN.

Can you please share a suggestion?

Thanks a lot

  • \$\begingroup\$ Isnt it just R=0, DP=0, PF=0x00, PS=0x82? (assuming you mean decimal 130) \$\endgroup\$ – BeB00 Mar 6 '18 at 1:12
  • \$\begingroup\$ @BeB00 , No can you give the full 29-bit identifier then. ie: with 0x008200 would give PGN = 0x00 as from alumni.cs.ucsb.edu/~savior/convert-j1939-id-to-pgn.php \$\endgroup\$ – The Beast Mar 6 '18 at 21:04
  • \$\begingroup\$ That calculator wont give you a PGN of 130. If that calculator is correct, then a value of 130 isnt possible. The calculator wont accept a PF of 0, which is required to get PGN=130 \$\endgroup\$ – BeB00 Mar 6 '18 at 22:18
  • \$\begingroup\$ Ignoring the calculator, the value 0x00008200 will give you the correct PGN, but that may not be a valid ID. Why do you want a PGN of 130? \$\endgroup\$ – BeB00 Mar 6 '18 at 22:21
  • 1
    \$\begingroup\$ In that case it might be 0x00000980, but I dont think these calculators are calculating the PGN properly, or else you cant have a PGN that low. It seems that the PGN always has 6 trailing 0's \$\endgroup\$ – BeB00 Mar 6 '18 at 23:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.