Relinked everything with HAL and Execute pattern
- Switched to BaseConponents V2.0
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user