Sicherheitsänderung

This commit is contained in:
2021-03-08 19:06:07 +01:00
parent 81a87ad9f4
commit 893fbb9a48

View File

@@ -103,7 +103,7 @@ PROGRAM _CYCLIC
VCButtons.AutoReleaseLoadBox.usStatus.0 := NOT Valves.bCloseCentration AND NOT Valves.bLiftUpLoadbox;
VCButtons.AutoReleaseLoadBox.usStatus.1 := NOT States.bSafetyOk OR gCmd1.bRobCycleActive;
IF (VCButtons.AutoReleaseLoadBox.bCommand OR (States.usPartsInLoadBox = 22)) AND NOT gCmd1.bRobCycleActive THEN
IF (VCButtons.AutoReleaseLoadBox.bCommand OR ((States.usPartsInLoadBox = 22) AND gABBRobot1.In.bWZHome)) AND NOT gCmd1.bRobCycleActive THEN
Valves.bCloseCentration := FALSE;
Valves.bLiftUpLoadbox := FALSE;
END_IF