Prepared IOs vor Tool

This commit is contained in:
Michael Rest
2013-01-25 16:53:22 +01:00
parent 66e06d891b
commit 0552f33fba
7 changed files with 185 additions and 29 deletions

View File

@@ -246,6 +246,10 @@ PROGRAM _CYCLIC
MoveConditions.bEnablePosShaft4 := (lAxisShaft4.rActPosition < rPressPosMax);
MoveConditions.bEnableNegShaftMaster := (lAxisShaftMaster.rActPosition > rPressPosMin) AND bAllAxisesInSync AND gPS.DriveStatus.bTrigger1;
MoveConditions.bEnableReferencePress := bAllAxisesInSync AND gPS.DriveStatus.bTrigger1;
MoveConditions.bEnableReferencePressABS := NOT lAxisShaft1.Status.bMotionSynchronized AND
NOT lAxisShaft2.Status.bMotionSynchronized AND
NOT lAxisShaft3.Status.bMotionSynchronized AND
NOT lAxisShaft4.Status.bMotionSynchronized;
MoveConditions.bEnablePosShaftMaster := (lAxisShaftMaster.rActPosition < rPressPosMax) AND bAllAxisesInSync AND gPS.DriveStatus.bTrigger2 AND
((gMachine.enMode <> enMACH_JOG) OR
((lAxisShaft1.rActTorque < 6.5) AND
@@ -258,6 +262,7 @@ PROGRAM _CYCLIC
MoveConditions.bEnableNegSlay1 := bPressIsUp ;
MoveConditions.bEnablePosSlay1 := bPressIsUp;
MoveConditions.bEnableReferenceSlay1 := bPressIsUp;
StatusVCControls.usJogNegShaft1 := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableNegShaft1), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG) OR bDevelEnalbeGear OR (genAccessLevel < enACCESSLEVEL_4)), VC_HIDE_BITPOS);
@@ -285,6 +290,13 @@ PROGRAM _CYCLIC
SHL (BOOL_TO_USINT (gMachine.enMode <> enMACH_JOG) , VC_HIDE_BITPOS);
//SHL (BOOL_TO_USINT (gMachine.enMode <> enMACH_JOG) OR NOT bDevelEnalbeGear, VC_HIDE_BITPOS);
StatusVCControls.usReferenceSlay1 := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableReferenceSlay1), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG)), VC_HIDE_BITPOS);
StatusVCControls.usJogPosSlay1 := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnablePosSlay1), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG)), VC_HIDE_BITPOS);
StatusVCControls.usJogNegSlay1 := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableNegSlay1), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG)), VC_HIDE_BITPOS);
StatusVCControls.usBtnActivateGear := SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG ) OR bDevelEnalbeGear), VC_HIDE_BITPOS);
StatusVCControls.usBtnDisableGear := SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG ) OR NOT bDevelEnalbeGear), VC_HIDE_BITPOS);
@@ -346,7 +358,7 @@ PROGRAM _CYCLIC
//Uncritical Movements
lAxisShaftMaster.Para.JogMode := enAxJOG_Limits;
lAxisShaftMaster.Para.rJogLimitLow := 0.0;
lAxisShaftMaster.Para.rJogLimitHigh := 600.0;
lAxisShaftMaster.Para.rJogLimitHigh := 2000.0;
lAxisShaft1.Move.bJogNeg := ManualCommands.bJogNegShaft1 AND MoveConditions.bEnableNegShaft1;
lAxisShaft1.Move.bJogPos := ManualCommands.bJogPosShaft1 AND MoveConditions.bEnablePosShaft1;
@@ -366,6 +378,11 @@ PROGRAM _CYCLIC
bDevelEnalbeGear := FALSE;
END_IF
IF ManualCommands.bReferencePressABS THEN
bHome :=TRUE;
ManualCommands.bReferencePressABS := FALSE;
END_IF
lAxisSlay1.Para.JogMode := enAxJOG_Limits;
lAxisSlay1.Para.rJogLimitLow := 5.0;
lAxisSlay1.Para.rJogLimitHigh := 1250.0;

View File

@@ -83,6 +83,7 @@ TYPE
usJogNegShaftMaster : USINT;
usJogPosShaftMaster : USINT;
usReferencePress : USINT; (*ReferencePress*)
usReferencePressABS : USINT; (*ReferencePress*)
usJogNegSlay1 : USINT;
usJogPosSlay1 : USINT;
usReferenceSlay1 : USINT; (*Reference Slay 1*)
@@ -113,6 +114,7 @@ TYPE
bJogNegShaftMaster : BOOL;
bJogPosShaftMaster : BOOL;
bReferencePress : BOOL; (*Reference Press*)
bReferencePressABS : BOOL; (*Reference Press*)
bActivateGear : BOOL;
bDisableGear : BOOL;
bJogNegSlay1 : BOOL;
@@ -134,6 +136,7 @@ TYPE
bEnableNegShaftMaster : BOOL;
bEnablePosShaftMaster : BOOL;
bEnableReferencePress : BOOL; (*Reference Press*)
bEnableReferencePressABS : BOOL; (*Reference Press*)
bEnableNegSlay1 : BOOL;
bEnablePosSlay1 : BOOL;
bEnableReferenceSlay1 : BOOL; (*Reference Slay 1*)

View File

@@ -80,7 +80,7 @@ END_VAR
(*----------------------------------------------------------------------------------------------------------------*)
VAR
gbST7ModuleOk : BOOL;
gbOuOpenPressBrake : BOOL; (*pneumatische Haltebremse*)
gbOuOpenPressBrake : BOOL; (*pneumatische Zusatzbremse l<>ften*)
END_VAR
(*----------------------------------------------------------------------------------------------------------------*)
(*IF1.ST8 - BT9400*)
@@ -94,10 +94,35 @@ END_VAR
VAR
gbST9ModuleOk : BOOL;
gbOuValveToolslay1Up : BOOL; (*Werkzeugschlitten 1 auf*)
gbOuValveToolslay2Up : BOOL; (*Werkzeugschlitten 2 auf*)
gbOuTool1Cyl1Bw : BOOL; (*Werkzeug 1 Zylinder 1 (V 2) Einfahren (GS)*)
gbOuTool1Cyl1Fw : BOOL; (*Werkzeug 1 Zylinder 1 (V 2) Ausfahren (AS)*)
gbOuTool1Cyl2Bw : BOOL; (*Werkzeug 1 Zylinder 2 (V 3) Einfahren (GS)*)
gbOuTool1Cyl2Fw : BOOL; (*Werkzeug 1 Zylinder 2 (V 3) Ausfahren (AS)*)
gbOuTool1Cyl3Bw : BOOL; (*Werkzeug 1 Zylinder 3 (V 4) Einfahren (GS)*)
gbOuTool1Cyl3Fw : BOOL; (*Werkzeug 1 Zylinder 3 (V 4) Ausfahren (AS)*)
gbOuTool1MaintCylBw : BOOL; (*Werkzeug 1 Wartungszylinder / Presspositon*)
gbOuTool1MaintCylFw : BOOL; (*Werkzeug 1 Wartungszylinder / Wartungsposition*)
END_VAR
(*----------------------------------------------------------------------------------------------------------------*)
(*IF1.ST10 - X76DI371*)
(*IF1.ST10 - X76DI371 (On Tool)*)
(*----------------------------------------------------------------------------------------------------------------*)
VAR
gbST10ModuleOk : BOOL;
gbInTool1Cyl1Fw : BOOL; (*Werkzeug 1 Zylinder 1 ist Ausgefahren (AS)*)
gbInTool1Cyl1Bw : BOOL; (*Werkzeug 1 Zylinder 1 ist Eingefahren (GS)*)
gbInTool1Cyl2Fw : BOOL; (*Werkzeug 1 Zylinder 2 ist Ausgefahren (AS)*)
gbInTool1Cyl2Bw : BOOL; (*Werkzeug 1 Zylinder 2 ist Eingefahren (GS)*)
gbInTool1Cyl3Fw : BOOL; (*Werkzeug 1 Zylinder 3 ist Ausgefahren (AS)*)
gbInTool1Cyl3Bw : BOOL; (*Werkzeug 1 Zylinder 3 ist Eingefahren (GS)*)
gbInToolAirsuspensionFw : BOOL; (*Werkzeug 1 Luftfeder ist Ausgefahren (AS)*)
gbInToolAirsuspensionBw : BOOL; (*Werkzeug 1 Luftfeder ist Eingefahren (AS)*)
gbInTool1MaintCylFw : BOOL; (*Werkzeug 1 Wartungszylinder ist Ausgefahren / Wartungsposition*)
gbInTool1MaintCylBw : BOOL; (*Werkzeug 1 Wartungszylinder ist Eingefahren / Presposition*)
gbInTool1MaintBracket1Home : BOOL; (*Werkzeug 1 Wartungssicherungsklotz ist Aufger<65>umt*)
gbInTool1MaintBracke21Home : BOOL; (*Werkzeug 1 Wartungssicherungsklotz ist Aufger<65>umt*)
gbInTool1PartAvailable : BOOL; (*Werkzeug 1 Teil ist eingelegt*)
gbInTool1Code1 : BOOL; (*Werkzeug 1 Codierung 1*)
gbInTool1Code2 : BOOL; (*Werkzeug 1 Codierung 2*)
gbInTool1Code3 : BOOL; (*Werkzeug 1 Codierung 3*)
END_VAR

View File

@@ -569,6 +569,24 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usReferencePressABS">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="USINT"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usJogNegSlay1">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="USINT"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
</Folder>
<Folder Name="MoveConditions">
<Property Name="Description" Value=""/>
@@ -883,6 +901,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="BOOL"/>
</DataPoint>
<DataPoint Name="bReferencePressABS">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="BOOL"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="BOOL"/>
</DataPoint>
</Folder>
<Folder Name="lAxisShaftMaster">
<Property Name="Description" Value=""/>

View File

@@ -60,6 +60,9 @@
<Text ID="97534" Value="Axis 4"/>
<Text ID="97535" Value="Speed"/>
<Text ID="97536" Value="MasterAxis"/>
<Text ID="97575" Value="Reference Press"/>
<Text ID="97577" Value="Toolslay 1\ Reference"/>
<Text ID="97579" Value="Press Restore"/>
</TextLayer>
<TextLayer LanguageId="de-DE">
<Text ID="96322" Value="GEAR ON"/>
@@ -71,6 +74,9 @@
<Text ID="97534" Value="Achse 4"/>
<Text ID="97535" Value="Geschwindigkeit"/>
<Text ID="97536" Value="MasterAchse"/>
<Text ID="97575" Value="Presse Ref.fahrt"/>
<Text ID="97577" Value="Wkg. 1\n Ref.fahrt"/>
<Text ID="97579" Value="Presse\nRef.laden"/>
</TextLayer>
<IndexMap>
<Index ID="96322" Value="32"/>
@@ -82,6 +88,9 @@
<Index ID="97534" Value="46"/>
<Index ID="97535" Value="47"/>
<Index ID="97536" Value="48"/>
<Index ID="97575" Value="40"/>
<Index ID="97577" Value="49"/>
<Index ID="97579" Value="51"/>
</IndexMap>
</TextGroup>
<Controls>
@@ -632,7 +641,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="680"/>
<Property Name="Left" Value="420"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.StatusVCControls.usJogPosShaftMaster]"/>
@@ -640,7 +649,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="320"/>
<Property Name="Top" Value="160"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManJogPosShaftMaster]"/>
<Property Name="Width" Value="56"/>
</Control>
@@ -657,7 +666,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="680"/>
<Property Name="Left" Value="420"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.StatusVCControls.usJogNegShaftMaster]"/>
@@ -665,16 +674,17 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="368"/>
<Property Name="Top" Value="208"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManJogNegShaftMaster]"/>
<Property Name="Width" Value="56"/>
</Control>
<Control ClassId="0x00001002" Name="btnActivateGear">
<Property Name="AlignmentHorizontal" Value="Right"/>
<Property Name="BitmapAlignmentHorizontal" Value="Center"/>
<Property Name="BitmapAlignmentVertical" Value="Bottom"/>
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_36]"/>
<Property Name="BitmapIndex" Value="26"/>
<Property Name="BitmapIndexDatapoint" Value="None"/>
<Property Name="BitmapSource" Value="None"/>
<Property Name="BitmapSimulationValue" Value="0"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
@@ -689,16 +699,17 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="164"/>
<Property Name="Top" Value="160"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManEnableGear]"/>
<Property Name="Width" Value="112"/>
</Control>
<Control ClassId="0x00001002" Name="btnDisableGear">
<Property Name="AlignmentHorizontal" Value="Right"/>
<Property Name="BitmapAlignmentHorizontal" Value="Center"/>
<Property Name="BitmapAlignmentVertical" Value="Bottom"/>
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_36]"/>
<Property Name="BitmapIndex" Value="25"/>
<Property Name="BitmapIndexDatapoint" Value="None"/>
<Property Name="BitmapSource" Value="None"/>
<Property Name="BitmapSimulationValue" Value="0"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
@@ -713,7 +724,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="216"/>
<Property Name="Top" Value="212"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManDisableGear]"/>
<Property Name="Width" Value="112"/>
</Control>
@@ -800,6 +811,7 @@
<Property Name="Left" Value="468"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.StatusVCControls.usJogNegSlay1]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
@@ -893,10 +905,8 @@
</Control>
<Control ClassId="0x00001002" Name="btnReference">
<Property Name="AlignmentHorizontal" Value="Right"/>
<Property Name="BitmapAlignmentHorizontal" Value="Center"/>
<Property Name="BitmapAlignmentVertical" Value="Bottom"/>
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_36]"/>
<Property Name="BitmapIndex" Value="23"/>
<Property Name="BitmapIndex" Value="24"/>
<Property Name="BitmapIndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.MoveConditions.bEnableReferencePress]"/>
<Property Name="BitmapSimulationValue" Value="0"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
@@ -904,17 +914,20 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="680"/>
<Property Name="Left" Value="668"/>
<Property Name="Multiline" Value="Automatic"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.StatusVCControls.usReferencePress]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndex" Value="40"/>
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="272"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="264"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManReferencePress]"/>
<Property Name="Width" Value="56"/>
<Property Name="Width" Value="112"/>
</Control>
<Control ClassId="0x00001007" Name="numPosShaftMaster">
<Property Name="BackColor" Value="252"/>
@@ -1128,10 +1141,8 @@
</Control>
<Control ClassId="0x00001002" Name="btnReferenceSlay1">
<Property Name="AlignmentHorizontal" Value="Right"/>
<Property Name="BitmapAlignmentHorizontal" Value="Center"/>
<Property Name="BitmapAlignmentVertical" Value="Bottom"/>
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_36]"/>
<Property Name="BitmapIndex" Value="23"/>
<Property Name="BitmapIndex" Value="24"/>
<Property Name="BitmapIndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.MoveConditions.bEnableReferenceSlay1]"/>
<Property Name="BitmapSimulationValue" Value="0"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
@@ -1139,17 +1150,20 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="528"/>
<Property Name="Left" Value="668"/>
<Property Name="Multiline" Value="Manual"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.StatusVCControls.usReferenceSlay1]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndex" Value="49"/>
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="368"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="364"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManReferenceSlay1]"/>
<Property Name="Width" Value="56"/>
<Property Name="Width" Value="112"/>
</Control>
<Control ClassId="0x00001005" Name="bmpHominStateSlay1">
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_24]"/>
@@ -1166,6 +1180,32 @@
<Property Name="Top" Value="348"/>
<Property Name="Width" Value="24"/>
</Control>
<Control ClassId="0x00001002" Name="btnReferenceABS">
<Property Name="AlignmentHorizontal" Value="Right"/>
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_36]"/>
<Property Name="BitmapIndex" Value="24"/>
<Property Name="BitmapIndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.MoveConditions.bEnableReferencePress]"/>
<Property Name="BitmapSimulationValue" Value="0"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="668"/>
<Property Name="Multiline" Value="Manual"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.StatusVCControls.usReferencePressABS]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndex" Value="51"/>
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="316"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManReferencePressABS]"/>
<Property Name="Width" Value="112"/>
</Control>
</Controls>
<KeyMapping>
<VirtualKey Name="MachSwitchOn">
@@ -1518,6 +1558,21 @@
</KeyAction>
</KeyActions>
</VirtualKey>
<VirtualKey Name="ManReferencePressABS">
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
<KeyActions>
<KeyAction ClassId="0x00000161">
<Property Name="CompletionDatapoint" Value="None"/>
<Property Name="CompletionValue" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Locking" Value="Never"/>
<Property Name="Name" Value="Action_0"/>
<Property Name="SetValue" Value="1"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.ManualCommands.bReferencePressABS]"/>
</KeyAction>
</KeyActions>
</VirtualKey>
</KeyMapping>
</Layer>
<Layer Name="Default">

View File

@@ -1727,4 +1727,8 @@
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
</VirtualKey>
<VirtualKey Name="ManReferencePressABS">
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
</VirtualKey>
</KeyMapping>

View File

@@ -44,4 +44,29 @@ VAR_CONFIG
gbST8ModuleOk AT %IX.SL1.IF1.ST5.IF1.ST8.ModuleOk;
gbST9ModuleOk AT %IX.SL1.IF1.ST5.IF1.ST9.ModuleOk;
gbST10ModuleOk AT %IX.SL1.IF1.ST5.IF1.ST10.ModuleOk;
gbOuTool1Cyl1Fw AT %QX.SL1.IF1.ST5.IF1.ST9.DigitalOutput03;
gbOuTool1Cyl1Bw AT %QX.SL1.IF1.ST5.IF1.ST9.DigitalOutput04;
gbOuTool1Cyl2Fw AT %QX.SL1.IF1.ST5.IF1.ST9.DigitalOutput05;
gbOuTool1Cyl2Bw AT %QX.SL1.IF1.ST5.IF1.ST9.DigitalOutput06;
gbOuTool1Cyl3Fw AT %QX.SL1.IF1.ST5.IF1.ST9.DigitalOutput07;
gbOuTool1Cyl3Bw AT %QX.SL1.IF1.ST5.IF1.ST9.DigitalOutput08;
gbOuTool1MaintCylFw AT %QX.SL1.IF1.ST5.IF1.ST9.DigitalOutput09;
gbOuValveToolslay2Up AT %QX.SL1.IF1.ST5.IF1.ST9.DigitalOutput02;
gbOuTool1MaintCylBw AT %QX.SL1.IF1.ST5.IF1.ST9.DigitalOutput10;
gbInTool1Cyl1Fw AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput01;
gbInTool1Cyl1Bw AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput02;
gbInTool1Cyl2Fw AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput03;
gbInTool1Cyl2Bw AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput04;
gbInTool1Cyl3Fw AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput05;
gbInTool1Cyl3Bw AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput06;
gbInToolAirsuspensionFw AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput07;
gbInToolAirsuspensionBw AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput08;
gbInTool1MaintCylFw AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput09;
gbInTool1MaintCylBw AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput10;
gbInTool1MaintBracket1Home AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput11;
gbInTool1MaintBracke21Home AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput12;
gbInTool1PartAvailable AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput13;
gbInTool1Code1 AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput14;
gbInTool1Code2 AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput15;
gbInTool1Code3 AT %IX.SL1.IF1.ST5.IF1.ST10.DigitalInput16;
END_VAR