目录
[1 安装Python和Cantools](#1 安装Python和Cantools)
[1.1 查看Python已安装的Package包](#1.1 查看Python已安装的Package包)
[1.2 在Python中安装Cantools插件包](#1.2 在Python中安装Cantools插件包)
[1.3 获取更多Cantools工具的更新动态](#1.3 获取更多Cantools工具的更新动态)
[2 CAN Matrix Arxml自动生成C语言代码](#2 CAN Matrix Arxml自动生成C语言代码)
[2.1 批处理文件CAN_Matrix_Arxml_To_C.bat内容说明](#2.1 批处理文件CAN_Matrix_Arxml_To_C.bat内容说明)
[2.2 CAN Matrix Arxml文件要求](#2.2 CAN Matrix Arxml文件要求)
[2.3 如何使用生成的C语言代码](#2.3 如何使用生成的C语言代码)
[3 附录:CAN Matrix Arxml文件](#3 附录:CAN Matrix Arxml文件)
[4 附录:生成的power_train.c文件](#4 附录:生成的power_train.c文件)
[5 附录:生成的power_train.h文件](#5 附录:生成的power_train.h文件)
优质博文推荐阅读(单击下方链接,即可跳转):
【DBC专题】-11-使用Cantools将CAN/CANFD DBC自动生成C语言代码
1 安装Python和Cantools
在Python Releases for Windows | Python.org链接中,找到你需要的Python版本(建议使用3.7及以上版本)下载,并安装。
1.1 查看Python已安装的Package包
快捷键Win + R ,打开运行对话框,在其中输入CMD,单击确定。
在弹出的"Windows 命令提示符 "窗口,输入命令pip list,可以查看Python已安装的包,及其版本。
1.2 在Python中安装Cantools插件包
在弹出的"Windows 命令提示符 "窗口,输入命令pip install cantools ,安装Cantools插件包。
Cantools 成功安装后提示:
Successfully installed argparse-addons-0.12.0 bitstruct-8.19.0 cantools-39.4.5 crccheck-1.3.0 diskcache-5.6.3 packaging-24.0 python-can-4.3.1 pywin32-306 textparser-0.24.0 typing-extensions-4.10.0 wrapt-1.16.0
使用命令pip list ,可以获取Cantools的版本。
1.3 获取更多Cantools工具的更新动态
在GitHub - cantools/cantools: CAN bus tools.链接中,可以关注Cantools该插件最新的更新动态。
2 CAN Matrix Arxml自动生成C语言代码
双击运行批处理文件CAN_Matrix_Arxml_To_C.bat,自动生成两个power_train.c和power_train.h,将这两个文件添加到你的编译环境中,并调用生成的API接口即可。
2.1 批处理文件CAN_Matrix_Arxml_To_C.bat内容说明
CAN_Matrix_Arxml_To_C.bat 内容摘录如下,使用该批处理文件需要注意以下四点:
-
CAN Matrix Arxml文件与批处理文件在同一个目录下;
-
CAN Matrix Arxml文件不能数字,或特殊字符开头,否则生成的代码,不符合C语言语法;
-
使用文本编辑工具,打开批处理文件,将PowerTrain替换成同目录下的Arxml文件名称;
-
使用文本编辑工具,打开批处理文件,将Gateway替换成Arxml中你所使用的发送节点名称。
@echo off
::切换至当前目录
cd.::CAN Matrix Arxml自动生成C语言代码
python -m cantools generate_c_source -e "gb18030" PowerTrain.arxml --node Gateway
2.2 CAN Matrix Arxml文件要求
这个很重要,决定了能否生成 C 代码文件,以及生成 C 代码文件的质量。
以使用的PowerTrain.arxml 为例,该批处理文件 自动生成的是节点 Gateway 所收/发的帧和信号的C语言代码。故没有在Tx Frames,Rx Frames出现的帧和信号,不会生成代码。
小结:
- 在编辑 Message 和 Signal 时,需要明确该帧的"发送节点",以及帧内信号的"接收节点";
- 并不是所有的CAN Matrix Arxml 都可以生成C语言代码,原因是XML的格式(属性标签,分支嵌套结构...)是多变的,Cantools工具无法识别各种Arxml变异,请使用专业工具生成的Arxml文件(AUTOSAR System Description Network Explorer 生成的arxml文件有时都无法生成C文件 ),如PREEvision
如何准确的制作一个Arxml文件,参考博文【ARXML专题】-2-创建一个Classic CAN(经典CAN2.0)/CANFD的系统描述ARXML文件_新建arxml指令-CSDN博客https://blog.csdn.net/qfmzhu/article/details/111936806
2.3 如何使用生成的C语言代码
API接口******_pack** (例如power_train_diag_request_motor_pack)表示将本节点发送的信号 的结构体(传参const struct power_train_diag_request_motor_t *src_p)拼接 / 打包成"字节数组";
API接口******_unpack** (例如power_train_gear_box_info_unpack) 表示将本节点接收的信号 的结构体(传参struct power_train_gear_box_info_t *dst_p,),由"字节数组"进行解包得到。
3 附录:CAN Matrix Arxml文件
<?xml version="1.0" encoding="utf-8"?>
<!--This file was saved with a tool from Vector Informatik GmbH-->
<AUTOSAR xsi:schemaLocation="http://autosar.org/schema/r4.0 AUTOSAR_4-2-1.xsd" xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AR-PACKAGES>
<AR-PACKAGE>
<SHORT-NAME>VehicleProject</SHORT-NAME>
<ELEMENTS>
<SYSTEM>
<SHORT-NAME>System</SHORT-NAME>
<FIBEX-ELEMENTS>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="NM-CONFIG">/NM/NmConfig</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-TP-CONFIG">/TP/CAN00_CAN</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-CLUSTER">/Cluster/PowerTrain</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="ECU-INSTANCE">/ECU/Engine</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="ECU-INSTANCE">/ECU/Gateway</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU-GROUP">/IPDUGroup/Engine_Rx</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU-GROUP">/IPDUGroup/Engine_Tx</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU-GROUP">/IPDUGroup/Gateway_Rx</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU-GROUP">/IPDUGroup/Gateway_Tx</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/ABSdata</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/Diag_Request</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/Diag_Response</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/DiagRequest_Motor</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/DiagResponse_Motor</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/EngineData</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/EngineDataIEEE</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/EngineStatus</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/GearBoxInfo</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/Ignition_Info</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/NM_Engine</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="CAN-FRAME">/CanFrame/NM_Gateway_PowerTrain</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU">/PDU/ABSdata</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU">/PDU/DiagRequest_Motor</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU">/PDU/DiagResponse_Motor</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineData</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineDataIEEE</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineStatus</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU">/PDU/GearBoxInfo</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL-I-PDU">/PDU/Ignition_Info</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="USER-DEFINED-PDU">/PDU/Diag_Request</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="USER-DEFINED-PDU">/PDU/Diag_Response</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="NM-PDU">/PDU/NM_Engine</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="NM-PDU">/PDU/NM_Gateway_PowerTrain</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/AccelerationForce</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/CarSpeed</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/Diagnostics</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/DiagRequest</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/DiagResponse</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/EcoMode</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/EngForce</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/EngForceIEEE</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/EngPower</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/EngSpeed</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/EngSpeedIEEE</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/EngTemp</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/ErrorCode</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/Gear</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/GearLock</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/IdleRunning</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/PetrolLevel</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/ShiftRequest</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/StarterKey</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF-CONDITIONAL>
<FIBEX-ELEMENT-REF DEST="I-SIGNAL">/ISignal/Status</FIBEX-ELEMENT-REF>
</FIBEX-ELEMENT-REF-CONDITIONAL>
</FIBEX-ELEMENTS>
</SYSTEM>
</ELEMENTS>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>NM</SHORT-NAME>
<ELEMENTS>
<NM-CONFIG>
<SHORT-NAME>NmConfig</SHORT-NAME>
<NM-CLUSTERS>
<CAN-NM-CLUSTER>
<SHORT-NAME>CAN00_CAN</SHORT-NAME>
<COMMUNICATION-CLUSTER-REF DEST="CAN-CLUSTER">/Cluster/PowerTrain</COMMUNICATION-CLUSTER-REF>
<NM-CHANNEL-ID>0</NM-CHANNEL-ID>
<NM-NODES>
<CAN-NM-NODE>
<SHORT-NAME>Engine</SHORT-NAME>
<CONTROLLER-REF DEST="CAN-COMMUNICATION-CONTROLLER">/ECU/Engine/CT_CAN00</CONTROLLER-REF>
<NM-IF-ECU-REF DEST="NM-ECU">/NM/NmConfig/Engine_CAN</NM-IF-ECU-REF>
<NM-NODE-ID>27</NM-NODE-ID>
<TX-NM-PDU-REFS>
<TX-NM-PDU-REF DEST="NM-PDU">/PDU/NM_Engine</TX-NM-PDU-REF>
</TX-NM-PDU-REFS>
<NM-MSG-CYCLE-OFFSET>0.01</NM-MSG-CYCLE-OFFSET>
<NM-MSG-REDUCED-TIME>0.05</NM-MSG-REDUCED-TIME>
<NM-RANGE-CONFIG>
<LOWER-CAN-ID>1280</LOWER-CAN-ID>
<UPPER-CAN-ID>1407</UPPER-CAN-ID>
</NM-RANGE-CONFIG>
</CAN-NM-NODE>
<CAN-NM-NODE>
<SHORT-NAME>Gateway</SHORT-NAME>
<CONTROLLER-REF DEST="CAN-COMMUNICATION-CONTROLLER">/ECU/Gateway/CT_CAN00</CONTROLLER-REF>
<NM-IF-ECU-REF DEST="NM-ECU">/NM/NmConfig/Gateway_CAN</NM-IF-ECU-REF>
<NM-NODE-ID>26</NM-NODE-ID>
<TX-NM-PDU-REFS>
<TX-NM-PDU-REF DEST="NM-PDU">/PDU/NM_Gateway_PowerTrain</TX-NM-PDU-REF>
</TX-NM-PDU-REFS>
<NM-MSG-CYCLE-OFFSET>0.01</NM-MSG-CYCLE-OFFSET>
<NM-MSG-REDUCED-TIME>0.05</NM-MSG-REDUCED-TIME>
<NM-RANGE-CONFIG>
<LOWER-CAN-ID>1280</LOWER-CAN-ID>
<UPPER-CAN-ID>1407</UPPER-CAN-ID>
</NM-RANGE-CONFIG>
</CAN-NM-NODE>
</NM-NODES>
<NM-MSG-CYCLE-TIME>2</NM-MSG-CYCLE-TIME>
<NM-NETWORK-TIMEOUT>1</NM-NETWORK-TIMEOUT>
<NM-REPEAT-MESSAGE-TIME>0.4</NM-REPEAT-MESSAGE-TIME>
<NM-USER-DATA-LENGTH>5</NM-USER-DATA-LENGTH>
<NM-WAIT-BUS-SLEEP-TIME>0.75</NM-WAIT-BUS-SLEEP-TIME>
</CAN-NM-CLUSTER>
</NM-CLUSTERS>
<NM-CLUSTER-COUPLINGS>
<CAN-NM-CLUSTER-COUPLING>
<COUPLED-CLUSTER-REFS>
<COUPLED-CLUSTER-REF DEST="CAN-NM-CLUSTER">/NM/NmConfig/CAN00_CAN</COUPLED-CLUSTER-REF>
</COUPLED-CLUSTER-REFS>
</CAN-NM-CLUSTER-COUPLING>
</NM-CLUSTER-COUPLINGS>
<NM-IF-ECUS>
<NM-ECU>
<SHORT-NAME>Engine_CAN</SHORT-NAME>
<BUS-SPECIFIC-NM-ECU>
<CAN-NM-ECU />
</BUS-SPECIFIC-NM-ECU>
<ECU-INSTANCE-REF DEST="ECU-INSTANCE">/ECU/Engine</ECU-INSTANCE-REF>
<NM-NODE-ID-ENABLED>true</NM-NODE-ID-ENABLED>
<NM-USER-DATA-ENABLED>true</NM-USER-DATA-ENABLED>
</NM-ECU>
<NM-ECU>
<SHORT-NAME>Gateway_CAN</SHORT-NAME>
<BUS-SPECIFIC-NM-ECU>
<CAN-NM-ECU />
</BUS-SPECIFIC-NM-ECU>
<ECU-INSTANCE-REF DEST="ECU-INSTANCE">/ECU/Gateway</ECU-INSTANCE-REF>
<NM-NODE-ID-ENABLED>true</NM-NODE-ID-ENABLED>
<NM-USER-DATA-ENABLED>true</NM-USER-DATA-ENABLED>
</NM-ECU>
</NM-IF-ECUS>
</NM-CONFIG>
</ELEMENTS>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>TP</SHORT-NAME>
<ELEMENTS>
<CAN-TP-CONFIG>
<SHORT-NAME>CAN00_CAN</SHORT-NAME>
<COMMUNICATION-CLUSTER-REF DEST="CAN-CLUSTER">/Cluster/PowerTrain</COMMUNICATION-CLUSTER-REF>
<TP-CHANNELS>
<CAN-TP-CHANNEL>
<SHORT-NAME>TPCH</SHORT-NAME>
<CHANNEL-ID>0</CHANNEL-ID>
<CHANNEL-MODE>FULL-DUPLEX-MODE</CHANNEL-MODE>
</CAN-TP-CHANNEL>
</TP-CHANNELS>
</CAN-TP-CONFIG>
</ELEMENTS>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>Cluster</SHORT-NAME>
<ELEMENTS>
<CAN-CLUSTER>
<SHORT-NAME>PowerTrain</SHORT-NAME>
<LONG-NAME>
<L-4 L="FOR-ALL">demopowertrain</L-4>
</LONG-NAME>
<DESC>
<L-2 L="FOR-ALL">CAN communication matrix for body electronics*******************************************************implemented: turn lights, warning lights, windows</L-2>
</DESC>
<ADMIN-DATA>
<SDGS>
<SDG GID="DV:ToolData">
<SD GID="DV:ToolName">Vector Legacy Database Converter</SD>
<SD GID="DV:ToolVersion">1.7.24.0</SD>
</SDG>
<SDG GID="DV:CompanyData">
<SD GID="DV:CompanyName">Daimler</SD>
</SDG>
</SDGS>
</ADMIN-DATA>
<CAN-CLUSTER-VARIANTS>
<CAN-CLUSTER-CONDITIONAL>
<BAUDRATE>500000</BAUDRATE>
<PHYSICAL-CHANNELS>
<CAN-PHYSICAL-CHANNEL>
<SHORT-NAME>CHNL</SHORT-NAME>
<COMM-CONNECTORS>
<COMMUNICATION-CONNECTOR-REF-CONDITIONAL>
<COMMUNICATION-CONNECTOR-REF DEST="CAN-COMMUNICATION-CONNECTOR">/ECU/Engine/CN_CAN00</COMMUNICATION-CONNECTOR-REF>
</COMMUNICATION-CONNECTOR-REF-CONDITIONAL>
<COMMUNICATION-CONNECTOR-REF-CONDITIONAL>
<COMMUNICATION-CONNECTOR-REF DEST="CAN-COMMUNICATION-CONNECTOR">/ECU/Gateway/CN_CAN00</COMMUNICATION-CONNECTOR-REF>
</COMMUNICATION-CONNECTOR-REF-CONDITIONAL>
</COMM-CONNECTORS>
<FRAME-TRIGGERINGS>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_ABSdata</SHORT-NAME>
<FRAME-PORT-REFS>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Engine/CN_CAN00/FP_ABSdata_Tx</FRAME-PORT-REF>
</FRAME-PORT-REFS>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/ABSdata</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_ABSdata</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<CAN-FRAME-TX-BEHAVIOR>CAN-20</CAN-FRAME-TX-BEHAVIOR>
<IDENTIFIER>201</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_Diag_Request</SHORT-NAME>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/Diag_Request</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_Diag_Request</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<IDENTIFIER>512</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_Diag_Response</SHORT-NAME>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/Diag_Response</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_Diag_Response</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<IDENTIFIER>1024</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_DiagRequest_Motor</SHORT-NAME>
<FRAME-PORT-REFS>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Gateway/CN_CAN00/FP_DiagRequest_Motor_Tx</FRAME-PORT-REF>
</FRAME-PORT-REFS>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/DiagRequest_Motor</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_DiagRequest_Motor</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<CAN-FRAME-TX-BEHAVIOR>CAN-20</CAN-FRAME-TX-BEHAVIOR>
<IDENTIFIER>1537</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_DiagResponse_Motor</SHORT-NAME>
<FRAME-PORT-REFS>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Engine/CN_CAN00/FP_DiagResponse_Motor_Tx</FRAME-PORT-REF>
</FRAME-PORT-REFS>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/DiagResponse_Motor</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_DiagResponse_Motor</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<CAN-FRAME-TX-BEHAVIOR>CAN-20</CAN-FRAME-TX-BEHAVIOR>
<IDENTIFIER>1544</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_EngineData</SHORT-NAME>
<FRAME-PORT-REFS>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Engine/CN_CAN00/FP_EngineData_Tx</FRAME-PORT-REF>
</FRAME-PORT-REFS>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/EngineData</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_EngineData</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<CAN-FRAME-TX-BEHAVIOR>CAN-20</CAN-FRAME-TX-BEHAVIOR>
<IDENTIFIER>100</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_EngineDataIEEE</SHORT-NAME>
<FRAME-PORT-REFS>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Engine/CN_CAN00/FP_EngineDataIEEE_Tx</FRAME-PORT-REF>
</FRAME-PORT-REFS>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/EngineDataIEEE</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_EngineDataIEEE</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<CAN-FRAME-TX-BEHAVIOR>CAN-20</CAN-FRAME-TX-BEHAVIOR>
<IDENTIFIER>102</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_EngineStatus</SHORT-NAME>
<FRAME-PORT-REFS>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Engine/CN_CAN00/FP_EngineStatus_Tx</FRAME-PORT-REF>
</FRAME-PORT-REFS>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/EngineStatus</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_EngineStatus</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<CAN-FRAME-TX-BEHAVIOR>CAN-20</CAN-FRAME-TX-BEHAVIOR>
<IDENTIFIER>101</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_GearBoxInfo</SHORT-NAME>
<FRAME-PORT-REFS>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Engine/CN_CAN00/FP_GearBoxInfo_Tx</FRAME-PORT-REF>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Gateway/CN_CAN00/FP_GearBoxInfo_Rx</FRAME-PORT-REF>
</FRAME-PORT-REFS>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/GearBoxInfo</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_GearBoxInfo</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<CAN-FRAME-TX-BEHAVIOR>CAN-20</CAN-FRAME-TX-BEHAVIOR>
<IDENTIFIER>1020</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_Ignition_Info</SHORT-NAME>
<FRAME-PORT-REFS>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Engine/CN_CAN00/FP_Ignition_Info_Rx</FRAME-PORT-REF>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Gateway/CN_CAN00/FP_Ignition_Info_Tx</FRAME-PORT-REF>
</FRAME-PORT-REFS>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/Ignition_Info</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_Ignition_Info</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<CAN-FRAME-TX-BEHAVIOR>CAN-20</CAN-FRAME-TX-BEHAVIOR>
<IDENTIFIER>103</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_NM_Engine</SHORT-NAME>
<FRAME-PORT-REFS>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Engine/CN_CAN00/FP_NM_Engine_Tx</FRAME-PORT-REF>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Gateway/CN_CAN00/framePort_59cca9c163392b49</FRAME-PORT-REF>
</FRAME-PORT-REFS>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/NM_Engine</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_NM_Engine</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<CAN-FRAME-TX-BEHAVIOR>CAN-20</CAN-FRAME-TX-BEHAVIOR>
<IDENTIFIER>1307</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
<CAN-FRAME-TRIGGERING>
<SHORT-NAME>FT_NM_Gateway_PowerTrain</SHORT-NAME>
<FRAME-PORT-REFS>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Gateway/CN_CAN00/FP_NM_Gateway_PowerTrain_Tx</FRAME-PORT-REF>
<FRAME-PORT-REF DEST="FRAME-PORT">/ECU/Engine/CN_CAN00/framePort_710252725353a8d3</FRAME-PORT-REF>
</FRAME-PORT-REFS>
<FRAME-REF DEST="CAN-FRAME">/CanFrame/NM_Gateway_PowerTrain</FRAME-REF>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING-REF-CONDITIONAL>
<PDU-TRIGGERING-REF DEST="PDU-TRIGGERING">/Cluster/PowerTrain/CHNL/PT_NM_Gateway_PowerTrain</PDU-TRIGGERING-REF>
</PDU-TRIGGERING-REF-CONDITIONAL>
</PDU-TRIGGERINGS>
<CAN-ADDRESSING-MODE>STANDARD</CAN-ADDRESSING-MODE>
<CAN-FRAME-TX-BEHAVIOR>CAN-20</CAN-FRAME-TX-BEHAVIOR>
<IDENTIFIER>1306</IDENTIFIER>
</CAN-FRAME-TRIGGERING>
</FRAME-TRIGGERINGS>
<I-SIGNAL-TRIGGERINGS>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_AccelerationForce_oABSdata</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_AccelerationForce_oABSdata_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/AccelerationForce</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_CarSpeed_oABSdata</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_CarSpeed_oABSdata_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/CarSpeed</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_Diagnostics_oABSdata</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_Diagnostics_oABSdata_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/Diagnostics</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_DiagRequest_Motor_oDiagRequest_Motor</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Gateway/CN_CAN00/SP_DiagRequest_Motor_oDiagRequest_Motor_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/DiagRequest</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_DiagResponse_Motor_oDiagResponse_Motor</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_DiagResponse_Motor_oDiagResponse_Motor_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/DiagResponse</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_EcoMode_oGearBoxInfo</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_EcoMode_oGearBoxInfo_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EcoMode</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_EngForce_oEngineData</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_EngForce_oEngineData_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngForce</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_EngForceIEEE_oEngineDataIEEE</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_EngForceIEEE_oEngineDataIEEE_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngForceIEEE</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_EngPower_oEngineData</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_EngPower_oEngineData_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngPower</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_EngSpeed_oEngineData</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_EngSpeed_oEngineData_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngSpeed</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_EngSpeedIEEE_oEngineDataIEEE</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_EngSpeedIEEE_oEngineDataIEEE_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngSpeedIEEE</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_EngTemp_oEngineData</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_EngTemp_oEngineData_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngTemp</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_ErrorCode_oEngineStatus</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_ErrorCode_oEngineStatus_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/ErrorCode</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_Gear_oGearBoxInfo</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_Gear_oGearBoxInfo_Tx</I-SIGNAL-PORT-REF>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Gateway/CN_CAN00/SP_Gear_oGearBoxInfo_Rx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/Gear</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_GearLock_oABSdata</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_GearLock_oABSdata_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/GearLock</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_IdleRunning_oEngineData</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_IdleRunning_oEngineData_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/IdleRunning</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_PetrolLevel_oEngineData</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_PetrolLevel_oEngineData_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/PetrolLevel</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_ShiftRequest_oGearBoxInfo</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_ShiftRequest_oGearBoxInfo_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/ShiftRequest</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_StarterKey_oIgnition_Info</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_StarterKey_oIgnition_Info_Rx</I-SIGNAL-PORT-REF>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Gateway/CN_CAN00/SP_StarterKey_oIgnition_Info_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/StarterKey</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
<I-SIGNAL-TRIGGERING>
<SHORT-NAME>ST_Status_oEngineStatus</SHORT-NAME>
<I-SIGNAL-PORT-REFS>
<I-SIGNAL-PORT-REF DEST="I-SIGNAL-PORT">/ECU/Engine/CN_CAN00/SP_Status_oEngineStatus_Tx</I-SIGNAL-PORT-REF>
</I-SIGNAL-PORT-REFS>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/Status</I-SIGNAL-REF>
</I-SIGNAL-TRIGGERING>
</I-SIGNAL-TRIGGERINGS>
<PDU-TRIGGERINGS>
<PDU-TRIGGERING>
<SHORT-NAME>PT_ABSdata</SHORT-NAME>
<I-PDU-PORT-REFS>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Engine/CN_CAN00/PP_ABSdata_Tx</I-PDU-PORT-REF>
</I-PDU-PORT-REFS>
<I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/ABSdata</I-PDU-REF>
<I-SIGNAL-TRIGGERINGS>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_AccelerationForce_oABSdata</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_CarSpeed_oABSdata</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_Diagnostics_oABSdata</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_GearLock_oABSdata</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
</I-SIGNAL-TRIGGERINGS>
</PDU-TRIGGERING>
<PDU-TRIGGERING>
<SHORT-NAME>PT_Diag_Request</SHORT-NAME>
<I-PDU-REF DEST="USER-DEFINED-PDU">/PDU/Diag_Request</I-PDU-REF>
</PDU-TRIGGERING>
<PDU-TRIGGERING>
<SHORT-NAME>PT_Diag_Response</SHORT-NAME>
<I-PDU-REF DEST="USER-DEFINED-PDU">/PDU/Diag_Response</I-PDU-REF>
</PDU-TRIGGERING>
<PDU-TRIGGERING>
<SHORT-NAME>PT_DiagRequest_Motor</SHORT-NAME>
<I-PDU-PORT-REFS>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Gateway/CN_CAN00/PP_DiagRequest_Motor_Tx</I-PDU-PORT-REF>
</I-PDU-PORT-REFS>
<I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/DiagRequest_Motor</I-PDU-REF>
<I-SIGNAL-TRIGGERINGS>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_DiagRequest_Motor_oDiagRequest_Motor</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
</I-SIGNAL-TRIGGERINGS>
</PDU-TRIGGERING>
<PDU-TRIGGERING>
<SHORT-NAME>PT_DiagResponse_Motor</SHORT-NAME>
<I-PDU-PORT-REFS>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Engine/CN_CAN00/PP_DiagResponse_Motor_Tx</I-PDU-PORT-REF>
</I-PDU-PORT-REFS>
<I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/DiagResponse_Motor</I-PDU-REF>
<I-SIGNAL-TRIGGERINGS>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_DiagResponse_Motor_oDiagResponse_Motor</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
</I-SIGNAL-TRIGGERINGS>
</PDU-TRIGGERING>
<PDU-TRIGGERING>
<SHORT-NAME>PT_EngineData</SHORT-NAME>
<I-PDU-PORT-REFS>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Engine/CN_CAN00/PP_EngineData_Tx</I-PDU-PORT-REF>
</I-PDU-PORT-REFS>
<I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineData</I-PDU-REF>
<I-SIGNAL-TRIGGERINGS>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_EngForce_oEngineData</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_EngPower_oEngineData</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_EngSpeed_oEngineData</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_EngTemp_oEngineData</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_IdleRunning_oEngineData</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_PetrolLevel_oEngineData</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
</I-SIGNAL-TRIGGERINGS>
</PDU-TRIGGERING>
<PDU-TRIGGERING>
<SHORT-NAME>PT_EngineDataIEEE</SHORT-NAME>
<I-PDU-PORT-REFS>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Engine/CN_CAN00/PP_EngineDataIEEE_Tx</I-PDU-PORT-REF>
</I-PDU-PORT-REFS>
<I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineDataIEEE</I-PDU-REF>
<I-SIGNAL-TRIGGERINGS>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_EngForceIEEE_oEngineDataIEEE</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_EngSpeedIEEE_oEngineDataIEEE</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
</I-SIGNAL-TRIGGERINGS>
</PDU-TRIGGERING>
<PDU-TRIGGERING>
<SHORT-NAME>PT_EngineStatus</SHORT-NAME>
<I-PDU-PORT-REFS>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Engine/CN_CAN00/PP_EngineStatus_Tx</I-PDU-PORT-REF>
</I-PDU-PORT-REFS>
<I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineStatus</I-PDU-REF>
<I-SIGNAL-TRIGGERINGS>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_ErrorCode_oEngineStatus</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_Status_oEngineStatus</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
</I-SIGNAL-TRIGGERINGS>
</PDU-TRIGGERING>
<PDU-TRIGGERING>
<SHORT-NAME>PT_GearBoxInfo</SHORT-NAME>
<I-PDU-PORT-REFS>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Engine/CN_CAN00/PP_GearBoxInfo_Tx</I-PDU-PORT-REF>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Gateway/CN_CAN00/PP_GearBoxInfo_Rx</I-PDU-PORT-REF>
</I-PDU-PORT-REFS>
<I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/GearBoxInfo</I-PDU-REF>
<I-SIGNAL-TRIGGERINGS>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_EcoMode_oGearBoxInfo</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_Gear_oGearBoxInfo</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_ShiftRequest_oGearBoxInfo</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
</I-SIGNAL-TRIGGERINGS>
</PDU-TRIGGERING>
<PDU-TRIGGERING>
<SHORT-NAME>PT_Ignition_Info</SHORT-NAME>
<I-PDU-PORT-REFS>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Engine/CN_CAN00/PP_Ignition_Info_Rx</I-PDU-PORT-REF>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Gateway/CN_CAN00/PP_Ignition_Info_Tx</I-PDU-PORT-REF>
</I-PDU-PORT-REFS>
<I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/Ignition_Info</I-PDU-REF>
<I-SIGNAL-TRIGGERINGS>
<I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
<I-SIGNAL-TRIGGERING-REF DEST="I-SIGNAL-TRIGGERING">/Cluster/PowerTrain/CHNL/ST_StarterKey_oIgnition_Info</I-SIGNAL-TRIGGERING-REF>
</I-SIGNAL-TRIGGERING-REF-CONDITIONAL>
</I-SIGNAL-TRIGGERINGS>
</PDU-TRIGGERING>
<PDU-TRIGGERING>
<SHORT-NAME>PT_NM_Engine</SHORT-NAME>
<I-PDU-PORT-REFS>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Gateway/CN_CAN00/PP_4f3a86411c204ccc8dcc256ac8df7cc6_Rx</I-PDU-PORT-REF>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Engine/CN_CAN00/PP_5178a6d008674c0794ffc57430efd233_Tx</I-PDU-PORT-REF>
</I-PDU-PORT-REFS>
<I-PDU-REF DEST="NM-PDU">/PDU/NM_Engine</I-PDU-REF>
</PDU-TRIGGERING>
<PDU-TRIGGERING>
<SHORT-NAME>PT_NM_Gateway_PowerTrain</SHORT-NAME>
<I-PDU-PORT-REFS>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Engine/CN_CAN00/PP_b066c0a745e54ec29d3fcf031b09acac_Rx</I-PDU-PORT-REF>
<I-PDU-PORT-REF DEST="I-PDU-PORT">/ECU/Gateway/CN_CAN00/PP_03fbc7cea9764bbb86773eb46c9b49f1_Tx</I-PDU-PORT-REF>
</I-PDU-PORT-REFS>
<I-PDU-REF DEST="NM-PDU">/PDU/NM_Gateway_PowerTrain</I-PDU-REF>
</PDU-TRIGGERING>
</PDU-TRIGGERINGS>
</CAN-PHYSICAL-CHANNEL>
</PHYSICAL-CHANNELS>
<PROTOCOL-NAME>CAN</PROTOCOL-NAME>
</CAN-CLUSTER-CONDITIONAL>
</CAN-CLUSTER-VARIANTS>
</CAN-CLUSTER>
</ELEMENTS>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>ECU</SHORT-NAME>
<ELEMENTS>
<ECU-INSTANCE>
<SHORT-NAME>Engine</SHORT-NAME>
<ASSOCIATED-COM-I-PDU-GROUP-REFS>
<ASSOCIATED-COM-I-PDU-GROUP-REF DEST="I-SIGNAL-I-PDU-GROUP">/IPDUGroup/Engine_Rx</ASSOCIATED-COM-I-PDU-GROUP-REF>
<ASSOCIATED-COM-I-PDU-GROUP-REF DEST="I-SIGNAL-I-PDU-GROUP">/IPDUGroup/Engine_Tx</ASSOCIATED-COM-I-PDU-GROUP-REF>
</ASSOCIATED-COM-I-PDU-GROUP-REFS>
<COMM-CONTROLLERS>
<CAN-COMMUNICATION-CONTROLLER>
<SHORT-NAME>CT_CAN00</SHORT-NAME>
<CAN-COMMUNICATION-CONTROLLER-VARIANTS>
<CAN-COMMUNICATION-CONTROLLER-CONDITIONAL>
<CAN-CONTROLLER-ATTRIBUTES>
<CAN-CONTROLLER-CONFIGURATION-REQUIREMENTS>
<MAX-NUMBER-OF-TIME-QUANTA-PER-BIT>20</MAX-NUMBER-OF-TIME-QUANTA-PER-BIT>
<MAX-SAMPLE-POINT>81.25</MAX-SAMPLE-POINT>
<MIN-NUMBER-OF-TIME-QUANTA-PER-BIT>15</MIN-NUMBER-OF-TIME-QUANTA-PER-BIT>
<MIN-SAMPLE-POINT>80</MIN-SAMPLE-POINT>
</CAN-CONTROLLER-CONFIGURATION-REQUIREMENTS>
</CAN-CONTROLLER-ATTRIBUTES>
</CAN-COMMUNICATION-CONTROLLER-CONDITIONAL>
</CAN-COMMUNICATION-CONTROLLER-VARIANTS>
</CAN-COMMUNICATION-CONTROLLER>
</COMM-CONTROLLERS>
<CONNECTORS>
<CAN-COMMUNICATION-CONNECTOR>
<SHORT-NAME>CN_CAN00</SHORT-NAME>
<ADMIN-DATA>
<SDGS>
<SDG GID="DV:BusNmType">
<SD GID="CanNm">true</SD>
<SD GID="OSEK_Nm">false</SD>
</SDG>
</SDGS>
</ADMIN-DATA>
<COMM-CONTROLLER-REF DEST="CAN-COMMUNICATION-CONTROLLER">/ECU/Engine/CT_CAN00</COMM-CONTROLLER-REF>
<ECU-COMM-PORT-INSTANCES>
<FRAME-PORT>
<SHORT-NAME>FP_ABSdata_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<FRAME-PORT>
<SHORT-NAME>FP_DiagResponse_Motor_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<FRAME-PORT>
<SHORT-NAME>FP_EngineData_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<FRAME-PORT>
<SHORT-NAME>FP_EngineDataIEEE_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<FRAME-PORT>
<SHORT-NAME>FP_EngineStatus_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<FRAME-PORT>
<SHORT-NAME>FP_GearBoxInfo_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<FRAME-PORT>
<SHORT-NAME>FP_Ignition_Info_Rx</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<FRAME-PORT>
<SHORT-NAME>FP_NM_Engine_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_ABSdata_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_DiagResponse_Motor_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_EngineData_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_EngineDataIEEE_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_EngineStatus_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_GearBoxInfo_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_Ignition_Info_Rx</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_AccelerationForce_oABSdata_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_CarSpeed_oABSdata_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_Diagnostics_oABSdata_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_DiagResponse_Motor_oDiagResponse_Motor_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_EcoMode_oGearBoxInfo_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_EngForce_oEngineData_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_EngForceIEEE_oEngineDataIEEE_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_EngPower_oEngineData_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_EngSpeed_oEngineData_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_EngSpeedIEEE_oEngineDataIEEE_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_EngTemp_oEngineData_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_ErrorCode_oEngineStatus_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_Gear_oGearBoxInfo_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_GearLock_oABSdata_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_IdleRunning_oEngineData_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_PetrolLevel_oEngineData_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_ShiftRequest_oGearBoxInfo_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_StarterKey_oIgnition_Info_Rx</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_Status_oEngineStatus_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<FRAME-PORT>
<SHORT-NAME>framePort_710252725353a8d3</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_b066c0a745e54ec29d3fcf031b09acac_Rx</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_5178a6d008674c0794ffc57430efd233_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
</ECU-COMM-PORT-INSTANCES>
</CAN-COMMUNICATION-CONNECTOR>
</CONNECTORS>
</ECU-INSTANCE>
<ECU-INSTANCE>
<SHORT-NAME>Gateway</SHORT-NAME>
<ASSOCIATED-COM-I-PDU-GROUP-REFS>
<ASSOCIATED-COM-I-PDU-GROUP-REF DEST="I-SIGNAL-I-PDU-GROUP">/IPDUGroup/Gateway_Rx</ASSOCIATED-COM-I-PDU-GROUP-REF>
<ASSOCIATED-COM-I-PDU-GROUP-REF DEST="I-SIGNAL-I-PDU-GROUP">/IPDUGroup/Gateway_Tx</ASSOCIATED-COM-I-PDU-GROUP-REF>
</ASSOCIATED-COM-I-PDU-GROUP-REFS>
<COMM-CONTROLLERS>
<CAN-COMMUNICATION-CONTROLLER>
<SHORT-NAME>CT_CAN00</SHORT-NAME>
<CAN-COMMUNICATION-CONTROLLER-VARIANTS>
<CAN-COMMUNICATION-CONTROLLER-CONDITIONAL>
<CAN-CONTROLLER-ATTRIBUTES>
<CAN-CONTROLLER-CONFIGURATION-REQUIREMENTS>
<MAX-NUMBER-OF-TIME-QUANTA-PER-BIT>20</MAX-NUMBER-OF-TIME-QUANTA-PER-BIT>
<MAX-SAMPLE-POINT>81.25</MAX-SAMPLE-POINT>
<MIN-NUMBER-OF-TIME-QUANTA-PER-BIT>15</MIN-NUMBER-OF-TIME-QUANTA-PER-BIT>
<MIN-SAMPLE-POINT>80</MIN-SAMPLE-POINT>
</CAN-CONTROLLER-CONFIGURATION-REQUIREMENTS>
</CAN-CONTROLLER-ATTRIBUTES>
</CAN-COMMUNICATION-CONTROLLER-CONDITIONAL>
</CAN-COMMUNICATION-CONTROLLER-VARIANTS>
</CAN-COMMUNICATION-CONTROLLER>
</COMM-CONTROLLERS>
<CONNECTORS>
<CAN-COMMUNICATION-CONNECTOR>
<SHORT-NAME>CN_CAN00</SHORT-NAME>
<ADMIN-DATA>
<SDGS>
<SDG GID="DV:BusNmType">
<SD GID="CanNm">true</SD>
<SD GID="OSEK_Nm">false</SD>
</SDG>
</SDGS>
</ADMIN-DATA>
<COMM-CONTROLLER-REF DEST="CAN-COMMUNICATION-CONTROLLER">/ECU/Gateway/CT_CAN00</COMM-CONTROLLER-REF>
<ECU-COMM-PORT-INSTANCES>
<FRAME-PORT>
<SHORT-NAME>FP_DiagRequest_Motor_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<FRAME-PORT>
<SHORT-NAME>FP_GearBoxInfo_Rx</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<FRAME-PORT>
<SHORT-NAME>FP_Ignition_Info_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<FRAME-PORT>
<SHORT-NAME>FP_NM_Gateway_PowerTrain_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_DiagRequest_Motor_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_GearBoxInfo_Rx</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_Ignition_Info_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_DiagRequest_Motor_oDiagRequest_Motor_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_Gear_oGearBoxInfo_Rx</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<I-SIGNAL-PORT>
<SHORT-NAME>SP_StarterKey_oIgnition_Info_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-SIGNAL-PORT>
<FRAME-PORT>
<SHORT-NAME>framePort_59cca9c163392b49</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
</FRAME-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_4f3a86411c204ccc8dcc256ac8df7cc6_Rx</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
<I-PDU-PORT>
<SHORT-NAME>PP_03fbc7cea9764bbb86773eb46c9b49f1_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
</I-PDU-PORT>
</ECU-COMM-PORT-INSTANCES>
</CAN-COMMUNICATION-CONNECTOR>
</CONNECTORS>
</ECU-INSTANCE>
</ELEMENTS>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>Gateway</SHORT-NAME>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>IPDUGroup</SHORT-NAME>
<ELEMENTS>
<I-SIGNAL-I-PDU-GROUP>
<SHORT-NAME>Engine_Rx</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
<I-SIGNAL-I-PDUS>
<I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/Ignition_Info</I-SIGNAL-I-PDU-REF>
</I-SIGNAL-I-PDU-REF-CONDITIONAL>
</I-SIGNAL-I-PDUS>
</I-SIGNAL-I-PDU-GROUP>
<I-SIGNAL-I-PDU-GROUP>
<SHORT-NAME>Engine_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
<I-SIGNAL-I-PDUS>
<I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/ABSdata</I-SIGNAL-I-PDU-REF>
</I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/DiagResponse_Motor</I-SIGNAL-I-PDU-REF>
</I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineData</I-SIGNAL-I-PDU-REF>
</I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineDataIEEE</I-SIGNAL-I-PDU-REF>
</I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineStatus</I-SIGNAL-I-PDU-REF>
</I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/GearBoxInfo</I-SIGNAL-I-PDU-REF>
</I-SIGNAL-I-PDU-REF-CONDITIONAL>
</I-SIGNAL-I-PDUS>
</I-SIGNAL-I-PDU-GROUP>
<I-SIGNAL-I-PDU-GROUP>
<SHORT-NAME>Gateway_Rx</SHORT-NAME>
<COMMUNICATION-DIRECTION>IN</COMMUNICATION-DIRECTION>
<I-SIGNAL-I-PDUS>
<I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/GearBoxInfo</I-SIGNAL-I-PDU-REF>
</I-SIGNAL-I-PDU-REF-CONDITIONAL>
</I-SIGNAL-I-PDUS>
</I-SIGNAL-I-PDU-GROUP>
<I-SIGNAL-I-PDU-GROUP>
<SHORT-NAME>Gateway_Tx</SHORT-NAME>
<COMMUNICATION-DIRECTION>OUT</COMMUNICATION-DIRECTION>
<I-SIGNAL-I-PDUS>
<I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/DiagRequest_Motor</I-SIGNAL-I-PDU-REF>
</I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF-CONDITIONAL>
<I-SIGNAL-I-PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/Ignition_Info</I-SIGNAL-I-PDU-REF>
</I-SIGNAL-I-PDU-REF-CONDITIONAL>
</I-SIGNAL-I-PDUS>
</I-SIGNAL-I-PDU-GROUP>
</ELEMENTS>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>CanFrame</SHORT-NAME>
<ELEMENTS>
<CAN-FRAME>
<SHORT-NAME>ABSdata</SHORT-NAME>
<FRAME-LENGTH>6</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>ABSdata</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/ABSdata</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
<CAN-FRAME>
<SHORT-NAME>Diag_Request</SHORT-NAME>
<FRAME-LENGTH>8</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>Diag_Request</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="USER-DEFINED-PDU">/PDU/Diag_Request</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
<CAN-FRAME>
<SHORT-NAME>Diag_Response</SHORT-NAME>
<FRAME-LENGTH>8</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>Diag_Response</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="USER-DEFINED-PDU">/PDU/Diag_Response</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
<CAN-FRAME>
<SHORT-NAME>DiagRequest_Motor</SHORT-NAME>
<FRAME-LENGTH>8</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>DiagRequest_Motor</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/DiagRequest_Motor</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
<CAN-FRAME>
<SHORT-NAME>DiagResponse_Motor</SHORT-NAME>
<FRAME-LENGTH>8</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>DiagResponse_Motor</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/DiagResponse_Motor</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
<CAN-FRAME>
<SHORT-NAME>EngineData</SHORT-NAME>
<FRAME-LENGTH>8</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>EngineData</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineData</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
<CAN-FRAME>
<SHORT-NAME>EngineDataIEEE</SHORT-NAME>
<FRAME-LENGTH>8</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>EngineDataIEEE</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineDataIEEE</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
<CAN-FRAME>
<SHORT-NAME>EngineStatus</SHORT-NAME>
<FRAME-LENGTH>1</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>EngineStatus</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/EngineStatus</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
<CAN-FRAME>
<SHORT-NAME>GearBoxInfo</SHORT-NAME>
<FRAME-LENGTH>1</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>GearBoxInfo</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/GearBoxInfo</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
<CAN-FRAME>
<SHORT-NAME>Ignition_Info</SHORT-NAME>
<FRAME-LENGTH>2</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>Ignition_Info</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="I-SIGNAL-I-PDU">/PDU/Ignition_Info</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
<CAN-FRAME>
<SHORT-NAME>NM_Engine</SHORT-NAME>
<FRAME-LENGTH>4</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>NM_Engine</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="NM-PDU">/PDU/NM_Engine</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
<CAN-FRAME>
<SHORT-NAME>NM_Gateway_PowerTrain</SHORT-NAME>
<FRAME-LENGTH>4</FRAME-LENGTH>
<PDU-TO-FRAME-MAPPINGS>
<PDU-TO-FRAME-MAPPING>
<SHORT-NAME>NM_Gateway_PowerTrain</SHORT-NAME>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<PDU-REF DEST="NM-PDU">/PDU/NM_Gateway_PowerTrain</PDU-REF>
<START-POSITION>0</START-POSITION>
</PDU-TO-FRAME-MAPPING>
</PDU-TO-FRAME-MAPPINGS>
</CAN-FRAME>
</ELEMENTS>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>LinFrame</SHORT-NAME>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>FlexrayFrame</SHORT-NAME>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>PDU</SHORT-NAME>
<ELEMENTS>
<I-SIGNAL-I-PDU>
<SHORT-NAME>ABSdata</SHORT-NAME>
<ADMIN-DATA>
<SDGS>
<SDG GID="DV:CanIfConfiguration">
<SD GID="DV:CanIfPduIdDataChecksumEnable">false</SD>
</SDG>
</SDGS>
</ADMIN-DATA>
<LENGTH>6</LENGTH>
<I-PDU-TIMING-SPECIFICATIONS>
<I-PDU-TIMING>
<MINIMUM-DELAY>0.001</MINIMUM-DELAY>
<TRANSMISSION-MODE-DECLARATION>
<TRANSMISSION-MODE-FALSE-TIMING>
<CYCLIC-TIMING>
<TIME-PERIOD>
<VALUE>0.05</VALUE>
</TIME-PERIOD>
</CYCLIC-TIMING>
</TRANSMISSION-MODE-FALSE-TIMING>
<TRANSMISSION-MODE-TRUE-TIMING>
<CYCLIC-TIMING>
<TIME-PERIOD>
<VALUE>0.05</VALUE>
</TIME-PERIOD>
</CYCLIC-TIMING>
</TRANSMISSION-MODE-TRUE-TIMING>
</TRANSMISSION-MODE-DECLARATION>
</I-PDU-TIMING>
</I-PDU-TIMING-SPECIFICATIONS>
<I-SIGNAL-TO-PDU-MAPPINGS>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>CarSpeed</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/CarSpeed</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>0</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>GearLock</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/GearLock</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>15</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>Diagnostics</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/Diagnostics</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>16</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>AccelerationForce</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/AccelerationForce</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>32</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
</I-SIGNAL-TO-PDU-MAPPINGS>
<UNUSED-BIT-PATTERN>0</UNUSED-BIT-PATTERN>
</I-SIGNAL-I-PDU>
<I-SIGNAL-I-PDU>
<SHORT-NAME>DiagRequest_Motor</SHORT-NAME>
<ADMIN-DATA>
<SDGS>
<SDG GID="DV:CanIfConfiguration">
<SD GID="DV:CanIfPduIdDataChecksumEnable">false</SD>
</SDG>
</SDGS>
</ADMIN-DATA>
<LENGTH>8</LENGTH>
<I-PDU-TIMING-SPECIFICATIONS>
<I-PDU-TIMING>
<MINIMUM-DELAY>0.001</MINIMUM-DELAY>
</I-PDU-TIMING>
</I-PDU-TIMING-SPECIFICATIONS>
<I-SIGNAL-TO-PDU-MAPPINGS>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>DiagRequest_Motor</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/DiagRequest</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>OPAQUE</PACKING-BYTE-ORDER>
<START-POSITION>0</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
</I-SIGNAL-TO-PDU-MAPPINGS>
<UNUSED-BIT-PATTERN>0</UNUSED-BIT-PATTERN>
</I-SIGNAL-I-PDU>
<I-SIGNAL-I-PDU>
<SHORT-NAME>DiagResponse_Motor</SHORT-NAME>
<ADMIN-DATA>
<SDGS>
<SDG GID="DV:CanIfConfiguration">
<SD GID="DV:CanIfPduIdDataChecksumEnable">false</SD>
</SDG>
</SDGS>
</ADMIN-DATA>
<LENGTH>8</LENGTH>
<I-PDU-TIMING-SPECIFICATIONS>
<I-PDU-TIMING>
<MINIMUM-DELAY>0.001</MINIMUM-DELAY>
</I-PDU-TIMING>
</I-PDU-TIMING-SPECIFICATIONS>
<I-SIGNAL-TO-PDU-MAPPINGS>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>DiagResponse_Motor</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/DiagResponse</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>OPAQUE</PACKING-BYTE-ORDER>
<START-POSITION>0</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
</I-SIGNAL-TO-PDU-MAPPINGS>
<UNUSED-BIT-PATTERN>0</UNUSED-BIT-PATTERN>
</I-SIGNAL-I-PDU>
<I-SIGNAL-I-PDU>
<SHORT-NAME>EngineData</SHORT-NAME>
<ADMIN-DATA>
<SDGS>
<SDG GID="DV:CanIfConfiguration">
<SD GID="DV:CanIfPduIdDataChecksumEnable">false</SD>
</SDG>
</SDGS>
</ADMIN-DATA>
<LENGTH>8</LENGTH>
<I-PDU-TIMING-SPECIFICATIONS>
<I-PDU-TIMING>
<MINIMUM-DELAY>0.001</MINIMUM-DELAY>
<TRANSMISSION-MODE-DECLARATION>
<TRANSMISSION-MODE-CONDITIONS>
<TRANSMISSION-MODE-CONDITION>
<DATA-FILTER>
<DATA-FILTER-TYPE>MASKED-NEW-DIFFERS-X</DATA-FILTER-TYPE>
<MASK>1</MASK>
<X>1</X>
</DATA-FILTER>
<I-SIGNAL-IN-I-PDU-REF DEST="I-SIGNAL-TO-I-PDU-MAPPING">/PDU/EngineData/IdleRunning</I-SIGNAL-IN-I-PDU-REF>
</TRANSMISSION-MODE-CONDITION>
</TRANSMISSION-MODE-CONDITIONS>
<TRANSMISSION-MODE-FALSE-TIMING>
<CYCLIC-TIMING>
<TIME-PERIOD>
<VALUE>0.1</VALUE>
</TIME-PERIOD>
</CYCLIC-TIMING>
</TRANSMISSION-MODE-FALSE-TIMING>
<TRANSMISSION-MODE-TRUE-TIMING>
<CYCLIC-TIMING>
<TIME-PERIOD>
<VALUE>0.05</VALUE>
</TIME-PERIOD>
</CYCLIC-TIMING>
</TRANSMISSION-MODE-TRUE-TIMING>
</TRANSMISSION-MODE-DECLARATION>
</I-PDU-TIMING>
</I-PDU-TIMING-SPECIFICATIONS>
<I-SIGNAL-TO-PDU-MAPPINGS>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>EngSpeed</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngSpeed</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>0</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>EngTemp</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngTemp</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>16</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>IdleRunning</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/IdleRunning</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>23</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>PetrolLevel</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/PetrolLevel</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>24</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>EngForce</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngForce</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>32</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>EngPower</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngPower</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>48</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
</I-SIGNAL-TO-PDU-MAPPINGS>
<UNUSED-BIT-PATTERN>0</UNUSED-BIT-PATTERN>
</I-SIGNAL-I-PDU>
<I-SIGNAL-I-PDU>
<SHORT-NAME>EngineDataIEEE</SHORT-NAME>
<ADMIN-DATA>
<SDGS>
<SDG GID="DV:CanIfConfiguration">
<SD GID="DV:CanIfPduIdDataChecksumEnable">false</SD>
</SDG>
</SDGS>
</ADMIN-DATA>
<LENGTH>8</LENGTH>
<I-PDU-TIMING-SPECIFICATIONS>
<I-PDU-TIMING>
<MINIMUM-DELAY>0.001</MINIMUM-DELAY>
<TRANSMISSION-MODE-DECLARATION>
<TRANSMISSION-MODE-FALSE-TIMING>
<CYCLIC-TIMING>
<TIME-PERIOD>
<VALUE>0.05</VALUE>
</TIME-PERIOD>
</CYCLIC-TIMING>
</TRANSMISSION-MODE-FALSE-TIMING>
<TRANSMISSION-MODE-TRUE-TIMING>
<CYCLIC-TIMING>
<TIME-PERIOD>
<VALUE>0.05</VALUE>
</TIME-PERIOD>
</CYCLIC-TIMING>
</TRANSMISSION-MODE-TRUE-TIMING>
</TRANSMISSION-MODE-DECLARATION>
</I-PDU-TIMING>
</I-PDU-TIMING-SPECIFICATIONS>
<I-SIGNAL-TO-PDU-MAPPINGS>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>EngSpeedIEEE</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngSpeedIEEE</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>0</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>EngForceIEEE</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EngForceIEEE</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>32</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
</I-SIGNAL-TO-PDU-MAPPINGS>
<UNUSED-BIT-PATTERN>0</UNUSED-BIT-PATTERN>
</I-SIGNAL-I-PDU>
<I-SIGNAL-I-PDU>
<SHORT-NAME>EngineStatus</SHORT-NAME>
<ADMIN-DATA>
<SDGS>
<SDG GID="DV:CanIfConfiguration">
<SD GID="DV:CanIfPduIdDataChecksumEnable">false</SD>
</SDG>
</SDGS>
</ADMIN-DATA>
<LENGTH>1</LENGTH>
<I-PDU-TIMING-SPECIFICATIONS>
<I-PDU-TIMING>
<MINIMUM-DELAY>0.001</MINIMUM-DELAY>
<TRANSMISSION-MODE-DECLARATION>
<TRANSMISSION-MODE-CONDITIONS>
<TRANSMISSION-MODE-CONDITION>
<DATA-FILTER>
<DATA-FILTER-TYPE>ALWAYS</DATA-FILTER-TYPE>
</DATA-FILTER>
<I-SIGNAL-IN-I-PDU-REF DEST="I-SIGNAL-TO-I-PDU-MAPPING">/PDU/EngineStatus/ErrorCode</I-SIGNAL-IN-I-PDU-REF>
</TRANSMISSION-MODE-CONDITION>
<TRANSMISSION-MODE-CONDITION>
<DATA-FILTER>
<DATA-FILTER-TYPE>ALWAYS</DATA-FILTER-TYPE>
</DATA-FILTER>
<I-SIGNAL-IN-I-PDU-REF DEST="I-SIGNAL-TO-I-PDU-MAPPING">/PDU/EngineStatus/Status</I-SIGNAL-IN-I-PDU-REF>
</TRANSMISSION-MODE-CONDITION>
</TRANSMISSION-MODE-CONDITIONS>
<TRANSMISSION-MODE-FALSE-TIMING>
<EVENT-CONTROLLED-TIMING>
<NUMBER-OF-REPETITIONS>0</NUMBER-OF-REPETITIONS>
<REPETITION-PERIOD>
<VALUE>0</VALUE>
</REPETITION-PERIOD>
</EVENT-CONTROLLED-TIMING>
</TRANSMISSION-MODE-FALSE-TIMING>
<TRANSMISSION-MODE-TRUE-TIMING>
<EVENT-CONTROLLED-TIMING>
<NUMBER-OF-REPETITIONS>0</NUMBER-OF-REPETITIONS>
<REPETITION-PERIOD>
<VALUE>0</VALUE>
</REPETITION-PERIOD>
</EVENT-CONTROLLED-TIMING>
</TRANSMISSION-MODE-TRUE-TIMING>
</TRANSMISSION-MODE-DECLARATION>
</I-PDU-TIMING>
</I-PDU-TIMING-SPECIFICATIONS>
<I-SIGNAL-TO-PDU-MAPPINGS>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>Status</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/Status</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>0</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>ErrorCode</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/ErrorCode</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>2</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
</I-SIGNAL-TO-PDU-MAPPINGS>
<UNUSED-BIT-PATTERN>0</UNUSED-BIT-PATTERN>
</I-SIGNAL-I-PDU>
<I-SIGNAL-I-PDU>
<SHORT-NAME>GearBoxInfo</SHORT-NAME>
<ADMIN-DATA>
<SDGS>
<SDG GID="DV:CanIfConfiguration">
<SD GID="DV:CanIfPduIdDataChecksumEnable">false</SD>
</SDG>
</SDGS>
</ADMIN-DATA>
<LENGTH>1</LENGTH>
<I-PDU-TIMING-SPECIFICATIONS>
<I-PDU-TIMING>
<MINIMUM-DELAY>0.001</MINIMUM-DELAY>
<TRANSMISSION-MODE-DECLARATION>
<TRANSMISSION-MODE-FALSE-TIMING>
<CYCLIC-TIMING>
<TIME-PERIOD>
<VALUE>0.05</VALUE>
</TIME-PERIOD>
</CYCLIC-TIMING>
</TRANSMISSION-MODE-FALSE-TIMING>
<TRANSMISSION-MODE-TRUE-TIMING>
<CYCLIC-TIMING>
<TIME-PERIOD>
<VALUE>0.05</VALUE>
</TIME-PERIOD>
</CYCLIC-TIMING>
</TRANSMISSION-MODE-TRUE-TIMING>
</TRANSMISSION-MODE-DECLARATION>
</I-PDU-TIMING>
</I-PDU-TIMING-SPECIFICATIONS>
<I-SIGNAL-TO-PDU-MAPPINGS>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>Gear</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/Gear</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>0</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>ShiftRequest</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/ShiftRequest</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>3</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>EcoMode</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/EcoMode</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>6</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
</I-SIGNAL-TO-PDU-MAPPINGS>
<UNUSED-BIT-PATTERN>0</UNUSED-BIT-PATTERN>
</I-SIGNAL-I-PDU>
<I-SIGNAL-I-PDU>
<SHORT-NAME>Ignition_Info</SHORT-NAME>
<ADMIN-DATA>
<SDGS>
<SDG GID="DV:CanIfConfiguration">
<SD GID="DV:CanIfPduIdDataChecksumEnable">false</SD>
</SDG>
</SDGS>
</ADMIN-DATA>
<LENGTH>2</LENGTH>
<I-PDU-TIMING-SPECIFICATIONS>
<I-PDU-TIMING>
<MINIMUM-DELAY>0.001</MINIMUM-DELAY>
<TRANSMISSION-MODE-DECLARATION>
<TRANSMISSION-MODE-FALSE-TIMING>
<CYCLIC-TIMING>
<TIME-PERIOD>
<VALUE>0.02</VALUE>
</TIME-PERIOD>
</CYCLIC-TIMING>
</TRANSMISSION-MODE-FALSE-TIMING>
<TRANSMISSION-MODE-TRUE-TIMING>
<CYCLIC-TIMING>
<TIME-PERIOD>
<VALUE>0.02</VALUE>
</TIME-PERIOD>
</CYCLIC-TIMING>
</TRANSMISSION-MODE-TRUE-TIMING>
</TRANSMISSION-MODE-DECLARATION>
</I-PDU-TIMING>
</I-PDU-TIMING-SPECIFICATIONS>
<I-SIGNAL-TO-PDU-MAPPINGS>
<I-SIGNAL-TO-I-PDU-MAPPING>
<SHORT-NAME>StarterKey</SHORT-NAME>
<I-SIGNAL-REF DEST="I-SIGNAL">/ISignal/StarterKey</I-SIGNAL-REF>
<PACKING-BYTE-ORDER>MOST-SIGNIFICANT-BYTE-LAST</PACKING-BYTE-ORDER>
<START-POSITION>0</START-POSITION>
<TRANSFER-PROPERTY>PENDING</TRANSFER-PROPERTY>
</I-SIGNAL-TO-I-PDU-MAPPING>
</I-SIGNAL-TO-PDU-MAPPINGS>
<UNUSED-BIT-PATTERN>0</UNUSED-BIT-PATTERN>
</I-SIGNAL-I-PDU>
<USER-DEFINED-PDU>
<SHORT-NAME>Diag_Request</SHORT-NAME>
<LENGTH>8</LENGTH>
</USER-DEFINED-PDU>
<USER-DEFINED-PDU>
<SHORT-NAME>Diag_Response</SHORT-NAME>
<LENGTH>8</LENGTH>
</USER-DEFINED-PDU>
<NM-PDU>
<SHORT-NAME>NM_Engine</SHORT-NAME>
<LENGTH>4</LENGTH>
<UNUSED-BIT-PATTERN>0</UNUSED-BIT-PATTERN>
</NM-PDU>
<NM-PDU>
<SHORT-NAME>NM_Gateway_PowerTrain</SHORT-NAME>
<LENGTH>4</LENGTH>
<UNUSED-BIT-PATTERN>0</UNUSED-BIT-PATTERN>
</NM-PDU>
</ELEMENTS>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>ISignal</SHORT-NAME>
<ELEMENTS>
<I-SIGNAL>
<SHORT-NAME>AccelerationForce</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>16</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint16</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_AccelerationForce</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/AccelerationForce</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>CarSpeed</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>10</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint16</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_CarSpeed</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/CarSpeed</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>Diagnostics</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>8</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint8</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_Diagnostics</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/Diagnostics</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>DiagRequest</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<ARRAY-VALUE-SPECIFICATION>
<ELEMENTS>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</ELEMENTS>
</ARRAY-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>64</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint8_8_iso_8859_1</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_DiagRequest_Motor</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/DiagRequest_Motor</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>DiagResponse</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<ARRAY-VALUE-SPECIFICATION>
<ELEMENTS>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</ELEMENTS>
</ARRAY-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>64</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint8_8_iso_8859_1</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_DiagResponse_Motor</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/DiagResponse_Motor</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>EcoMode</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>2</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint8</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EcoMode</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/EcoMode</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>EngForce</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>16</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint16</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngForce</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/EngForce</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>EngForceIEEE</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>32</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint32</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngForceIEEE</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/EngForceIEEE</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>EngPower</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>16</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint16</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngPower</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/EngPower</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>EngSpeed</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>16</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint16</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngSpeed</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/EngSpeed</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>EngSpeedIEEE</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>32</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint32</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngSpeedIEEE</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/EngSpeedIEEE</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>EngTemp</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>7</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint8</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngTemp</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/EngTemp</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>ErrorCode</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>6</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint8</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_ErrorCode</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/ErrorCode</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>Gear</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>3</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint8</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_Gear</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/Gear</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>GearLock</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>1</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/boolean</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_GearLock</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/GearLock</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>IdleRunning</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>1</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/boolean</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_IdleRunning</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/IdleRunning</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>PetrolLevel</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>8</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint8</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_PetrolLevel</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/PetrolLevel</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>ShiftRequest</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>1</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/boolean</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_ShiftRequest</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/ShiftRequest</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>StarterKey</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>1</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/boolean</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_StarterKey</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/StarterKey</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
<I-SIGNAL>
<SHORT-NAME>Status</SHORT-NAME>
<DATA-TYPE-POLICY>LEGACY</DATA-TYPE-POLICY>
<INIT-VALUE>
<NUMERICAL-VALUE-SPECIFICATION>
<VALUE>0</VALUE>
</NUMERICAL-VALUE-SPECIFICATION>
</INIT-VALUE>
<LENGTH>2</LENGTH>
<NETWORK-REPRESENTATION-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<BASE-TYPE-REF DEST="SW-BASE-TYPE">/DataType/uint8</BASE-TYPE-REF>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_Status</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</NETWORK-REPRESENTATION-PROPS>
<SYSTEM-SIGNAL-REF DEST="SYSTEM-SIGNAL">/Signal/Status</SYSTEM-SIGNAL-REF>
</I-SIGNAL>
</ELEMENTS>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>DataType</SHORT-NAME>
<ELEMENTS>
<SW-BASE-TYPE>
<SHORT-NAME>boolean</SHORT-NAME>
<CATEGORY>FIXED_LENGTH</CATEGORY>
<BASE-TYPE-ENCODING>BOOLEAN</BASE-TYPE-ENCODING>
</SW-BASE-TYPE>
<SW-BASE-TYPE>
<SHORT-NAME>uint16</SHORT-NAME>
<CATEGORY>FIXED_LENGTH</CATEGORY>
<BASE-TYPE-SIZE>16</BASE-TYPE-SIZE>
<BASE-TYPE-ENCODING>NONE</BASE-TYPE-ENCODING>
</SW-BASE-TYPE>
<SW-BASE-TYPE>
<SHORT-NAME>uint32</SHORT-NAME>
<CATEGORY>FIXED_LENGTH</CATEGORY>
<BASE-TYPE-SIZE>32</BASE-TYPE-SIZE>
<BASE-TYPE-ENCODING>NONE</BASE-TYPE-ENCODING>
</SW-BASE-TYPE>
<SW-BASE-TYPE>
<SHORT-NAME>uint8</SHORT-NAME>
<CATEGORY>FIXED_LENGTH</CATEGORY>
<BASE-TYPE-SIZE>8</BASE-TYPE-SIZE>
<BASE-TYPE-ENCODING>NONE</BASE-TYPE-ENCODING>
</SW-BASE-TYPE>
<SW-BASE-TYPE>
<SHORT-NAME>uint8_8_iso_8859_1</SHORT-NAME>
<CATEGORY>FIXED_LENGTH</CATEGORY>
<BASE-TYPE-SIZE>64</BASE-TYPE-SIZE>
<BASE-TYPE-ENCODING>ISO-8859-1</BASE-TYPE-ENCODING>
</SW-BASE-TYPE>
</ELEMENTS>
<AR-PACKAGES>
<AR-PACKAGE>
<SHORT-NAME>Semantics</SHORT-NAME>
<ELEMENTS>
<COMPU-METHOD>
<SHORT-NAME>CM_AccelerationForce</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<UNIT-REF DEST="UNIT">/VectorAutosarExplorerGeneratedObjects/UNIT/U_N</UNIT-REF>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>65535</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>-10000</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_CarSpeed</SHORT-NAME>
<UNIT-REF DEST="UNIT">/VectorAutosarExplorerGeneratedObjects/UNIT/U_mph</UNIT-REF>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>1023</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>0.5</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_Diagnostics</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>255</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_DiagRequest_Motor</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>1.84467440737096E+19</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_DiagResponse_Motor</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>1.84467440737096E+19</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_EcoMode</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>3</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_EngForce</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<UNIT-REF DEST="UNIT">/VectorAutosarExplorerGeneratedObjects/UNIT/U_N</UNIT-REF>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>65535</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_EngForceIEEE</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<UNIT-REF DEST="UNIT">/VectorAutosarExplorerGeneratedObjects/UNIT/U_N</UNIT-REF>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>4294967295</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_EngPower</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<UNIT-REF DEST="UNIT">/VectorAutosarExplorerGeneratedObjects/UNIT/U_kW</UNIT-REF>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>65535</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>0.01</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_EngSpeed</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<UNIT-REF DEST="UNIT">/VectorAutosarExplorerGeneratedObjects/UNIT/U_rpm</UNIT-REF>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>65535</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_EngSpeedIEEE</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<UNIT-REF DEST="UNIT">/VectorAutosarExplorerGeneratedObjects/UNIT/U_rpm</UNIT-REF>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>4294967295</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_EngTemp</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<UNIT-REF DEST="UNIT">/VectorAutosarExplorerGeneratedObjects/UNIT/U_degC</UNIT-REF>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>127</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_ErrorCode</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>63</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_Gear</SHORT-NAME>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>7</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>0</UPPER-LIMIT>
<COMPU-CONST>
<VT>Idle</VT>
</COMPU-CONST>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>1</LOWER-LIMIT>
<UPPER-LIMIT>1</UPPER-LIMIT>
<COMPU-CONST>
<VT>Gear_1</VT>
</COMPU-CONST>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>2</LOWER-LIMIT>
<UPPER-LIMIT>2</UPPER-LIMIT>
<COMPU-CONST>
<VT>Gear_2</VT>
</COMPU-CONST>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>3</LOWER-LIMIT>
<UPPER-LIMIT>3</UPPER-LIMIT>
<COMPU-CONST>
<VT>Gear_3</VT>
</COMPU-CONST>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>4</LOWER-LIMIT>
<UPPER-LIMIT>4</UPPER-LIMIT>
<COMPU-CONST>
<VT>Gear_4</VT>
</COMPU-CONST>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>5</LOWER-LIMIT>
<UPPER-LIMIT>5</UPPER-LIMIT>
<COMPU-CONST>
<VT>Gear_5</VT>
</COMPU-CONST>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_GearLock</SHORT-NAME>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>1</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>0</UPPER-LIMIT>
<COMPU-CONST>
<VT>Gear_Lock_Off</VT>
</COMPU-CONST>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>1</LOWER-LIMIT>
<UPPER-LIMIT>1</UPPER-LIMIT>
<COMPU-CONST>
<VT>Gear_Lock_On</VT>
</COMPU-CONST>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_IdleRunning</SHORT-NAME>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>1</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>0</UPPER-LIMIT>
<COMPU-CONST>
<VT>Running</VT>
</COMPU-CONST>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>1</LOWER-LIMIT>
<UPPER-LIMIT>1</UPPER-LIMIT>
<COMPU-CONST>
<VT>Idle</VT>
</COMPU-CONST>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_PetrolLevel</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<UNIT-REF DEST="UNIT">/VectorAutosarExplorerGeneratedObjects/UNIT/U_l</UNIT-REF>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>255</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_ShiftRequest</SHORT-NAME>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>1</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>0</UPPER-LIMIT>
<COMPU-CONST>
<VT>Shift_Request_Off</VT>
</COMPU-CONST>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>1</LOWER-LIMIT>
<UPPER-LIMIT>1</UPPER-LIMIT>
<COMPU-CONST>
<VT>Shift_Request_On</VT>
</COMPU-CONST>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_StarterKey</SHORT-NAME>
<CATEGORY>LINEAR</CATEGORY>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>1</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
<COMPU-METHOD>
<SHORT-NAME>CM_Status</SHORT-NAME>
<COMPU-INTERNAL-TO-PHYS>
<COMPU-SCALES>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>3</UPPER-LIMIT>
<COMPU-RATIONAL-COEFFS>
<COMPU-NUMERATOR>
<V>0</V>
<V>1</V>
</COMPU-NUMERATOR>
<COMPU-DENOMINATOR>
<V>1</V>
</COMPU-DENOMINATOR>
</COMPU-RATIONAL-COEFFS>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>0</LOWER-LIMIT>
<UPPER-LIMIT>0</UPPER-LIMIT>
<COMPU-CONST>
<VT>WakeUp</VT>
</COMPU-CONST>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>1</LOWER-LIMIT>
<UPPER-LIMIT>1</UPPER-LIMIT>
<COMPU-CONST>
<VT>Running</VT>
</COMPU-CONST>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>2</LOWER-LIMIT>
<UPPER-LIMIT>2</UPPER-LIMIT>
<COMPU-CONST>
<VT>GoSleep</VT>
</COMPU-CONST>
</COMPU-SCALE>
<COMPU-SCALE>
<LOWER-LIMIT>3</LOWER-LIMIT>
<UPPER-LIMIT>3</UPPER-LIMIT>
<COMPU-CONST>
<VT>Error</VT>
</COMPU-CONST>
</COMPU-SCALE>
</COMPU-SCALES>
</COMPU-INTERNAL-TO-PHYS>
</COMPU-METHOD>
</ELEMENTS>
</AR-PACKAGE>
</AR-PACKAGES>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>Constant</SHORT-NAME>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>Signal</SHORT-NAME>
<ELEMENTS>
<SYSTEM-SIGNAL>
<SHORT-NAME>AccelerationForce</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_AccelerationForce</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>CarSpeed</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_CarSpeed</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>Diagnostics</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL />
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>DiagRequest_Motor</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL />
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>DiagResponse_Motor</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL />
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>EcoMode</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL />
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>EngForce</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngForce</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>EngForceIEEE</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngForceIEEE</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>EngPower</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngPower</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>EngSpeed</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngSpeed</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>EngSpeedIEEE</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngSpeedIEEE</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>EngTemp</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_EngTemp</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>ErrorCode</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL />
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>Gear</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_Gear</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>GearLock</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_GearLock</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>IdleRunning</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_IdleRunning</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>PetrolLevel</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_PetrolLevel</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>ShiftRequest</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_ShiftRequest</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>StarterKey</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL />
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
<SYSTEM-SIGNAL>
<SHORT-NAME>Status</SHORT-NAME>
<DYNAMIC-LENGTH>false</DYNAMIC-LENGTH>
<PHYSICAL-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<COMPU-METHOD-REF DEST="COMPU-METHOD">/DataType/Semantics/CM_Status</COMPU-METHOD-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</PHYSICAL-PROPS>
</SYSTEM-SIGNAL>
</ELEMENTS>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>VectorAutosarExplorerGeneratedObjects</SHORT-NAME>
<AR-PACKAGES>
<AR-PACKAGE>
<SHORT-NAME>PDUS</SHORT-NAME>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>I_SIGNALS</SHORT-NAME>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>BASE_TYPES</SHORT-NAME>
</AR-PACKAGE>
<AR-PACKAGE>
<SHORT-NAME>UNIT</SHORT-NAME>
<ELEMENTS>
<UNIT>
<SHORT-NAME>U_degC</SHORT-NAME>
<DISPLAY-NAME>degC</DISPLAY-NAME>
</UNIT>
<UNIT>
<SHORT-NAME>U_kW</SHORT-NAME>
<DISPLAY-NAME>kW</DISPLAY-NAME>
</UNIT>
<UNIT>
<SHORT-NAME>U_l</SHORT-NAME>
<DISPLAY-NAME>l</DISPLAY-NAME>
</UNIT>
<UNIT>
<SHORT-NAME>U_mph</SHORT-NAME>
<DISPLAY-NAME>mph</DISPLAY-NAME>
</UNIT>
<UNIT>
<SHORT-NAME>U_N</SHORT-NAME>
<DISPLAY-NAME>N</DISPLAY-NAME>
</UNIT>
<UNIT>
<SHORT-NAME>U_rpm</SHORT-NAME>
<DISPLAY-NAME>rpm</DISPLAY-NAME>
</UNIT>
</ELEMENTS>
</AR-PACKAGE>
</AR-PACKAGES>
</AR-PACKAGE>
</AR-PACKAGES>
</AUTOSAR>
4 附录:生成的power_train.c文件
/**
* The MIT License (MIT)
*
* Copyright (c) 2018-2019 Erik Moqvist
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy,
* modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/**
* This file was generated by cantools version 39.4.5 Thu Mar 21 22:29:24 2024.
*/
#include <string.h>
#include "power_train.h"
static inline uint8_t pack_left_shift_u8(
uint8_t value,
uint8_t shift,
uint8_t mask)
{
return (uint8_t)((uint8_t)(value << shift) & mask);
}
static inline uint8_t pack_left_shift_u16(
uint16_t value,
uint8_t shift,
uint8_t mask)
{
return (uint8_t)((uint8_t)(value << shift) & mask);
}
static inline uint8_t pack_left_shift_u32(
uint32_t value,
uint8_t shift,
uint8_t mask)
{
return (uint8_t)((uint8_t)(value << shift) & mask);
}
static inline uint8_t pack_left_shift_u64(
uint64_t value,
uint8_t shift,
uint8_t mask)
{
return (uint8_t)((uint8_t)(value << shift) & mask);
}
static inline uint8_t pack_right_shift_u16(
uint16_t value,
uint8_t shift,
uint8_t mask)
{
return (uint8_t)((uint8_t)(value >> shift) & mask);
}
static inline uint8_t pack_right_shift_u32(
uint32_t value,
uint8_t shift,
uint8_t mask)
{
return (uint8_t)((uint8_t)(value >> shift) & mask);
}
static inline uint8_t pack_right_shift_u64(
uint64_t value,
uint8_t shift,
uint8_t mask)
{
return (uint8_t)((uint8_t)(value >> shift) & mask);
}
static inline uint8_t unpack_right_shift_u8(
uint8_t value,
uint8_t shift,
uint8_t mask)
{
return (uint8_t)((uint8_t)(value & mask) >> shift);
}
int power_train_ab_sdata_init(struct power_train_ab_sdata_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_ab_sdata_t));
msg_p->acceleration_force = 0;
return 0;
}
int power_train_diag_request_init(struct power_train_diag_request_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_diag_request_t));
return 0;
}
int power_train_diag_response_init(struct power_train_diag_response_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_diag_response_t));
return 0;
}
int power_train_diag_request_motor_pack(
uint8_t *dst_p,
const struct power_train_diag_request_motor_t *src_p,
size_t size)
{
if (size < 8u) {
return (-EINVAL);
}
memset(&dst_p[0], 0, 8);
dst_p[0] |= pack_left_shift_u64(src_p->diag_request, 0u, 0xffu);
dst_p[1] |= pack_right_shift_u64(src_p->diag_request, 8u, 0xffu);
dst_p[2] |= pack_right_shift_u64(src_p->diag_request, 16u, 0xffu);
dst_p[3] |= pack_right_shift_u64(src_p->diag_request, 24u, 0xffu);
dst_p[4] |= pack_right_shift_u64(src_p->diag_request, 32u, 0xffu);
dst_p[5] |= pack_right_shift_u64(src_p->diag_request, 40u, 0xffu);
dst_p[6] |= pack_right_shift_u64(src_p->diag_request, 48u, 0xffu);
dst_p[7] |= pack_right_shift_u64(src_p->diag_request, 56u, 0xffu);
return (8);
}
int power_train_diag_request_motor_init(struct power_train_diag_request_motor_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_diag_request_motor_t));
return 0;
}
uint64_t power_train_diag_request_motor_diag_request_encode(double value)
{
return (uint64_t)(value);
}
bool power_train_diag_request_motor_diag_request_is_in_range(uint64_t value)
{
(void)value;
return (true);
}
int power_train_diag_response_motor_init(struct power_train_diag_response_motor_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_diag_response_motor_t));
return 0;
}
int power_train_engine_data_init(struct power_train_engine_data_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_engine_data_t));
return 0;
}
int power_train_engine_data_ieee_init(struct power_train_engine_data_ieee_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_engine_data_ieee_t));
return 0;
}
int power_train_engine_status_init(struct power_train_engine_status_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_engine_status_t));
return 0;
}
int power_train_gear_box_info_unpack(
struct power_train_gear_box_info_t *dst_p,
const uint8_t *src_p,
size_t size)
{
if (size < 1u) {
return (-EINVAL);
}
dst_p->gear = unpack_right_shift_u8(src_p[0], 0u, 0x07u);
dst_p->shift_request = unpack_right_shift_u8(src_p[0], 3u, 0x08u);
dst_p->eco_mode = unpack_right_shift_u8(src_p[0], 6u, 0xc0u);
return (0);
}
int power_train_gear_box_info_init(struct power_train_gear_box_info_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_gear_box_info_t));
return 0;
}
double power_train_gear_box_info_gear_decode(uint8_t value)
{
return ((double)value);
}
bool power_train_gear_box_info_gear_is_in_range(uint8_t value)
{
return (value <= 7u);
}
double power_train_gear_box_info_shift_request_decode(uint8_t value)
{
return ((double)value);
}
bool power_train_gear_box_info_shift_request_is_in_range(uint8_t value)
{
return (value <= 1u);
}
double power_train_gear_box_info_eco_mode_decode(uint8_t value)
{
return ((double)value);
}
bool power_train_gear_box_info_eco_mode_is_in_range(uint8_t value)
{
return (value <= 3u);
}
int power_train_ignition_info_pack(
uint8_t *dst_p,
const struct power_train_ignition_info_t *src_p,
size_t size)
{
if (size < 2u) {
return (-EINVAL);
}
memset(&dst_p[0], 0, 2);
dst_p[0] |= pack_left_shift_u8(src_p->starter_key, 0u, 0x01u);
return (2);
}
int power_train_ignition_info_init(struct power_train_ignition_info_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_ignition_info_t));
return 0;
}
uint8_t power_train_ignition_info_starter_key_encode(double value)
{
return (uint8_t)(value);
}
bool power_train_ignition_info_starter_key_is_in_range(uint8_t value)
{
return (value <= 1u);
}
int power_train_nm_engine_init(struct power_train_nm_engine_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_nm_engine_t));
return 0;
}
int power_train_nm_gateway_power_train_pack(
uint8_t *dst_p,
const struct power_train_nm_gateway_power_train_t *src_p,
size_t size)
{
(void)src_p;
if (size < 4u) {
return (-EINVAL);
}
memset(&dst_p[0], 0, 4);
return (4);
}
int power_train_nm_gateway_power_train_init(struct power_train_nm_gateway_power_train_t *msg_p)
{
if (msg_p == NULL) return -1;
memset(msg_p, 0, sizeof(struct power_train_nm_gateway_power_train_t));
return 0;
}
5 附录:生成的power_train.h文件
/**
* The MIT License (MIT)
*
* Copyright (c) 2018-2019 Erik Moqvist
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy,
* modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/**
* This file was generated by cantools version 39.4.5 Thu Mar 21 22:29:24 2024.
*/
#ifndef POWER_TRAIN_H
#define POWER_TRAIN_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#ifndef EINVAL
# define EINVAL 22
#endif
/* Frame ids. */
#define POWER_TRAIN_DIAG_REQUEST_MOTOR_FRAME_ID (0x601u)
#define POWER_TRAIN_GEAR_BOX_INFO_FRAME_ID (0x3fcu)
#define POWER_TRAIN_IGNITION_INFO_FRAME_ID (0x67u)
#define POWER_TRAIN_NM_GATEWAY_POWER_TRAIN_FRAME_ID (0x51au)
/* Frame lengths in bytes. */
#define POWER_TRAIN_DIAG_REQUEST_MOTOR_LENGTH (8u)
#define POWER_TRAIN_GEAR_BOX_INFO_LENGTH (1u)
#define POWER_TRAIN_IGNITION_INFO_LENGTH (2u)
#define POWER_TRAIN_NM_GATEWAY_POWER_TRAIN_LENGTH (4u)
/* Extended or standard frame types. */
#define POWER_TRAIN_DIAG_REQUEST_MOTOR_IS_EXTENDED (0)
#define POWER_TRAIN_GEAR_BOX_INFO_IS_EXTENDED (0)
#define POWER_TRAIN_IGNITION_INFO_IS_EXTENDED (0)
#define POWER_TRAIN_NM_GATEWAY_POWER_TRAIN_IS_EXTENDED (0)
/* Frame cycle times in milliseconds. */
#define POWER_TRAIN_GEAR_BOX_INFO_CYCLE_TIME_MS (50u)
#define POWER_TRAIN_IGNITION_INFO_CYCLE_TIME_MS (20u)
/* Signal choices. */
/* Frame Names. */
#define POWER_TRAIN_DIAG_REQUEST_MOTOR_NAME "DiagRequest_Motor"
#define POWER_TRAIN_GEAR_BOX_INFO_NAME "GearBoxInfo"
#define POWER_TRAIN_IGNITION_INFO_NAME "Ignition_Info"
#define POWER_TRAIN_NM_GATEWAY_POWER_TRAIN_NAME "NM_Gateway_PowerTrain"
/* Signal Names. */
#define POWER_TRAIN_DIAG_REQUEST_MOTOR_DIAG_REQUEST_NAME "DiagRequest"
#define POWER_TRAIN_GEAR_BOX_INFO_GEAR_NAME "Gear"
#define POWER_TRAIN_GEAR_BOX_INFO_SHIFT_REQUEST_NAME "ShiftRequest"
#define POWER_TRAIN_GEAR_BOX_INFO_ECO_MODE_NAME "EcoMode"
#define POWER_TRAIN_IGNITION_INFO_STARTER_KEY_NAME "StarterKey"
/**
* Signals in message DiagRequest_Motor.
*
* All signal values are as on the CAN bus.
*/
struct power_train_diag_request_motor_t {
/**
* Range: -
* Scale: 1
* Offset: 0
*/
uint64_t diag_request;
};
/**
* Signals in message GearBoxInfo.
*
* All signal values are as on the CAN bus.
*/
struct power_train_gear_box_info_t {
/**
* Range: -
* Scale: 1
* Offset: 0
*/
uint8_t gear;
/**
* Range: -
* Scale: 1
* Offset: 0
*/
uint8_t shift_request;
/**
* Range: -
* Scale: 1
* Offset: 0
*/
uint8_t eco_mode;
};
/**
* Signals in message Ignition_Info.
*
* All signal values are as on the CAN bus.
*/
struct power_train_ignition_info_t {
/**
* Range: -
* Scale: 1
* Offset: 0
*/
uint8_t starter_key;
};
/**
* Signals in message NM_Gateway_PowerTrain.
*
* All signal values are as on the CAN bus.
*/
struct power_train_nm_gateway_power_train_t {
/**
* Dummy signal in empty message.
*/
uint8_t dummy;
};
/**
* Init message fields to default values from ABSdata.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_ab_sdata_init(struct power_train_ab_sdata_t *msg_p);
/**
* Init message fields to default values from Diag_Request.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_diag_request_init(struct power_train_diag_request_t *msg_p);
/**
* Init message fields to default values from Diag_Response.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_diag_response_init(struct power_train_diag_response_t *msg_p);
/**
* Pack message DiagRequest_Motor.
*
* @param[out] dst_p Buffer to pack the message into.
* @param[in] src_p Data to pack.
* @param[in] size Size of dst_p.
*
* @return Size of packed data, or negative error code.
*/
int power_train_diag_request_motor_pack(
uint8_t *dst_p,
const struct power_train_diag_request_motor_t *src_p,
size_t size);
/**
* Init message fields to default values from DiagRequest_Motor.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_diag_request_motor_init(struct power_train_diag_request_motor_t *msg_p);
/**
* Encode given signal by applying scaling and offset.
*
* @param[in] value Signal to encode.
*
* @return Encoded signal.
*/
uint64_t power_train_diag_request_motor_diag_request_encode(double value);
/**
* Check that given signal is in allowed range.
*
* @param[in] value Signal to check.
*
* @return true if in range, false otherwise.
*/
bool power_train_diag_request_motor_diag_request_is_in_range(uint64_t value);
/**
* Init message fields to default values from DiagResponse_Motor.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_diag_response_motor_init(struct power_train_diag_response_motor_t *msg_p);
/**
* Init message fields to default values from EngineData.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_engine_data_init(struct power_train_engine_data_t *msg_p);
/**
* Init message fields to default values from EngineDataIEEE.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_engine_data_ieee_init(struct power_train_engine_data_ieee_t *msg_p);
/**
* Init message fields to default values from EngineStatus.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_engine_status_init(struct power_train_engine_status_t *msg_p);
/**
* Unpack message GearBoxInfo.
*
* @param[out] dst_p Object to unpack the message into.
* @param[in] src_p Message to unpack.
* @param[in] size Size of src_p.
*
* @return zero(0) or negative error code.
*/
int power_train_gear_box_info_unpack(
struct power_train_gear_box_info_t *dst_p,
const uint8_t *src_p,
size_t size);
/**
* Init message fields to default values from GearBoxInfo.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_gear_box_info_init(struct power_train_gear_box_info_t *msg_p);
/**
* Decode given signal by applying scaling and offset.
*
* @param[in] value Signal to decode.
*
* @return Decoded signal.
*/
double power_train_gear_box_info_gear_decode(uint8_t value);
/**
* Check that given signal is in allowed range.
*
* @param[in] value Signal to check.
*
* @return true if in range, false otherwise.
*/
bool power_train_gear_box_info_gear_is_in_range(uint8_t value);
/**
* Decode given signal by applying scaling and offset.
*
* @param[in] value Signal to decode.
*
* @return Decoded signal.
*/
double power_train_gear_box_info_shift_request_decode(uint8_t value);
/**
* Check that given signal is in allowed range.
*
* @param[in] value Signal to check.
*
* @return true if in range, false otherwise.
*/
bool power_train_gear_box_info_shift_request_is_in_range(uint8_t value);
/**
* Decode given signal by applying scaling and offset.
*
* @param[in] value Signal to decode.
*
* @return Decoded signal.
*/
double power_train_gear_box_info_eco_mode_decode(uint8_t value);
/**
* Check that given signal is in allowed range.
*
* @param[in] value Signal to check.
*
* @return true if in range, false otherwise.
*/
bool power_train_gear_box_info_eco_mode_is_in_range(uint8_t value);
/**
* Pack message Ignition_Info.
*
* @param[out] dst_p Buffer to pack the message into.
* @param[in] src_p Data to pack.
* @param[in] size Size of dst_p.
*
* @return Size of packed data, or negative error code.
*/
int power_train_ignition_info_pack(
uint8_t *dst_p,
const struct power_train_ignition_info_t *src_p,
size_t size);
/**
* Init message fields to default values from Ignition_Info.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_ignition_info_init(struct power_train_ignition_info_t *msg_p);
/**
* Encode given signal by applying scaling and offset.
*
* @param[in] value Signal to encode.
*
* @return Encoded signal.
*/
uint8_t power_train_ignition_info_starter_key_encode(double value);
/**
* Check that given signal is in allowed range.
*
* @param[in] value Signal to check.
*
* @return true if in range, false otherwise.
*/
bool power_train_ignition_info_starter_key_is_in_range(uint8_t value);
/**
* Init message fields to default values from NM_Engine.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_nm_engine_init(struct power_train_nm_engine_t *msg_p);
/**
* Pack message NM_Gateway_PowerTrain.
*
* @param[out] dst_p Buffer to pack the message into.
* @param[in] src_p Data to pack.
* @param[in] size Size of dst_p.
*
* @return Size of packed data, or negative error code.
*/
int power_train_nm_gateway_power_train_pack(
uint8_t *dst_p,
const struct power_train_nm_gateway_power_train_t *src_p,
size_t size);
/**
* Init message fields to default values from NM_Gateway_PowerTrain.
*
* @param[in] msg_p Message to init.
*
* @return zero(0) on success or (-1) in case of nullptr argument.
*/
int power_train_nm_gateway_power_train_init(struct power_train_nm_gateway_power_train_t *msg_p);
#ifdef __cplusplus
}
#endif
#endif
结尾
获取更多"汽车电子资讯"和"工具链使用",
请关注CSDN博客"汽车电子助手",做您的好助手。