mirror of https://github.com/rusefi/rusefi-1.git
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
#
|
|
# in this file we define system FSIO expressions
|
|
#
|
|
# system_fsio.txt is input for compile_fsio_file tool, see gen_system_fsio.bat
|
|
#
|
|
# see http://rusefi.com/wiki/index.php?title=Manual:Flexible_Logic
|
|
#
|
|
# Jan 19, 2017
|
|
# Andrey Belomutskiy, (c) 2012-2017
|
|
#
|
|
|
|
TOO_HOT_LOGIC=coolant > 120
|
|
|
|
# Combined RPM, CLT and VBATT warning light
|
|
COMBINED_WARNING_LIGHT=(rpm > fsio_setting(2)) | ((coolant > fsio_setting(3)) | (vbatt < fsio_setting(4)))
|
|
|
|
# could be used for simple variable intake geometry setups or warning light or starter block
|
|
RPM_ABOVE_USER_SETTING_1=rpm > fsio_setting(1)
|
|
|
|
RPM_BELOW_USER_SETTING_3=rpm < fsio_setting(3)
|
|
|
|
# could be used for simple variable intake geometry setups or warning light or starter block
|
|
RPM_ABOVE_USER_SETTING_1=rpm > fsio_setting(1)
|
|
|
|
RPM_ABOVE_USER_SETTING_2=rpm > fsio_setting(2)
|
|
|
|
RPM_ABOVE_5500_ON_OFF=rpm > 5500
|
|
|
|
RPM_ABOVE_6000_ON_OFF=rpm > 6000
|
|
|
|
RPM_ABOVE_1000_SOLENOID_70_DUTY=(rpm > 1000) * 0.7
|
|
|
|
RPM_ABOVE_2000_SOLENOID_50_DUTY=(rpm > 2000) * 0.5
|
|
|
|
RPM_ABOVE_6000_SOLENOID_80_DUTY=(rpm > 6000) * 0.8
|
|
|
|
RPM_BELOW_USER_SETTING_1=rpm < fsio_setting(1)
|
|
|
|
# starter block using configurable parameter
|
|
STARTER_RELAY_LOGIC=rpm < cranking_rpm
|
|
|
|
BOOST_CONTROLLER=fsio_table (3, rpm, map) / 100
|
|
|
|
ANALOG_CONDITION=if(fsio_analog_input (0) > 20, 0, 10)
|