[r24]: / ecu_at135_v1d_aladdin / StandardPLC / Plc Logic / Application / 001.Global_Box / Inputs / Fct_digital_inputs / svnobj  Maximize  Restore  History

Download this file

52 lines (49 with data), 5.7 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
	*---------------            					 Boite de structure d'entr
es digitales				     		------------------
	*
	*	xxx_xxxx_xxxx_error:	Erreur hardware sur le bus d'entr
e ECU																  
	---------------------------------------------------------------------------------------------------------------------------------*)
	
TYPE Fct_digital_inputs :
	STRUCT
		
		xReset_inputs_error:			BOOL;
		(* Input - Connecteur de charge *)
		xSw_charge_connector:			BOOL;
		xSw_charge_connector_error:		BOOL;
		uiChannel_charge_connector:		UINT	:= 0101;
		(* Input - Arr
t urgence canal 1 *)
		xSw_Estop_chan1:				BOOL;
		xSw_Estop_chan1_error:			BOOL;
		uiChannel_Estop_chan1:			UINT	:= 0200;
		(* Input - Arr
t urgence canal 2 *)
		xSw_Estop_chan2:				BOOL;
		xSw_Estop_chan2_error:			BOOL;
		uiChannel_Estop_chan2:			UINT	:= 0201;
		(* Input - Selecteur D
marrage v
hicule *)
		xSw_Ignition:					BOOL;
		xSw_Ignition_error:				BOOL;
		uiChannel_Ignition:				UINT	:= 0202;
		(* Input - Selection mode autonome *)
		xSw_set_autonom:				BOOL;
		xSw_set_autonom_error:			BOOL;
		uiChannel_set_autonom:			UINT	:= 0300;
		(* Input - Selection mode manuel *)
		xSw_set_manuel:					BOOL;
		xSw_set_manuel_error:			BOOL;
		uiChannel_set_manuel:			UINT	:= 0301;
		(* Input - Avance Pas 
 pas *)
		xSw_fwd_pap:					BOOL;
		xSw_fwd_pap_error:				BOOL;
		uiChannel_fwd_pap:				UINT	:= 1000;
		(* Input - Recule pas 
 pas *)
		xSw_bkwd_pap:					BOOL;
		xSw_bkwd_pap_error:				BOOL;
		uiChannel_bkwd_pap:				UINT	:= 1001;
	END_STRUCT;
END_TYPE