DBC_File_Format_Documentation(5)
时间:2025-04-21
时间:2025-04-21
Vector 公司的 DBC 文件格式说明。这类DBC文件可以作为整车CAN网络的描述文件,可以描述各个CAN message(包括ID、传递参数的物理含义等)。
filter DBC File Format Documentation Version 01/2007 3 signal_type_refs signal_extended_value_type_list
DBC files that describe the CAN communication and don't define any additional data for system or remaining bus simulations don't include environment variables. 4 Version and New Symbol Specification
The DBC files contain a header with the version and the new symbol entries. The version either is empty or is a string used by CANdb editor.
version = ['VERSION' '"' { CANdb_version_string } '"' ];
new_symbols = [ '_NS' ':' ['CM_'] ['BA_DEF_'] ['BA_'] ['VAL_']
['CAT_DEF_'] ['CAT_'] ['FILTER'] ['BA_DEF_DEF_'] ['EV_DATA_']
['ENVVAR_DATA_'] ['SGTYPE_'] ['SGTYPE_VAL_'] ['BA_DEF_SGTYPE_']
['BA_SGTYPE_'] ['SIG_TYPE_REF_'] ['VAL_TABLE_'] ['SIG_GROUP_']
['SIG_VALTYPE_'] ['SIGTYPE_VALTYPE_'] ['BO_TX_BU_']
['BA_DEF_REL_'] ['BA_REL_'] ['BA_DEF_DEF_REL_'] ['BU_SG_REL_']
['BU_EV_REL_'] ['BU_BO_REL_'] ];
5 Bit Timing Definition
The bit timing section defines the baudrate and the settings of the BTR registers of the network This section is obsolete and not used any more. Nevertheless he keyword 'BS_' must appear in the DBC file.
bit_timing = 'BS_:' [baudrate ':' BTR1 ',' BTR2 ] ;
baudrate = unsigned_integer ;
BTR1 = unsigned_integer ;
BTR2 = unsigned_integer ;
6 Node Definitions
The node section defines the names of all participating nodes The names defined in this section have to be unique within this section.
nodes = 'BU_:' {node_name} ;
node_name = C_identifier ;
7 Value Table Definitions
The value table section defines the global value tables. The value descriptions in value tables define value encodings for signal raw values. In commonly used DBC files the global value tables aren't used, but the value descriptions are defined for each signal independently. value_tables = {value_table} ;
上一篇:杭钢烧结污染整体防治实践