Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
METHOD Gestion_Avert_Tramway VAR_INPUT Mode_autonom: BOOL; Mode_manuel: BOOL; IF GEMMA.Ignition_seq_done = TRUE THEN IF Mode_autonom = TRUE THEN IF Buzzer = TRUE THEN Global_tags.structSignalisation.xOut_klax_tram := TRUE; ELSE Global_tags.structSignalisation.xOut_klax_tram := FALSE; END_IF END_IF END_IF IF Buzzer = FALSE THEN Global_tags.structSignalisation.xOut_klax_tram := FALSE; END_IF