Relinked everything with HAL and Execute pattern

- Switched to BaseConponents V2.0
This commit is contained in:
2026-03-19 19:40:01 +01:00
parent b515ca8588
commit eb2317ad91
25 changed files with 3558 additions and 2721 deletions

View File

@@ -14,11 +14,10 @@ VAR_OUTPUT
uiNextReadySlot : UINT;
END_VAR
VAR_IN_OUT
stIO : ST_Hotplate_IO;
stHMIInterface : ST_HMI_Hotplate;
END_VAR
VAR
xEnableHotplate AT %Q* : BOOL;
// _axSlotFree : ARRAY [0..(GVL_HeatCoolConfig.HEAT_COOL_PLATES_NUM_SLOTS - 1)] OF BOOL;
// _atonSlotTimer : ARRAY[0..(GVL_HeatCoolConfig.HEAT_COOL_PLATES_NUM_SLOTS - 1)] OF TON;
@@ -66,7 +65,8 @@ _fbTempSensor(
xReleaseErrors:= xReleaseAlarms,
xReleaseLimitErrors:= FALSE,
xReleaseHardwareErrors:= TRUE,
xConfirmAlarms:= xConfirmAlarms,
xConfirmAlarms:= xConfirmAlarms,
stIO := stIO.stTempSensor,
stHMIInterface=> stHMIInterface.stPV);
// For now get setpoint from HMI interface
@@ -87,7 +87,7 @@ _fbLimit(
_fbPWMOut(
timPeriod:= T#100MS,
xOutput=> xEnableHotplate);
xOutput=> stIO.o_xEnableHotplate);
SUPER^(stPackMLHMIInterface := stHMIInterface.stStationCmds);