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 52 53 54 55 56 57 58 59 60 61 62 | TYPE Fct_signalisation : STRUCT xReset_error_signalisation: BOOL; (* Feux de signalisation *) xOut_low_beam: BOOL; // Feux de position xError_low_beam: BOOL; xLow_beam_outstate: BOOL; uiLow_beam_volt: UINT; uiLow_beam_current: UINT; uiLow_beam_channel: UINT := 201; xOut_high_beam: BOOL; // Feux de route xError_high_beam: BOOL; xHigh_beam_outstate: BOOL; uiHigh_beam_volt: UINT; uiHigh_beam_current: UINT; uiHigh_beam_channel: UINT := 203; xOut_backlight: BOOL; // Feux de recul xError_backlight: BOOL; xBacklight_outstate: BOOL; uiBacklight_volt: UINT; uiBacklight_current: UINT; uiBacklight_channel: UINT := 5; xOut_stoplight: BOOL; // Feux de stop xError_stoplight: BOOL; xStoplight_outstate: BOOL; uiStoplight_volt: UINT; uiStoplight_current: UINT; uiStoplight_channel: UINT := 6; xOut_left_blink: BOOL; // Clignotant gauche xError_left_blink: BOOL; xleft_blink_outstate: BOOL; uiLeft_blink_volt: UINT; uiLeft_blink_current: UINT; uiLeft_blink_channel: UINT := 101; xOut_right_blink: BOOL; // Clignotant droit xError_right_blink: BOOL; xRight_blink_outstate: BOOL; uiRight_blink_volt: UINT; uiRight_blink_current: UINT; uiRight_blink_channel: UINT := 100; (* Verrine Lumineuse *) xOut_greenlight: BOOL; // Colonne Lumineuse - Vert xError_greenlight: BOOL; uiGreenlight_channel: UINT := 102; xOut_redlight: BOOL; // Colonne Lumineuse - Rouge xError_redlight: BOOL; uiRedlight_channel: UINT := 103; xOut_yellowlight: BOOL; // Colonne Lumineuse - Jaune xError_yellowlight: BOOL; uiYellowlight_channel: UINT := 104; (* Feux optionnel *) xOut_rooflight_red: BOOL; // Feux de toit - Rouge (vitesse lente) xError_rooflight_red: BOOL; uiRooflight_red_channel: UINT; (* Signalisation sonore *) xOut_klax_car: BOOL; // Avert. Sonore - Modele Automobile xError_klax_car: BOOL; xKlax_car_outstate: BOOL; uiKlax_car_volt: UINT; uiKlax_car_current: UINT; uiKlax_car_channel: UINT := 8; |