Lots of Changes

Logging …..
This commit is contained in:
Michael Rest
2013-02-03 14:12:35 +01:00
parent a81636b849
commit 415015fb1c
47 changed files with 2696 additions and 614 deletions

View File

@@ -1,14 +1,22 @@
TYPE
typ_PressParam : STRUCT (*Positionen f<>r Presse (Werkzeugabh<62>ngig)*)
rPosHome : REAL := 1000.0; (*Grundstellung f<>r Ein/Ausfahren*)
rPosPremount : REAL := 1470.0; (*VormontagePos [0.1 mm]*)
rPosPress : REAL := 1590.0; (*Pressposition [0.1 mm]*)
rPosHome : REAL := 200.0; (*Grundstellung f<>r Ein/Ausfahren*)
rPosHomeMin : REAL := 200.0; (*Min Pos f<>r GST (Level 4)*)
rPosHomeMax : REAL := 250.0; (*Max Pos f<>r GST (Level 4)*)
rPosPremount : REAL := 1000.0; (*VormontagePos [0.1 mm]*)
rPosPremountMin : REAL := 1000.0; (*Min VormontagePos [0.1 mm] (Level 4)*)
rPosPremountMax : REAL := 1050.0; (*Max VormontagePos [0.1 mm] (Level 4)*)
rPosPress : REAL := 1500.0; (*Pressposition [0.1 mm]*)
rPosPressMin : REAL := 1500.0; (*Min Pressposition [0.1 mm] (Level 4)*)
rPosPressMax : REAL := 1500.0; (*Max Pressposition [0.1 mm] (Level 4)*)
rPosPressToolslay : REAL := 1250.0; (*Pressposition Werkzeugschlitten [mm]*)
rPosMin : REAL := 0.0; (*Minimalpositon [0.1 mm]*)
rPosMax : REAL := 1625.0; (*Maximalposition (SW-Limit 1650)*)
rPosPressToolslayMin : REAL := 1250.0; (*Min Pressposition Werkzeugschlitten [mm] (Level 4)*)
rPosPressToolslayMax : REAL := 1250.0; (*Max Pressposition Werkzeugschlitten [mm] (Level 4)*)
rSpeedPress : REAL := 80.0; (*Pressgeschwindigkeit [0.1 mm/s]*)
rSpeedPressMax : REAL := 150.0; (*max Pressgeschwindigkeit [0.1 mm/s] (Level 5)*)
udPresstime : UDINT := 500; (*Presszeit [ms]*)
udIDIOBlock : UDINT := 0; (*ID des IO Blocks*)
END_STRUCT;
typ_enStepTool1 :
( (*Werkzeug 1 Schritte*)

View File

@@ -8,6 +8,7 @@ VAR
genStepTool1Home : typ_enStepTool1Home; (*Schritte Werkzeug 1*)
genStepTool2Home : typ_enStepTool2Home; (*Schritte Werkzeug 2*)
gusCurrentTool : USINT; (*Eingebautes Werkzeug*)
gusVCCStatusTool : ARRAY[0..5] OF USINT;
END_VAR
(*Permanent*)
VAR RETAIN
@@ -15,4 +16,5 @@ VAR RETAIN
gudPartCountShift : UDINT; (*Schichtz<74>hler*)
gudPartCountOverall : UDINT; (*Gesamtz<74>hler*)
gPressParamTools : ARRAY[0..5] OF typ_PressParam; (*Werkzeug abh<62>ngige Positionen*)
grPressSpeedEmpty : REAL := 2000.0; (*Presse Leergeschwindigkeit [0.1mm/s]*)
END_VAR

View File

@@ -7,6 +7,8 @@
<Object Type="File" Description="Package variables">GlobalAxis.var</Object>
<Object Type="File" Description="Package variables">GlobalTool.var</Object>
<Object Type="Program" Language="IEC" Description="Controller">PressCtrl</Object>
<Object Type="Program" Language="IEC" Description="Werkzeugselektor">ToolCtrl</Object>
<Object Type="Program" Language="IEC" Description="Toolparameter">ToolParam</Object>
<Object Type="Program" Language="IEC" Description="Werkzeug 1">Tool1</Object>
<Object Type="Program" Language="IEC" Description="Werkzeug 2">Tool2</Object>
<Object Type="Program" Language="IEC" Description="Shift/Overallcounter">PartCount</Object>
@@ -21,6 +23,5 @@
<Object Type="Package">Init</Object>
<Object Type="Package">ACPPar</Object>
<Object Type="DataObject" Language="Ett">acp10etxde</Object>
<Object Type="Program" Language="IEC" Description="Werkzeugselektor">ToolCtrl</Object>
</Objects>
</Package>

View File

@@ -4,11 +4,12 @@ PROGRAM _CYCLIC
bSafetyOk := gUE410_MU_MQD.bX3 AND gUE410_MU_MQD.bX4;
bSafetyOkFP := EDGEPOS (bSafetyOk);
lPressParamActTool ACCESS ADR (gPressParamTools[gusSelectedTool]);
IF EDGEPOS (bBlink0_1) THEN
udSteptime := udSteptime + 100;
udCycletime := udCycletime + 100;
END_IF
lAxisShaft2.Para.rGearMasterSyncPos := lAxisShaft1.Para.rGearMasterSyncPos;
lAxisShaft2.Para.rGearSlaveSyncPos := lAxisShaft1.Para.rGearSlaveSyncPos;
lAxisShaft2.Para.rGearMasterStartDistance := lAxisShaft1.Para.rGearMasterStartDistance;
@@ -36,7 +37,17 @@ PROGRAM _CYCLIC
lAxisShaft3.Para.rDeceleration := lAxisShaft1.Para.rDeceleration;
lAxisShaft4.Para.rAcceleration := lAxisShaft1.Para.rAcceleration;
lAxisShaft4.Para.rDeceleration := lAxisShaft1.Para.rDeceleration;
//Parameter
IF (gMachine.enMode = enMACH_AUTOMATIC) THEN
lAxisSlay1.Para.rAcceleration := rSlayAccAuto; // [mm/s^2]
lAxisSlay1.Para.rDeceleration := rSlayDecAuto; // [mm/s^2]
ELSE
lAxisSlay1.Para.rAcceleration := rSlayAccDecManRef; // [mm/s^2]
lAxisSlay1.Para.rDeceleration := rSlayAccDecManRef; // [mm/s^2]
END_IF
//Set Override
IF (rOverrideVelocity < 1) THEN
rOverrideVelocity := 1;
@@ -159,8 +170,8 @@ PROGRAM _CYCLIC
bNotLevel := (rPosDiffShaft1_2 > 10) OR (rPosDiffShaft1_3 > 10) OR (rPosDiffShaft3_4 > 10) OR (rPosDiffShaft2_4 > 10);
bToolIsHomed := ((gusCurrentTool = 0) AND (gusSelectedTool = 0)) OR
(gbTool1Homepos AND (gusCurrentTool = 1) AND (gusSelectedTool = 1)) OR
(gbTool2Homepos AND (gusCurrentTool = 2) AND (gusSelectedTool = 2));
(gbTool1Homepos AND (gusCurrentTool = 1) AND (gusSelectedTool = 1) AND (genStepTool1 = enTool1Step_WAIT_START_MOUNT)) OR
(gbTool2Homepos AND (gusCurrentTool = 2) AND (gusSelectedTool = 2) AND (genStepTool2 = enTool2Step_WAIT_START_MOUNT));
bPressIsInHomepos := ((lAxisShaftMaster.rActPosition = lPressParamActTool.rPosHome) AND bAllAxisesInSync);
// lAxisShaft1.DriveStatus.bTrigger1;
@@ -189,23 +200,26 @@ PROGRAM _CYCLIC
//Move Conditions
MoveConditions.bEnableNegShaft1 := (lAxisShaft1.rActPosition > rPressPosMin) OR gMachine.bSetupMode;
MoveConditions.bEnablePosShaft1 := (lAxisShaft1.rActPosition < rPressPosMax) OR gMachine.bSetupMode;
MoveConditions.bEnableNegShaft2 := (lAxisShaft2.rActPosition > rPressPosMin) OR gMachine.bSetupMode;
MoveConditions.bEnablePosShaft2 := (lAxisShaft2.rActPosition < rPressPosMax) OR gMachine.bSetupMode;
MoveConditions.bEnableNegShaft3 := (lAxisShaft3.rActPosition > rPressPosMin) OR gMachine.bSetupMode;
MoveConditions.bEnablePosShaft3 := (lAxisShaft3.rActPosition < rPressPosMax) OR gMachine.bSetupMode;
MoveConditions.bEnableNegShaft4 := (lAxisShaft4.rActPosition > rPressPosMin) OR gMachine.bSetupMode;
MoveConditions.bEnablePosShaft4 := (lAxisShaft4.rActPosition < rPressPosMax) OR gMachine.bSetupMode;
MoveConditions.bEnableNegShaft1 := (genAccessLevel >= enACCESSLEVEL_4) AND ((lAxisShaft1.rActPosition > rPressPosMin) OR gMachine.bSetupMode);
MoveConditions.bEnablePosShaft1 := (genAccessLevel >= enACCESSLEVEL_4) AND ((lAxisShaft1.rActPosition < rPressPosMax) OR gMachine.bSetupMode);
MoveConditions.bEnableNegShaft2 := (genAccessLevel >= enACCESSLEVEL_4) AND ((lAxisShaft2.rActPosition > rPressPosMin) OR gMachine.bSetupMode);
MoveConditions.bEnablePosShaft2 := (genAccessLevel >= enACCESSLEVEL_4) AND ((lAxisShaft2.rActPosition < rPressPosMax) OR gMachine.bSetupMode);
MoveConditions.bEnableNegShaft3 := (genAccessLevel >= enACCESSLEVEL_4) AND ((lAxisShaft3.rActPosition > rPressPosMin) OR gMachine.bSetupMode);
MoveConditions.bEnablePosShaft3 := (genAccessLevel >= enACCESSLEVEL_4) AND ((lAxisShaft3.rActPosition < rPressPosMax) OR gMachine.bSetupMode);
MoveConditions.bEnableNegShaft4 := (genAccessLevel >= enACCESSLEVEL_4) AND ((lAxisShaft4.rActPosition > rPressPosMin) OR gMachine.bSetupMode);
MoveConditions.bEnablePosShaft4 := (genAccessLevel >= enACCESSLEVEL_4) AND ((lAxisShaft4.rActPosition < rPressPosMax) OR gMachine.bSetupMode);
MoveConditions.bEnableNegShaftMaster := (gMachine.bSetupMode OR (lAxisShaftMaster.rActPosition > rPressPosMin)) AND bAllAxisesInSync AND gPS.DriveStatus.bTrigger1;
MoveConditions.bEnableReferencePress := bAllAxisesInSync AND gPS.DriveStatus.bTrigger1;
MoveConditions.bEnableReferencePressABS := bAllAxisesSingle AND bAllAxisesControllerRdy;
MoveConditions.bEnableReferencePress := (genAccessLevel >= enACCESSLEVEL_4) AND bAllAxisesInSync AND gPS.DriveStatus.bTrigger1;
//Load Referencepos
MoveConditions.bEnableReferencePressABS := (genAccessLevel >= enACCESSLEVEL_3) AND bAllAxisesSingle AND bAllAxisesControllerRdy;
MoveConditions.bEnablePosShaftMaster := (gMachine.bSetupMode OR (lAxisShaftMaster.rActPosition < rPressPosMax)) AND bAllAxisesInSync AND gPS.DriveStatus.bTrigger2 AND
(gMachine.bSetupMode OR bToolslayIsOut OR (bToolslay1IsDown AND bToolslayIsIn));
MoveConditions.bEnableJogHomeShaftMaster :=(gMachine.bSetupMode) AND bAllAxisesInSync AND NOT bPressIsInHomepos;
MoveConditions.bEnableJogHomeShaftMaster :=(gMachine.bSetupMode OR (bToolslayIsIn AND bToolslay1IsDown) OR bToolslayIsOut) AND bAllAxisesInSync AND NOT bPressIsInHomepos;
MoveConditions.bEnableToolslay1Up := bPressIsInHomepos OR gMachine.bSetupMode;
MoveConditions.bEnableToolslay1Down := bToolslayIsIn OR bToolslayIsOut; //Slay Home or in Workpos
MoveConditions.bEnableToolslay1UpMaint := bToolslayIsOut AND (genAccessLevel >= enACCESSLEVEL_3) AND (gMachine.enMode = enMACH_JOG);
MoveConditions.bEnableToolslay1DownMaint := gbInTool1MaintBracket1Home AND gbInTool1MaintBracket1Home AND (genAccessLevel >= enACCESSLEVEL_3) AND (gMachine.enMode = enMACH_JOG); //FixMe Maint. Sticks Home
MoveConditions.bEnableNegSlay1 := (gMachine.bSetupMode OR bPressIsInHomepos) AND bToolslay1IsUp;
MoveConditions.bEnablePosSlay1 := (gMachine.bSetupMode OR bPressIsInHomepos) AND bToolslay1IsUp;
MoveConditions.bEnableReferenceSlay1 := (gMachine.bSetupMode OR bPressIsInHomepos) AND bToolslay1IsUp;
@@ -229,23 +243,24 @@ PROGRAM _CYCLIC
StatusVCControls.usJogPosShaft4 := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnablePosShaft4), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG) OR bDevelEnalbeGear OR (genAccessLevel < enACCESSLEVEL_4)), VC_HIDE_BITPOS);
StatusVCControls.usJogNegShaftMaster := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableNegShaftMaster OR NOT bAllAxisesInSync), VC_LOCK_BITPOS) +
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);
SHL (BOOL_TO_USINT (gMachine.enMode <> enMACH_JOG) OR NOT bDevelEnalbeGear, VC_HIDE_BITPOS);
StatusVCControls.usJogPosShaftMaster := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnablePosShaftMaster OR NOT bAllAxisesInSync), VC_LOCK_BITPOS) +
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);
SHL (BOOL_TO_USINT (gMachine.enMode <> enMACH_JOG) OR NOT bDevelEnalbeGear, VC_HIDE_BITPOS);
StatusVCControls.usJogHomeShaftMaster := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableJogHomeShaftMaster OR NOT bAllAxisesInSync), VC_LOCK_BITPOS) +
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.usReferencePress := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableReferencePress), VC_LOCK_BITPOS) +
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);
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG) OR (genAccessLevel < enACCESSLEVEL_4) OR NOT bDevelEnalbeGear ) , VC_HIDE_BITPOS);
StatusVCControls.usReferencePressABS := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableReferencePressABS), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT (gMachine.enMode <> enMACH_JOG) , VC_HIDE_BITPOS);
StatusVCControls.usToolslay1Up := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableToolslay1Up), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG) OR bToolslay1IsUp), VC_HIDE_BITPOS);
StatusVCControls.usToolslay1Down := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableToolslay1Down), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG) OR bToolslay1IsDown), VC_HIDE_BITPOS);
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG) OR bToolslay1IsDown), VC_HIDE_BITPOS);
//Maintenance Position Tool
StatusVCControls.usToolslay1UpMaint := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableToolslay1UpMaint), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG) OR (genAccessLevel < enACCESSLEVEL_3) OR gbInTool1MaintCylFw), VC_HIDE_BITPOS);
StatusVCControls.usToolslay1DownMaint := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableToolslay1Down), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG) OR (genAccessLevel < enACCESSLEVEL_3) OR gbInTool1MaintCylBw), 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) +
@@ -299,14 +314,6 @@ PROGRAM _CYCLIC
ADR (grAxisABSOffShaft[4]),
rHOMEPOS,
ADR (enStepHomeShaft4));
TON_SetABSOffset.IN := ManualCommands.bAdjustHomeShaft1 OR
ManualCommands.bAdjustHomeShaft2 OR
ManualCommands.bAdjustHomeShaft3 OR
ManualCommands.bAdjustHomeShaft4;
TON_SetABSOffset.PT := t#3s;
TON_SetABSOffset ();
IF (gMachine.enMode <> enMACH_HOMEPOS) THEN
enStepPressHoming := 0;
@@ -322,6 +329,16 @@ PROGRAM _CYCLIC
lAxisShaftMaster.Move.bAbsolute := FALSE;
lAxisSlay1.Move.bAbsolute := FALSE;
IF NOT bDevelEnalbeGear THEN
lAxisShaftMaster.Para.rJogVelocity := 1; // [0.1mm/s]
ELSE
lAxisShaftMaster.Para.rJogVelocity := 100; // [0.1mm/s]
END_IF
lAxisShaft1.Para.rJogVelocity := lAxisShaftMaster.Para.rJogVelocity;
lAxisShaft2.Para.rJogVelocity := lAxisShaft1.Para.rJogVelocity;
lAxisShaft3.Para.rJogVelocity := lAxisShaft1.Para.rJogVelocity;
lAxisShaft4.Para.rJogVelocity := lAxisShaft1.Para.rJogVelocity;
//Uncritical Movements
IF ManualCommands.bJogHomeShaftMaster THEN
lAxisShaftMaster.Para.JogMode := enAxJOG_Limits;
@@ -339,14 +356,14 @@ PROGRAM _CYCLIC
lAxisShaftMaster.Para.rJogLimitLow := rPressPosMin;
lAxisShaftMaster.Para.rJogLimitHigh := rPressPosMax;
END_IF
lAxisShaft1.Move.bJogNeg := ManualCommands.bJogNegShaft1 AND MoveConditions.bEnableNegShaft1;
lAxisShaft1.Move.bJogPos := ManualCommands.bJogPosShaft1 AND MoveConditions.bEnablePosShaft1;
lAxisShaft2.Move.bJogNeg := ManualCommands.bJogNegShaft2 AND MoveConditions.bEnableNegShaft2;
lAxisShaft2.Move.bJogPos := ManualCommands.bJogPosShaft2 AND MoveConditions.bEnablePosShaft2;
lAxisShaft3.Move.bJogNeg := ManualCommands.bJogNegShaft3 AND MoveConditions.bEnableNegShaft3;
lAxisShaft3.Move.bJogPos := ManualCommands.bJogPosShaft3 AND MoveConditions.bEnablePosShaft3;
lAxisShaft4.Move.bJogNeg := ManualCommands.bJogNegShaft4 AND MoveConditions.bEnableNegShaft4;
lAxisShaft4.Move.bJogPos := ManualCommands.bJogPosShaft4 AND MoveConditions.bEnablePosShaft4;
lAxisShaft1.Move.bJogNeg := ManualCommands.bJogNegShaft1 AND MoveConditions.bEnableNegShaft1 AND (genAccessLevel >= enACCESSLEVEL_4);
lAxisShaft1.Move.bJogPos := ManualCommands.bJogPosShaft1 AND MoveConditions.bEnablePosShaft1 AND (genAccessLevel >= enACCESSLEVEL_4);
lAxisShaft2.Move.bJogNeg := ManualCommands.bJogNegShaft2 AND MoveConditions.bEnableNegShaft2 AND (genAccessLevel >= enACCESSLEVEL_4);
lAxisShaft2.Move.bJogPos := ManualCommands.bJogPosShaft2 AND MoveConditions.bEnablePosShaft2 AND (genAccessLevel >= enACCESSLEVEL_4);
lAxisShaft3.Move.bJogNeg := ManualCommands.bJogNegShaft3 AND MoveConditions.bEnableNegShaft3 AND (genAccessLevel >= enACCESSLEVEL_4);
lAxisShaft3.Move.bJogPos := ManualCommands.bJogPosShaft3 AND MoveConditions.bEnablePosShaft3 AND (genAccessLevel >= enACCESSLEVEL_4);
lAxisShaft4.Move.bJogNeg := ManualCommands.bJogNegShaft4 AND MoveConditions.bEnableNegShaft4 AND (genAccessLevel >= enACCESSLEVEL_4);
lAxisShaft4.Move.bJogPos := ManualCommands.bJogPosShaft4 AND MoveConditions.bEnablePosShaft4 AND (genAccessLevel >= enACCESSLEVEL_4);
lAxisShaftMaster.Move.bJogNeg := (((ManualCommands.bReferencePress AND NOT lAxisShaft1.DriveStatus.bTrigger1) OR
ManualCommands.bJogNegShaftMaster) AND MoveConditions.bEnableNegShaftMaster) OR
(ManualCommands.bJogHomeShaftMaster AND (lAxisShaftMaster.rActPosition > lPressParamActTool.rPosHome));
@@ -364,11 +381,23 @@ PROGRAM _CYCLIC
ManualCommands.bReferencePressABS := FALSE;
END_IF
//Toolslay 1
IF ManualCommands.bToolslay1Up AND MoveConditions.bEnableToolslay1Up THEN
bToolslay1Up := TRUE;
ELSIF ManualCommands.bToolslay1Down AND MoveConditions.bEnableToolslay1Down THEN
bToolslay1Up := FALSE;
END_IF
//Maint
IF (genAccessLevel >= enACCESSLEVEL_3) THEN
IF ManualCommands.bToolslay1UpMaint THEN
gbOuTool1MaintCylFw := TRUE;
gbOuTool1MaintCylBw := FALSE;
END_IF
IF ManualCommands.bToolslay1DownMaint AND gbInTool1MaintBracket1Home AND gbInTool1MaintBracket2Home THEN
gbOuTool1MaintCylFw := FALSE;
gbOuTool1MaintCylBw := TRUE;
END_IF
END_IF
//Uncritical Movements
IF gMachine.bSetupMode THEN
@@ -416,21 +445,6 @@ PROGRAM _CYCLIC
bReferenedShaft4 := FALSE;
END_IF
END_IF
IF 1 = 1 AND (genAccessLevel = enACCESSLEVEL_3) THEN
IF ManualCommands.bAdjustHomeShaft1 AND EDGEPOS (TON_SetABSOffset.Q) THEN
enStepHomeShaft1 := enHomeOffset0;
END_IF
IF ManualCommands.bAdjustHomeShaft2 AND EDGEPOS (TON_SetABSOffset.Q) THEN
enStepHomeShaft2 := enHomeOffset0;
END_IF
IF ManualCommands.bAdjustHomeShaft3 AND EDGEPOS (TON_SetABSOffset.Q) THEN
enStepHomeShaft3 := enHomeOffset0;
END_IF
IF ManualCommands.bAdjustHomeShaft4 AND EDGEPOS (TON_SetABSOffset.Q) THEN
enStepHomeShaft4 := enHomeOffset0;
END_IF
END_IF
//Homing Mode
//==========================================================================================
@@ -621,15 +635,17 @@ PROGRAM _CYCLIC
//Init
//---------------------------
enPressStep_INIT:
IF NOT gMachine.bRequestHoming AND bMachineIsInHomepos AND bToolIsHomed AND bEnableNextStep THEN
bTransitionCondition := FALSE;
IF NOT gMachine.bRequestHoming AND bMachineIsInHomepos AND bToolIsHomed THEN
enStepPress := enPressStep_WAIT_START;
END_IF
//Wait for Start (With part)
//---------------------------
enPressStep_WAIT_START:
udCycletime := 0;
IF bSafetyOkFP OR (EDGEPOS (gbInResetKeyTool1) OR ((gMachine.enMode = enMACH_MANUAL) AND bEnableNextStep) AND bSafetyOk) THEN
udCycletime := 0;
bTransitionCondition := (EDGEPOS (gbInResetKeyTool1) OR (gMachine.enMode = enMACH_MANUAL)) AND bSafetyOk ;
IF bSafetyOkFP OR (bTransitionCondition AND bEnableNextStep) THEN
enStepPress := enPressStep_TOOL_UP1;
END_IF
@@ -637,7 +653,8 @@ PROGRAM _CYCLIC
//---------------------------
enPressStep_TOOL_UP1:
bToolslay1Up := TRUE;
IF bToolslay1IsUp AND bEnableNextStep THEN
bTransitionCondition := bToolslay1IsUp;
IF bTransitionCondition AND bEnableNextStep THEN
enStepPress := enPressStep_TOOL_IN;
END_IF
@@ -646,6 +663,7 @@ PROGRAM _CYCLIC
enPressStep_TOOL_IN:
lAxisSlay1.Para.rVelocity := rSpeedSlay1; // [mm/s]
lAxisSlay1.Para.rPosition := lPressParamActTool.rPosPressToolslay;
bTransitionCondition := FALSE;
IF MoveConditions.bEnablePosSlay1 THEN
lAxisSlay1.Move.bAbsolute := TRUE;
enStepPress := enPressStep_TOOL_IN_WAIT;
@@ -654,7 +672,8 @@ PROGRAM _CYCLIC
//Lift Toolslay 1 IN (WAIT)
//---------------------------
enPressStep_TOOL_IN_WAIT:
IF bToolslayIsIn AND lAxisSlay1.Status.bStandstill AND bEnableNextStep THEN
bTransitionCondition := bToolslayIsIn AND lAxisSlay1.Status.bStandstill;
IF bTransitionCondition AND bEnableNextStep THEN
enStepPress := enPressStep_TOOL_DOWN1;
lAxisSlay1.Move.bAbsolute := 0;
END_IF
@@ -663,7 +682,8 @@ PROGRAM _CYCLIC
//---------------------------
enPressStep_TOOL_DOWN1:
bToolslay1Up := FALSE;
IF bToolslay1IsDown AND bEnableNextStep THEN
bTransitionCondition := bToolslay1IsDown;
IF bTransitionCondition AND bEnableNextStep THEN
enStepPress := enPressStep_PRESS_MOUNTPOS;
END_IF
@@ -671,7 +691,8 @@ PROGRAM _CYCLIC
//---------------------------
enPressStep_PRESS_MOUNTPOS:
lAxisShaftMaster.Para.rPosition := lPressParamActTool.rPosPremount;
lAxisShaftMaster.Para.rVelocity := rPressSpeedEmpty;
lAxisShaftMaster.Para.rVelocity := grPressSpeedEmpty;
bTransitionCondition := FALSE;
IF MoveConditions.bEnablePosShaftMaster THEN
lAxisShaftMaster.Move.bAbsolute :=TRUE;
enStepPress := enPressStep_PRESS_MOUNTPOS_WAIT;
@@ -685,7 +706,8 @@ PROGRAM _CYCLIC
lAxisShaftMaster.Move.bAbsolute := FALSE;
gMachine.bRequestHoming := TRUE;
END_IF
IF bPressIsInMountpos AND lAxisShaftMaster.Status.bStandstill THEN
bTransitionCondition := bPressIsInMountpos AND lAxisShaftMaster.Status.bStandstill;
IF bTransitionCondition AND bEnableNextStep THEN
enStepPress := enPressStep_TOOL_MOUNT;
lAxisShaftMaster.Move.bAbsolute := 0;
END_IF
@@ -694,19 +716,24 @@ PROGRAM _CYCLIC
//---------------------------
enPressStep_TOOL_MOUNT:
IF (gusCurrentTool = 0) AND (gusSelectedTool = 0) THEN
enStepPress := enPressStep_PRESS_HOMEPOS;
bTransitionCondition := TRUE;
IF bTransitionCondition AND bEnableNextStep THEN
enStepPress := enPressStep_PRESS_HOMEPOS;
END_IF
ELSIF (gusCurrentTool = 1) AND (gusSelectedTool = 1) THEN
IF (genStepTool1 = enTool1Step_WAIT_START_MOUNT) THEN
genStepTool1 := enTool1Step_START_MOUNT;
END_IF
IF (genStepTool1 = enTool1Step_WAIT_START_HOME) AND bEnableNextStep THEN
bTransitionCondition := (genStepTool1 = enTool1Step_WAIT_START_HOME);
IF bTransitionCondition AND bEnableNextStep THEN
enStepPress := enPressStep_PRESS_PRESSPOS;
END_IF
ELSIF (gusCurrentTool = 2) AND (gusSelectedTool = 2) THEN
IF (genStepTool2 = enTool2Step_WAIT_START_MOUNT) THEN
genStepTool2 := enTool2Step_START_MOUNT;
END_IF
IF (genStepTool2 = enTool2Step_WAIT_START_HOME) AND bEnableNextStep THEN
bTransitionCondition := (genStepTool2 = enTool2Step_WAIT_START_HOME);
IF bTransitionCondition AND bEnableNextStep THEN
enStepPress := enPressStep_PRESS_PRESSPOS;
END_IF
END_IF
@@ -716,7 +743,8 @@ PROGRAM _CYCLIC
enPressStep_PRESS_PRESSPOS:
lAxisShaftMaster.Para.rPosition := lPressParamActTool.rPosPress;
lAxisShaftMaster.Para.rVelocity := lPressParamActTool.rSpeedPress;
IF MoveConditions.bEnablePosShaftMaster THEN
bTransitionCondition := MoveConditions.bEnablePosShaftMaster;
IF bTransitionCondition AND bEnableNextStep THEN
lAxisShaftMaster.Move.bAbsolute := TRUE;
enStepPress := enPressStep_PRESS_PRESSPOS_WAIT;
END_IF
@@ -728,7 +756,7 @@ PROGRAM _CYCLIC
bStop := TRUE;
lAxisShaftMaster.Move.bAbsolute := FALSE;
gMachine.bRequestHoming := TRUE;
END_IF
END_IF
IF bPressIsInPresspos AND lAxisShaftMaster.Status.bStandstill THEN
enStepPress := enPressStep_WAIT_PRESSED;
lAxisShaftMaster.Move.bAbsolute := 0;
@@ -738,6 +766,7 @@ PROGRAM _CYCLIC
//Wait Pressed
//---------------------------
enPressStep_WAIT_PRESSED:
bTransitionCondition := FALSE;
IF udSteptime > lPressParamActTool.udPresstime THEN
enStepPress := enPressStep_PRESS_HOMEPOS;
END_IF
@@ -746,8 +775,9 @@ PROGRAM _CYCLIC
//---------------------------
enPressStep_PRESS_HOMEPOS:
lAxisShaftMaster.Para.rPosition := lPressParamActTool.rPosHome;
lAxisShaftMaster.Para.rVelocity := rPressSpeedEmpty;
IF MoveConditions.bEnableNegShaftMaster AND bEnableNextStep THEN
lAxisShaftMaster.Para.rVelocity := grPressSpeedEmpty;
bTransitionCondition := MoveConditions.bEnableNegShaftMaster;
IF bTransitionCondition AND bEnableNextStep THEN
lAxisShaftMaster.Move.bAbsolute :=TRUE;
enStepPress := enPressStep_PRESS_HOMEPOS_WAIT;
END_IF
@@ -759,8 +789,9 @@ PROGRAM _CYCLIC
bStop := TRUE;
lAxisShaftMaster.Move.bAbsolute := FALSE;
gMachine.bRequestHoming := TRUE;
END_IF
IF bPressIsInHomepos AND lAxisShaftMaster.Status.bStandstill THEN
END_IF
bTransitionCondition := bPressIsInHomepos AND lAxisShaftMaster.Status.bStandstill;
IF bTransitionCondition AND bEnableNextStep THEN
enStepPress := enPressStep_TOOL_UP2;
lAxisShaftMaster.Move.bAbsolute := 0;
END_IF
@@ -769,7 +800,8 @@ PROGRAM _CYCLIC
//---------------------------
enPressStep_TOOL_UP2:
bToolslay1Up := TRUE;
IF bToolslay1IsUp AND bEnableNextStep THEN
bTransitionCondition := FALSE;
IF bToolslay1IsUp THEN
enStepPress := enPressStep_TOOL_OUT;
END_IF
@@ -778,7 +810,8 @@ PROGRAM _CYCLIC
enPressStep_TOOL_OUT:
lAxisSlay1.Para.rVelocity := rSpeedSlay1; // [mm/s]
lAxisSlay1.Para.rPosition := rToolSlayPosOut;
IF MoveConditions.bEnableNegSlay1 AND bEnableNextStep THEN
bTransitionCondition := MoveConditions.bEnableNegSlay1;
IF bTransitionCondition AND bEnableNextStep THEN
lAxisSlay1.Move.bAbsolute := 1;
enStepPress := enPressStep_TOOL_OUT_WAIT;
END_IF
@@ -786,7 +819,8 @@ PROGRAM _CYCLIC
//Lift Toolslay 1 OUT
//---------------------------
enPressStep_TOOL_OUT_WAIT:
IF bToolslayIsOut AND lAxisSlay1.Status.bStandstill AND bEnableNextStep THEN
bTransitionCondition := bToolslayIsOut AND lAxisSlay1.Status.bStandstill;
IF bTransitionCondition AND bEnableNextStep THEN
enStepPress := enPressStep_TOOL_DOWN2;
lAxisSlay1.Move.bAbsolute := 0;
END_IF
@@ -795,7 +829,7 @@ PROGRAM _CYCLIC
//---------------------------
enPressStep_TOOL_DOWN2:
bToolslay1Up := FALSE;
IF bToolslay1IsDown AND bEnableNextStep THEN
IF bToolslay1IsDown THEN
udCycletimeLast := udCycletime;
enStepPress := enPressStep_WAIT_START2;
gbTool1CountUp := TRUE;
@@ -824,6 +858,8 @@ PROGRAM _CYCLIC
END_CASE;
END_IF;
gbEnableNextStepBtn := bTransitionCondition AND (gMachine.enMode = enMACH_MANUAL);
//Set Ouputs
gbOuValveToolslay1Up := bToolslay1Up;

View File

@@ -63,10 +63,6 @@ TYPE
usJogPosShaft3 : USINT;
usJogNegShaft4 : USINT;
usJogPosShaft4 : USINT;
usAdjustHomeShaft1 : USINT;
usAdjustHomeShaft2 : USINT;
usAdjustHomeShaft3 : USINT;
usAdjustHomeShaft4 : USINT;
usJogNegShaftMaster : USINT;
usJogHomeShaftMaster : USINT;
usJogPosShaftMaster : USINT;
@@ -74,11 +70,15 @@ TYPE
usReferencePressABS : USINT; (*Presse Referenzieren mit gespeicherten Absolutwerten*)
usToolslay1Up : USINT; (*Werkzeugschlitten 1 anheben*)
usToolslay1Down : USINT; (*Werkzeugschlitten 1 absenken*)
usToolslay1UpMaint : USINT; (*Werkzeugschlitten 1 anheben (Wartung)*)
usToolslay1DownMaint : USINT; (*Werkzeugschlitten 1 absenken (Wartung)*)
usJogNegSlay1 : USINT;
usJogPosSlay1 : USINT;
usReferenceSlay1 : USINT; (*Werkzeugschlitten 1 referenzieren*)
usToolslay2Up : USINT; (*Werkzeugschlitten 2 anheben*)
usToolslay2Down : USINT; (*Werkzeugschlitten 2 absenken*)
usToolslay2UpMaint : USINT; (*Werkzeugschlitten 2 anheben (Wartung)*)
usToolslay2DownMaint : USINT; (*Werkzeugschlitten 2 absenken (Wartung)*)
usJogNegSlay2 : USINT;
usJogPosSlay2 : USINT;
usReferenceSlay2 : USINT; (*Werkzeugschlitten 2 referenzieren*)
@@ -95,10 +95,6 @@ TYPE
bJogPosShaft3 : BOOL;
bJogNegShaft4 : BOOL;
bJogPosShaft4 : BOOL;
bAdjustHomeShaft1 : BOOL;
bAdjustHomeShaft2 : BOOL;
bAdjustHomeShaft3 : BOOL;
bAdjustHomeShaft4 : BOOL;
bJogNegShaftMaster : BOOL;
bJogHomeShaftMaster : BOOL;
bJogPosShaftMaster : BOOL;
@@ -108,6 +104,8 @@ TYPE
bDisableGear : BOOL;
bToolslay1Up : BOOL; (*Werkzeugschlitten 1 anheben*)
bToolslay1Down : BOOL; (*Werkzeugschlitten 1 absenken*)
bToolslay1UpMaint : BOOL; (*Werkzeugschlitten 2 anheben (Wartung)*)
bToolslay1DownMaint : BOOL; (*Werkzeugschlitten 2 absenken (Wartung)*)
bJogNegSlay1 : BOOL;
bJogPosSlay1 : BOOL;
bReferenceSlay1 : BOOL; (*Werkzeugschlitten 1 referenzieren*)
@@ -133,11 +131,15 @@ TYPE
bEnableReferencePressABS : BOOL; (*Presse Referenzieren*)
bEnableToolslay1Up : BOOL; (*Werkzeugschlitten 1 anheben*)
bEnableToolslay1Down : BOOL; (*Werkzeugschlitten 1 absenken*)
bEnableToolslay1UpMaint : BOOL; (*Werkzeugschlitten 1 anheben (Wartung)*)
bEnableToolslay1DownMaint : BOOL; (*Werkzeugschlitten 1 absenken (Wartung)*)
bEnableNegSlay1 : BOOL;
bEnablePosSlay1 : BOOL;
bEnableReferenceSlay1 : BOOL; (*Werkzeugschlitten 1 referenzieren*)
bEnableToolslay2Up : BOOL; (*Werkzeugschlitten 2 anheben*)
bEnableToolslay2Down : BOOL; (*Werkzeugschlitten 2 absenken*)
bEnableToolslay2UpMaint : BOOL; (*Werkzeugschlitten 2 anheben (Wartung)*)
bEnableToolslay2DownMaint : BOOL; (*Werkzeugschlitten 2 absenken (Wartung)*)
bEnablePosSlay2 : BOOL;
bEnableNegSlay2 : BOOL;
bEnableReferenceSlay2 : BOOL; (*Werkzeugschlitten 2 referenzieren*)

View File

@@ -23,6 +23,7 @@ END_VAR
(*//Local Vars*)
VAR
bDevelEnalbeGear : BOOL := FALSE;
bTransitionCondition : BOOL;
bSafetyOk : BOOL;
bSafetyOkFP : BOOL;
bNotLevel : BOOL;
@@ -74,9 +75,12 @@ VAR CONSTANT
rPressPosMax : REAL := 4250.0; (*Press Unten Pos Max [0.1mm]*)
END_VAR
VAR
rPressSpeedEmpty : REAL := 2000.0; (*Presse Leergeschwindigkeit [0.1mm/s]*)
rSpeedSlay1 : REAL := 2000.0;
END_VAR
VAR CONSTANT
rToolSlayPosOut : REAL := 5.0;
END_VAR
VAR
rPosDiffShaft1 : REAL; (*Pos Abweichung zum Master*)
rPosDiffShaft2 : REAL; (*Pos Abweichung zum Master*)
rPosDiffShaft3 : REAL; (*Pos Abweichung zum Master*)
@@ -88,10 +92,13 @@ VAR
END_VAR
VAR CONSTANT
rHOMEPOS : REAL := 100.0; (*[0.1mm]*)
rSlayAccDecManRef : REAL := 250.0;
rSlayAccAuto : REAL := 900.0;
rSlayDecAuto : REAL := 750.0;
END_VAR
(*//FUBS*)
VAR
TON_SetABSOffset : TON;
FUB_AsArLogWrite : AsArLogWrite;
TON_SlayDown : TON;
TON_SlayUp : TON;
END_VAR

View File

@@ -41,18 +41,21 @@ PROGRAM _INIT
gMAxTrace.Trace_Config.ParTrace.Delay := 0.0;
gMAxTrace.Trace_Config.ParTrace.NetTriggerDelay := 0;
FUB_AsArLogWrite.ident := arlogBASE_USER_LOG_IDENT;
//Parameter
lAxisShaftMaster.Para.rVelocity := 100; // [0.1mm/s]
lAxisShaftMaster.Para.rAcceleration := 1000; // [0.1mm/s^2]
lAxisShaftMaster.Para.rDeceleration := 1000; // [0.1mm/s^2]
// lAxisWire1.Para.rPosition := 100;
// lAxisWire1.Para.rDistance := 340;
//Dummy Tool
gPressParamTools[0].rPosHome := 1000;
gPressParamTools[0].rPosMax := 4700;
gPressParamTools[0].rPosMin := 100;
gPressParamTools[0].rPosPressToolslay := 1310;
// gPressParamTools[0].rPosHome := 1000;
// gPressParamTools[0].rPosHomeMax := 4700;
// gPressParamTools[0].rPosHomeMin := 100;
// gPressParamTools[0].rPos := 1000;
// gPressParamTools[0].rPosHomeMax := 4700;
// gPressParamTools[0].rPosHomeMin := 100;
// gPressParamTools[0].rPosPressToolslay := 1310;
lAxisShaftMaster.Para.rJogVelocity := 100; // [0.1mm/s]
@@ -92,7 +95,14 @@ PROGRAM _INIT
lAxisSlay1.Para.rVelocity := 175; // [mm/s]
lAxisSlay1.Para.rJogVelocity := 75; // [mm/s]
lAxisSlay1.Para.rAcceleration := 900; // [mm/s^2]
lAxisSlay1.Para.rDeceleration := 750; // [mm/s^2]
//Keep MaintCylinder in Pos
IF gbInTool1MaintCylBw THEN
gbOuTool1MaintCylBw := TRUE;
gbOuTool1MaintCylFw := FALSE;
END_IF
IF gbInTool1MaintCylFw THEN
gbOuTool1MaintCylBw := FALSE;
gbOuTool1MaintCylFw := TRUE;
END_IF
END_PROGRAM

View File

@@ -1,13 +1,3 @@
(********************************************************************
* COPYRIGHT --
********************************************************************
* Program: ToolCtrl
* File: ToolCtrl.st
* Author: michi
* Created: January 28, 2013
********************************************************************
* Implementation of program ToolCtrl
********************************************************************)
PROGRAM _INIT
@@ -36,7 +26,5 @@ PROGRAM _CYCLIC
gbOuTool1Cyl3Bw := FALSE;
END_IF
(* TODO : Add your code here *)
END_PROGRAM

View File

@@ -1,18 +0,0 @@
(********************************************************************
* COPYRIGHT --
********************************************************************
* Program: ToolCtrl
* File: ToolCtrl.var
* Author: michi
* Created: January 28, 2013
********************************************************************
* Local variables of program ToolCtrl
********************************************************************)
VAR
END_VAR
VAR CONSTANT
END_VAR

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version=3.0.90.24 SP06?>
<Program xmlns="http://br-automation.co.at/AS/Program">
<Files>
<File Description="Implementation code">ToolParam.st</File>
<File Description="Local variables" Private="true">ToolParam.var</File>
<File Description="Local data types" Private="true">ToolParam.typ</File>
</Files>
</Program>

View File

@@ -0,0 +1,231 @@
PROGRAM _INIT
usLastSelectedTool := gusSelectedTool;
FUB_AsArLogWrite.asciiString := ADR (strLogMsg);
FUB_AsArLogWrite.ident := arlogBASE_USER_LOG_IDENT;
rLastSpeed := grPressSpeedEmpty;
END_PROGRAM
PROGRAM _CYCLIC
IF (usLastSelectedTool <> gusSelectedTool) THEN
PressParamActToolLast := gPressParamTools[gusSelectedTool];
usLastSelectedTool := gusSelectedTool;
FUB_AsArLogWrite.errornr := 50100;
FUB_AsArLogWrite.logLevel := arlogLEVEL_INFO;
strcpy (ADR (strLogMsg), ADR ('Neues Werkzeug angewaehlt : Nummer '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
END_IF
lPressParamActTool ACCESS ADR (gPressParamTools[gusSelectedTool]);
//Lock Controls
StatusVCControls.usLevel3Parameter := SHL (BOOL_TO_USINT (genAccessLevel < enACCESSLEVEL_3), VC_LOCK_BITPOS);
StatusVCControls.usLevel4Parameter := SHL (BOOL_TO_USINT (genAccessLevel < enACCESSLEVEL_4), VC_LOCK_BITPOS);
StatusVCControls.usLevel4ChangeSerial := SHL (BOOL_TO_USINT (genAccessLevel < enACCESSLEVEL_4), VC_HIDE_BITPOS) +
SHL (BOOL_TO_USINT ((genAccessLevel < enACCESSLEVEL_4) OR NOT gbST10ModuleOk), VC_LOCK_BITPOS);
//Detect and Log changes
IF (rLastSpeed <> grPressSpeedEmpty) THEN
FUB_AsArLogWrite.errornr := 50099;
FUB_AsArLogWrite.logLevel := arlogLEVEL_FATAL;
itoa (REAL_TO_DINT (grPressSpeedEmpty), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
rLastSpeed := grPressSpeedEmpty;
END_IF
//Change Serial
IF EDGEPOS (bChangeSerialNr) AND gbST10ModuleOk THEN
lPressParamActTool.udIDIOBlock := gudST10ModuleSerial;
END_IF
IF TRUE THEN
IF PressParamActToolLast.rPosHome <> lPressParamActTool.rPosHome THEN
FUB_AsArLogWrite.errornr := 50100;
FUB_AsArLogWrite.logLevel := arlogLEVEL_WARNING;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Pos Grundstellung veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosHome), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosHome := lPressParamActTool.rPosHome;
ELSIF PressParamActToolLast.rPosHomeMin <> lPressParamActTool.rPosHomeMin THEN
FUB_AsArLogWrite.errornr := 50101;
FUB_AsArLogWrite.logLevel := arlogLEVEL_FATAL;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Pos Grundstellung Min veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosHomeMin), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosHomeMin := lPressParamActTool.rPosHomeMin;
ELSIF PressParamActToolLast.rPosHomeMax <> lPressParamActTool.rPosHomeMax THEN
FUB_AsArLogWrite.errornr := 50102;
FUB_AsArLogWrite.logLevel := arlogLEVEL_FATAL;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Pos Grundstellung Max veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosHomeMax), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosHomeMax := lPressParamActTool.rPosHomeMax;
ELSIF PressParamActToolLast.rPosPremount <> lPressParamActTool.rPosPremount THEN
FUB_AsArLogWrite.errornr := 50103;
FUB_AsArLogWrite.logLevel := arlogLEVEL_WARNING;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Vormontagepos veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosPremount), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosPremount := lPressParamActTool.rPosPremount;
ELSIF PressParamActToolLast.rPosPremountMin <> lPressParamActTool.rPosPremountMin THEN
FUB_AsArLogWrite.errornr := 50104;
FUB_AsArLogWrite.logLevel := arlogLEVEL_FATAL;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Vormontagepos Min veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosPremountMin), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosPremountMin := lPressParamActTool.rPosPremountMin;
ELSIF PressParamActToolLast.rPosPremountMax <> lPressParamActTool.rPosPremountMax THEN
FUB_AsArLogWrite.errornr := 50105;
FUB_AsArLogWrite.logLevel := arlogLEVEL_FATAL;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Vormontagepos Max veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosPremountMax), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosPremountMax := lPressParamActTool.rPosPremountMax;
ELSIF PressParamActToolLast.rPosPress <> lPressParamActTool.rPosPress THEN
FUB_AsArLogWrite.errornr := 50106;
FUB_AsArLogWrite.logLevel := arlogLEVEL_WARNING;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Presspositon veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosPress), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosPress := lPressParamActTool.rPosPress;
ELSIF PressParamActToolLast.rPosPressMin <> lPressParamActTool.rPosPressMin THEN
FUB_AsArLogWrite.errornr := 50107;
FUB_AsArLogWrite.logLevel := arlogLEVEL_FATAL;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Presspositon Min veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosPressMin), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosPressMin := lPressParamActTool.rPosPressMin;
ELSIF PressParamActToolLast.rPosPressMax <> lPressParamActTool.rPosPressMax THEN
FUB_AsArLogWrite.errornr := 50108;
FUB_AsArLogWrite.logLevel := arlogLEVEL_FATAL;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Presspositon Max veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosPressMax), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosPressMax := lPressParamActTool.rPosPressMax;
ELSIF PressParamActToolLast.rPosPressToolslay <> lPressParamActTool.rPosPressToolslay THEN
FUB_AsArLogWrite.errornr := 50109;
FUB_AsArLogWrite.logLevel := arlogLEVEL_WARNING;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Presspositon Werkzeugschlitten veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosPressToolslay), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosPressToolslay := lPressParamActTool.rPosPressToolslay;
ELSIF PressParamActToolLast.rPosPressToolslayMin <> lPressParamActTool.rPosPressToolslayMin THEN
FUB_AsArLogWrite.errornr := 50110;
FUB_AsArLogWrite.logLevel := arlogLEVEL_FATAL;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Presspositon Werkzeugschlitten Min veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosPressToolslayMin), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosPressToolslayMin := lPressParamActTool.rPosPressToolslayMin;
ELSIF PressParamActToolLast.rPosPressToolslayMax <> lPressParamActTool.rPosPressToolslayMax THEN
FUB_AsArLogWrite.errornr := 50111;
FUB_AsArLogWrite.logLevel := arlogLEVEL_FATAL;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Presspositon Werkzeugschlitten Max veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rPosPressToolslayMax), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rPosPressToolslayMax := lPressParamActTool.rPosPressToolslayMax;
ELSIF PressParamActToolLast.rSpeedPress <> lPressParamActTool.rSpeedPress THEN
FUB_AsArLogWrite.errornr := 50112;
FUB_AsArLogWrite.logLevel := arlogLEVEL_WARNING;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Pressgeschwindigkeit veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rSpeedPress), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rSpeedPress := lPressParamActTool.rSpeedPress;
ELSIF PressParamActToolLast.rSpeedPressMax <> lPressParamActTool.rSpeedPressMax THEN
FUB_AsArLogWrite.errornr := 50113;
FUB_AsArLogWrite.logLevel := arlogLEVEL_FATAL;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Pressgeschwindigkeit Max veraendert Neu: '));
itoa (REAL_TO_DINT (lPressParamActTool.rSpeedPressMax), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.rSpeedPressMax := lPressParamActTool.rSpeedPressMax;
ELSIF PressParamActToolLast.udPresstime <> lPressParamActTool.udPresstime THEN
FUB_AsArLogWrite.errornr := 50114;
FUB_AsArLogWrite.logLevel := arlogLEVEL_WARNING;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Presszeit veraendert Neu: '));
itoa (UDINT_TO_DINT (lPressParamActTool.udPresstime), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.udPresstime := lPressParamActTool.udPresstime;
ELSIF PressParamActToolLast.udIDIOBlock <> lPressParamActTool.udIDIOBlock THEN
FUB_AsArLogWrite.errornr := 50115;
FUB_AsArLogWrite.logLevel := arlogLEVEL_FATAL;
strcpy (ADR (strLogMsg), ADR ('Werkzeug '));
itoa (USINT_TO_DINT (gusSelectedTool), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (' Seriennummer veraendert Neu: '));
itoa (UDINT_TO_DINT (lPressParamActTool.udIDIOBlock), ADR (strTemp));
strcat (ADR (strLogMsg), ADR (strTemp));
FUB_AsArLogWrite.enable := TRUE;
PressParamActToolLast.udIDIOBlock := lPressParamActTool.udIDIOBlock;
END_IF
END_IF
FUB_AsArLogWrite ();
IF FUB_AsArLogWrite.status <> ERR_FUB_BUSY THEN
FUB_AsArLogWrite.enable := FALSE;
END_IF
END_PROGRAM

View File

@@ -0,0 +1,39 @@
(**)
TYPE
typStatusToolparamVCControls : STRUCT (*Controlbytes f<>r Visu*)
usLevel3Parameter : USINT;
usLevel4Parameter : USINT;
usLevel4ChangeSerial : USINT;
END_STRUCT;
typManualCommnands : STRUCT
bNextManStep : BOOL; (*N<>chster Schritt (Semi) Automatic*)
bJogNegShaft1 : BOOL;
bJogPosShaft1 : BOOL;
bJogNegShaft2 : BOOL;
bJogPosShaft2 : BOOL;
bJogNegShaft3 : BOOL;
bJogPosShaft3 : BOOL;
bJogNegShaft4 : BOOL;
bJogPosShaft4 : BOOL;
bJogNegShaftMaster : BOOL;
bJogHomeShaftMaster : BOOL;
bJogPosShaftMaster : BOOL;
bReferencePress : BOOL; (*Presse Referenzieren*)
bReferencePressABS : BOOL; (*Presse Referenzieren mit gespeicherten Absolutwerten*)
bActivateGear : BOOL;
bDisableGear : BOOL;
bToolslay1Up : BOOL; (*Werkzeugschlitten 1 anheben*)
bToolslay1Down : BOOL; (*Werkzeugschlitten 1 absenken*)
bToolslay1UpMaint : BOOL; (*Werkzeugschlitten 2 anheben (Wartung)*)
bToolslay1DownMaint : BOOL; (*Werkzeugschlitten 2 absenken (Wartung)*)
bJogNegSlay1 : BOOL;
bJogPosSlay1 : BOOL;
bReferenceSlay1 : BOOL; (*Werkzeugschlitten 1 referenzieren*)
bToolslay2Up : BOOL; (*Werkzeugschlitten 2 anheben*)
bToolslay2Down : BOOL; (*Werkzeugschlitten 2 absenken*)
bJogNegSlay2 : BOOL;
bJogPosSlay2 : BOOL;
bReferenceSlay2 : BOOL; (*Werkzeugschlitten 2 referenzieren*)
END_STRUCT;
END_TYPE

View File

@@ -0,0 +1,17 @@
VAR
usLastSelectedTool : USINT; (*Zuletzt angew<65>hltes Werkzeug*)
PressParamActToolLast : typ_PressParam; (*Positionen aktuelle Werkzeug*)
StatusVCControls : typStatusToolparamVCControls;
strLogMsg : STRING[256];
strTemp : STRING[16];
rLastSpeed : REAL;
bChangeSerialNr : BOOL;
END_VAR
(*//Dynamic Vars*)
VAR
lPressParamActTool : REFERENCE TO typ_PressParam; (*Positionen aktuelle Werkzeug*)
END_VAR
(*//FUBS*)
VAR
FUB_AsArLogWrite : AsArLogWrite;
END_VAR

View File

@@ -114,6 +114,7 @@ END_VAR
(*----------------------------------------------------------------------------------------------------------------*)
VAR
gbST10ModuleOk : BOOL;
gudST10ModuleSerial : UDINT; (*Werkzeug 1 Seriennummer I/O Block*)
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)*)
@@ -125,7 +126,7 @@ VAR
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*)
gbInTool1MaintBracket2Home : BOOL; (*Werkzeug 1 Wartungssicherungsklotz ist Aufger<65>umt*)
gbInTool1PartAvailable : BOOL; (*Werkzeug 1 Teil ist eingelegt*)
gbInTool1Code2 : BOOL; (*Werkzeug 1 Codierung 2*)
gbInTool1Code1 : BOOL; (*Werkzeug 1 Codierung 1*)

View File

@@ -0,0 +1,133 @@
(********************************************************************
* COPYRIGHT -- Bernecker + Rainer
********************************************************************
* Library: AsArLog
* File: AsArLog.fun
* Author: B+R
********************************************************************
* Functions and function blocks of library AsArLog
********************************************************************)
FUNCTION_BLOCK AsArLogCreate (*creates an AR logger user module; asynchronous execution*)
VAR_INPUT
enable : BOOL; (*enables execution*)
pName : UDINT; (*name of the AR logger user module to be created give as a pointer, e.g. "vclog".*)
len : UDINT; (*length of the log data area*)
memType : UDINT; (*memory type on the target: arlogDRAM, arlogUSRRAM, arlogUSRROM*)
END_VAR
VAR
intResult : UDINT; (*internal variable*)
intState : UDINT; (*internal variable*)
intRes : UDINT; (*internal variable*)
END_VAR
VAR_OUTPUT
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
ident : UDINT; (*ident of the AR logger basis module to be generated*)
END_VAR
END_FUNCTION_BLOCK
FUNCTION_BLOCK AsArLogDelete (*deletes an AR logger user module; asynchronous execution*)
VAR_INPUT
enable : BOOL; (*enables execution*)
ident : UDINT; (*ident of the AR logger user module to be deleted*)
END_VAR
VAR
intResult : UDINT; (*internal variable*)
intState : UDINT; (*internal variable*)
intRes : UDINT; (*internal variable*)
END_VAR
VAR_OUTPUT
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
END_VAR
END_FUNCTION_BLOCK
FUNCTION_BLOCK AsArLogWrite (*writes a log entry to a AR logger user module; asynchronous execution*)
VAR_INPUT
enable : BOOL; (*enables execution*)
ident : UDINT; (*ident for the AR logger module to be written (user module or base module)*)
logLevel : UDINT; (*log level of the log entry*)
errornr : UDINT; (*error number of the entry*)
mem : UDINT; (*binary log data given as a pointer*)
len : UDINT; (*length of the binary log data in bytes*)
asciiString : UDINT; (*log-specific zero-terminated ASCII string give as a pointer*)
END_VAR
VAR
intResult : UDINT; (*internal variable*)
intState : UDINT; (*internal variable*)
intRes : UDINT; (*internal variable*)
intTaskName : ARRAY[0..35] OF USINT; (*internal variable*)
intRtkTime : ARRAY[0..3] OF UDINT; (*internal variable*)
END_VAR
VAR_OUTPUT
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
END_VAR
END_FUNCTION_BLOCK
FUNCTION_BLOCK AsArLogRead (*reads a log entry from a AR logger module; asynchronous execution*)
VAR_INPUT
enable : BOOL; (*enables execution*)
ident : UDINT; (*ident for the AR logger module to be read (user module or base module)*)
index : UDINT; (*index of the log entry to be read*)
arlogRead : UDINT; (*specifies read structure (given as a pointer) where the header data for the log entry can be copied*)
memBin : UDINT; (*buffer for binary log data given as a pointer (if NULL, no binary log data is copied)*)
lenBin : UDINT; (*number of binary log data bytes to be read (if NULL, no binary log data is copied)*)
memAscii : UDINT; (*buffer for ASCII string given as a pointer*)
lenAscii : UDINT; (*number of bytes to be read for the ASCII string*)
END_VAR
VAR
intResult : UDINT; (*internal variable*)
intState : UDINT; (*internal variable*)
intRes : UDINT; (*internal variable*)
END_VAR
VAR_OUTPUT
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
END_VAR
END_FUNCTION_BLOCK
FUNCTION_BLOCK AsArLogClear (*deletes or reinitializes the log data in an AR logger user module; asynchronous execution*)
VAR_INPUT
enable : BOOL; (*enables execution*)
ident : UDINT; (*ident of the AR logger user module to be reinitialized*)
END_VAR
VAR
intResult : UDINT; (*internal variable*)
intState : UDINT; (*internal variable*)
intRes : UDINT; (*internal variable*)
END_VAR
VAR_OUTPUT
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
END_VAR
END_FUNCTION_BLOCK
FUNCTION_BLOCK AsArLogGetInfo (*reads information from a self-generated AR logger user module or AR logger base user module*)
VAR_INPUT
enable : BOOL; (*enables execution*)
pName : UDINT; (*name of the AR logger user module (e.g. "vclog") given as a pointer*)
END_VAR
VAR
intResult : UDINT; (*internal variable*)
intState : UDINT; (*internal variable*)
intRes : UDINT; (*internal variable*)
END_VAR
VAR_OUTPUT
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, 0xXXXX = see help*)
ident : UDINT; (*ident of the AR logger BR module*)
len : UDINT; (*length of the log data area*)
memType : UDINT; (*memory type on the target*)
actualIndex : UDINT; (*current entry index in the specified AR logger BR module*)
FormatVer : UDINT; (*version of de log data format*)
END_VAR
END_FUNCTION_BLOCK

View File

@@ -0,0 +1,29 @@
(********************************************************************
* COPYRIGHT -- Bernecker + Rainer
********************************************************************
* Library: AsArLog
* File: AsArLog.typ
* Author: B+R
********************************************************************
* Data types of library AsArLog
********************************************************************)
TYPE
asarlogRead : STRUCT
len : UDINT; (*length of the entire log entry (header + binary log data + ASCII string)*)
lenBin : UDINT; (*length of the binary log data*)
lenAscii : UDINT; (*length of the ASCII log data*)
logLevel : UDINT; (*log level of the log entry*)
errornr : UDINT; (*error number of the entry*)
taskName : ARRAY[0..35] OF USINT; (*task name*)
errYear : UDINT; (*year (date of error)*)
errMonth : UDINT; (*month (date of error)*)
errDay : UDINT; (*day (date of error)*)
errHour : UDINT; (*hour (time of error)*)
errMinute : UDINT; (*minute (time of error)*)
errSecond : UDINT; (*second (time of error)*)
errMilliSec : UDINT; (*millisecond (time of error)*)
errMicroSec : UDINT; (*microsecond (time of error)*)
END_STRUCT;
END_TYPE

View File

@@ -0,0 +1,53 @@
(********************************************************************
* COPYRIGHT -- Bernecker + Rainer
********************************************************************
* Library: AsArLog
* File: AsArLog.var
* Author: B+R
********************************************************************
* Local variables of library AsArLog
********************************************************************)
VAR CONSTANT
arlogDRAM : USINT := 65; (*temporary AR log modules (DRAM)*)
arlogUSRRAM : USINT := 3; (*USERRAM*)
arlogUSRROM : USINT := 2; (*USERROM (USER FLASH)*)
arlogLEVEL_INFO : UDINT := 1; (*log level INFO*)
arlogLEVEL_WARNING : UDINT := 2; (*log level WARNING*)
arlogLEVEL_FATAL : UDINT := 3; (*log level FATAL*)
arlogMIN_LOGDATA_SIZE : UINT := 4096; (*minimum log data size of 4 KB*)
arlogBASE_SYSTEM_LOG_IDENT : UDINT := 0; (*fixed ID for the "$arlogsys" base system module*)
arlogBASE_USER_LOG_IDENT : UDINT := 1; (*fixed ID for the "$arlogusr" base user module*)
arlogBASE_FIELDBUS_LOG_IDENT : UDINT := 2; (*fixed ID for the "fieldbus" logger module*)
arlogBASE_SAFETY_LOG_IDENT : UDINT := 3; (*fixed ID for the "safety" logger module*)
arlogERR_ILL_NAME : UINT := 31400; (*incorrect or invalid name*)
arlogERR_ILL_MEMTYPE : UINT := 31401; (*incorrect memory type*)
arlogERR_ILL_LOGLEVEL : UINT := 31402; (*invalid log level (only arlogLEVEL_INFO, arlogLEVEL_WARNING, and arlogLEVEL_FATAL valid)*)
arlogERR_ILL_PARAM : UINT := 31403; (*invalid parameters specified*)
arlogERR_ILL_LEN : UINT := 31404; (*incorrect log data length. Must be >= arlogMIN_LOGDATA_SIZE (4096 bytes)*)
arlogERR_EXISTING : UINT := 31405; (*log module already exists*)
arlogERR_CREATE : UINT := 31406; (*general create error (create failed)*)
arlogERR_INSTALL : UINT := 31407; (*install error for AsArLogCreate*)
arlogERR_ACCESS_DENIED : UINT := 31408; (*cannot access the "$arlogsys" and "$arlogusr" base log modules*)
arlogERR_IN_ACCESS : UINT := 31409; (*access denied since other critical FBK simultaneously active*)
arlogERR_INVALID_IDENT : UINT := 31410; (*invalid ident specified*)
arlogERR_DELETE : UINT := 31411; (*general delete error (delete failed)*)
arlogERR_NOMEMORY : UINT := 31412; (*not enough buffer to copy*)
arlogERR_NOTEXISTING : UINT := 31416; (*AR log module doesn't exist*)
arlogERR_WRITE : UINT := 31417; (*general write error (write failed)*)
arlogERR_WRITE_CALC_DATA : UINT := 31418; (*error calculating referencing index*)
arlogERR_READ : UINT := 31419; (*general read error (read failed)*)
arlogERR_READ_BUFFER : UINT := 31420; (*invalid buffer specified*)
arlogERR_INVALID_INDEX : UINT := 31421; (*invalid index (smaller than the reference index and larger than the current index)*)
arlogERR_INVALID_ENTRY : UINT := 31422; (*invalid log entry read*)
arlogERR_READ_BINARY_BUFFER : UINT := 31423; (*buffer length for binary data too small*)
arlogERR_READ_ASCII_BUFFER : UINT := 31424; (*buffer length for ASCII data too small*)
arlogERR_NO_MORE_ENTRY : UINT := 31425; (*FBK still working*)
END_VAR

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version=3.0.90.24 SP06?>
<Library Description="The AsArLog library can be used to collect additional error information and for further processing." xmlns="http://br-automation.co.at/AS/Library">
<Files>
<File>AsArLog.var</File>
<File>AsArLog.typ</File>
<File>AsArLog.fun</File>
</Files>
<Dependencies>
<Dependency ObjectName="runtime" />
</Dependencies>
</Library>

View File

@@ -0,0 +1,234 @@
/* Automation Studio generated header file */
/* Do not edit ! */
#ifndef _ASARLOG_
#define _ASARLOG_
#ifdef __cplusplus
extern "C"
{
#endif
#include <bur/plctypes.h>
#include <runtime.h>
#ifndef _IEC_CONST
#define _IEC_CONST _WEAK const
#endif
/* Constants */
#ifdef _REPLACE_CONST
#define arlogERR_NO_MORE_ENTRY 31425U
#define arlogERR_READ_ASCII_BUFFER 31424U
#define arlogERR_READ_BINARY_BUFFER 31423U
#define arlogERR_INVALID_ENTRY 31422U
#define arlogERR_INVALID_INDEX 31421U
#define arlogERR_READ_BUFFER 31420U
#define arlogERR_READ 31419U
#define arlogERR_WRITE_CALC_DATA 31418U
#define arlogERR_WRITE 31417U
#define arlogERR_NOTEXISTING 31416U
#define arlogERR_NOMEMORY 31412U
#define arlogERR_DELETE 31411U
#define arlogERR_INVALID_IDENT 31410U
#define arlogERR_IN_ACCESS 31409U
#define arlogERR_ACCESS_DENIED 31408U
#define arlogERR_INSTALL 31407U
#define arlogERR_CREATE 31406U
#define arlogERR_EXISTING 31405U
#define arlogERR_ILL_LEN 31404U
#define arlogERR_ILL_PARAM 31403U
#define arlogERR_ILL_LOGLEVEL 31402U
#define arlogERR_ILL_MEMTYPE 31401U
#define arlogERR_ILL_NAME 31400U
#define arlogBASE_SAFETY_LOG_IDENT 3U
#define arlogBASE_FIELDBUS_LOG_IDENT 2U
#define arlogBASE_USER_LOG_IDENT 1U
#define arlogBASE_SYSTEM_LOG_IDENT 0U
#define arlogMIN_LOGDATA_SIZE 4096U
#define arlogLEVEL_FATAL 3U
#define arlogLEVEL_WARNING 2U
#define arlogLEVEL_INFO 1U
#define arlogUSRROM 2U
#define arlogUSRRAM 3U
#define arlogDRAM 65U
#else
_IEC_CONST unsigned short arlogERR_NO_MORE_ENTRY = 31425U;
_IEC_CONST unsigned short arlogERR_READ_ASCII_BUFFER = 31424U;
_IEC_CONST unsigned short arlogERR_READ_BINARY_BUFFER = 31423U;
_IEC_CONST unsigned short arlogERR_INVALID_ENTRY = 31422U;
_IEC_CONST unsigned short arlogERR_INVALID_INDEX = 31421U;
_IEC_CONST unsigned short arlogERR_READ_BUFFER = 31420U;
_IEC_CONST unsigned short arlogERR_READ = 31419U;
_IEC_CONST unsigned short arlogERR_WRITE_CALC_DATA = 31418U;
_IEC_CONST unsigned short arlogERR_WRITE = 31417U;
_IEC_CONST unsigned short arlogERR_NOTEXISTING = 31416U;
_IEC_CONST unsigned short arlogERR_NOMEMORY = 31412U;
_IEC_CONST unsigned short arlogERR_DELETE = 31411U;
_IEC_CONST unsigned short arlogERR_INVALID_IDENT = 31410U;
_IEC_CONST unsigned short arlogERR_IN_ACCESS = 31409U;
_IEC_CONST unsigned short arlogERR_ACCESS_DENIED = 31408U;
_IEC_CONST unsigned short arlogERR_INSTALL = 31407U;
_IEC_CONST unsigned short arlogERR_CREATE = 31406U;
_IEC_CONST unsigned short arlogERR_EXISTING = 31405U;
_IEC_CONST unsigned short arlogERR_ILL_LEN = 31404U;
_IEC_CONST unsigned short arlogERR_ILL_PARAM = 31403U;
_IEC_CONST unsigned short arlogERR_ILL_LOGLEVEL = 31402U;
_IEC_CONST unsigned short arlogERR_ILL_MEMTYPE = 31401U;
_IEC_CONST unsigned short arlogERR_ILL_NAME = 31400U;
_IEC_CONST unsigned long arlogBASE_SAFETY_LOG_IDENT = 3U;
_IEC_CONST unsigned long arlogBASE_FIELDBUS_LOG_IDENT = 2U;
_IEC_CONST unsigned long arlogBASE_USER_LOG_IDENT = 1U;
_IEC_CONST unsigned long arlogBASE_SYSTEM_LOG_IDENT = 0U;
_IEC_CONST unsigned short arlogMIN_LOGDATA_SIZE = 4096U;
_IEC_CONST unsigned long arlogLEVEL_FATAL = 3U;
_IEC_CONST unsigned long arlogLEVEL_WARNING = 2U;
_IEC_CONST unsigned long arlogLEVEL_INFO = 1U;
_IEC_CONST unsigned char arlogUSRROM = 2U;
_IEC_CONST unsigned char arlogUSRRAM = 3U;
_IEC_CONST unsigned char arlogDRAM = 65U;
#endif
/* Datatypes and datatypes of function blocks */
typedef struct asarlogRead
{ unsigned long len;
unsigned long lenBin;
unsigned long lenAscii;
unsigned long logLevel;
unsigned long errornr;
unsigned char taskName[36];
unsigned long errYear;
unsigned long errMonth;
unsigned long errDay;
unsigned long errHour;
unsigned long errMinute;
unsigned long errSecond;
unsigned long errMilliSec;
unsigned long errMicroSec;
} asarlogRead;
typedef struct AsArLogCreate
{
/* VAR_INPUT (analog) */
unsigned long pName;
unsigned long len;
unsigned long memType;
/* VAR_OUTPUT (analog) */
unsigned short status;
unsigned long ident;
/* VAR (analog) */
unsigned long intResult;
unsigned long intState;
unsigned long intRes;
/* VAR_INPUT (digital) */
plcbit enable;
} AsArLogCreate_typ;
typedef struct AsArLogDelete
{
/* VAR_INPUT (analog) */
unsigned long ident;
/* VAR_OUTPUT (analog) */
unsigned short status;
/* VAR (analog) */
unsigned long intResult;
unsigned long intState;
unsigned long intRes;
/* VAR_INPUT (digital) */
plcbit enable;
} AsArLogDelete_typ;
typedef struct AsArLogWrite
{
/* VAR_INPUT (analog) */
unsigned long ident;
unsigned long logLevel;
unsigned long errornr;
unsigned long mem;
unsigned long len;
unsigned long asciiString;
/* VAR_OUTPUT (analog) */
unsigned short status;
/* VAR (analog) */
unsigned long intResult;
unsigned long intState;
unsigned long intRes;
unsigned char intTaskName[36];
unsigned long intRtkTime[4];
/* VAR_INPUT (digital) */
plcbit enable;
} AsArLogWrite_typ;
typedef struct AsArLogRead
{
/* VAR_INPUT (analog) */
unsigned long ident;
unsigned long index;
unsigned long arlogRead;
unsigned long memBin;
unsigned long lenBin;
unsigned long memAscii;
unsigned long lenAscii;
/* VAR_OUTPUT (analog) */
unsigned short status;
/* VAR (analog) */
unsigned long intResult;
unsigned long intState;
unsigned long intRes;
/* VAR_INPUT (digital) */
plcbit enable;
} AsArLogRead_typ;
typedef struct AsArLogClear
{
/* VAR_INPUT (analog) */
unsigned long ident;
/* VAR_OUTPUT (analog) */
unsigned short status;
/* VAR (analog) */
unsigned long intResult;
unsigned long intState;
unsigned long intRes;
/* VAR_INPUT (digital) */
plcbit enable;
} AsArLogClear_typ;
typedef struct AsArLogGetInfo
{
/* VAR_INPUT (analog) */
unsigned long pName;
/* VAR_OUTPUT (analog) */
unsigned short status;
unsigned long ident;
unsigned long len;
unsigned long memType;
unsigned long actualIndex;
unsigned long FormatVer;
/* VAR (analog) */
unsigned long intResult;
unsigned long intState;
unsigned long intRes;
/* VAR_INPUT (digital) */
plcbit enable;
} AsArLogGetInfo_typ;
/* Prototyping of functions and function blocks */
void AsArLogCreate(struct AsArLogCreate* inst);
void AsArLogDelete(struct AsArLogDelete* inst);
void AsArLogWrite(struct AsArLogWrite* inst);
void AsArLogRead(struct AsArLogRead* inst);
void AsArLogClear(struct AsArLogClear* inst);
void AsArLogGetInfo(struct AsArLogGetInfo* inst);
#ifdef __cplusplus
};
#endif
#endif /* _ASARLOG_ */

View File

@@ -18,5 +18,6 @@
<Object Type="Library" Language="Binary" Description="This library contains FBKs for exchanging data (data stream) via stream sockets (TCP).">AsTCP</Object>
<Object Type="Library" Language="Binary" Description="This library contains standard function blocks and funtions for IEC 1131-3.">standard</Object>
<Object Type="Library" Language="Binary" Description="This library integrates mathematical functions such as angle functions, rounding off, etc. into the program.">AsMath</Object>
<Object Type="Library" Language="Binary" Description="The AsArLog library can be used to collect additional error information and for further processing.">AsArLog</Object>
</Objects>
</Package>

View File

@@ -7,6 +7,7 @@ VAR
gStatusVCControls : typStatusVCControls;
gVCCommands : typVCCommands;
gstrIPAddress : STRING[16];
gbEnableNextStepBtn : BOOL;
END_VAR
(*Constants*)
VAR CONSTANT

View File

@@ -5,6 +5,8 @@ FUNCTION_BLOCK FUB_CylinderCheck (*Zylinder
bInOutputCylinderBw : BOOL; (*Ausgang Zylinder Einfahren*)
bInSensorCylinderFw : BOOL; (*Sensor Zylinder Ausfahren*)
bInSensorCylinderBw : BOOL; (*Sensor Zylinder Einfahren*)
tInCylinderFw : TIME := T#2s; (*<EFBFBD>berwachungszeit Zylinder Ausfahren*)
tInCylinderBw : TIME := T#2s; (*<EFBFBD>berwachungszeit Zylinder Ausfahren*)
END_VAR
VAR_OUTPUT
bOuErrorCylinderFw : BOOL; (*Fehler Zylinder Ausfahren*)
@@ -12,8 +14,6 @@ FUNCTION_BLOCK FUB_CylinderCheck (*Zylinder
bOuErrorBothSensorsHigh : BOOL; (*Fehler beide Zynlinderschalter bet<EFBFBD>tigt*)
END_VAR
VAR
tInCylinderFw : TIME := T#2s; (*<EFBFBD>berwachungszeit Zylinder Ausfahren*)
tInCylinderBw : TIME := T#2s; (*<EFBFBD>berwachungszeit Zylinder Ausfahren*)
TON_CylinderFw : TON;
TON_CylinderBw : TON;
END_VAR

View File

@@ -11,6 +11,7 @@ PROGRAM _INIT
lAxisSlay1 ACCESS ADR (gAxis[5]);
FUB_CfgGetIPAddr.enable := TRUE;
FUB_AsArLogWrite.ident := arlogBASE_USER_LOG_IDENT;
END_PROGRAM
@@ -43,19 +44,33 @@ END_IF
//Setupmode
//=================================================
IF (genAccessLevel < enACCESSLEVEL_3) OR (gMachine.enMode <> enMACH_JOG) THEN
IF ((genAccessLevel < enACCESSLEVEL_3) OR (gMachine.enMode <> enMACH_JOG)) AND gMachine.bSetupMode THEN
gMachine.bSetupMode := FALSE;
FUB_AsArLogWrite.errornr := 50001;
FUB_AsArLogWrite.logLevel := arlogLEVEL_INFO;
FUB_AsArLogWrite.asciiString := ADR ('Plausibilitaetspruefungen im Tippbetrieb wurden aktiviert (Betriebsartwechsel)');
FUB_AsArLogWrite.enable := TRUE;
ELSIF (genAccessLevel >= enACCESSLEVEL_3) AND (gMachine.enMode = enMACH_JOG) THEN
//Override Checks
IF EDGEPOS (gMachineCommands.bToggleSetupmode) THEN
gMachine.bSetupMode := NOT gMachine.bSetupMode;
FUB_AsArLogWrite.errornr := 50001;
IF gMachine.bSetupMode THEN
ERRxwarning (50001, 0 , ADR ('Plausibilit<69>tspr<70>fungen im Tippbetrieb wurden deaktiviert'));
FUB_AsArLogWrite.logLevel := arlogLEVEL_WARNING;
FUB_AsArLogWrite.asciiString := ADR ('Plausibilitaetspruefungen im Tippbetrieb wurden deaktiviert');
ELSE
ERRxwarning (50001, 0 , ADR ('Plausibilit<69>tspr<70>fungen im Tippbetrieb wurden aktiviert'));
FUB_AsArLogWrite.logLevel := arlogLEVEL_INFO;
FUB_AsArLogWrite.asciiString := ADR ('Plausibilitaetspruefungen im Tippbetrieb wurden aktiviert');
END_IF
FUB_AsArLogWrite.enable := TRUE;
END_IF
END_IF
gStatusVCControls.usBtnSetupmode := SHL (BOOL_TO_USINT (genAccessLevel < enACCESSLEVEL_3), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT (NOT gMachine.bMachineON OR (genAccessLevel < enACCESSLEVEL_3) OR (gMachine.enMode <> enMACH_JOG)), VC_HIDE_BITPOS);
gStatusVCControls.usLabelSetupmode := SHL (BOOL_TO_USINT (NOT gMachine.bMachineON OR (gMachine.enMode <> enMACH_JOG)), VC_HIDE_BITPOS);
@@ -90,13 +105,13 @@ gStatusVCControls.usBtnPowerOff := SHL (BOOL_TO_USINT (genAccessLevel = enACCESS
SHL (BOOL_TO_USINT (NOT gMachine.bMachineON), VC_HIDE_BITPOS);
gStatusVCControls.usBtnJogMode := SHL (BOOL_TO_USINT (genAccessLevel < enACCESSLEVEL_2), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT (NOT gMachine.bMachineON OR (gMachine.enMode = enMACH_JOG)), VC_HIDE_BITPOS);
gStatusVCControls.usBtnManMode := SHL (BOOL_TO_USINT (genAccessLevel < enACCESSLEVEL_2), VC_LOCK_BITPOS) +
gStatusVCControls.usBtnManMode := SHL (BOOL_TO_USINT ((genAccessLevel < enACCESSLEVEL_2) OR NOT gbInTool1MaintCylBw OR gbOuTool1MaintCylFw), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT (NOT gMachine.bMachineON OR (gMachine.enMode = enMACH_MANUAL) OR lMachine.bRequestHoming), VC_HIDE_BITPOS);
gStatusVCControls.usBtnNextStep := SHL (BOOL_TO_USINT (genAccessLevel < enACCESSLEVEL_2), VC_LOCK_BITPOS) +
gStatusVCControls.usBtnNextStep := SHL (BOOL_TO_USINT ((genAccessLevel < enACCESSLEVEL_2) OR NOT gbEnableNextStepBtn), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT (NOT gMachine.bMachineON OR (gMachine.enMode <> enMACH_MANUAL)), VC_HIDE_BITPOS);
gStatusVCControls.usBtnHomeMode := SHL (BOOL_TO_USINT (genAccessLevel < enACCESSLEVEL_1), VC_LOCK_BITPOS) +
gStatusVCControls.usBtnHomeMode := SHL (BOOL_TO_USINT ((genAccessLevel < enACCESSLEVEL_1) OR NOT gbInTool1MaintCylBw OR gbOuTool1MaintCylFw), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT (NOT gMachine.bMachineON OR (gMachine.enMode = enMACH_HOMEPOS)), VC_HIDE_BITPOS);
gStatusVCControls.usBtnAutoMode := SHL (BOOL_TO_USINT (genAccessLevel < enACCESSLEVEL_1), VC_LOCK_BITPOS) +
gStatusVCControls.usBtnAutoMode := SHL (BOOL_TO_USINT ((genAccessLevel < enACCESSLEVEL_1) OR NOT gbInTool1MaintCylBw OR gbOuTool1MaintCylFw), VC_LOCK_BITPOS) +
SHL (BOOL_TO_USINT (NOT gMachine.bMachineON OR (gMachine.enMode = enMACH_AUTOMATIC) OR lMachine.bRequestHoming), VC_HIDE_BITPOS);
@@ -107,10 +122,22 @@ END_IF
//Layer 2 Common Pressinformation
gStatusVCControls.usLayersMainpage[2] := SHL (BOOL_TO_USINT (NOT gMachine.bMachineON), VC_HIDE_BITPOS);
//Layer 3 Manual Opeation Press
gusVCCStatusTool[1] := SHL (BOOL_TO_USINT (gusCurrentTool <> 1), VC_HIDE_BITPOS);
gusVCCStatusTool[2] := SHL (BOOL_TO_USINT (gusCurrentTool <> 2), VC_HIDE_BITPOS);
gusVCCStatusTool[3] := SHL (BOOL_TO_USINT (gusCurrentTool <> 3), VC_HIDE_BITPOS);
gusVCCStatusTool[4] := SHL (BOOL_TO_USINT (gusCurrentTool <> 4), VC_HIDE_BITPOS);
gusVCCStatusTool[5] := SHL (BOOL_TO_USINT (gusCurrentTool <> 5), VC_HIDE_BITPOS);
gStatusVCControls.usLayersMainpage[3] := SHL (BOOL_TO_USINT (NOT gMachine.bMachineON OR (gMachine.enMode <> enMACH_JOG) OR (gusCurrentOpLayer <> 3)), VC_HIDE_BITPOS);
//Layer 4 Manual Opeation Tool 1
IF (gusCurrentOpLayer = 4) AND (gusCurrentTool <> 1) THEN
gusCurrentOpLayer := 3;
END_IF
gStatusVCControls.usLayersMainpage[4] := SHL (BOOL_TO_USINT (NOT gMachine.bMachineON OR (gMachine.enMode <> enMACH_JOG) OR (gusCurrentOpLayer <> 4)), VC_HIDE_BITPOS);
//Layer 5 Manual Opeation Tool 2
IF (gusCurrentOpLayer = 5) AND (gusCurrentTool <> 2) THEN
gusCurrentOpLayer := 3;
END_IF
gStatusVCControls.usLayersMainpage[5] := SHL (BOOL_TO_USINT (NOT gMachine.bMachineON OR (gMachine.enMode <> enMACH_JOG) OR (gusCurrentOpLayer <> 5)), VC_HIDE_BITPOS);
//Layer 6 Automatic
gStatusVCControls.usLayersMainpage[6] := SHL (BOOL_TO_USINT (NOT gMachine.bMachineON OR ((gMachine.enMode <> enMACH_MANUAL) AND (gMachine.enMode <> enMACH_AUTOMATIC))), VC_HIDE_BITPOS);
@@ -125,7 +152,10 @@ gMachineAlarms.Alarm[0] := NOT gbInDCVoltageOk;
//Reset Fuse 24V DC
gbOuReset24VError := gbInResetKey AND NOT gbInDCVoltageOk;
//Air
gMachineAlarms.Alarm[1] := NOT gbInAirOK;
TON_AirOk.IN := NOT gbInAirOK AND gUE410_MU_MQD.bX1 AND gUE410_MU_MQD.bX2;
TON_AirOk.PT := t#5s;
TON_AirOk ();
gMachineAlarms.Alarm[1] := TON_AirOk.Q;
//Holding Brake
TON_HoldingBrakeOpen.IN := gbOuOpenPressBrake AND gbInBrakeValveClose AND gbInAirOK;
TON_HoldingBrakeOpen.PT := t#1500ms;
@@ -151,9 +181,10 @@ gMachineAlarms.Alarm[5] := NOT gPS.DriveStatus.bTrigger2;
//Request MachineHoming
gMachineAlarms.Alarm[6] := lMachine.bRequestHoming;
IF (gusCurrentTool <> gusSelectedTool) AND gbST10ModuleOk THEN
//Bad Tool
IF (gusCurrentTool <> gusSelectedTool) OR (gPressParamTools[gusSelectedTool].udIDIOBlock <> gudST10ModuleSerial) THEN
gMachineAlarms.Alarm[7] := TRUE;
ELSIF (gusCurrentTool = gusSelectedTool) THEN
ELSIF (gusCurrentTool = gusSelectedTool) AND (gPressParamTools[gusSelectedTool].udIDIOBlock = gudST10ModuleSerial) THEN
gMachineAlarms.Alarm[7] := FALSE;
END_IF
@@ -204,6 +235,17 @@ Tool1CylinderCheck4 (bInOutputCylinderBw := NOT gbOuValveToolslay1Up,
gMachineAlarms.Alarm[56] := Tool1CylinderCheck4.bOuErrorCylinderBw;
gMachineAlarms.Alarm[57] := Tool1CylinderCheck4.bOuErrorCylinderFw;
Tool1CylinderCheckMaint (bInOutputCylinderBw := gbOuTool1MaintCylBw,
bInOutputCylinderFw := gbOuTool1MaintCylFw,
bInSensorCylinderBw := gbInTool1MaintCylBw,
bInSensorCylinderFw := gbInTool1MaintCylFw,
tInCylinderBw := t#20s,
tInCylinderFw := t#20s);
gMachineAlarms.Alarm[58] := Tool1CylinderCheckMaint.bOuErrorCylinderBw;
gMachineAlarms.Alarm[59] := Tool1CylinderCheckMaint.bOuErrorCylinderFw;
//MachineAlarms >= 75 are set in Pressctl.
//Lamps
// cond = Estop
@@ -213,6 +255,13 @@ gbOuLEDCabinet := (NOT gUE410_MU_MQD.bStRqA AND (NOT gUE410_MU_MQD.bX1 OR NOT g
gbOuLEDToolslay1 := (NOT gUE410_MU_MQD.bStRqB AND (NOT gUE410_MU_MQD.bX3 OR NOT gUE410_MU_MQD.bX4)) OR
(gUE410_MU_MQD.bStRqB AND bBlink0_5);
FUB_AsArLogWrite ();
IF FUB_AsArLogWrite.status <> ERR_FUB_BUSY THEN
FUB_AsArLogWrite.enable := FALSE;
END_IF
END_PROGRAM

View File

@@ -19,10 +19,13 @@ VAR
END_VAR
(*FUBS*)
VAR
FUB_AsArLogWrite : AsArLogWrite;
TON_AirOk : TON;
TON_HoldingBrakeOpen : TON;
TON_HoldingBrakeClose : TON;
Tool1CylinderCheck1 : FUB_CylinderCheck;
Tool1CylinderCheck2 : FUB_CylinderCheck;
Tool1CylinderCheck3 : FUB_CylinderCheck;
Tool1CylinderCheck4 : FUB_CylinderCheck;
Tool1CylinderCheckMaint : FUB_CylinderCheck;
END_VAR

View File

@@ -332,6 +332,30 @@
<Property Name="RecordTrigger" Value="True"/>
<Property Name="TriggerGroupAlarm" Value="False"/>
</Alarm>
<Alarm Index="58">
<Property Name="Acknowledge" Value="Possible"/>
<Property Name="AcknowledgeActive" Value="Enabled"/>
<Property Name="Bypass" Value="Enabled"/>
<Property Name="Description" Value=""/>
<Property Name="Latched" Value="False"/>
<Property Name="RecordAcknowledge" Value="True"/>
<Property Name="RecordBypass" Value="All"/>
<Property Name="RecordReset" Value="All"/>
<Property Name="RecordTrigger" Value="True"/>
<Property Name="TriggerGroupAlarm" Value="False"/>
</Alarm>
<Alarm Index="59">
<Property Name="Acknowledge" Value="Possible"/>
<Property Name="AcknowledgeActive" Value="Enabled"/>
<Property Name="Bypass" Value="Enabled"/>
<Property Name="Description" Value=""/>
<Property Name="Latched" Value="False"/>
<Property Name="RecordAcknowledge" Value="True"/>
<Property Name="RecordBypass" Value="All"/>
<Property Name="RecordReset" Value="All"/>
<Property Name="RecordTrigger" Value="True"/>
<Property Name="TriggerGroupAlarm" Value="False"/>
</Alarm>
<Alarm Index="Group">
<Property Name="Acknowledge" Value="Possible"/>
<Property Name="AcknowledgeActive" Value="Enabled"/>
@@ -384,6 +408,8 @@
<Text ID="371" Value="AcoposMulti Axis Error Shaft 4"/>
<Text ID="372" Value="Acopos Axis Error Slay 1"/>
<Text ID="373" Value="Acopos Axis Error Slay 2"/>
<Text ID="440" Value="Toolslay 1 MaintenanceCylinder not retraced"/>
<Text ID="441" Value="Toolslay 1 MaintenanceCylinder not extracted"/>
<Text ID="20" Value=""/>
</TextLayer>
<TextLayer LanguageId="de-DE">
@@ -413,6 +439,8 @@
<Text ID="371" Value="Acopos Multi Fehler in Achse Spindel 4"/>
<Text ID="372" Value="Acopos Fehler in Achse Werkeugschlitten 1"/>
<Text ID="373" Value="Acopos Fehler in Achse Werkeugschlitten 2"/>
<Text ID="440" Value="Werkzeugschlitten 1 Wartungszylinder nicht eingefahren"/>
<Text ID="441" Value="Werkzeugschlitten 1 Wartungszyliner nicht ausgefahren"/>
<Text ID="20" Value=""/>
</TextLayer>
<IndexMap>
@@ -442,6 +470,8 @@
<Index ID="371" Value="27"/>
<Index ID="372" Value="28"/>
<Index ID="373" Value="29"/>
<Index ID="440" Value="58"/>
<Index ID="441" Value="59"/>
<Index ID="20" Value="Group"/>
</IndexMap>
</TextGroup>

View File

@@ -353,6 +353,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="BOOL"/>
</DataPoint>
<DataPoint Name="bControllerStatus">
<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="Status">
<Property Name="Description" Value=""/>
@@ -407,6 +416,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="BOOL"/>
</DataPoint>
<DataPoint Name="bControllerStatus">
<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="Status">
<Property Name="Description" Value=""/>
@@ -461,6 +479,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="BOOL"/>
</DataPoint>
<DataPoint Name="bControllerStatus">
<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="Status">
<Property Name="Description" Value=""/>
@@ -515,6 +542,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="BOOL"/>
</DataPoint>
<DataPoint Name="bControllerStatus">
<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="Status">
<Property Name="Description" Value=""/>
@@ -543,7 +579,7 @@
</DataPoint>
<DataPoint Name="rPressPosMin">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -555,7 +591,7 @@
</DataPoint>
<DataPoint Name="rPressPosMax">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -748,6 +784,24 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usToolslay1UpMaint">
<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="usToolslay1DownMaint">
<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=""/>
@@ -905,6 +959,24 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="BOOL"/>
</DataPoint>
<DataPoint Name="bEnableToolslay1UpMaint">
<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>
<DataPoint Name="bEnableToolslay1DownMaint">
<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="ManualCommands">
<Property Name="Description" Value=""/>
@@ -1134,6 +1206,24 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="BOOL"/>
</DataPoint>
<DataPoint Name="bToolslay1UpMaint">
<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>
<DataPoint Name="bToolslay1DownMaint">
<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=""/>
@@ -1214,6 +1304,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="BOOL"/>
</DataPoint>
<DataPoint Name="bControllerStatus">
<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>
<DataPoint Name="enStepPress">
@@ -1251,7 +1350,7 @@
<Property Name="FolderType" Value="Struct"/>
<DataPoint Name="rPosHome">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -1263,7 +1362,7 @@
</DataPoint>
<DataPoint Name="rPosPremount">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -1275,7 +1374,7 @@
</DataPoint>
<DataPoint Name="rPosPress">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -1287,7 +1386,7 @@
</DataPoint>
<DataPoint Name="rPosMin">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -1311,7 +1410,7 @@
</DataPoint>
<DataPoint Name="rSpeedPress">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -1433,7 +1532,7 @@
<Property Name="FolderType" Value="Struct"/>
<DataPoint Name="rConsumedEnergy">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -1445,7 +1544,7 @@
</DataPoint>
<DataPoint Name="rRegeneratedEnergy">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -1470,7 +1569,7 @@
<Property Name="VCType" Value="SCALED[]"/>
<DataPoint Name="grAxisABSOffShaft[1]">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -1482,7 +1581,7 @@
</DataPoint>
<DataPoint Name="grAxisABSOffShaft[2]">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -1494,7 +1593,7 @@
</DataPoint>
<DataPoint Name="grAxisABSOffShaft[3]">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -1506,7 +1605,7 @@
</DataPoint>
<DataPoint Name="grAxisABSOffShaft[4]">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="ConnectingVisus" Value=""/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
@@ -1898,6 +1997,313 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<Folder Name="ToolParam">
<Property Name="Description" Value=""/>
<Property Name="FolderType" Value="Program"/>
<Folder Name="StatusVCControls">
<Property Name="Description" Value=""/>
<Property Name="FolderType" Value="Struct"/>
<DataPoint Name="usLevel3Parameter">
<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="usLevel4Parameter">
<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="usLevel4ChangeSerial">
<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="lPressParamActTool">
<Property Name="Description" Value=""/>
<Property Name="FolderType" Value="Struct"/>
<DataPoint Name="rPosHome">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rPosHomeMin">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rPosHomeMax">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rPosPremount">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rPosPremountMin">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rPosPremountMax">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rPosPress">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rPosPressMin">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rPosPressMax">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rPosPressToolslay">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rPosPressToolslayMin">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rPosPressToolslayMax">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Length]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rSpeedPress">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Velocity]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="rSpeedPressMax">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Velocity]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="udPresstime">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="UDINT"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Miliseconds]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Time]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="udIDIOBlock">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="UDINT"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
</Folder>
<DataPoint Name="bChangeSerialNr">
<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>
<DataPoint Name="grConsumedEnergy">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Wattseconds]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Energy]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="grRegeneratedEnergy">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Wattseconds]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Energy]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="gusVCCStatusTool">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="USINT[0..5]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER[]"/>
<DataPoint Name="gusVCCStatusTool[1]">
<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="gusVCCStatusTool[2]">
<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>
<DataPoint Name="grPressSpeedEmpty">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="DPLimit" Value="Default"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="REAL"/>
<Property Name="PLCUnit" Value="Source[relative:UnitGroup].Unit[Millimeter_0_1]"/>
<Property Name="UnitGroup" Value="Source[global].UnitGroup[Velocity]"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="genStepTool2">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="typ_enStepTool2"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
</Folder>
<Folder Name="Communication">
<Property Name="Description" Value=""/>
@@ -1935,5 +2341,18 @@
</Folder>
</Folder>
</Folder>
<Folder Name="GlobalVars">
<Property Name="Description" Value=""/>
<Property Name="FolderType" Value="Package"/>
<DataPoint Name="gudST10ModuleSerial">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Visualization\Visu"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="UDINT"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
</Folder>
</DataPoints>
</DataSource>

View File

@@ -32,6 +32,8 @@
<BitmapRef ID="1074" Value="Source[local].Bitmap[homing_bw_24]"/>
<BitmapRef ID="1104" Value="Source[local].Bitmap[sync_gears_24_24_bw]"/>
<BitmapRef ID="1105" Value="Source[local].Bitmap[sync_gears_24_24]"/>
<BitmapRef ID="1135" Value="Source[local].Bitmap[power_sw_24]"/>
<BitmapRef ID="1136" Value="Source[local].Bitmap[power_gn_24]"/>
</BitmapLayer>
<IndexMap>
<Index ID="981" Value="4"/>
@@ -61,5 +63,7 @@
<Index ID="1074" Value="23"/>
<Index ID="1104" Value="25"/>
<Index ID="1105" Value="26"/>
<Index ID="1135" Value="27"/>
<Index ID="1136" Value="28"/>
</IndexMap>
</BitmapGroup>

View File

@@ -32,6 +32,8 @@
<BitmapRef ID="1076" Value="Source[local].Bitmap[homing_36]"/>
<BitmapRef ID="1102" Value="Source[local].Bitmap[sync_gears_36_36_bw]"/>
<BitmapRef ID="1103" Value="Source[local].Bitmap[sync_gears_36_36]"/>
<BitmapRef ID="1137" Value="Source[local].Bitmap[power_sw_36]"/>
<BitmapRef ID="1138" Value="Source[local].Bitmap[power_gn_36]"/>
</BitmapLayer>
<IndexMap>
<Index ID="973" Value="4"/>
@@ -61,5 +63,7 @@
<Index ID="1076" Value="24"/>
<Index ID="1102" Value="25"/>
<Index ID="1103" Value="26"/>
<Index ID="1137" Value="27"/>
<Index ID="1138" Value="28"/>
</IndexMap>
</BitmapGroup>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="3.0.90.24 SP06"?>
<Bitmap xmlns="http://br-automation.co.at/AS/VC/Project" Name="power_gn_24">
<Property Name="Description" Value=""/>
<Property Name="File" Value="power_gn_24.png"/>
<Property Name="FillAreaColor" Value="0"/>
<Property Name="FillAreaColor32" Value="0"/>
<Property Name="FillAreaDatapoint" Value="1"/>
<Property Name="FillAreaDatapoint[0]" Value="None"/>
<Property Name="FillAreaLeft" Value="0"/>
<Property Name="FillAreaTop" Value="0"/>
<Property Name="FillAreas" Value="0"/>
<Property Name="Index" Value="269"/>
<Property Name="TargetFormat" Value="Png32Bit"/>
</Bitmap>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="3.0.90.24 SP06"?>
<Bitmap xmlns="http://br-automation.co.at/AS/VC/Project" Name="power_gn_36">
<Property Name="Description" Value=""/>
<Property Name="File" Value="power_gn_36.png"/>
<Property Name="FillAreaColor" Value="0"/>
<Property Name="FillAreaColor32" Value="0"/>
<Property Name="FillAreaDatapoint" Value="1"/>
<Property Name="FillAreaDatapoint[0]" Value="None"/>
<Property Name="FillAreaLeft" Value="0"/>
<Property Name="FillAreaTop" Value="0"/>
<Property Name="FillAreas" Value="0"/>
<Property Name="Index" Value="389"/>
<Property Name="TargetFormat" Value="Png32Bit"/>
</Bitmap>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="3.0.90.24 SP06"?>
<Bitmap xmlns="http://br-automation.co.at/AS/VC/Project" Name="power_sw_24">
<Property Name="Description" Value=""/>
<Property Name="File" Value="power_sw_24.png"/>
<Property Name="FillAreaColor" Value="0"/>
<Property Name="FillAreaColor32" Value="0"/>
<Property Name="FillAreaDatapoint" Value="1"/>
<Property Name="FillAreaDatapoint[0]" Value="None"/>
<Property Name="FillAreaLeft" Value="0"/>
<Property Name="FillAreaTop" Value="0"/>
<Property Name="FillAreas" Value="0"/>
<Property Name="Index" Value="268"/>
<Property Name="TargetFormat" Value="Png32Bit"/>
</Bitmap>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="3.0.90.24 SP06"?>
<Bitmap xmlns="http://br-automation.co.at/AS/VC/Project" Name="power_sw_36">
<Property Name="Description" Value=""/>
<Property Name="File" Value="power_sw_36.png"/>
<Property Name="FillAreaColor" Value="0"/>
<Property Name="FillAreaColor32" Value="0"/>
<Property Name="FillAreaDatapoint" Value="1"/>
<Property Name="FillAreaDatapoint[0]" Value="None"/>
<Property Name="FillAreaLeft" Value="0"/>
<Property Name="FillAreaTop" Value="0"/>
<Property Name="FillAreas" Value="0"/>
<Property Name="Index" Value="388"/>
<Property Name="TargetFormat" Value="Png32Bit"/>
</Bitmap>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -11,12 +11,15 @@
<TextGroup>
<TextLayer LanguageId="en-US">
<Text ID="99341" Value="COUNT"/>
<Text ID="101059" Value="Cycle:"/>
</TextLayer>
<TextLayer LanguageId="de-DE">
<Text ID="99341" Value="Zähler"/>
<Text ID="101059" Value="Taktzeit:"/>
</TextLayer>
<IndexMap>
<Index ID="99341" Value="16"/>
<Index ID="101059" Value="18"/>
</IndexMap>
</TextGroup>
<Controls>
@@ -24,7 +27,7 @@
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="22"/>
<Property Name="Left" Value="490"/>
<Property Name="Left" Value="525"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Header]"/>
<Property Name="TextGroup" Value="Source[global].TextGroup[HeaderBar]"/>
@@ -276,11 +279,14 @@
<Property Name="Width" Value="88"/>
</Control>
<Control ClassId="0x00001007" Name="Numeric_1">
<Property Name="AlignmentVertical" Value="Bottom"/>
<Property Name="BackColor" Value="255"/>
<Property Name="Border" Value="None"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="ForeColor" Value="15"/>
<Property Name="Height" Value="20"/>
<Property Name="Left" Value="352"/>
<Property Name="Left" Value="400"/>
<Property Name="MaxDatapoint" Value="None"/>
<Property Name="MaxValue" Value="None"/>
<Property Name="MinDatapoint" Value="None"/>
@@ -295,7 +301,22 @@
<Property Name="UnitTextWidth" Value="0"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.udCycletimeLast]"/>
<Property Name="ValueMode" Value="Standard"/>
<Property Name="Width" Value="100"/>
<Property Name="Width" Value="52"/>
</Control>
<Control ClassId="0x00001004" Name="txtCycle">
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Input]"/>
<Property Name="ForeColor" Value="15"/>
<Property Name="Height" Value="15"/>
<Property Name="Left" Value="340"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="18"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="15"/>
<Property Name="Width" Value="55"/>
</Control>
</Controls>
<KeyMapping>

View File

@@ -49,6 +49,7 @@
<Source File="TextGroups\PressstepsHome.txtgrp"/>
<Source File="TextGroups\StepsToolHome.txtgrp"/>
<Source File="TextGroups\Tools.txtgrp"/>
<Source File="TextGroups\StepsTool2.txtgrp"/>
<Source File="Fonts\Info.fninfo"/>
<Source File="Fonts\Html_SDM.fninfo"/>
<Source File="Fonts\Default.fninfo"/>
@@ -184,6 +185,10 @@
<Source File="Bitmaps\CylinderFw.bminfo"/>
<Source File="Bitmaps\CylinderBw_Gray.bminfo"/>
<Source File="Bitmaps\CylinderFw_Gray.bminfo"/>
<Source File="Bitmaps\power_sw_24.bminfo"/>
<Source File="Bitmaps\power_gn_24.bminfo"/>
<Source File="Bitmaps\power_sw_36.bminfo"/>
<Source File="Bitmaps\power_gn_36.bminfo"/>
<Source File="BitmapGroups\AlarmAcknowledgeState.bmgrp"/>
<Source File="BitmapGroups\AlarmBypassState.bmgrp"/>
<Source File="BitmapGroups\AlarmEvent.bmgrp"/>

View File

@@ -31,7 +31,7 @@
<Property Name="OutlineDisplayName" Value="True"/>
<Property Name="OutlineHatched" Value="False"/>
<Property Name="Top" Value="0"/>
<Property Name="VisibilityMode" Value="Normal"/>
<Property Name="VisibilityMode" Value="Hidden"/>
<Property Name="Z-Order" Value="1"/>
</LayerRef>
<Layer Name="PressInformation">
@@ -352,7 +352,7 @@
<Property Name="FillStyle" Value="Transparent"/>
<Property Name="Height" Value="24"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisShaft1.DriveStatus.bHomingOk]"/>
<Property Name="Left" Value="276"/>
<Property Name="Left" Value="275"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="64"/>
@@ -515,7 +515,7 @@
<Property Name="FillStyle" Value="Transparent"/>
<Property Name="Height" Value="24"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisShaft1.Status.bMotionSynchronized]"/>
<Property Name="Left" Value="304"/>
<Property Name="Left" Value="300"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="64"/>
@@ -530,7 +530,7 @@
<Property Name="FillStyle" Value="Transparent"/>
<Property Name="Height" Value="24"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisShaft2.Status.bMotionSynchronized]"/>
<Property Name="Left" Value="396"/>
<Property Name="Left" Value="395"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="64"/>
@@ -545,7 +545,7 @@
<Property Name="FillStyle" Value="Transparent"/>
<Property Name="Height" Value="24"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisShaft3.Status.bMotionSynchronized]"/>
<Property Name="Left" Value="484"/>
<Property Name="Left" Value="480"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="64"/>
@@ -560,7 +560,7 @@
<Property Name="FillStyle" Value="Transparent"/>
<Property Name="Height" Value="24"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisShaft4.Status.bMotionSynchronized]"/>
<Property Name="Left" Value="576"/>
<Property Name="Left" Value="570"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="64"/>
@@ -660,7 +660,7 @@
<Property Name="TextIndexOffset" Value="5"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="290"/>
<Property Name="Width" Value="72"/>
<Property Name="Width" Value="90"/>
</Control>
<Control ClassId="0x00001004" Name="Text_Speed">
<Property Name="AlignmentHorizontal" Value="Center"/>
@@ -687,12 +687,87 @@
<Property Name="FillStyle" Value="Transparent"/>
<Property Name="Height" Value="24"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisSlay1.DriveStatus.bHomingOk]"/>
<Property Name="Left" Value="250"/>
<Property Name="Left" Value="275"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="290"/>
<Property Name="Width" Value="24"/>
</Control>
<Control ClassId="0x00001005" Name="bmpPowerStateShaft1">
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_24]"/>
<Property Name="BitmapIndex" Value="27"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="FillStyle" Value="Transparent"/>
<Property Name="Height" Value="24"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisShaft1.DriveStatus.bControllerStatus]"/>
<Property Name="Left" Value="325"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="65"/>
<Property Name="Width" Value="24"/>
</Control>
<Control ClassId="0x00001005" Name="bmpPowerStateShaft2">
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_24]"/>
<Property Name="BitmapIndex" Value="27"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="FillStyle" Value="Transparent"/>
<Property Name="Height" Value="24"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisShaft2.DriveStatus.bControllerStatus]"/>
<Property Name="Left" Value="420"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="65"/>
<Property Name="Width" Value="24"/>
</Control>
<Control ClassId="0x00001005" Name="bmpPowerStateShaft3">
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_24]"/>
<Property Name="BitmapIndex" Value="27"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="FillStyle" Value="Transparent"/>
<Property Name="Height" Value="24"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisShaft3.DriveStatus.bControllerStatus]"/>
<Property Name="Left" Value="505"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="65"/>
<Property Name="Width" Value="24"/>
</Control>
<Control ClassId="0x00001005" Name="bmpPowerStateShaft4">
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_24]"/>
<Property Name="BitmapIndex" Value="27"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="FillStyle" Value="Transparent"/>
<Property Name="Height" Value="24"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisShaft4.DriveStatus.bControllerStatus]"/>
<Property Name="Left" Value="600"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="65"/>
<Property Name="Width" Value="24"/>
</Control>
<Control ClassId="0x00001005" Name="bmpPowerStateSlay1">
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_24]"/>
<Property Name="BitmapIndex" Value="27"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="FillStyle" Value="Transparent"/>
<Property Name="Height" Value="24"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisSlay1.DriveStatus.bControllerStatus]"/>
<Property Name="Left" Value="275"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="315"/>
<Property Name="Width" Value="24"/>
</Control>
</Controls>
<KeyMapping>
<VirtualKey Name="AlarmUp">
@@ -731,7 +806,7 @@
<Property Name="OutlineHatched" Value="False"/>
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Machine.gStatusVCControls.usLayersMainpage[3]]"/>
<Property Name="Top" Value="0"/>
<Property Name="VisibilityMode" Value="Normal"/>
<Property Name="VisibilityMode" Value="Hidden"/>
<Property Name="Width" Value="800"/>
<Property Name="Z-Order" Value="3"/>
<TextGroup>
@@ -743,6 +818,9 @@
<Text ID="97579" Value="Press Restore"/>
<Text ID="97722" Value="Tool 1"/>
<Text ID="99999" Value="Tool 2"/>
<Text ID="101274" Value="Lift"/>
<Text ID="101275" Value="Move Hor"/>
<Text ID="101276" Value="Maintenance"/>
</TextLayer>
<TextLayer LanguageId="de-DE">
<Text ID="96322" Value="GEAR ON"/>
@@ -752,6 +830,9 @@
<Text ID="97579" Value="Presse\nRef.laden"/>
<Text ID="97722" Value="Werkzeug 1"/>
<Text ID="99999" Value="Werkzeug 2"/>
<Text ID="101274" Value="Hub"/>
<Text ID="101275" Value="Hor. Verfahren"/>
<Text ID="101276" Value="Vartungshub"/>
</TextLayer>
<IndexMap>
<Index ID="96322" Value="32"/>
@@ -761,6 +842,9 @@
<Index ID="97579" Value="51"/>
<Index ID="97722" Value="53"/>
<Index ID="99999" Value="36"/>
<Index ID="101274" Value="45"/>
<Index ID="101275" Value="46"/>
<Index ID="101276" Value="47"/>
</IndexMap>
</TextGroup>
<Controls>
@@ -1060,7 +1144,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="172"/>
<Property Name="Top" Value="130"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManDisableGear]"/>
<Property Name="Width" Value="112"/>
</Control>
@@ -1077,7 +1161,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="412"/>
<Property Name="Left" Value="385"/>
<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.usJogPosSlay1]"/>
@@ -1085,7 +1169,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="284"/>
<Property Name="Top" Value="300"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManJogPosSlay1]"/>
<Property Name="Width" Value="56"/>
</Control>
@@ -1102,7 +1186,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="472"/>
<Property Name="Left" Value="450"/>
<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]"/>
@@ -1110,14 +1194,14 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="284"/>
<Property Name="Top" Value="300"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManJogNegSlay1]"/>
<Property Name="Width" Value="56"/>
</Control>
<Control ClassId="0x00001002" Name="btnReference">
<Property Name="AlignmentHorizontal" Value="Right"/>
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_36]"/>
<Property Name="BitmapIndex" Value="24"/>
<Property Name="BitmapIndex" Value="23"/>
<Property Name="BitmapIndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.MoveConditions.bEnableReferencePress]"/>
<Property Name="BitmapSimulationValue" Value="0"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
@@ -1136,14 +1220,14 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="284"/>
<Property Name="Top" Value="230"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManReferencePress]"/>
<Property Name="Width" Value="112"/>
</Control>
<Control ClassId="0x00001002" Name="btnReferenceSlay1">
<Property Name="AlignmentHorizontal" Value="Right"/>
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_36]"/>
<Property Name="BitmapIndex" Value="24"/>
<Property Name="BitmapIndex" Value="23"/>
<Property Name="BitmapIndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.MoveConditions.bEnableReferenceSlay1]"/>
<Property Name="BitmapSimulationValue" Value="0"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
@@ -1151,7 +1235,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="532"/>
<Property Name="Left" Value="670"/>
<Property Name="Multiline" Value="Manual"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
@@ -1162,14 +1246,14 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="284"/>
<Property Name="Top" Value="280"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManReferenceSlay1]"/>
<Property Name="Width" Value="112"/>
</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="BitmapIndex" Value="23"/>
<Property Name="BitmapIndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.MoveConditions.bEnableReferencePress]"/>
<Property Name="BitmapSimulationValue" Value="0"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
@@ -1188,7 +1272,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="180"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManReferencePressABS]"/>
<Property Name="Width" Value="112"/>
</Control>
@@ -1200,16 +1284,17 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="28"/>
<Property Name="Left" Value="175"/>
<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.gusVCCStatusTool[1]]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndex" Value="53"/>
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="352"/>
<Property Name="Top" Value="350"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[SetOpLayer4]"/>
<Property Name="Width" Value="148"/>
</Control>
@@ -1226,7 +1311,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="284"/>
<Property Name="Left" Value="310"/>
<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.usToolslay1Down]"/>
@@ -1234,7 +1319,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="284"/>
<Property Name="Top" Value="300"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManToolslay1Down]"/>
<Property Name="Width" Value="56"/>
</Control>
@@ -1251,7 +1336,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="340"/>
<Property Name="Left" Value="310"/>
<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.usToolslay1Up]"/>
@@ -1259,7 +1344,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="284"/>
<Property Name="Top" Value="300"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManToolslay1Up]"/>
<Property Name="Width" Value="56"/>
</Control>
@@ -1271,16 +1356,17 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="26"/>
<Property Name="Left" Value="175"/>
<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.gusVCCStatusTool[2]]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndex" Value="36"/>
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="400"/>
<Property Name="Top" Value="350"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[SetOpLayer5]"/>
<Property Name="Width" Value="148"/>
</Control>
@@ -1309,6 +1395,104 @@
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManJogHomeShaftMaster]"/>
<Property Name="Width" Value="124"/>
</Control>
<Control ClassId="0x00001002" Name="btnToolslay1DownMaint">
<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="13"/>
<Property Name="BitmapIndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.MoveConditions.bEnableToolslay1DownMaint]"/>
<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="530"/>
<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.usToolslay1DownMaint]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="300"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManToolslay1DownMaint]"/>
<Property Name="Width" Value="56"/>
</Control>
<Control ClassId="0x00001002" Name="btnToolslay1Up1">
<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="19"/>
<Property Name="BitmapIndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.MoveConditions.bEnableToolslay1UpMaint]"/>
<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="585"/>
<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.usToolslay1UpMaint]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="300"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManToolslay1UpMaint]"/>
<Property Name="Width" Value="56"/>
</Control>
<Control ClassId="0x00001004" Name="txtLift">
<Property Name="AlignmentHorizontal" Value="Center"/>
<Property Name="AlignmentVertical" Value="Center"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Header]"/>
<Property Name="Height" Value="24"/>
<Property Name="Left" Value="315"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="45"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="275"/>
<Property Name="Width" Value="45"/>
</Control>
<Control ClassId="0x00001004" Name="txtSlay">
<Property Name="AlignmentHorizontal" Value="Center"/>
<Property Name="AlignmentVertical" Value="Center"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Header]"/>
<Property Name="Height" Value="24"/>
<Property Name="Left" Value="385"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="46"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="275"/>
<Property Name="Width" Value="120"/>
</Control>
<Control ClassId="0x00001004" Name="txtSlay1">
<Property Name="AlignmentHorizontal" Value="Center"/>
<Property Name="AlignmentVertical" Value="Center"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Header]"/>
<Property Name="Height" Value="24"/>
<Property Name="Left" Value="520"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="47"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="275"/>
<Property Name="Width" Value="120"/>
</Control>
</Controls>
<KeyMapping>
<VirtualKey Name="MachSwitchOn">
@@ -1674,6 +1858,38 @@
</KeyAction>
</KeyActions>
</VirtualKey>
<VirtualKey Name="ManToolslay1DownMaint">
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
<KeyActions>
<KeyAction ClassId="0x0000016B">
<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="ResetValue" Value="0"/>
<Property Name="SetValue" Value="1"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.ManualCommands.bToolslay1DownMaint]"/>
</KeyAction>
</KeyActions>
</VirtualKey>
<VirtualKey Name="ManToolslay1UpMaint">
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
<KeyActions>
<KeyAction ClassId="0x0000016B">
<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="ResetValue" Value="0"/>
<Property Name="SetValue" Value="1"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.ManualCommands.bToolslay1UpMaint]"/>
</KeyAction>
</KeyActions>
</VirtualKey>
</KeyMapping>
</Layer>
<Layer Name="OpTool1">
@@ -1723,7 +1939,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="548"/>
<Property Name="Left" Value="585"/>
<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.Tool1.StatusVCControls.usCylinder1Fw]"/>
@@ -1746,7 +1962,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="244"/>
<Property Name="Left" Value="305"/>
<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.Tool1.StatusVCControls.usCylinder1Bw]"/>
@@ -1769,7 +1985,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="548"/>
<Property Name="Left" Value="585"/>
<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.Tool1.StatusVCControls.usCylinder2Fw]"/>
@@ -1792,7 +2008,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="244"/>
<Property Name="Left" Value="305"/>
<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.Tool1.StatusVCControls.usCylinder2Bw]"/>
@@ -1815,7 +2031,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="548"/>
<Property Name="Left" Value="585"/>
<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.Tool1.StatusVCControls.usCylinder3Fw]"/>
@@ -1838,7 +2054,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="244"/>
<Property Name="Left" Value="305"/>
<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.Tool1.StatusVCControls.usCylinder3Bw]"/>
@@ -1858,7 +2074,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="28"/>
<Property Name="Left" Value="175"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
@@ -1867,7 +2083,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="352"/>
<Property Name="Top" Value="350"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[SetOpLayer3]"/>
<Property Name="Width" Value="148"/>
</Control>
@@ -1878,7 +2094,7 @@
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Header]"/>
<Property Name="Height" Value="24"/>
<Property Name="Left" Value="452"/>
<Property Name="Left" Value="505"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
@@ -1894,7 +2110,7 @@
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Header]"/>
<Property Name="Height" Value="24"/>
<Property Name="Left" Value="452"/>
<Property Name="Left" Value="505"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
@@ -1910,7 +2126,7 @@
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Header]"/>
<Property Name="Height" Value="24"/>
<Property Name="Left" Value="452"/>
<Property Name="Left" Value="505"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
@@ -2051,19 +2267,19 @@
<Property Name="Z-Order" Value="5"/>
<TextGroup>
<TextLayer LanguageId="en-US">
<Text ID="99995" Value="Press"/>
<Text ID="99997" Value="Cylinder 1"/>
<Text ID="99998" Value="Cylinder 2"/>
<Text ID="101441" Value="Press"/>
</TextLayer>
<TextLayer LanguageId="de-DE">
<Text ID="99995" Value="Presse"/>
<Text ID="99997" Value="Zylinder 1"/>
<Text ID="99998" Value="Zylinder 2"/>
<Text ID="101441" Value="Presse"/>
</TextLayer>
<IndexMap>
<Index ID="99995" Value="8"/>
<Index ID="99997" Value="10"/>
<Index ID="99998" Value="11"/>
<Index ID="101441" Value="12"/>
</IndexMap>
</TextGroup>
<Controls>
@@ -2078,7 +2294,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="520"/>
<Property Name="Left" Value="585"/>
<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.Tool2.StatusVCControls.usCylinder1Fw]"/>
@@ -2086,7 +2302,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="152"/>
<Property Name="Top" Value="160"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManTool2Cyl1Fw]"/>
<Property Name="Width" Value="196"/>
</Control>
@@ -2101,7 +2317,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="216"/>
<Property Name="Left" Value="315"/>
<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.Tool2.StatusVCControls.usCylinder1Bw]"/>
@@ -2109,7 +2325,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="152"/>
<Property Name="Top" Value="160"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManTool2Cyl1Bw]"/>
<Property Name="Width" Value="196"/>
</Control>
@@ -2124,7 +2340,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="520"/>
<Property Name="Left" Value="585"/>
<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.Tool2.StatusVCControls.usCylinder2Fw]"/>
@@ -2132,7 +2348,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="204"/>
<Property Name="Top" Value="215"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManTool2Cyl2Fw]"/>
<Property Name="Width" Value="196"/>
</Control>
@@ -2147,7 +2363,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="216"/>
<Property Name="Left" Value="315"/>
<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.Tool2.StatusVCControls.usCylinder2Bw]"/>
@@ -2155,31 +2371,10 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="204"/>
<Property Name="Top" Value="215"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManTool2Cyl2Bw]"/>
<Property Name="Width" Value="196"/>
</Control>
<Control ClassId="0x00001002" Name="btnActToolOpLayerPress">
<Property Name="BitmapAlignmentVertical" Value="Bottom"/>
<Property Name="BitmapIndexDatapoint" Value="None"/>
<Property Name="BitmapSource" Value="None"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="0"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndex" Value="8"/>
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="336"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[SetOpLayer3]"/>
<Property Name="Width" Value="148"/>
</Control>
<Control ClassId="0x00001004" Name="Text_Cylinder1">
<Property Name="AlignmentHorizontal" Value="Center"/>
<Property Name="AlignmentVertical" Value="Center"/>
@@ -2187,13 +2382,13 @@
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Header]"/>
<Property Name="Height" Value="24"/>
<Property Name="Left" Value="424"/>
<Property Name="Left" Value="505"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="10"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="164"/>
<Property Name="Top" Value="170"/>
<Property Name="Width" Value="80"/>
</Control>
<Control ClassId="0x00001004" Name="Text_Cylinder2">
@@ -2203,17 +2398,53 @@
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Header]"/>
<Property Name="Height" Value="24"/>
<Property Name="Left" Value="424"/>
<Property Name="Left" Value="505"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="11"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="216"/>
<Property Name="Top" Value="225"/>
<Property Name="Width" Value="80"/>
</Control>
<Control ClassId="0x00001002" Name="btnActToolOpLayerPress1">
<Property Name="BitmapAlignmentVertical" Value="Bottom"/>
<Property Name="BitmapIndexDatapoint" Value="None"/>
<Property Name="BitmapSource" Value="None"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="175"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndex" Value="12"/>
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="350"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[SetOpLayer3]"/>
<Property Name="Width" Value="148"/>
</Control>
</Controls>
<KeyMapping>
<VirtualKey Name="SetOpLayer3">
<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="3"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Machine.gusCurrentOpLayer]"/>
</KeyAction>
</KeyActions>
</VirtualKey>
<VirtualKey Name="ManTool2Cyl1Bw">
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
@@ -2298,12 +2529,18 @@
<TextGroup>
<TextLayer LanguageId="en-US">
<Text ID="97970" Value="NEXT STEP"/>
<Text ID="101808" Value="Step Press"/>
<Text ID="101809" Value="Step Tool"/>
</TextLayer>
<TextLayer LanguageId="de-DE">
<Text ID="97970" Value="Nächster Schritt"/>
<Text ID="101808" Value="Schritt Presse"/>
<Text ID="101809" Value="Schritt Werkzeug"/>
</TextLayer>
<IndexMap>
<Index ID="97970" Value="1"/>
<Index ID="101808" Value="4"/>
<Index ID="101809" Value="5"/>
</IndexMap>
</TextGroup>
<Controls>
@@ -2316,14 +2553,14 @@
<Property Name="ForeColor" Value="0"/>
<Property Name="Height" Value="40"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.enStepPress]"/>
<Property Name="Left" Value="276"/>
<Property Name="Left" Value="350"/>
<Property Name="Multiline" Value="Automatic"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Header]"/>
<Property Name="TextGroup" Value="Source[local].TextGroup[Presssteps]"/>
<Property Name="TextIndexOffset" Value="0"/>
<Property Name="TextSource" Value="MultipleTexts"/>
<Property Name="Top" Value="172"/>
<Property Name="Top" Value="170"/>
<Property Name="Width" Value="396"/>
</Control>
<Control ClassId="0x00001002" Name="btnNextStep">
@@ -2334,7 +2571,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="280"/>
<Property Name="Left" Value="485"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Machine.gStatusVCControls.usBtnNextStep]"/>
@@ -2344,7 +2581,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="272"/>
<Property Name="Top" Value="260"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[cmdEnableNextPressStep]"/>
<Property Name="Width" Value="148"/>
</Control>
@@ -2357,14 +2594,69 @@
<Property Name="ForeColor" Value="0"/>
<Property Name="Height" Value="40"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.genStepTool1]"/>
<Property Name="Left" Value="276"/>
<Property Name="Left" Value="350"/>
<Property Name="Multiline" Value="Automatic"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Axises.gusVCCStatusTool[1]]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Header]"/>
<Property Name="TextGroup" Value="Source[local].TextGroup[StepsTool1]"/>
<Property Name="TextIndexOffset" Value="0"/>
<Property Name="TextSource" Value="MultipleTexts"/>
<Property Name="Top" Value="216"/>
<Property Name="Top" Value="215"/>
<Property Name="Width" Value="396"/>
</Control>
<Control ClassId="0x00001004" Name="Text_Pressstep">
<Property Name="AlignmentHorizontal" Value="Center"/>
<Property Name="AlignmentVertical" Value="Center"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Header]"/>
<Property Name="Height" Value="40"/>
<Property Name="Left" Value="270"/>
<Property Name="Multiline" Value="Automatic"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="4"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="170"/>
<Property Name="Width" Value="80"/>
</Control>
<Control ClassId="0x00001004" Name="Text_Pressstep1">
<Property Name="AlignmentHorizontal" Value="Center"/>
<Property Name="AlignmentVertical" Value="Center"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Header]"/>
<Property Name="Height" Value="40"/>
<Property Name="Left" Value="270"/>
<Property Name="Multiline" Value="Automatic"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="5"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="215"/>
<Property Name="Width" Value="80"/>
</Control>
<Control ClassId="0x00001004" Name="txtAutomaticStepTool2">
<Property Name="AlignmentVertical" Value="Top"/>
<Property Name="Border" Value="Source[local].Border[Flat_grey]"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Status]"/>
<Property Name="ForeColor" Value="0"/>
<Property Name="Height" Value="40"/>
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Axises.genStepTool2]"/>
<Property Name="Left" Value="350"/>
<Property Name="Multiline" Value="Automatic"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Axises.gusVCCStatusTool[2]]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Header]"/>
<Property Name="TextGroup" Value="Source[local].TextGroup[StepsTool2]"/>
<Property Name="TextIndexOffset" Value="0"/>
<Property Name="TextSource" Value="MultipleTexts"/>
<Property Name="Top" Value="215"/>
<Property Name="Width" Value="396"/>
</Control>
</Controls>
@@ -2606,7 +2898,7 @@
<Property Name="Description" Value=""/>
<Property Name="Height" Value="44"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="196"/>
<Property Name="Left" Value="25"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Machine.gStatusVCControls.usBtnErrorReset]"/>
@@ -2616,7 +2908,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="MultipleTexts"/>
<Property Name="Top" Value="352"/>
<Property Name="Top" Value="350"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ErrorReset]"/>
<Property Name="Width" Value="148"/>
</Control>

File diff suppressed because it is too large Load Diff

View File

@@ -145,7 +145,7 @@
<Property Name="Description" Value=""/>
<Property Name="ForeColor" Value="0"/>
<Property Name="Height" Value="30"/>
<Property Name="Left" Value="656"/>
<Property Name="Left" Value="645"/>
<Property Name="MaxDatapoint" Value="None"/>
<Property Name="MaxValue" Value="None"/>
<Property Name="MinDatapoint" Value="None"/>
@@ -160,7 +160,7 @@
<Property Name="UnitTextWidth" Value="0"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.AxisPS.lPS.Status.mcPowerData.AverageReactivePower]"/>
<Property Name="ValueMode" Value="Standard"/>
<Property Name="Width" Value="124"/>
<Property Name="Width" Value="139"/>
</Control>
<Control ClassId="0x00001007" Name="numConsumedEngergy">
<Property Name="BackColor" Value="252"/>
@@ -168,7 +168,7 @@
<Property Name="Description" Value=""/>
<Property Name="ForeColor" Value="0"/>
<Property Name="Height" Value="30"/>
<Property Name="Left" Value="656"/>
<Property Name="Left" Value="645"/>
<Property Name="MaxDatapoint" Value="None"/>
<Property Name="MaxValue" Value="None"/>
<Property Name="MinDatapoint" Value="None"/>
@@ -181,9 +181,9 @@
<Property Name="UnitTextAlignment" Value="Left"/>
<Property Name="UnitTextPosition" Value="Right"/>
<Property Name="UnitTextWidth" Value="0"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.AxisPS.lPS.Energy.rConsumedEnergy]"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.grConsumedEnergy]"/>
<Property Name="ValueMode" Value="Standard"/>
<Property Name="Width" Value="124"/>
<Property Name="Width" Value="139"/>
</Control>
<Control ClassId="0x00001007" Name="numRegeneratedEngergy">
<Property Name="BackColor" Value="252"/>
@@ -191,7 +191,7 @@
<Property Name="Description" Value=""/>
<Property Name="ForeColor" Value="0"/>
<Property Name="Height" Value="30"/>
<Property Name="Left" Value="660"/>
<Property Name="Left" Value="645"/>
<Property Name="MaxDatapoint" Value="None"/>
<Property Name="MaxValue" Value="None"/>
<Property Name="MinDatapoint" Value="None"/>
@@ -204,9 +204,9 @@
<Property Name="UnitTextAlignment" Value="Left"/>
<Property Name="UnitTextPosition" Value="Right"/>
<Property Name="UnitTextWidth" Value="0"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.AxisPS.lPS.Energy.rRegeneratedEnergy]"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.grRegeneratedEnergy]"/>
<Property Name="ValueMode" Value="Standard"/>
<Property Name="Width" Value="120"/>
<Property Name="Width" Value="140"/>
</Control>
<Control ClassId="0x00001007" Name="numActivePower">
<Property Name="BackColor" Value="252"/>
@@ -214,7 +214,7 @@
<Property Name="Description" Value=""/>
<Property Name="ForeColor" Value="0"/>
<Property Name="Height" Value="30"/>
<Property Name="Left" Value="656"/>
<Property Name="Left" Value="645"/>
<Property Name="MaxDatapoint" Value="None"/>
<Property Name="MaxValue" Value="None"/>
<Property Name="MinDatapoint" Value="None"/>
@@ -229,63 +229,63 @@
<Property Name="UnitTextWidth" Value="0"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.AxisPS.lPS.Status.mcPowerData.AverageActivePower]"/>
<Property Name="ValueMode" Value="Standard"/>
<Property Name="Width" Value="124"/>
<Property Name="Width" Value="135"/>
</Control>
<Control ClassId="0x00001004" Name="txtActivePower">
<Property Name="AlignmentVertical" Value="Center"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="20"/>
<Property Name="Left" Value="644"/>
<Property Name="Left" Value="645"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[global].TextGroup[LabelTexts]"/>
<Property Name="TextIndexOffset" Value="100"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="148"/>
<Property Name="Width" Value="112"/>
<Property Name="Width" Value="111"/>
</Control>
<Control ClassId="0x00001004" Name="txtRectivePower">
<Property Name="AlignmentVertical" Value="Center"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="20"/>
<Property Name="Left" Value="640"/>
<Property Name="Left" Value="650"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[global].TextGroup[LabelTexts]"/>
<Property Name="TextIndexOffset" Value="101"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="204"/>
<Property Name="Width" Value="112"/>
<Property Name="Width" Value="102"/>
</Control>
<Control ClassId="0x00001004" Name="txtConsumedEnergy">
<Property Name="AlignmentVertical" Value="Center"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="20"/>
<Property Name="Left" Value="644"/>
<Property Name="Left" Value="645"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[global].TextGroup[LabelTexts]"/>
<Property Name="TextIndexOffset" Value="102"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="260"/>
<Property Name="Width" Value="144"/>
<Property Name="Width" Value="143"/>
</Control>
<Control ClassId="0x00001004" Name="txtRegneratedEnergy">
<Property Name="AlignmentVertical" Value="Center"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="20"/>
<Property Name="Left" Value="644"/>
<Property Name="Left" Value="645"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[global].TextGroup[LabelTexts]"/>
<Property Name="TextIndexOffset" Value="103"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="316"/>
<Property Name="Width" Value="144"/>
<Property Name="Width" Value="143"/>
</Control>
<Control ClassId="0x00001004" Name="txtShaft4">
<Property Name="AlignmentVertical" Value="Center"/>

View File

@@ -50,15 +50,9 @@
<Property Name="Width" Value="800"/>
<Property Name="Z-Order" Value="2"/>
<TextGroup>
<TextLayer LanguageId="en-US">
<Text ID="94049" Value="Only brightness or contrast changes may have a visible effect depending on the display type being used."/>
</TextLayer>
<TextLayer LanguageId="de-DE">
<Text ID="94049" Value="Abhängig vom Displaytypen wird die Darstellung nur von der Helligkeit oder dem Kontrast beeinflusst"/>
</TextLayer>
<IndexMap>
<Index ID="94049" Value="7"/>
</IndexMap>
<TextLayer LanguageId="en-US"/>
<TextLayer LanguageId="de-DE"/>
<IndexMap/>
</TextGroup>
<Controls>
<Control ClassId="0x00001001" Name="frmLanguage">
@@ -161,19 +155,6 @@
<Property Name="Top" Value="62"/>
<Property Name="Width" Value="159"/>
</Control>
<Control ClassId="0x00001004" Name="txtHelpText">
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="93"/>
<Property Name="Left" Value="442"/>
<Property Name="SimulationValue" Value=""/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Help]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="7"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="232"/>
<Property Name="Width" Value="164"/>
</Control>
<Control ClassId="0x00001004" Name="txtBrightness">
<Property Name="AlignmentHorizontal" Value="Center"/>
<Property Name="ControlID" Value="0"/>

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="3.0.90.24 SP06"?>
<TextGroup xmlns="http://br-automation.co.at/AS/VC/Project" Name="StepsTool2">
<Property Name="Description" Value="Steps of Tool1"/>
<Property Name="Index" Value="6"/>
<TextSnippets/>
<TextLayer LanguageId="en-US">
<Text ID="101549" Value="Initstep (Machine must be in Homepos)"/>
<Text ID="101550" Value="Wait Start Premount"/>
<Text ID="101551" Value="Cylinder 1 extract"/>
<Text ID="101552" Value="Cylinder 2 extract"/>
<Text ID="101553" Value="Wait Start Homeposition"/>
<Text ID="101555" Value="Move Homepos"/>
<Text ID="101556" Value="Start Premount"/>
</TextLayer>
<TextLayer LanguageId="de-DE">
<Text ID="101549" Value="Initialisierung, prüfe Grundstellung"/>
<Text ID="101550" Value="Warte auf Start Vormontage"/>
<Text ID="101551" Value="Zylinder 1 Ausfahren"/>
<Text ID="101552" Value="Zylinder 2 Ausfahren"/>
<Text ID="101553" Value="Warte auf Start Grundstellung anfahren"/>
<Text ID="101555" Value="Grrundstellung anfahren"/>
<Text ID="101556" Value="Start Vormontage"/>
</TextLayer>
<IndexMap>
<Index ID="101549" Value="0"/>
<Index ID="101550" Value="1"/>
<Index ID="101551" Value="3"/>
<Index ID="101552" Value="4"/>
<Index ID="101553" Value="5"/>
<Index ID="101555" Value="6"/>
<Index ID="101556" Value="2"/>
</IndexMap>
</TextGroup>

View File

@@ -1839,4 +1839,16 @@
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
</VirtualKey>
<VirtualKey Name="ManToolslay1DownMaint">
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
</VirtualKey>
<VirtualKey Name="ManToolslay1UpMaint">
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
</VirtualKey>
<VirtualKey Name="cmdChangeSerial">
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
</VirtualKey>
</KeyMapping>

View File

@@ -22,6 +22,7 @@
<TaskClass Name="Cyclic#4">
<Task Name="blinker" Source="Common.blinker.prg" Memory="UserROM" Language="IEC" Debugging="true" />
<Task Name="ToolCtrl" Source="Axises.ToolCtrl.prg" Memory="UserROM" Language="IEC" Debugging="true" />
<Task Name="ToolParam" Source="Axises.ToolParam.prg" Memory="UserROM" Language="IEC" Debugging="true" />
</TaskClass>
<TaskClass Name="Cyclic#5" />
<TaskClass Name="Cyclic#6" />
@@ -115,5 +116,6 @@
<LibraryObject Name="AsTCP" Source="Libraries.AsTCP.lby" Memory="UserROM" Language="Binary" Debugging="true" />
<LibraryObject Name="standard" Source="Libraries.standard.lby" Memory="UserROM" Language="Binary" Debugging="true" />
<LibraryObject Name="AsMath" Source="Libraries.AsMath.lby" Memory="UserROM" Language="Binary" Debugging="true" />
<LibraryObject Name="AsArLog" Source="Libraries.AsArLog.lby" Memory="UserROM" Language="Binary" Debugging="true" />
</Libraries>
</SwConfiguration>

View File

@@ -47,7 +47,7 @@ VAR_CONFIG
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;
gbInTool1MaintBracket2Home 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;
@@ -74,4 +74,5 @@ VAR_CONFIG
gbOuCentralGrease AT %QX.SL1.IF1.ST5.IF1.ST5.DigitalOutput04;
gbOuUE410Power AT %QX.SL1.IF1.ST5.IF1.ST5.DigitalOutput05;
gbInResetKeyTool1 AT %IX.SL1.IF1.ST5.IF1.ST2.DigitalInput12;
gudST10ModuleSerial AT %ID.SL1.IF1.ST5.IF1.ST10.SerialNumber;
END_VAR

View File

@@ -13,7 +13,7 @@
<Object Type="Package">Motion</Object>
</Objects>
<CpuModules>
<CpuModule LocalVariablesMemory="MemoryPool" GeneratePPCode="false" HasNcOperatingSystem="true" Target="SG4" ModuleID="PP500" ClassID="5PP5CP.US15-00" GccVersion="V4.1.2" OnlineConfigurationName="PresseII">
<CpuModule LocalVariablesMemory="MemoryPool" GeneratePPCode="false" HasNcOperatingSystem="true" Target="SG4" ModuleID="PP500" ClassID="5PP5CP.US15-00" GccVersion="V4.1.2" OnlineConfigurationName="PresseI">
<DefaultTargetMemory Tasks="UserROM" Libraries="UserROM" DataObjects="UserROM" />
<DefaultTaskClass Name="Cyclic4" />
<IO DefaultTaskClass="Automatic" Supervision="false" ArConfigDataModule="false" ArConfigDataModulePath="$(AS_CPU_PATH)\AS\CfgData.br" IoMapDataModule="false" IoMapDataModulePath="$(AS_CPU_PATH)\AS\IomData.br" />
@@ -25,6 +25,6 @@
</CpuModule>
</CpuModules>
<Communication>
<OnlineConfiguration Name="PresseII" DeviceType="TCPIP" DeviceParameters="/IF=tcpip /LOPO=11159 /SA=101" ConnectionParameters="/RT=1000 /DAIP=192.168.11.75 /REPO=11159 /ANSL=1" Description="" UserName="michi" />
<OnlineConfiguration Name="PresseI" DeviceType="TCPIP" DeviceParameters="/IF=tcpip /LOPO=11159 /SA=101" ConnectionParameters="/RT=1000 /DAIP=192.168.11.73 /REPO=11159 /ANSL=1" Description="" UserName="michi" />
</Communication>
</PLC>