摘要
CAN总线J1939报文在汽车系统开发中尤为重要,报文配置方式也在逐渐增多。本文提出并验证了一种报文数据灵活按位配置的方法,通过标定某变量在所占J1939报文通讯矩阵中的字节长度与所处报文位置来获取变量的报文数据。这项技术可以实现对某变量跨字节进行以位为单位的报文数据配置,对构建报文配置的工作起到重要作用。
CAN bus J1939 message is particularly important in the development of automobile system,and the configuration of message is increasing gradually.This paper proposes and verifies a flexible bit by bit configuration method of message data.By calibrating the byte length of a variable in the J1939 message communication matrix and its position in the message,the message data of a variable can be obtained.This technology can realize the message data configuration of a variable across bytes in the unit of bits,which plays an important role in the construction of message configuration.
作者
刘绪洪
崔琳
隋丽萍
Liu Xu-hong;Cui Lin;Sui Li-ping(Weichai Power Co.,Ltd.,Shandong Weifang 261061)
出处
《内燃机与配件》
2024年第1期102-105,共4页
Internal Combustion Engine & Parts