0
\$\begingroup\$

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

\$\endgroup\$
8
  • \$\begingroup\$ Isnt it just R=0, DP=0, PF=0x00, PS=0x82? (assuming you mean decimal 130) \$\endgroup\$
    – BeB00
    Mar 6, 2018 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, 2018 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, 2018 at 22:18
  • 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, 2018 at 23:26
  • 1
    \$\begingroup\$ Then I guess you cant have a PGN that low. Again, why do you want one? \$\endgroup\$
    – BeB00
    Mar 7, 2018 at 0:59

1 Answer 1

1
\$\begingroup\$

if 130 is in hex PGN=0x130, it means PDU Format is 1 and PDU Specific is 30, it depends on your option if your priority is 1 and Source Address is 1 your ID is 0x4013001. search j1939 frame on google for details

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.