+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Member level 2
    Points: 960, Level: 7

    Join Date
    Dec 2012
    Posts
    42
    Helped
    0 / 0
    Points
    960
    Level
    7

    How to get VIN no via J1939 protocol??

    Hello,

    How to get VIN no via J1939 CAN protocol??

    I need Frame format for send the request so that in reply i 'll get VIN no.

    Is there any document available for all command so that i can get other detail also??

    Thanks in advance

    •   Alt1st January 2017, 15:21

      advertising

        
       

  2. #2
    Member level 2
    Points: 960, Level: 7

    Join Date
    Dec 2012
    Posts
    42
    Helped
    0 / 0
    Points
    960
    Level
    7

    Re: How to get VIN no via J1939 protocol??

    Could anyone please suggest below packet format for request VIN no?

    Source address is 0x27.

    CAN Message:
    id =
    length =
    type = (available options are data or remote)
    data[0] =
    data[1] =
    data[2] =
    data[3] =
    data[4] =
    data[5] =
    data[6] =
    data[7] =

    what will be the expected response ??


    I had tried the following packet but didn't get any response

    id = 0x7DF
    length = 8
    type = data
    data[0] = 0x02
    data[1] =0x09
    data[2] =0x02
    data[3] =0x00
    data[4] =0x00
    data[5] =0x00
    data[6] =0x00
    data[7] =0x00



    •   Alt7th January 2017, 05:32

      advertising

        
       

  3. #3
    Member level 2
    Points: 960, Level: 7

    Join Date
    Dec 2012
    Posts
    42
    Helped
    0 / 0
    Points
    960
    Level
    7

    Re: How to get VIN no via J1939 protocol??

    I had sent request for
    ID = 0x18EAFFF9,
    Data = 0xEC, 0xFE,0x00
    length = 3

    but didn't get any response.

    1) I have not sent address claim, but in system fixed addressing scheme is there so do i have to sent address claim message before start communication???
    2) Can anyone suggest what will be the expected reply for this request??



    •   Alt15th January 2017, 10:36

      advertising

        
       

  4. #4
    Full Member level 2
    Points: 2,179, Level: 10
    Achievements:
    7 years registered

    Join Date
    Nov 2009
    Location
    United States
    Posts
    148
    Helped
    49 / 49
    Points
    2,179
    Level
    10

    Re: How to get VIN no via J1939 protocol??

    Check about 1/2 way through this presentation, is a little information on the VIN PGN an dhow it could be retrieved - as it is 17 bytes/characters+asterisk it cannot be fit into a single frame and must be transferred using the datagram transport scheme for J1939
    http://www.simmasoftware.com/j1939-presentation.pdf



  5. #5
    Member level 2
    Points: 960, Level: 7

    Join Date
    Dec 2012
    Posts
    42
    Helped
    0 / 0
    Points
    960
    Level
    7

    Re: How to get VIN no via J1939 protocol??

    I have tried few command buf After searching on google i found that address claim is must before initiate communication with control unit.

    assume that my device is off board diagnostic so how to claim address on CAN J1939 network??

    Msg.id.pdu_bit.edp = 0;
    Msg.id.pdu_bit.dp = 0;
    Msg.id.pdu_bit.pf = 234;
    Msg.id.pdu_bit.ps = 255;
    Msg.id.pdu_bit.sa = 249;
    Msg.id.pdu_bit.pri = 6;

    Msg.buf[0] = 0x00; //LSB First
    Msg.buf[1] = 0xEE;
    Msg.buf[2] = 0x00;

    Msg.len = 3;

    i have send this command to controller but controller doesn't respond anything



+ Post New Thread
Please login
--[[ ]]--