2017-01-19 13:03:23 -08:00
|
|
|
#
|
2017-01-19 14:04:15 -08:00
|
|
|
# in this file we define system FSIO expressions
|
2017-01-19 13:03:23 -08:00
|
|
|
#
|
2017-06-13 16:39:49 -07:00
|
|
|
# system_fsio.txt is input for compile_fsio_file tool, see gen_system_fsio.bat
|
|
|
|
#
|
2017-01-19 13:03:23 -08:00
|
|
|
# see http://rusefi.com/wiki/index.php?title=Manual:Flexible_Logic
|
|
|
|
#
|
|
|
|
# Jan 19, 2017
|
|
|
|
# Andrey Belomutskiy, (c) 2012-2017
|
|
|
|
#
|
|
|
|
|
2017-01-19 14:04:15 -08:00
|
|
|
FAN_CONTROL_LOGIC=(fan and (coolant > fan_off_setting)) | (coolant > fan_on_setting)
|
2017-01-19 13:03:23 -08:00
|
|
|
|
2017-06-24 22:35:46 -07:00
|
|
|
FUEL_PUMP_LOGIC=(time_since_boot < startup_fuel_pump_duration) | (rpm > 0)
|
2017-01-19 13:03:23 -08:00
|
|
|
|
|
|
|
ALTERNATOR_LOGIC=vbatt < 14.5
|
|
|
|
|
2017-04-25 05:29:24 -07:00
|
|
|
AC_RELAY_LOGIC=ac_on_switch
|
|
|
|
|
2017-04-27 10:06:54 -07:00
|
|
|
# Combined RPM, CLT and VBATT warning light
|
2017-04-27 10:05:48 -07:00
|
|
|
COMBINED_WARNING_LIGHT=(rpm > fsio_setting(2)) | ((coolant > fsio_setting(3)) | (vbatt < fsio_setting(4)))
|
2017-06-12 15:14:39 -07:00
|
|
|
|
|
|
|
#needed by EFI_MAIN_RELAY_CONTROL
|
2017-06-24 22:35:46 -07:00
|
|
|
MAIN_RELAY_LOGIC=(time_since_boot < 2) | (vbatt > 5) | in_shutdown
|
2017-06-13 16:39:49 -07:00
|
|
|
|
|
|
|
# could be used for simple variable intake geometry setups or warning light or starter block
|
|
|
|
RPM_ABOVE_USER_SETTING_1=rpm > fsio_setting(1)
|
|
|
|
|
|
|
|
# could be used for simple variable intake geometry setups or warning light or starter block
|
|
|
|
RPM_ABOVE_USER_SETTING_2=rpm > fsio_setting(2)
|
|
|
|
|
|
|
|
RPM_BELOW_USER_SETTING_1=rpm < fsio_setting(1)
|
|
|
|
|
2017-06-14 02:39:00 -07:00
|
|
|
# starter block using configurable parameter
|
|
|
|
STARTER_BLOCK=rpm < cranking_rpm
|