Fault Reset

Fault Reset Push Button pressed Pressing any fault reset button within the zone activates the output Fault Reset Button pressed.

Copy

// Fault Reset
   {region "Description Fault Reset"}
   (*
   Pressing any reset p/b within the zone activates the reset p/b pressed flag.
   *)
   {endregion}
   aFaultResetMatrix[0] := GVL_<HwZone_name>_IOs.xFaultReset;

   FOR  iIndex := 0 TO 0 DO 
      IF aFaultResetMatrix[iIndex] THEN
         GVL_<HwZone_name>.stHwzIf.xFaultResetPbPressed := TRUE;
         EXIT;
      ELSE
         GVL_<HwZone_name>.stHwzIf.xFaultResetPbPressed := FALSE;
      END_IF
   END_FOR    

<***>Variable name, comment and data type are automatically taken from the Studio

Global Fault Reset The global fault reset output activates the fault reset output for all hardware zones when the fault reset button (Global Utilities) is pressed. By using the global fault reset flag, the fault reset from any zone can be used to reset faults in all zones.

Copy

<***>Variable name, comment and data type are automatically taken from the Studio

Last updated

Was this helpful?