Announcement

Collapse
No announcement yet.

CAN BUS how to get data

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • CAN BUS how to get data

    I have OBDKey. It allows to get data from OBD2/CAN BUS. I've received data using OBD2 (standard PIDs), but I have problems with CAN messages.

    Should I sent some AT commands to work with CAN? What are they?
    How should I send message_id to get data from it? What is the format of sending data?

  • #2
    The commands ATCM0000 and ATCFFFE0 will set the CAN filter and mask to accept ALL incoming frames.

    This is so you can see all the frames on the bus. If there is nothing there, you will just get “waiting …” from ATMA.

    Using a Ford ECU, I get this trace (to quit ATMA send any key):

    atz
    OBDKey 1.30
    >
    atsp6 (to set to CAN 11 500)
    OK
    >
    atcfffe0
    OK
    >
    atcm0000
    OK
    >
    ath1
    OK
    >
    atl1
    OK
    >
    atma

    Waiting...

    0420FFFF00FF6A00FF00
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0420FFFF00FF6A00FF00
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0420FFFF00FF6A00FF00
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0420FFFF00FF6A00FF00
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0420FFFF00FF6A00FF00
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0200000000000000803F
    0420FFFF00FF6A00FF
    OK

    >
    There are other methods too for advanced filtering and variable lengths.

    Comment


    • #3
      Hm, the log doesn't look exactly like what you would expect from an ELM327. Do you disable spaces by default?
      OBDLink MX: world's smallest, fastest, most advanced OBD/Bluetooth adapter with SW and MS CAN support. Read the review to learn more.
      Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!

      You cannot send me a private message using this forum. Use my email instead: vitaliy[@]scantool.net.

      Comment


      • #4
        CANIDs Ford Fusion and FORD Fiesta

        Are the different CANIDs for the same parametr(for example EngSpeed) using in Ford Fusion and Ford Fiesta? Or they are the same?

        Comment


        • #5
          depends on the parameter. For OBDII defined parameters, like speed, the data will be at the same CANID, Mode and PID.

          Comment


          • #6
            I'm also very interested in getting data off of the CAN BUS (specifically HS-CAN) from a Ford vehicle... but I'm working with a F350 truck with diesel engine (2008, 6.4L).

            Has anyone found a source for the frame identifiers (IDs) used on the HS-CAN?

            Comment


            • #7
              jantman,

              If you just want to see what CANIDs are present on the bus, monitor with ATMA (all filters off).

              Vitaliy
              OBDLink MX: world's smallest, fastest, most advanced OBD/Bluetooth adapter with SW and MS CAN support. Read the review to learn more.
              Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!

              You cannot send me a private message using this forum. Use my email instead: vitaliy[@]scantool.net.

              Comment

              Working...
              X