




已阅读5页,还剩9页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
单帧:请求报文: 第一字节:4-7位=0 3-0位= SF-DL 单一框架数据长度 第二字节:sid 第三字节:0-6位 diagnosticsessiontype:defauleSession =01 ECUProgrammingSession= 02 ExtendedDiagnosticSession =03 7位:0 不镇压响应报文 1 镇压响应报文多帧:首帧:第一字节4-7位=1 3-0位+第二字节=FF-DL FF-DL 第一框架数据长度 范围8-fff 第三字节:sid 流控制帧:第一字节4-7位=3 0-3位=FS 流动状态 0:继续发送 1:等待 2:超出流控制范围 3-F保留第二字节=BS 块大小00-无FC 01-FF除流控制帧外最多的连续帧第三字节= STmin 两个数据包之间最小等待时间 连续帧:第一字节:4-7位=2 0-3位=SN 序列号 范围0-F 第二字节 数据1DiagnosticSessionControl(sid=10)Sid 后的数据请求报文: 第一字节:0-6位 diagnosticsessiontype:defauleSession =01 ECUProgrammingSession= 02 ExtendedDiagnosticSession =03 7位:0 不镇压响应报文 1 镇压响应报文 主要完成:确定相应的模式,对时间参数进行相应的设定正确响应报文:sid=50 第一字节:0-6位 diagnosticsessiontype:defauleSession =01 ECUProgrammingSession= 02 ExtendedDiagnosticSession =03 第二字节:sessionparameterRecordSessionParameterRecord#1= P2CAN-SERVER-MAX高字节P2CAN-SERVER-MAX低字节P2*CAN-SERVER-MAX高字节P2*CAN-SERVER-MAX高字节错误响应报文: pci之后的数据:第一字节:NR-SI=7f第二字节:ID=50 第三字节同上面的第二字节第五字节是错误响应代码:12-subfunctionnotsupported 13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect主要完成:确定相应的模式,对时间参数进行相应的设定2. ECUReset sid=11单帧:请求报文:第一字节:0-6位 resettype:hardreset =01 keyoffonreset = 02 softreset =03 enablerapidpowershutdown =04disablerapidpowershutdown =05 7位:0 不镇压响应报文 1 镇压响应报文正确响应报文:sid=51 第一字节:0-6位 resettype:hardreset =01 keyoffonreset = 02 softreset =03 enablerapidpowershutdown =04disablerapidpowershutdown =05 第二字节:powerdowntime错误响应报文: 第一字节:NR-SI=7f第二字节:ID=51 第三字节同上面的第二字节第四字节是错误响应代码:12-subfunctionnotsupported 13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect 33-securityaccessdenied(拒绝安全进入)主要完成:进行相应的复位模式3.SecurityAccess sid=27单帧:请求报文: 第一字节:0-6位 SecurityAccessType:requestSeed=01 ,03,05,07-5F s endkey=02,04,06,08-60 7位:0 不镇压响应报文 1 镇压响应报文第二字节: securityAccessDataRecord / securitykey 正确响应报文: sid=67 第三字节:0-6位 SecurityAccessType 第四字节:SecuritySeed错误响应报文: 第一字节:NR-SI=7f第二字节:ID=67 第三字节同上面的第二字节第五字节是错误响应代码:12-subfunctionnotsupported 13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect24-requestSequenceEerror /请求序列错误31-requestOutOfRange35-invalidKey/密码无效36-exceededNumberOfAttempts/超出所允许的输入密码次数37-requiredTimerDelayNotExoired/要求的时间延时已到4.communicationControl sid=28单帧:请求报文: 第一字节:0-6位 Controltype:Enablerxandtx=00Enablerxanddisabletx=01Disablerxandenabletx=02Disablerxandtx=03 7位:0 不镇压响应报文 1 镇压响应报文 第二字节:Communicationtype Application=01b Networkmanagement=10b 正确响应报文:sid=68 第一字节:0-6位 Controltype:Enablerxandtx=00Enablerxanddisabletx=01Disablerxandenabletx=02Disablerxandtx=03 第二字节:Communicationtype Application=01b Networkmanagement=10b 错误响应报文: 第一 字节:NR-SI=7f第二字节:ID=68 第三字节同上面的第二字节第四字节同上第三字节第五字节是错误响应代码:12-subfunctionnotsupported 13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect31-requestOutOfRange主要完成:确定相应的模式,对时间参数进行相应的设定5.testerPresent sid=3E单帧:请求报文: 第三字节:0-6位 Zerosubfunction=00 7位:0 不镇压响应报文 1 镇压响应报文正确响应报文:sid=7E 第一字节:0-6位 Zerosubfunction=00 错误响应报文: 第一字节:NR-SI=7f第二字节:ID=7E 第三字节同上面的第二字节第四字节是错误响应代码:12-subfunctionnotsupported 13-incorrectmessagelengthorinvalidformat 主要完成:确定相应的模式,对时间参数进行相应的设定6.Secureddatatrasmission sid=84单帧:请求报文: 第一字节:0-6位 securityDataRequestRecord 7位:0 不镇压响应报文 1 镇压响应报文正确响应报文:sid= C4 第一字节:0-6位 0-6位 securityDataRequestRecord 7位:0 不镇压响应报文 1 镇压响应报文错误响应报文: 第一字节:NR-SI=7f第二字节:ID= C4 第三字节同上面的第二字节securityDataRequestRecord第四字节是错误响应代码: 13-incorrectmessagelengthorinvalidformat 7.controlDTCsetting sid=85单帧:请求报文: 第一字节:7位:0 不镇压响应报文 1 镇压响应报文0-6位 DTCsettingtype on=01 off=02 第二字节: DTCsettingcontroloptionrecord 正确响应报文:sid=c5 第一字节:DTCsettingtype on=01 off=02 错误响应报文: 第一字节:NR-SI=7f第二字节:ID=c5 第三字节同上面的第二字节第四字节同上第三字节8. ResponseOnEvent sid=86单帧:请求报文: 第一字节:7位:0 不镇压响应报文 1 镇压响应报文6位 donotstoreevent=0 Storeevent=10-5位 stopresponse on event=00 On dtc status change=01 On timer interrupt=02 On change of data identifier=03 Report activate events=04 Startresponse on event =05 Clear response on event=06 On comparision of values=07 第二字节:event window time 第三字节; eventTypeRecord .字节:service to respond to record=sesvice id Service parameter. Service to resond to record read data by identifier req sid=22 res sid=62 Read dtc information 19 59 Routine control 31 71 Input outout control by identifier 2F 6F 正确响应报文:sid=c6 第一字节:7位:0 不镇压响应报文 1 镇压响应报文6位 donotstoreevent=0 Storeevent=10-5位 stopresponse on event=00 On dtc status change=01 On timer interrupt=02 On change of data identifier=03 Report activate events=04 Startresponse on event =05 Clear response on event=06 On comparision of values=07 第二字节; number of identified events 第三字节:event window time 第四即以后:event type record .字节:service to respond to record=sesvice id Service parameter. 错误响应报文: 第一字节:NR-SI=7f第二字节:ID=c6 第三字节同上面的第二字节第四字节同上第三字节。错误代码; 12-subfunctionnotsupported 13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect31-requestOutOfRange9. linkcontrol sid=87单帧:请求报文 第一字节0-6位 linkcontroltype:verify baudrate transition with fixed baudrate=01 verifybaudratetransition with specific baudrate=02 transition baudrate=03 7位:0 不镇压响应报文 1 镇压响应报文 第二字节:baudrateidentifier (如果linkcontroltype=01) 第三字节及以后: baudraterecord(如果linkcontroltype=02) 正确响应报文:sid=C7 第一字节:linkcontroltype错误响应报文: 第一字节:NR-SI=7f第二字节:ID=C7 第三字节同上面的第二字节第四字节是错误响应代码:12-subfunctionnotsupported 13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect24-requestSequenceEerror /请求序列错误31-requestOutOfRange10.read data by identifier sid=22单帧:请求报文 第三字节及以后:dataidentifier: 正确响应报文:sid=62 第一二字节:dataidentifier(包含两个字节) 第三四字节:datarecord 第。字节:dataidentifier 第。字节datarecord错误响应报文: 第一字节:NR-SI=7f第二字节:ID=C7 第三字节同上面的第二字节第四字节是错误响应代码:13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect31-requestOutOfRange33-security accessdenied11.read memory by address sid=23 单帧:请求报文 第一字节:address and length format identifier 7-4位memorysize的长度 3-0位memory address长度 第二字节级以后:memory address . :memorysize 正确响应报文: sid=63 第一字节及以后:datarecord 错误响应报文: 第一字节:NR-SI=7f第二字节:ID=63 第三字节是错误响应代码:13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect31-requestOutOfRange33-security accessdenied12.read scaling data by identifier sid=24 单帧:请求报文 第一字节:dataidentifier 第二字节:dataidentifier正确响应报文:sid=64 第一二字节:dataidentifier 第三字节:scalingbyte 第四. Scalingbyteextension : scalingbyte : Scalingbyteextension 错误响应报文: 第一字节:NR-SI=7f第二字节:ID=64 第三字节是错误响应代码:13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect31-requestOutOfRange33-security accessdenied13.read data by periodic identifier sid=2A单帧:请求报文 第一字节:transmissionMode send at slow rate =01 Send at mediumrate=02 Send at fast rate=03 Stopsending=04 第二字节:periodic dataidentifier . periodic dataidentifier正确响应报文:sid=6A 第一字节:periodicdataidentifier 第二.字节:datarecord 错误响应报文: 第一字节:NR-SI=7f第二字节:ID=6A 第三字节是错误响应代码:13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect31-requestOutOfRange33-security accessdenied14. dynamicallydefinedataidentifier sid=2C请求报文第一字节: 第一字节:subfuction 01-definebyidentifier 第二三字节:dynamicallydataidentifier 第四五字节:sourcedataidentifier 第六字节:positioninsorcedatarecord 第七字节:memorysize#1 . sourcedataidentifier Positioninsorcedatarecord memorysize :sid=2C 第一字节:02-definebymemoryaddress 第二三字节:dynamicallydataidentifier 第四字节:address and length formate identifier 第五字节:memoryaddress .memorysize . memoryaddress . memorysize :sid=2C 第一字节:03-cleardynamicallydefineddataidentifier 第二三字节:dynamicallydataidentifier正确响应报文:si=6c 第一字节:definitiontype 第二三字节:dynamicallydataidentifier 错误代码:12-subfunctionnotsupported13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect31-requestOutOfRange33-security accessdenied15.writedataby identifier单帧:请求报文第一字节:4-7位=0 3-0位= SF-DL 单一框架数据长度 第二字节:sid=2E 第三四字节:dataidentifier: 第五字节:datarecord 正确响应报文:范围:1-6 第一字节:4-7位=0 3-0位= SF-DL 单一框架数据长度 第二字节:sid=6E 第三四字节:dataidentifier(包含两个字节) 错误响应报文: 第二字节:NR-SI=7f第三字节:ID=C7 第四字节同上面的第三字节第五字节是错误响应代码:13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect31-requestOutOfRange33-security accessdenied72-generalprogrammingfaiure16. writememorybyaddress sid=3D单帧:请求报文 第一字节:address and length formateidentifier 第二字节:memoryaddress .memorysize datarecord 正确响应报文: sid=7D 第一字节:address and length formateidentifier第二字节:memoryaddress .memorysize 错误响应报文: 第一字节:NR-SI=7f第二字节:ID=7D 第三字节同上面的第二字节第四字节是错误响应代码:13-incorrectmessagelengthorinvalidformat 22-conditionsnotcorrect31-requestOutOfRange33-security accessdenied72-generalprogrammingfaiure17.readDTCinformation sid=19单帧:请求报文 第一字节:sub-function report numberof dtc by status mask= 01 Report dtc by status mask=02 Report mirror memory dtc by status mask=0F Report number of mirror memory dtc by status mask=11 Report number of emission related obd dtc by status mask=12 Report emission related obd dtc by status mask=13 第二字节:DTCstatus mask 请求报文:请求报文 第一字节:sub-function Report dtc snapshotidentification=03Report dtc snapshotrecordbydtcnumber=04 第二三四字节:DTC maskrecord 第五字节:dtc snapshotrecordnumber请求报文: 第一字节:sub-function Report dtc snapshotrecordbyrecordnumber=05 第二三四字节:DTC maskrecord 第五字节:dtc snapshotrecordnumber请求报文: 第一字节:sub-function Report dtc extendeddata record by dtc number=06Report mirror memory dtc extendeddata record by dtc number=10 第二三四字节:DTC maskrercord 第五字节:dtc snapshotrecordnumber请求报文: 第一字节:sub-function Report number of dtc by severity mask record=07Repord dtc by severity mask record=08 第二三字节:DTC severity maskrecord 请求报文: 第一字节:sub-function Report severity information of dtc=09 第二三四字节:DTC maskrecord请求报文: 第一字节:sub-function Report supported dtc=0AReported first test failed dtc=0BRepord first confirmed dtc =0CRepot most recent test failed dtc=0DRepord most recent confirmed dtc=0EReport dtc fault detection counter=14Report dtc with permannaent status=15 第二三四字节:DTC maskrecord 正确响应报文sid=59: 第一字节:SUBFUNCTION report numberof dtc by status mask= 01Report number of dtc by severity mask record=07Report number of mirror memory dtc by status mask=11 Report number of emission related obd dtc by status mask=12第二字节:dtc status availsbility mask 第三字节:dtc formate identifier 第四五字节:dtccount正确响应报文: 第一字节:SUBFUNCTION Report dtc by status mask=02Report sup
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 日本猪瘟疫苗管理制度
- 早期康复介入管理制度
- 服装公司会员管理制度
- 各部门工作制度管理制度
- 服务驿站分级管理制度
- 地面混凝土养护管理制度
- 后勤文书及档案管理制度
- 外地分公司员工管理制度
- 培训学校总经办管理制度
- 日料餐饮公司管理制度
- 四川省乐山市市中区2022-2023学年七年级下学期期末英语试卷(含答案)
- 气管切开非机械通气患者气道护理课件
- 高中英语-what's in a name教学课件设计
- 瓦斯隧道施工安全手册
- 注塑模课程设计说明书罩盖塑料模具设计
- 2023年河北石家庄市市属国有企业面向社会招聘笔试参考题库附带答案详解
- 医学高级职称正高《中医内科学》(题库)模拟试卷四
- 食品机械及设备课程设计报告
- 信邦益心舒胶囊课件
- 疼痛的药物治疗及术后镇痛
- 南海区2021-2022英语期末考试八年级答案
评论
0/150
提交评论