Started fixes for HMI
This commit is contained in:
@@ -79,6 +79,9 @@ VAR
|
||||
_fbRobot : FB_Mecademics;
|
||||
|
||||
xDisableVacuum AT %Q* : BOOL;
|
||||
|
||||
// Internals
|
||||
_xOpenChuckClamp : BOOL;
|
||||
END_VAR
|
||||
]]></Declaration>
|
||||
<Implementation>
|
||||
@@ -100,8 +103,11 @@ ELSE
|
||||
_tpEjectChuck(IN := FALSE);
|
||||
END_IF
|
||||
|
||||
// Todo bessere implementierung finden
|
||||
_xOpenChuckClamp := xOpenChuckClamp OR stHMIInterface.stChuckUnlockCmd.xRequest;
|
||||
|
||||
_fbUnlockLeft(
|
||||
xAutomaticOpen:= xOpenChuckClamp,
|
||||
xAutomaticOpen:= _xOpenChuckClamp,
|
||||
xReleaseErrors:= xReleaseAlarms,
|
||||
stValveConfig:= _stValveUnlockLeftCfg,
|
||||
xReleaseManualMode:= xReleaseManualMode,
|
||||
@@ -109,7 +115,7 @@ _fbUnlockLeft(
|
||||
stHMIInterface:= stHMIInterface.stChuckUnlockLeft);
|
||||
|
||||
_fbUnlockRight(
|
||||
xAutomaticOpen:= xOpenChuckClamp,
|
||||
xAutomaticOpen:= _xOpenChuckClamp,
|
||||
xReleaseErrors:= xReleaseAlarms,
|
||||
stValveConfig:= _stValveUnlockRightCfg,
|
||||
xReleaseManualMode:= xReleaseManualMode,
|
||||
|
||||
Reference in New Issue
Block a user