0% found this document useful (0 votes)
5 views1 page

Engine Speed PID 0C RPM Formula

Uploaded by

umarsadien8
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Engine Speed PID 0C RPM Formula

Uploaded by

umarsadien8
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Name,ShortName,Mode,PID,Equation,Min,Max,Units,Header

Injection Quantity,IQ,22,1005,A*0.01,0,100,mg_str,7E0
Boost Actual,BoostAct,22,1003,(A*256+B)/100,0,300,kPa,7E0
Boost Requested,BoostReq,22,1004,(A*256+B)/100,0,300,kPa,7E0
MAF Sensor,MAF,01,10,(A*256+B)/100,0,100,g_s,Auto
Coolant Temp,ECT,01,05,A-40,-40,215,C,Auto
N75 Duty Cycle,N75,22,1070,A*100/255,0,100,percent,7E0
EGR Duty Cycle,EGR,22,106B,A*100/255,0,100,percent,7E0
Fuel Temp,FuelTemp,22,105B,A-40,-40,150,C,7E0
Ambient Air Temp,AirTemp,22,1058,A-40,-40,80,C,7E0
Engine Speed,RPM,01,0C,((A*256)+B)/4,0,6000,rpm,Auto
Vehicle Speed,Speed,01,0D,A,0,250,kph,Auto
Throttle Position,Throttle,01,11,A*100/255,0,100,percent,Auto
Battery Voltage,VBat,01,42,(A*256+B)/1000,10,15,V,Auto
Intake Air Temp,IAT,01,0F,A-40,-40,80,C,Auto

from pathlib import Path


# CSV content as a string
csv_content = """Name,ShortName,Mode,PID,Equation,Min,Max,Units,Header
Injection Quantity,IQ,22,1005,A*0.01,0,100,mg_str,7E0
Boost Actual,BoostAct,22,1003,(A*256+B)/100,0,300,kPa,7E0
Boost Requested,BoostReq,22,1004,(A*256+B)/100,0,300,kPa,7E0
MAF Sensor,MAF,01,10,(A*256+B)/100,0,100,g_s,Auto
Coolant Temp,ECT,01,05,A-40,-40,215,C,Auto
N75 Duty Cycle,N75,22,1070,A*100/255,0,100,percent,7E0
EGR Duty Cycle,EGR,22,106B,A*100/255,0,100,percent,7E0
Fuel Temp,FuelTemp,22,105B,A-40,-40,150,C,7E0
Ambient Air Temp,AirTemp,22,1058,A-40,-40,80,C,7E0
Engine Speed,RPM,01,0C,((A*256)+B)/4,0,6000,rpm,Auto
Vehicle Speed,Speed,01,0D,A,0,250,kph,Auto
Throttle Position,Throttle,01,11,A*100/255,0,100,percent,Auto
Battery Voltage,VBat,01,42,(A*256+B)/1000,10,15,V,Auto
Intake Air Temp,IAT,01,0F,A-40,-40,80,C,Auto
"""
# Save the file to a path
file_path = Path("/mnt/data/vw_bkc_extended.csv")
file_path.write_text(csv_content)
file_path.name # Return file name for reference

You might also like