没有合适的资源?快使用搜索试试~ 我知道了~
首页DBC文件详细说明.pdf
资源详情
资源评论
资源推荐

DBC File Format Documentation I
DBC File Format
Documentation
Version 01/2007
This specification as released by Vector is intended for the purpose of
information only and is provided on an "AS IS" basis only. To the extent
admissible by law, Vector disclaims any warranties or liabilities from the
use of this specification. The unauthorized use, e.g. copying, displaying
or other use of any content from this document is a violation of the law
and intellectual property rights. You must not distribute this specification
to anyone outside of the department or the project for which your com-
pany has received this specification, and in particular the distribution
outside your company is expressly inadmissible.
© 2007 Vector Informatik GmbH
All rights reserved.

DBC File Format Documentation II
Document Management
Revision History
Version Editor Description
1.0 of 2007-02-09 Qu Specification created
Table of contents
1
Introduction..................................................................................................................1
2
General Definitions ......................................................................................................1
3
Structure of the DBC File.............................................................................................2
4
Version and New Symbol Specification......................................................................3
5
Bit Timing Definition....................................................................................................3
6
Node Definitions...........................................................................................................3
7
Value Table Definitions................................................................................................3
7.1
Value Descriptions (Value Encodings).................................................................................4
8
Message Definitions.....................................................................................................4
8.1
Signal Definitions..................................................................................................................4
8.2
Definition of Message Transmitters......................................................................................6
8.3
Signal Value Descriptions (Value Encodings)......................................................................6
9
Environment Variable Definitions...............................................................................6
9.1
Environment Variable Value Descriptions............................................................................7
10
Signal Type and Signal Group Definitions .........................................................7
11
Comment Definitions ...........................................................................................7
12
User Defined Attribute Definitions......................................................................8
12.1
Attribute Definitions..............................................................................................................8
12.2
Attribute Values ....................................................................................................................8
13
Examples ..............................................................................................................8

DBC File Format Documentation Version 01/2007 1
2007, Vector Informatik GmbH DBC_File_Format_Documentation.doc Version 1.0 dated 2007-02-09
1 Introduction
The DBC file describes the communication of a single CAN network. This informa-
tion is sufficient to monitor and analyze the network and to simulate nodes not
physically available (remaining bus simulation).
The DBC file can also be used to develop the communication software of an elec-
tronic control unit which shall be part of the CAN network. The functional behavior
of the ECU is not addressed by the DBC file.
2 General Definitions
The following general elements are used in this documentation:
unsigned_integer: an unsigned integer
signed_integer: a signed integer
double: a double precision float number
char_string: an arbitrary string consisting of any printable charac-
ters except double hyphens ('"').
C_identifier: a valid C_identifier. C_identifiers have to start with
am alpha character or an underscore and may further consist of
alpha-numeric characters and underscores.
C_identifier = (alpha_char | '_') {alpha_num_char | '_'}
C-identifiers used in DBC files may have a length of up to 128 characters. To be
compatible to older tools the length should not exceed 32 characters.
Other strings used in DBC files may be of an arbitrary length.
The keywords used in DBC files o identify the type of an object are given in the
following table:
Keyword Object Type
BU_ Network Node
BO_ Message
SG_ Signal
EV_ Environment Variable
The syntax is described using the extended BNF notation (Backus-Naur-Format).
Symbol Meaning
= A name on the left of the = is defined using the syntax on the right (syntax rule).
; The semicolon terminates a definition.
| The vertical bar indicates an alternative.
足够的
无符号整型
整型(有符号)
双精度浮点型
可打印的字符串
为了兼容性,C标识符的长度不应该超过32个字符
下划线
剩余10页未读,继续阅读



















嗨皮
- 粉丝: 121
- 资源: 14
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制

评论0