Hi, I’m adding a couple of lines to the original XML for obd2. But I have a problem with the headers.
I want to add several lines that need to call the 726 header, I have tried it by entering it by hand in the console and they read the sensor and return data but I can’t get them to work in the xml.
222813: 72E0562281302B3
224028: 72E0462402835
The lines are just an example of what I have tried…
command send=“222813” header=“atsh726” skipCount=“5” targetId=“240” units=“BAR” conversion=“B1*0.01373”> <!-- LF TP –
command send=“224028” header=“726” skipCount=“5” targetId=“253” units=“%” conversion=“B0”> <!-- batt % –
<command send="222813" header="atsh726" skipCount="5" targetId="240" units="BAR" conversion="(((256*B0)+B1)/3+22/3)*0.145"></command> <!-- LF TP -->
<command send="222814" header="atsh726\ratcea2A\ratta2A" skipCount="5" targetId="241" units="BAR" conversion="(((256*B0)+B1)/3+22/3)*0.145"></command> <!-- LF TP -->
<command send="222815" header="atsh726\atcea2A\atta2A" skipCount="5" targetId="242" units="BAR" conversion="(((256*B0)+B1)/3+22/3)*0.145"></command> <!-- LF TP -->
<command send="222816" header="atsh726" skipCount="5" targetId="243" units="BAR" conversion="(((256*B0)+B1)/3+22/3)*0.145"></command> <!-- LF TP -->
<command send="224028" header="atsh726" skipCount="5" targetId="253" units="%" conversion="B1"></command> <!-- batt % -->
I have tried the following that I have found in other posts:
header=“atsh726\ratcea2A\ratta2A”
header=“atsh726\atcea2A\atta2A”
header=“atsh726”
These are the originals:
Name," ““ShortName””“,” ““ModeAndPID””“,” ““Equation””“,” ““Min Value””“,” ““Max Value””“,” ““Units””“,” ““Header””“,” ““startDiagnostic””“,” ““stopDiagnostic””“,” ““Scale””"
[Ford]Battery Charge %,Batt %,0x224028,a,0,100,%,726,1
[FORD]Battery Current,Ammeter,0x224090,(((A*256)+b)/16)-511.7,-300,300,Amps,726,1
[FORD]IAT2 (Method 2),IAT2,0x2203ca,A-40,0,60,C,Auto,1
[FORD]Left front tyre pressure,LF TP,0x222813,(((256*A)+B)/3+22/3)*0.145,0,70,psi,726,1
[FORD]Left rear tyre pressure,LR TP,0x222816,(((256*A)+B)/3+22/3)*0.145,0,70,psi,726,1
[FORD]Right front tyre pressure,RF TP,0x222814,(((256*A)+B)/3+22/3)*0.145,0,70,psi,726,1
[FORD]Right rear tyre pressure,RR TP,0x222815,(((256*A)+B)/3+22/3)*0.145,0,70,psi,726,1