![]() To ensure your DBC looks OK, we recommend to open the DBC in a text editor. ![]() Next, start by adding a single message and a single signal to the DBC and save it. ![]() a CAN FD DBC, J1939 DBC, NMEA 2000 DBC etc). When creating a new DBC file, you can typically select a DBC template (e.g. For beginners, we recommend the Kvaser DBC editor. Getting started: If you need to construct a new DBC file, we recommend using one of the DBC editors above. Software that uses CAN DBC files can be split in two groups: Editing & data processing. For more on this topic, see Vector's guide toĭBC software tools (editing & processing) The OBD2 DBC file can be used together with our CANedge CAN loggers for the purpose of decoding OBD2 frames in e.g. the CANDB++ DBC editor to more easily view and understand DBC files with multiplexing, like the OBD2 DBC: OBD2 DBC file Reflects data for the throttle position instead.ĭBC multiplexing and extended multiplexing is an advanced topic and not supported by all data processing tools. In this example, it means that byte 4 reflects data for vehicle speed. The two OBD2 PIDs, speed and throttle position.Įxtended multiplexing works as before: If S1 takes the value 13 (HEX 0D), it means that only signals that are A) part of the S1 group and B) have a multiplexer switch value of 13 should be taken into account. To see this, note that S1 takes the same role as Service in the syntax, adding an M after m1 and being grouped with But CAN DBC files also support extended multiplexing, where a multiplexed signal (in this case S1) can also be a multiplexor and thus control the interpretation of other parts of the data payload. The above is referred to as simple multiplexing. The signal S1 is multiplexed by Service, which is evident from the SG_MUL_VAL_ field where the two are grouped.Īs evident, the signal S1 has the value m1 after the signal name, which means that if the Service signal takes the value 1, the data reflects the OBD2 service mode 01. In this case, it toggles which OBD2 service mode is used (mode 01, 02. Here, the M in the Service signal serves as the 'multiplexor signal'. SG_ WheelBasedVehicleSpeed : (0.00390625,0) "km/h" Vector_XXXĬM_ BO_ 2364540158 "Electronic Engine Controller 1" ĬM_ SG_ 2364540158 EngineSpeed "Actual engine speed which is calculated over a minimum crankshaft angle of 720 degrees divided by the number of cylinders." ĬM_ BO_ 2566844926 "Cruise Control/Vehicle Speed 1" ĬM_ SG_ 2566844926 WheelBasedVehicleSpeed "Wheel-Based Vehicle Speed: Speed of the vehicle as calculated from wheel or tailshaft speed." īA_DEF_ BO_ "VFrameFormat" ENUM "StandardCAN","ExtendedCAN","reserved","J1939PG" īA_ "SPN" SG_ 2364540158 EngineSpeed 190 īA_ "SPN" SG_ 2566844926 WheelBasedVehicleSpeed 84 Īt the heart of a DBC file are the rules that describe how to decode CAN messages and signals: SG_ EngineSpeed : (0.125,0) "rpm" Vector_XXX
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |