Chapter 1. BIOS_Init

GasolineControlSample/BIOS_Init

This function is called during model initialisation in order to configure the BIOS.

Table 1.1. System Outputs

User NameDescriptionUsed In Sections L2Defn. Block Local Systems
byInitDummy
Dummy byte for BIOS's that don't support all features
 byInitDummyBIOS_Init
fDummyOutputSingle
Dummy single for BIOS's that don't support all features
 fDummyOutputSingleBIOS_Init
fInitDummy
Dummy float for BIOS's that don't support all features
 fInitDummyBIOS_Init
sbyInitDummy
Dummy sbyte for BIOS's that don't support all features
 sbyInitDummyBIOS_Init
wInitDummy
Dummy word for BIOS's that don't support all features
 wInitDummyBIOS_Init

Table 1.2. System Parameters

User NameDescriptionUnitsTypeLocal Systems
aCamPos
Cam Position
deg
SCALAR
BIOS_Init
aCylSyncTdcOffset
Angle to call synchro
deg
SCALAR
BIOS_Init
aTdc1
Tdc angles
deg
SCALAR
BIOS_Init
aTdc2
Tdc angles
deg
SCALAR
BIOS_Init
aTdc3
Tdc angles
deg
SCALAR
BIOS_Init
aTdc4
Tdc angles
deg
SCALAR
BIOS_Init
aTdcOffset
Global TDC offset
deg
SCALAR
BIOS_Init
NCamEdgeSel
Cam edge selection
SCALAR
BIOS_Init
NCoilType
Coil Type
SCALAR
BIOS_Init
NCrankEdgeSel
Crank edge selection
SCALAR
BIOS_Init
nEngineMax
nEngineMax
rpm
SCALAR
BIOS_Init
nEngingeAutoPickup
nEngingeAutoPickup
rpm
SCALAR
BIOS_Init
NEngThreshTask
Engine threshold tasks
SCALAR
BIOS_Init
NFireOrder1
Fire Order
SCALAR
BIOS_Init
NFireOrder2
Fire Order
SCALAR
BIOS_Init
NFireOrder3
Fire Order
SCALAR
BIOS_Init
NFireOrder4
Fire Order
SCALAR
BIOS_Init
NIgnLimitLength
Ignition cut pattern length
SCALAR
BIOS_Init
NIgnPin1
Ignition Pin
SCALAR
BIOS_Init
NIgnPin2
Ignition Pin
SCALAR
BIOS_Init
NIgnPin3
Ignition Pin
SCALAR
BIOS_Init
NIgnPin4
Ignition Pin
SCALAR
BIOS_Init
NIgnTask
Ignition Task
SCALAR
BIOS_Init
NInjLimitLength
Injection cut pattern length
SCALAR
BIOS_Init
NInjPin1
Injection Pin
SCALAR
BIOS_Init
NInjPin2
Injection Pin
SCALAR
BIOS_Init
NInjPin3
Injection Pin
SCALAR
BIOS_Init
NInjPin4
Injection Pin
SCALAR
BIOS_Init
NInjStartTask
Injection Start Task
SCALAR
BIOS_Init
NInjTask
Injection Task
SCALAR
BIOS_Init
NLambdaTask
Lambda Task
SCALAR
BIOS_Init
NLimiterTask
Limiter Task
SCALAR
BIOS_Init
NWheel1EdgeSel
Wheel edge selection
SCALAR
BIOS_Init
NWheel2EdgeSel
Wheel edge selection
SCALAR
BIOS_Init
NWheel3EdgeSel
Wheel edge selection
SCALAR
BIOS_Init
NWheel4EdgeSel
Wheel edge selection
SCALAR
BIOS_Init

Table 1.3. System Measurements

User NameDescriptionUnitsDefn. Block Local Systems
byInitDummy
Dummy byte for BIOS's that don't support all features
byInitDummyBIOS_Init
dwDebug01
dwDebug01
dwDebug01 
dwDebug02
dwDebug02
dwDebug02 
dwDebug03
dwDebug03
dwDebug03 
dwDebug04
dwDebug04
dwDebug04 
dwDebug05
dwDebug05
dwDebug05 
dwDebug06
dwDebug06
dwDebug06 
dwDebug07
dwDebug07
dwDebug07 
dwDebug08
dwDebug08
dwDebug08 
dwInitDummy
Dummy dword for BIOS's that don't support all features
dwInitDummy 
fDummyOutputSingle
Dummy single for BIOS's that don't support all features
fDummyOutputSingleBIOS_Init
fInitDummy
Dummy float for BIOS's that don't support all features
fInitDummyBIOS_Init
sbyInitDummy
Dummy sbyte for BIOS's that don't support all features
sbyInitDummyBIOS_Init
sdwInitDummy
Dummy sdword for BIOS's that don't support all features
sdwInitDummy 
swInitDummy
Dummy sword for BIOS's that don't support all features
swInitDummy 
wInitDummy
Dummy word for BIOS's that don't support all features
wInitDummyBIOS_Init