Lamp Test

The lamp test function is implemented by a pushbutton on the "HMI". Pressing this button activates the "Lamp Test" output in any sequence. This output is then used to test the lamp outputs when required.

Copy

//--------------------------------Lamp Test--------------------------------
   {region "Description Lamp Test"}
   (*
   The lamp test function is implemented via a pushbutton on the HMI or a hardware button.
   Pressing this button activates the lamp test output in any sequence. 
   This output is then used to test the lamp outputs wherever necessary.
   *)
   {endregion}
   aLampTestMatrix[0] := GVL_Global_HMI.stHmiIf.xHmiLampTest;

   FOR  iIndex := 0 TO 0 DO 
      IF aLampTestMatrix[iIndex] THEN
         GVL_Global.stGlobalIf.xLampTest := TRUE;
         EXIT;
      ELSE
         GVL_Global.stGlobalIf.xLampTest := FALSE;
      END_IF
   END_FOR

Last updated

Was this helpful?