[r21]: / ecu_at135_v1c_aladdin / StandardPLC / Plc Logic / Application / 005.Gestion_Signalisation_Véhicule / Gestion_Interface_Signalisation / Gestion_Clignotants / svnobj  Maximize  Restore  History

Download this file

26 lines (22 with data), 6.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
IF GEMMA.Ignition_seq_done = TRUE THEN
	
	IF Mode_autonom = TRUE THEN
		
		IF Blinker_command = 1 THEN //Clignotant GAUCHE - service
			Global_tags.structSignalisation.xOut_right_blink := FALSE;
			Global_tags.structSignalisation.xOut_left_blink := TRUE;
			Tag_shared_to_CR1083.Shared_var_cr1083_blinker_droit := FALSE;
			Tag_shared_to_CR1083.Shared_var_cr1083_warning := FALSE;
			Blinker_light := 2;
			
		ELSIF Blinker_command = 2 THEN //Clignotant DROIT - service
			Global_tags.structSignalisation.xOut_right_blink := TRUE;
			Global_tags.structSignalisation.xOut_left_blink := FALSE;
			Tag_shared_to_CR1083.Shared_var_cr1083_blinker_droit := TRUE;
			Blinker_light := 1;
		ELSIF Blinker_command = 3 THEN //Clignotant DUAL - warning
			Tag_shared_to_CR1083.Shared_var_cr1083_warning := TRUE;
			Blinker_light := 3;
		ELSE
			Blinker_light := 0;
		END_IF
	END_IF
	IF (Mode_manuel= TRUE) OR (Mode_Standby = TRUE) THEN
		ELSIF (Global_tags.Struct_IO_cockpit.Sw_right_blink = TRUE) AND (Keypad_Blink_pkp2600.Etat_Warning = 'OFF') THEN //Clignotant DROIT - service