<?xml version="1.0" encoding="utf-8"?>
<!-- EMU Black XML mapping file made by ChrisP                    -->
<!-- Target IDs https://realdash.net/manuals/targetid.php          -->
<!-- ECU Master IDs are located in the HELP file - EMU CAN Stream  -->

<!-- PARAMETERS FOR 'value' -->
<!-- 'targetId' links value to RealDash input, see RealDash manuals www for a complete list -->
<!-- OR -->
<!-- 'name' links value to RealDash input, input appears in 'ECU Specific' input category -->

<!-- 'units' [optional] is used for post calculations, "F", "mph", "psi", "bit" which need to be specified for dashboard conversions to work properly -->
<!-- 'offset' byte offset of the value in frame -->
<!-- 'length' value length in bytes -->
<!-- 'startbit' [optional] the index of the first bit of the value -->
<!-- 'bitcount' [optional] number of bits used by the value -->
<!-- 'endianess' [optional] the endianess of value (big | little [default]).  -->
<!-- 'signed' [optional, from 1.7.4] set to true to force RealDash to handle this value as signed.  -->
<!-- 'rangeMin' and 'rangeMax' [optional] if 'name' is used instead of 'targetId', this is the recommended value range in RealDash editor -->
<!-- 'initialValue' [optional] if this parameter is present, value is written to CAN after connection has been made to the CAN bus -->
<!-- 'conversion' [optional] if omitted, value is read 'as-is'.
           Otherwise variables 'B0', 'B1', 'B2', 'B3', 'V' and 'ID#' can be used within conversion formula, for example; conversion="V/10" - result is incoming value / 10 conversion="B0+15*(B1-43)" - result is 'first byte + 15 * (second byte - 43) conversion="V+ID200-74.3" - result is incoming value + 'Body Electronics->Gear' - 74.3 -->
<!-- From RealDash version 1.6.6, 'conversionABC' is an option to 'conversion' and uses A,B,C,...AA,AB,AC,...,etc format to distinquish the individual bytes on the reply.
           This makes it easier to convert the Equation from other apps.
           Example: conversion="B0+15*(B1-43)" and conversionABC="A+15*(B-43)" produce the same result -->

<RealDashCAN version="2">
  <frames>
    <frame id="0x600" endianess="little">      <!--EMU CAN Stream - ID 0-->
      <value targetId="37" offset="0" length="2" units="RPM"></value>      <!-- RPM -->
      <value targetId="42" offset="2" length="1" units="%" conversion="V/2"></value>      <!-- TPS -->
      <value targetId="27" offset="3" length="1" units="C" signed="true"></value>      <!-- IAT -->
      <value targetId="31" offset="4" length="2" units="kPa"></value>      <!-- MAP -->
      <value targetId="35" offset="6" length="2" units="ms" conversion="V*0.016129"></value>      <!-- Injector PW -->
    </frame>

    <frame id="0x601" endianess="little">      <!--EMU CAN Stream - ID 1-->
      <value name="EMU Black: Analog-1" offset="0" length="2" units="V" conversion="V*0.0049" rangeMin="0" rangeMax="5"></value>      <!-- Analog 1 -->
      <value name="EMU Black: Analog-2" offset="2" length="2" units="V" conversion="V*0.0049" rangeMin="0" rangeMax="5"></value>      <!-- Analog 2 -->
      <value name="EMU Black: Analog-3" offset="4" length="2" units="V" conversion="V*0.0049" rangeMin="0" rangeMax="5"></value>      <!-- Analog 3 -->
      <value name="EMU Black: Analog-4" offset="6" length="2" units="V" conversion="V*0.0049" rangeMin="0" rangeMax="5"></value>      <!-- Analog 4 -->
    </frame>

    <frame id="0x602" endianess="little">      <!--EMU CAN Stream - ID 2-->
      <value targetId="64" offset="0" length="2" units="km/h" conversion="V*0.2500"></value>      <!-- Vehicle Speed -->
      <value targetId="11" offset="2" length="1" units="kPa"></value>      <!-- BARO -->
      <value targetId="152" offset="3" length="1" units="C" signed="true"></value>      <!-- Oil Temp -->
      <value targetId="151" offset="4" length="1" units="bar" conversion="V*0.0625"></value>      <!-- Oil Pressure -->
      <value targetId="202" offset="5" length="1" units="bar"></value>      <!-- Fuel Pressure -->
      <value targetId="14" offset="6" length="2" units="C" signed="true"></value>      <!-- Coolant Temp -->
    </frame>

    <frame id="0x603" endianess="little">      <!--EMU CAN Stream - ID 3-->
      <value targetId="38" offset="0" length="1" units="deg" conversion="V*0.5" signed="true"></value>      <!-- Ignition Angle -->
      <value targetId="23" offset="1" length="1" units="ms" conversion="V*0.05"></value>      <!-- Dwell Time -->
      <value targetId="254" offset="2" length="1" units="lambda" conversion="V*0.0078125"></value>      <!-- Lambda 1 -->
      <value targetId="43" offset="3" length="1" units="%" conversion="V*0.5000" signed="true"></value>      <!-- Lambda Correction -->
      <value targetId="106" offset="4" length="2" units="C"></value>      <!-- EGT1 -->
      <value targetId="107" offset="6" length="2" units="C"></value>      <!-- EGT2 -->
    </frame>

    <frame id="0x604" endianess="little">      <!--EMU CAN Stream - ID 4-->
      <value targetId="200" offset="0" length="1"></value>      <!-- Gear -->
      <value name="EMU Black: ECU Temperature" offset="1" length="1" units="C" signed="true" rangeMin="-40" rangeMax="120"></value>      <!-- ECU Temp -->
      <value targetId="12" offset="2" length="2" units="V" conversion="V*0.0270"></value>      <!-- Battery Voltage -->
      <value targetId="105" offset="4" length="2"></value>      <!-- Error Flags -->
      <value name="EMU Black: Gearcut State" offset="6" length="1" units="bit" startbit="0" bitcount="1"></value>      <!-- FLAGS 1 - Gearcut Active -->
      <value name="EMU Black: ALS State" offset="6" length="1" units="bit" startbit="1" bitcount="1"></value>      <!-- FLAGS 1 - ALS -->
      <value name="EMU Black: LC State" offset="6" length="1" units="bit" startbit="2" bitcount="1"></value>      <!-- FLAGS 1 - LC -->
      <value name="EMU Black: IDLE State" offset="6" length="1" units="bit" startbit="3" bitcount="1"></value>      <!-- FLAGS 1 - IDLE -->
      <value name="EMU Black: Table Set State" offset="6" length="1" units="bit" startbit="4" bitcount="1"></value>      <!-- FLAGS 1 - Table Set -->
      <value name="EMU Black: TC Intervention State" offset="6" length="1" units="bit" startbit="5" bitcount="1"></value>      <!-- FLAGS 1 - TC Intervention -->
      <value name="EMU Black: Pit Limiter State" offset="6" length="1" units="bit" startbit="6" bitcount="1"></value>      <!-- FLAGS 1 - Pit Limiter -->
      <value name="EMU Black: Ethanol Content" offset="7" length="1"></value>      <!-- Ethanol Content -->
    </frame>

    <frame id="0x605" endianess="little">      <!--EMU CAN Stream - ID 5-->
      <value name="EMU Black: DBW Position" offset="0" length="1" conversion="V*0.5000" rangeMin="0" rangeMax="100"></value>      <!-- DBW Position -->
      <value name="EMU Black: DBW Target" offset="1" length="1" conversion="V*0.5000" rangeMin="0" rangeMax="100"></value>      <!-- DBW Target -->
      <value name="EMU Black: TC DRPM RAW" offset="2" length="2" rangeMin="0" rangeMax="1000" signed="true"></value>      <!-- TC DRPM RAW -->
      <value name="EMU Black: TC DRPM" offset="4" length="2" rangeMin="0" rangeMax="400" signed="true"></value>      <!-- TC DRPM -->
      <value name="EMU Black: TC Torque Reduction" offset="6" length="1" rangeMin="0" rangeMax="100"></value>      <!-- TC Torque Reduction -->
      <value name="EMU Black: PIT Limiter Torque Reduction" offset="7" length="1" rangeMin="0" rangeMax="100"></value>      <!-- PIT Limiter Torque Reduction -->
    </frame>

    <frame id="0x606" endianess="little">      <!--EMU CAN Stream - ID 6-->
      <value name="EMU Black: Analog-5" offset="0" length="2" conversion="V*0.0049" units="V" rangeMin="0" rangeMax="5"></value>      <!-- Analog 5 -->
      <value name="EMU Black: Analog-6" offset="2" length="2" conversion="V*0.0049" units="V" rangeMin="0" rangeMax="5"></value>      <!-- Analog 6 -->
      <value name="EMU Black: Parametric Output 1" offset="4" length="1" units="bit" startbit="0" bitcount="1"></value>      <!-- OUTFLAGS 1 - PO1 -->
      <value name="EMU Black: Parametric Output 2" offset="4" length="1" units="bit" startbit="1" bitcount="1"></value>      <!-- OUTFLAGS 1 - PO2 -->
      <value name="EMU Black: Parametric Output 3" offset="4" length="1" units="bit" startbit="2" bitcount="1"></value>      <!-- OUTFLAGS 1 - PO3 -->
      <value name="EMU Black: Parametric Output 4" offset="4" length="1" units="bit" startbit="3" bitcount="1"></value>      <!-- OUTFLAGS 1 - PO4 -->
      <value name="EMU Black: Parametric Output 5" offset="4" length="1" units="bit" startbit="4" bitcount="1"></value>      <!-- OUTFLAGS 1 - PO5 -->
      <value name="EMU Black: Virtual Output 1" offset="4" length="1" units="bit" startbit="5" bitcount="1"></value>      <!-- OUTFLAGS 1 - VPO1 -->
      <value name="EMU Black: Virtual Output 2" offset="4" length="1" units="bit" startbit="6" bitcount="1"></value>      <!-- OUTFLAGS 1 - VPO2 -->
      <value name="EMU Black: Virtual Output 3" offset="4" length="1" units="bit" startbit="7" bitcount="1"></value>      <!-- OUTFLAGS 1 - VPO3 -->
      <value name="EMU Black: CAN Switch 1" offset="5" length="1" units="bit" startbit="0" bitcount="1"></value>      <!-- OUTFLAGS 2 - CANSW1 -->
      <value name="EMU Black: CAN Switch 2" offset="5" length="1" units="bit" startbit="1" bitcount="1"></value>      <!-- OUTFLAGS 2 - CANSW2 -->
      <value name="EMU Black: CAN Switch 3" offset="5" length="1" units="bit" startbit="2" bitcount="1"></value>      <!-- OUTFLAGS 2 - CANSW3 -->
      <value name="EMU Black: CAN Switch 4" offset="5" length="1" units="bit" startbit="3" bitcount="1"></value>      <!-- OUTFLAGS 2 - CANSW4 -->
      <value name="EMU Black: CAN Switch 5" offset="5" length="1" units="bit" startbit="4" bitcount="1"></value>      <!-- OUTFLAGS 2 - CANSW5 -->
      <value name="EMU Black: CAN Switch 6" offset="5" length="1" units="bit" startbit="5" bitcount="1"></value>      <!-- OUTFLAGS 2 - CANSW6 -->
      <value name="EMU Black: CAN Switch 7" offset="5" length="1" units="bit" startbit="6" bitcount="1"></value>      <!-- OUTFLAGS 2 - CANSW7 -->
      <value name="EMU Black: CAN Switch 8" offset="5" length="1" units="bit" startbit="7" bitcount="1"></value>      <!-- OUTFLAGS 2 - CANSW8 -->
      <value name="EMU Black: Switch 1" offset="6" length="1" units="bit" startbit="0" bitcount="1"></value>      <!-- OUTFLAGS 3 - SW1 -->
      <value name="EMU Black: Switch 2" offset="6" length="1" units="bit" startbit="1" bitcount="1"></value>      <!-- OUTFLAGS 3 - SW2 -->
      <value name="EMU Black: Switch 3" offset="6" length="1" units="bit" startbit="2" bitcount="1"></value>      <!-- OUTFLAGS 3 - SW3 -->
      <value name="EMU Black: MUX Switch 1" offset="6" length="1" units="bit" startbit="3" bitcount="1"></value>      <!-- OUTFLAGS 3 - MUXSW1 -->
      <value name="EMU Black: MUX Switch 2" offset="6" length="1" units="bit" startbit="4" bitcount="1"></value>      <!-- OUTFLAGS 3 - MUXSW2 -->
      <value name="EMU Black: MUX Switch 3" offset="6" length="1" units="bit" startbit="5" bitcount="1"></value>      <!-- OUTFLAGS 3 - MUXSW3 -->
      <value name="EMU Black: LC Map Set" offset="6" length="1" units="bit" startbit="6" bitcount="1"></value>      <!-- OUTFLAGS 3 - LC Map Set -->
      <value name="EMU Black: ALS Map Set" offset="6" length="1" units="bit" startbit="7" bitcount="1"></value>      <!-- OUTFLAGS 3 - ALS Map Set -->
      <value targetId="182" offset="7" length="1" units="bit" startbit="0" bitcount="1"></value>      <!-- OUTFLAGS 4 - Fuel Pump State -->
      <value targetId="153" offset="7" length="1" units="bit" startbit="1" bitcount="1"></value>      <!-- OUTFLAGS 4 - Coolant Fan State -->
      <value name="EMU Black: AC Clutch State" offset="7" length="1" units="bit" startbit="2" bitcount="1"></value>      <!-- OUTFLAGS 4 - AC Clutch State -->
      <value targetId="335" offset="7" length="1" units="bit" startbit="3" bitcount="1"></value>      <!-- OUTFLAGS 4 - AC Fan State -->
      <value name="EMU Black: Nitrous Active" offset="7" length="1" units="bit" startbit="4" bitcount="1"></value>      <!-- OUTFLAGS 4 - Nitrous Active -->
      <value name="EMU Black: Starter Request" offset="7" length="1" units="bit" startbit="5" bitcount="1"></value>      <!-- OUTFLAGS 4 - Starter Request -->
      <value name="EMU Black: Boost Map Set" offset="7" length="1" units="bit" startbit="6" bitcount="1"></value>      <!-- OUTFLAGS 4 - Boost Map Set -->
    </frame>

    <frame id="0x607" endianess="little">      <!--EMU CAN Stream - ID 7-->
      <value targetId="270" offset="0" length="2"></value>      <!-- Boost Target -->
      <value name="EMU Black: PWM#1 DC" offset="2" length="1" rangeMin="0" rangeMax="100"></value>      <!-- PWM#1 DC -->
      <value targetId="256" offset="4" length="1" conversion="V*0.01"></value>      <!-- Target Lambda 1 -->
      <value name="EMU Black: PWM#2 DC" offset="5" length="1" rangeMin="0" rangeMax="100"></value>      <!-- PWM#2 DC -->
      <value name="EMU Black: Fuel Used" offset="6" length="2" conversion="V*0.01" units="l" rangeMin="0" rangeMax="255"></value>      <!-- Fuel Used -->
    </frame>

  </frames>
</RealDashCAN>