-
Notifications
You must be signed in to change notification settings - Fork 10
/
skyactiv.kcd
183 lines (168 loc) · 6.06 KB
/
skyactiv.kcd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!--
This is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-->
<NetworkDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://kayak.2codeornot2code.org/1.0" xsi:noNamespaceSchemaLocation="Definition.xsd">
<Document name="Mazda SkyActiv CANbus" version="0.01" date="2016-12-11">
</Document>
<Node id="1" name="Powertrain Control Module"/>
<Node id="2" name="Start Stop Unit"/>
<Node id="3" name="Traction Control"/>
<Node id="4" name="Sophisticated Airbag Sensor"/>
<Node id="5" name="Electric Power Steering"/>
<Node id="6" name="Rear Body Control Module"/>
<Bus name="HS-CAN" baudrate="500000">
<Message id="0x202" name="speed">
<Producer>
<NodeRef id="1"/>
</Producer>
<Signal name="RPM" offset="12" length="13" endianess="big">
<Value slope="0.5" intercept="0" unit="rev/min"/>
</Signal>
<Signal name="Speedometer Enable" offset="15"/>
<Signal name="SpeedKm" offset="31" length="15" endianess="big">
<Value slope="0.00390625" intercept="0" unit="km/h"/>
</Signal>
</Message>
<Message id="0x228" name="transmission">
<Producer>
<NodeRef id="1"/>
</Producer>
<Signal name="Gear" offset="3" length="4" endianess="big">
<LabelSet>
<Label name="1st" value="1"/>
<Label name="2nd" value="2"/>
<Label name="3rd" value="3"/>
<Label name="4th" value="4"/>
<Label name="5th" value="5"/>
<Label name="6th" value="6"/>
<Label name="7th" value="7"/>
</LabelSet>
</Signal>
<Signal name="Mode" offset="7" length="3" endianess="big">
<LabelSet>
<Label name="Park" value="1"/>
<Label name="Reverse" value="2"/>
<Label name="Neutral" value="3"/>
<Label name="Drive" value="4"/>
</LabelSet>
</Signal>
<Signal name="Automatic Transaxle Manual" offset="8"/>
<Signal name="Automatic Transaxle Warning" offset="9"/>
</Message>
<Message id="0x09A" name="lights">
<Producer>
<NodeRef id="2"/>
</Producer>
<Signal name="Brake Warning" offset="9"/>
<Signal name="Left Turn" offset="21"/>
<Signal name="Right Turn" offset="20"/>
<Signal name="Lights On" offset="19"/>
<Signal name="Low Washer Fluid Level Warning" offset="25"/>
<Signal name="Headlight High Beams On" offset="31"/>
</Message>
<Message id="0x420" name="temperature">
<Producer>
<NodeRef id="1"/>
</Producer>
<Signal name="Coolant Temperature" offset="7" length="8" endianess="big">
<LabelSet>
<LabelGroup name="Blue Coolant Temp Light" from="0" to="90"/>
<Label name="Red Coolant Temp Light" value="255"/>
</LabelSet>
</Signal>
<Signal name="Charging System Malfunction" offset="38"/>
<Signal name="Check Fuel Cap" offset="40"/>
<Signal name="Low Engine Oil Pressure" offset="43"/>
<Signal name="Outdoor Temperature" offset="63" length="9" endianess="big">
<Value slope="0.25" intercept="-512" unit="cel" min="-40" max="160"/>
</Signal>
</Message>
<Message id="415" name="traction">
<Producer>
<NodeRef id="3"/>
</Producer>
<Signal name="Antilock Brake System (ABS) Malfunction" offset="1" length="2" endianess="big">
<LabelSet>
<Label name="off" value="0"/>
<Label name="solid" value="1"/>
<Label name="slow blink" value="2"/>
<Label name="fast blink" value="3"/>
</LabelSet>
</Signal>
<Signal name="Brake Warning" offset="2"/>
<Signal name="Dynamic Stability Control (DSC) OFF" offset="3"/>
<Signal name="Traction Control System (TCS) / Dynamic Stability Control (DSC)" offset="6" length="2" endianess="big">
<LabelSet>
<Label name="off" value="0"/>
<Label name="solid" value="1"/>
<Label name="slow blink" value="2"/>
<Label name="fast blink" value="3"/>
</LabelSet>
</Signal>
<Signal name="loud beep" offset="28"/>
<Signal name="Tire Pressure Monitoring System (TPMS) Warning" offset="30" length="2" endianess="big">
<LabelSet>
<Label name="off" value="0"/>
<Label name="solid" value="1"/>
<Label name="slow blink" value="2"/>
<Label name="fast blink" value="3"/>
</LabelSet>
</Signal>
<Signal name="momentary beep with TPMS double-blink" offset="31"/>
</Message>
<Message id="0x165" name="cruise control">
<Producer>
<NodeRef id="1"/>
</Producer>
<Signal name="Cruise Main Indicator" offset="6" length="3" endianess="big">
<LabelSet>
<Label name="off" value="0"/>
<Label name="ready, not active (yellow)" value="2"/>
<Label name="ready, value set (yellow)" value="3"/>
<Label name="active, value set (green)" value="5"/>
</LabelSet>
</Signal>
<Signal name="cruise speed" offset="16" length="8" endianess="big"/>
</Message>
<Message id="0x274" name="lock">
<Producer>
<NodeRef id="2"/>
</Producer>
<Signal name="Security Indicator" offset="0"/>
<Signal name="Security Indicator fast blink" offset="3"/>
<Signal name="KEY Indicator GREEN command" offset="11" length="4" endianess="big"/>
<Signal name="KEY Warning RED command" offset="12" length="4" endianess="big"/>
<Signal name="INFO- keypress" offset="58"/>
<Signal name="INFO+ keypress" offset="59"/>
</Message>
<Message id="0x0FD" name="Master Warning">
</Message>
<Message id="0x340" name="safety">
<Producer>
<NodeRef id="4"/>
</Producer>
<Signal name="Seat Belt Unbuckled/Malfunction" offset="28"/>
</Message>
<Message id="0x240" name="power steering">
<Producer>
<NodeRef id="5"/>
</Producer>
</Message>
</Bus>
<Bus name="MS-CAN" baudrate="125000">
<Message id="0x43E" name="doors">
<Producer>
<NodeRef id="6"/>
</Producer>
<Signal name="Door Ajar" offset="36" length="4" endianess="big">
<LabelSet>
<Label name="Door Ajar Indicator" value="13"/>
<Label name="Door Ajar Indicator" value="14"/>
</LabelSet>
</Signal>
<Signal name="continuous audible tone" offset="59"/>
</Message>
</Bus>
</NetworkDefinition>