Started to change to HAL architecture

This commit is contained in:
2026-03-18 22:49:19 +01:00
parent fe28ade0fe
commit b515ca8588
19 changed files with 6425 additions and 1340 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1">
<DUT Name="ST_Aligner_IO" Id="{2573b629-32bc-4e57-b75e-bbc93eacf509}">
<Declaration><![CDATA[TYPE ST_Aligner_IO :
STRUCT
i_xVacuumOk AT %I* : BOOL;
i_diXOffset AT %I* : DINT;
i_diYOffset AT %I* : DINT;
END_STRUCT
END_TYPE
]]></Declaration>
</DUT>
</TcPlcObject>

View File

@@ -5,7 +5,6 @@
VAR_INPUT
xEnableVacuum : BOOL;
xExecute : BOOL;
xReleaseManualMode : BOOL;
xReleaseAlarms : BOOL;
xConfirmAlarms : BOOL;
END_VAR
@@ -58,7 +57,7 @@ _fbValveVacuum(
xAutomaticOpen:= xEnableVacuum,
xReleaseErrors:= xReleaseAlarms,
stValveConfig:= _stValveVacuumConfig,
xReleaseManualMode:= xReleaseManualMode,
xReleaseManualMode:= _xReleaseManualMode,
xConfirmAlarms:= xConfirmAlarms,
stHMIInterface:= stHMIInterface.stVacuumValve);