Mode Selection AUTOMATIC / MANUAL Automatic Mode
// Automatic Mode
{region "Description Mode Selection AUTOMATIC"}
(*
Automatic is only enabled when all mode keyswitches relevant to the hardware zone are selected to automatic.
*)
{endregion}
aAutoModeSelectMatrix[0] := GVL_<HwZone_name>_IOs.xAutomaticModeKeySwitch AND NOT GVL_<HwZone_name>_IOs.xManualModeKeySwitch;
GVL_<HwZone_name>.stHwzIf.xAutomaticModeOn := TRUE;
FOR iIndex := 0 TO 0 DO
IF NOT aAutoModeSelectMatrix[iIndex] THEN
GVL_<HwZone_name>.stHwzIf.xAutomaticModeOn := FALSE;
EXIT;
END_IF
END_FORZuletzt aktualisiert
War das hilfreich?

