Download Modular Sensor Interface MSI 60

Transcript
Math and Condition Channels | 8
Notice
To select an input channel from a specific device put the device
name enclosed by ´#´ in front of it. E.g. #MSI 60 Front
Left#time_sec
The conditional function works in the following way:
The program always calculates the condition entered in the IF window and
checks if the condition is TRUE or FALSE.
If the condition entered in the IF window is TRUE, the program calculates the
condition entered in the THEN window. The returned value is the content of the
new variable (entered in ‘Name’).
If the condition entered in the IF window is FALSE, the program calculates the
condition entered in the OTHERWISE window. The returned value is the content
of the new variable (entered in ‘Name’).
The reset value is always set for the new variable (entered in ‘Name’):
▪ before If‐condition becomes TRUE for the first time after power‐up.
▪ when If‐condition changes state from FALSE to TRUE.
An example of a condition to set up the maximum front brake pressure is given
on the next page.
Example: Setting up a condition for maximum front brake pressure.
“Brake pressure front ‘p_br_front’”
▪ At power‐up, the reset value (10) is used for ‘p_br_front_mx’.
▪ ‘p_br_front’ rises to 30. As ‘p_br_front’ is > 20 (condition is TRUE), the condi‐
tion ‘max (p_br_front, p_br_front_mx)’ in the THEN window is triggered. The
condition sets the bigger value as new value for ‘p_br_front_mx’. As
‘p_br_front’ (30) is bigger than ‘p_br_front_mx’ (10), the new value for
‘p_br_front_mx’ is set to 30.
Bosch Motorsport
Modular Sensor Interface MSI 60
35 / 108