Lots of changes
User levels Errors Speeds
This commit is contained in:
@@ -6,6 +6,7 @@ VAR
|
||||
Axis_MC_Power : MC_Power := (0);
|
||||
Axis_MC_ReadStatus : MC_ReadStatus := (0);
|
||||
Axis_MC_ReadAxisError : MC_ReadAxisError := (0);
|
||||
Axis_MC_BR_ReadAxisError : MC_BR_ReadAxisError := (0);
|
||||
Axis_MC_Reset : MC_Reset := (0);
|
||||
END_VAR
|
||||
(*//-----------------------------------------------------------------------------------------------------*)
|
||||
|
||||
@@ -19,6 +19,7 @@ IF Axis_MC_ReadStatus.Valid THEN
|
||||
END_IF
|
||||
|
||||
Axis_MC_BR_ReadDriveStatus ();
|
||||
Axis_MC_BR_ReadAxisError ();
|
||||
|
||||
|
||||
|
||||
@@ -190,6 +191,8 @@ IF Axis_MC_BR_Powermeter.Valid THEN
|
||||
lPS.Status.mcPowerData.EnergyBalance := Axis_MC_BR_Powermeter.PowerData.EnergyBalance;
|
||||
IF (lPS.Status.mcPowerData.IntervalNumber <> Axis_MC_BR_Powermeter.PowerData.IntervalNumber) THEN
|
||||
//New Interval
|
||||
grConsumedEnergy := grConsumedEnergy + lPS.Status.mcPowerData.ConsumedEnergy;
|
||||
grRegeneratedEnergy := grRegeneratedEnergy + lPS.Status.mcPowerData.ConsumedEnergy;
|
||||
lPS.Energy.rConsumedEnergy := lPS.Energy.rConsumedEnergy + lPS.Status.mcPowerData.ConsumedEnergy;
|
||||
lPS.Energy.rRegeneratedEnergy := lPS.Energy.rRegeneratedEnergy + lPS.Status.mcPowerData.RegeneratedEnergy;
|
||||
END_IF
|
||||
|
||||
@@ -20,12 +20,20 @@ Axis_MC_BR_Powermeter.Axis := udAxisObj;
|
||||
Axis_MC_Power.Axis := udAxisObj;
|
||||
Axis_MC_ReadStatus.Axis := udAxisObj;
|
||||
Axis_MC_ReadAxisError.Axis := udAxisObj;
|
||||
Axis_MC_BR_ReadAxisError.Axis := udAxisObj;
|
||||
Axis_MC_BR_ReadAxisError.Mode := mcTEXT;
|
||||
Axis_MC_BR_ReadAxisError.Configuration.DataAddress := ADR (lPS.Error.Text);
|
||||
Axis_MC_BR_ReadAxisError.Configuration.DataLength := SIZEOF (lPS.Error.Text);
|
||||
Axis_MC_BR_ReadAxisError.Configuration.DataObjectName := 'acp10etxde';
|
||||
Axis_MC_BR_ReadAxisError.Configuration.Format := mcWRAP + mcNULL;
|
||||
Axis_MC_BR_ReadAxisError.Configuration.LineLength := SIZEOF (lPS.Error.Text[0]);
|
||||
Axis_MC_Reset.Axis := udAxisObj;
|
||||
|
||||
|
||||
|
||||
//Enable Fubs
|
||||
Axis_MC_BR_ReadDriveStatus.Enable := TRUE;
|
||||
Axis_MC_BR_ReadAxisError.Enable := TRUE;
|
||||
Axis_MC_ReadStatus.Enable := TRUE;
|
||||
|
||||
|
||||
|
||||
@@ -17,8 +17,12 @@ VAR
|
||||
gAxExtra1 : ACP10AXIS_typ;
|
||||
gAxExtra2 : ACP10AXIS_typ;
|
||||
END_VAR
|
||||
(*Permanent*)
|
||||
(*//-----------------------------------------------------------------------------------------------------*)
|
||||
(*//Retain*)
|
||||
(*//-----------------------------------------------------------------------------------------------------*)
|
||||
VAR RETAIN
|
||||
grConsumedEnergy : REAL;
|
||||
grRegeneratedEnergy : REAL;
|
||||
grAxisABSOffShaft : ARRAY[1..4] OF REAL; (*Absolute Offsets*)
|
||||
END_VAR
|
||||
(*Constants*)
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
|
||||
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]*)
|
||||
rPosPressToolslay : REAL := 1250.0; (*Pressposition Werkzeugschlitten [mm]*)
|
||||
rPosMin : REAL := 0.0; (*Minimalpositon [0.1 mm]*)
|
||||
rPosMax : REAL := 1625.0; (*Maximalposition (SW-Limit 1650)*)
|
||||
rSpeedPress : REAL := 80.0; (*Pressgeschwindigkeit [0.1 mm/s]*)
|
||||
udPresstime : UDINT := 500; (*Presszeit [ms]*)
|
||||
END_STRUCT;
|
||||
typ_enStepTool1 :
|
||||
( (*Werkzeug 1 Schritte*)
|
||||
enTool1Step_INIT, (*Grundstellung pr<70>fen*)
|
||||
|
||||
@@ -7,8 +7,12 @@ VAR
|
||||
genStepTool2 : typ_enStepTool2; (*Schritte Werkzeug 2*)
|
||||
genStepTool1Home : typ_enStepTool1Home; (*Schritte Werkzeug 1*)
|
||||
genStepTool2Home : typ_enStepTool2Home; (*Schritte Werkzeug 2*)
|
||||
gusCurrentTool : USINT; (*Eingebautes Werkzeug*)
|
||||
END_VAR
|
||||
(*Permanent*)
|
||||
VAR RETAIN
|
||||
gusSelectedTool : USINT; (*Angew<65>hltes Werkzeug*)
|
||||
gudPartCountShift : UDINT; (*Schichtz<74>hler*)
|
||||
gudPartCountOverall : UDINT; (*Gesamtz<74>hler*)
|
||||
gusCurrentTool : USINT; (*Eingebautes Werkzeug*)
|
||||
gusSelectedTool : USINT; (*Angew<65>hltes Werkzeug*)
|
||||
gPressParamTools : ARRAY[0..5] OF typ_PressParam; (*Werkzeug abh<62>ngige Positionen*)
|
||||
END_VAR
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
</Group>
|
||||
<Group ID="limit">
|
||||
<Group ID="parameter">
|
||||
<Parameter ID="v_pos" Value="1250.0" />
|
||||
<Parameter ID="v_neg" Value="1250.0" />
|
||||
<Parameter ID="v_pos" Value="2000.0" />
|
||||
<Parameter ID="v_neg" Value="2000.0" />
|
||||
<Parameter ID="a1_pos" Value="1000.0" />
|
||||
<Parameter ID="a2_pos" Value="1000.0" />
|
||||
<Parameter ID="a1_neg" Value="1000.0" />
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<Package xmlns="http://br-automation.co.at/AS/Package">
|
||||
<Objects>
|
||||
<Object Type="File" Description="Achsdatentypen">GlobalAxis.typ</Object>
|
||||
<Object Type="File" Description="Achsdatentypen">GlobalTool.typ</Object>
|
||||
<Object Type="File" Description="Werkzeugdatentypen">GlobalTool.typ</Object>
|
||||
<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>
|
||||
|
||||
@@ -3,7 +3,7 @@ FUNCTION HomeAxis
|
||||
IF (enInStep = enHomeOffsetPerm) THEN
|
||||
//Home with permanent Stored Offset
|
||||
//---------------------------
|
||||
InAxis.Para.rHomePosition := rInPermanentOffset + rInOffset;
|
||||
InAxis.Para.rHomePosition := rInPermanentOffset;
|
||||
InAxis.bHome := TRUE;
|
||||
enInStep := enHomeOffsetPermDone;
|
||||
ELSIF (enInStep = enHomeOffsetPermDone) THEN
|
||||
@@ -40,7 +40,7 @@ FUNCTION HomeAxis
|
||||
//Store Axis Position
|
||||
//---------------------------
|
||||
rInPermanentOffset := - InAxis.rActPosition + rInOffset;
|
||||
ERRxwarning(50001, 0 , ADR ('Encoder Offset modified'));
|
||||
ERRxwarning (50001, 0 , ADR ('Permanenter Geberoffset einer Spindel wurde ver<65>ndert'));
|
||||
enInStep := enHomeOffsetPerm;
|
||||
END_IF
|
||||
END_FUNCTION
|
||||
@@ -3,7 +3,7 @@ PROGRAM _CYCLIC
|
||||
gMachine.bAxisSimulation := FALSE;
|
||||
bSafetyOk := gUE410_MU_MQD.bX3 AND gUE410_MU_MQD.bX4;
|
||||
bSafetyOkFP := EDGEPOS (bSafetyOk);
|
||||
lPressParamActTool ACCESS ADR (PressParamTools[gusSelectedTool]);
|
||||
lPressParamActTool ACCESS ADR (gPressParamTools[gusSelectedTool]);
|
||||
|
||||
IF EDGEPOS (bBlink0_1) THEN
|
||||
udSteptime := udSteptime + 100;
|
||||
@@ -36,7 +36,7 @@ PROGRAM _CYCLIC
|
||||
lAxisShaft3.Para.rDeceleration := lAxisShaft1.Para.rDeceleration;
|
||||
lAxisShaft4.Para.rAcceleration := lAxisShaft1.Para.rAcceleration;
|
||||
lAxisShaft4.Para.rDeceleration := lAxisShaft1.Para.rDeceleration;
|
||||
|
||||
|
||||
//Set Override
|
||||
IF (rOverrideVelocity < 1) THEN
|
||||
rOverrideVelocity := 1;
|
||||
@@ -59,12 +59,16 @@ PROGRAM _CYCLIC
|
||||
//Power Up Axises
|
||||
lPS.Command.bPower := gMachine.bMachineON;
|
||||
lAxisShaftMaster.bPower := gMachine.bMachineON;
|
||||
lAxisShaft1.bPower := gMachine.bMachineON AND lPS.DriveStatus.bControllerStatus AND bSafetyOk;
|
||||
lAxisShaft1.bPower := gMachine.bMachineON AND lPS.DriveStatus.bControllerStatus AND bSafetyOk AND
|
||||
NOT ((gMachine.enMode = enMACH_AUTOMATIC) AND (enStepPress = enPressStep_WAIT_START)) AND
|
||||
NOT ((gMachine.enMode = enMACH_AUTOMATIC) AND (enStepPress = enPressStep_WAIT_START2));
|
||||
lAxisShaft2.bPower := lAxisShaft1.bPower;
|
||||
lAxisShaft3.bPower := lAxisShaft1.bPower;
|
||||
lAxisShaft4.bPower := lAxisShaft1.bPower;
|
||||
|
||||
lAxisSlay1.bPower := gMachine.bMachineON AND lAxisSlay1.DriveStatus.bControllerReady AND bSafetyOk;
|
||||
lAxisSlay1.bPower := gMachine.bMachineON AND lAxisSlay1.DriveStatus.bControllerReady AND bSafetyOk AND
|
||||
NOT ((gMachine.enMode = enMACH_AUTOMATIC) AND (enStepPress = enPressStep_WAIT_START)) AND
|
||||
NOT ((gMachine.enMode = enMACH_AUTOMATIC) AND (enStepPress = enPressStep_WAIT_START2));
|
||||
|
||||
gbOuOpenPressBrake := gMachine.bMachineON AND bSafetyOk;
|
||||
|
||||
@@ -74,7 +78,7 @@ PROGRAM _CYCLIC
|
||||
lAxisShaft1.bStop := bStop;
|
||||
lAxisShaft2.bStop := bStop;
|
||||
lAxisShaft3.bStop := bStop;
|
||||
lAxisShaft3.bStop := bStop;
|
||||
lAxisShaft4.bStop := bStop;
|
||||
|
||||
lAxisSlay1.bStop := bStop;
|
||||
|
||||
@@ -147,7 +151,16 @@ PROGRAM _CYCLIC
|
||||
rPosDiffShaft2 := lAxisShaftMaster.rActPosition - lAxisShaft2.rActPosition;
|
||||
rPosDiffShaft3 := lAxisShaftMaster.rActPosition - lAxisShaft3.rActPosition;
|
||||
rPosDiffShaft4 := lAxisShaftMaster.rActPosition - lAxisShaft4.rActPosition;
|
||||
|
||||
|
||||
rPosDiffShaft1_2 := ABS (lAxisShaft1.rActPosition - lAxisShaft2.rActPosition);
|
||||
rPosDiffShaft1_3 := ABS (lAxisShaft1.rActPosition - lAxisShaft2.rActPosition);
|
||||
rPosDiffShaft3_4 := ABS (lAxisShaft3.rActPosition - lAxisShaft3.rActPosition);
|
||||
rPosDiffShaft2_4 := ABS (lAxisShaft2.rActPosition - lAxisShaft4.rActPosition);
|
||||
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));
|
||||
bPressIsInHomepos := ((lAxisShaftMaster.rActPosition = lPressParamActTool.rPosHome) AND bAllAxisesInSync);
|
||||
// lAxisShaft1.DriveStatus.bTrigger1;
|
||||
|
||||
@@ -170,33 +183,28 @@ PROGRAM _CYCLIC
|
||||
bToolslay1IsDown := TON_SlayDown.Q;
|
||||
|
||||
bToolslayIsOut := (lAxisSlay1.rActPosition = rToolSlayPosOut) AND lAxisSlay1.DriveStatus.bHomingOk;
|
||||
bToolslayIsIn := (lAxisSlay1.rActPosition = rToolSlayPosIn) AND lAxisSlay1.DriveStatus.bHomingOk;
|
||||
bToolslayIsIn := (lAxisSlay1.rActPosition = lPressParamActTool.rPosPressToolslay) AND lAxisSlay1.DriveStatus.bHomingOk;
|
||||
|
||||
bMachineIsInHomepos := bToolslayIsOut AND bToolslay1IsDown AND bPressIsInHomepos;
|
||||
|
||||
|
||||
//Move Conditions
|
||||
MoveConditions.bEnableNegShaft1 := (lAxisShaft1.rActPosition > rPressPosMin);
|
||||
MoveConditions.bEnablePosShaft1 := (lAxisShaft1.rActPosition < rPressPosMax);
|
||||
MoveConditions.bEnableNegShaft2 := (lAxisShaft2.rActPosition > rPressPosMin);
|
||||
MoveConditions.bEnablePosShaft2 := (lAxisShaft2.rActPosition < rPressPosMax);
|
||||
MoveConditions.bEnableNegShaft3 := (lAxisShaft3.rActPosition > rPressPosMin);
|
||||
MoveConditions.bEnablePosShaft3 := (lAxisShaft3.rActPosition < rPressPosMax);
|
||||
MoveConditions.bEnableNegShaft4 := (lAxisShaft4.rActPosition > rPressPosMin);
|
||||
MoveConditions.bEnablePosShaft4 := (lAxisShaft4.rActPosition < rPressPosMax);
|
||||
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.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.bEnablePosShaftMaster := (gMachine.bSetupMode OR (lAxisShaftMaster.rActPosition < rPressPosMax)) AND bAllAxisesInSync AND gPS.DriveStatus.bTrigger2 AND
|
||||
(gMachine.bSetupMode OR bToolslayIsOut OR (bToolslay1IsDown AND bToolslayIsIn));
|
||||
// ((gMachine.enMode <> enMACH_JOG) OR
|
||||
// ((lAxisShaft1.rActTorque < 6.5) AND
|
||||
// (lAxisShaft2.rActTorque < 6.5) AND
|
||||
// (lAxisShaft3.rActTorque < 6.5) AND
|
||||
// (lAxisShaft4.rActTorque < 6.5)));
|
||||
|
||||
MoveConditions.bEnableJogHomeShaftMaster :=(gMachine.bSetupMode) AND bAllAxisesInSync AND NOT bPressIsInHomepos;
|
||||
|
||||
MoveConditions.bEnableToolslay1Up := bPressIsInHomepos OR TRUE ; //FixMe
|
||||
MoveConditions.bEnableToolslay1Up := bPressIsInHomepos OR gMachine.bSetupMode;
|
||||
MoveConditions.bEnableToolslay1Down := bToolslayIsIn OR bToolslayIsOut; //Slay Home or in Workpos
|
||||
MoveConditions.bEnableNegSlay1 := (gMachine.bSetupMode OR bPressIsInHomepos) AND bToolslay1IsUp;
|
||||
MoveConditions.bEnablePosSlay1 := (gMachine.bSetupMode OR bPressIsInHomepos) AND bToolslay1IsUp;
|
||||
@@ -220,12 +228,14 @@ PROGRAM _CYCLIC
|
||||
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG) OR bDevelEnalbeGear OR (genAccessLevel < enACCESSLEVEL_4)), VC_HIDE_BITPOS);
|
||||
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), VC_LOCK_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);
|
||||
StatusVCControls.usJogPosShaftMaster := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnablePosShaftMaster), VC_LOCK_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);
|
||||
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);
|
||||
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);
|
||||
@@ -301,7 +311,7 @@ PROGRAM _CYCLIC
|
||||
IF (gMachine.enMode <> enMACH_HOMEPOS) THEN
|
||||
enStepPressHoming := 0;
|
||||
END_IF
|
||||
IF (gMachine.enMode <> enMACH_AUTOMATIC) THEN
|
||||
IF (gMachine.enMode <> enMACH_AUTOMATIC) AND (gMachine.enMode <> enMACH_MANUAL) THEN
|
||||
enStepPress := 0;
|
||||
END_IF
|
||||
|
||||
@@ -313,10 +323,22 @@ PROGRAM _CYCLIC
|
||||
lAxisSlay1.Move.bAbsolute := FALSE;
|
||||
|
||||
//Uncritical Movements
|
||||
lAxisShaftMaster.Para.JogMode := enAxJOG_Limits;
|
||||
lAxisShaftMaster.Para.rJogLimitLow := 0.0;
|
||||
lAxisShaftMaster.Para.rJogLimitHigh := 2000.0;
|
||||
|
||||
IF ManualCommands.bJogHomeShaftMaster THEN
|
||||
lAxisShaftMaster.Para.JogMode := enAxJOG_Limits;
|
||||
IF (lAxisShaftMaster.rActPosition < lPressParamActTool.rPosHome) THEN
|
||||
lAxisShaftMaster.Para.rJogLimitLow := rPressPosMin;
|
||||
lAxisShaftMaster.Para.rJogLimitHigh := lPressParamActTool.rPosHome;
|
||||
ELSIF (lAxisShaftMaster.rActPosition >= lPressParamActTool.rPosHome) THEN
|
||||
lAxisShaftMaster.Para.rJogLimitLow := lPressParamActTool.rPosHome;
|
||||
lAxisShaftMaster.Para.rJogLimitHigh := rPressPosMax;
|
||||
END_IF
|
||||
ELSIF gMachine.bSetupMode THEN
|
||||
lAxisShaftMaster.Para.JogMode := enAxJOG;
|
||||
ELSE
|
||||
lAxisShaftMaster.Para.JogMode := enAxJOG_Limits;
|
||||
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;
|
||||
@@ -325,9 +347,11 @@ PROGRAM _CYCLIC
|
||||
lAxisShaft3.Move.bJogPos := ManualCommands.bJogPosShaft3 AND MoveConditions.bEnablePosShaft3;
|
||||
lAxisShaft4.Move.bJogNeg := ManualCommands.bJogNegShaft4 AND MoveConditions.bEnableNegShaft4;
|
||||
lAxisShaft4.Move.bJogPos := ManualCommands.bJogPosShaft4 AND MoveConditions.bEnablePosShaft4;
|
||||
lAxisShaftMaster.Move.bJogNeg := ((ManualCommands.bReferencePress AND NOT lAxisShaft1.DriveStatus.bTrigger1) OR
|
||||
ManualCommands.bJogNegShaftMaster) AND MoveConditions.bEnableNegShaftMaster;
|
||||
lAxisShaftMaster.Move.bJogPos := ManualCommands.bJogPosShaftMaster AND MoveConditions.bEnablePosShaftMaster;
|
||||
lAxisShaftMaster.Move.bJogNeg := (((ManualCommands.bReferencePress AND NOT lAxisShaft1.DriveStatus.bTrigger1) OR
|
||||
ManualCommands.bJogNegShaftMaster) AND MoveConditions.bEnableNegShaftMaster) OR
|
||||
(ManualCommands.bJogHomeShaftMaster AND (lAxisShaftMaster.rActPosition > lPressParamActTool.rPosHome));
|
||||
lAxisShaftMaster.Move.bJogPos := (ManualCommands.bJogPosShaftMaster AND MoveConditions.bEnablePosShaftMaster) OR
|
||||
(ManualCommands.bJogHomeShaftMaster AND (lAxisShaftMaster.rActPosition < lPressParamActTool.rPosHome));
|
||||
IF ManualCommands.bActivateGear THEN
|
||||
bDevelEnalbeGear := TRUE;
|
||||
END_IF
|
||||
@@ -346,10 +370,15 @@ PROGRAM _CYCLIC
|
||||
bToolslay1Up := FALSE;
|
||||
END_IF
|
||||
|
||||
lAxisSlay1.Para.JogMode := enAxJOG_Limits;
|
||||
lAxisSlay1.Para.rJogLimitLow := rToolSlayPosOut;
|
||||
lAxisSlay1.Para.rJogLimitHigh := rToolSlayPosIn;
|
||||
|
||||
//Uncritical Movements
|
||||
IF gMachine.bSetupMode THEN
|
||||
lAxisSlay1.Para.JogMode := enAxJOG;
|
||||
ELSE
|
||||
lAxisSlay1.Para.JogMode := enAxJOG_Limits;
|
||||
lAxisSlay1.Para.rJogLimitLow := rToolSlayPosOut;
|
||||
lAxisSlay1.Para.rJogLimitHigh := lPressParamActTool.rPosPressToolslay;
|
||||
END_IF
|
||||
|
||||
lAxisSlay1.Move.bJogNeg := ManualCommands.bJogNegSlay1 AND MoveConditions.bEnableNegSlay1;
|
||||
lAxisSlay1.Move.bJogPos := ManualCommands.bJogPosSlay1 AND MoveConditions.bEnablePosSlay1;
|
||||
|
||||
@@ -363,20 +392,28 @@ PROGRAM _CYCLIC
|
||||
bDevelEnalbeGear := FALSE;
|
||||
IF lAxisShaft1.Status.bStandstill AND (lAxisShaft1.enStep = enAxSTATE_READY) AND NOT bStopShaftAfterGear1 AND NOT lAxisShaft1.Move.bStartGearSlave THEN
|
||||
enStepHomeShaft1 := enHomeOffset0;
|
||||
bReferenedShaft1 := TRUE;
|
||||
bHomeMaster := TRUE;
|
||||
END_IF
|
||||
IF lAxisShaft2.Status.bStandstill AND (lAxisShaft2.enStep = enAxSTATE_READY) AND NOT bStopShaftAfterGear2 AND NOT lAxisShaft2.Move.bStartGearSlave THEN
|
||||
enStepHomeShaft2 := enHomeOffset0;
|
||||
bReferenedShaft2 := TRUE;
|
||||
END_IF
|
||||
IF lAxisShaft3.Status.bStandstill AND (lAxisShaft3.enStep = enAxSTATE_READY) AND NOT bStopShaftAfterGear3 AND NOT lAxisShaft3.Move.bStartGearSlave THEN
|
||||
enStepHomeShaft3 := enHomeOffset0;
|
||||
bReferenedShaft3 := TRUE;
|
||||
END_IF
|
||||
IF lAxisShaft4.Status.bStandstill AND (lAxisShaft4.enStep = enAxSTATE_READY) AND NOT bStopShaftAfterGear4 AND NOT lAxisShaft4.Move.bStartGearSlave THEN
|
||||
enStepHomeShaft4 := enHomeOffset0;
|
||||
bReferenedShaft4 := TRUE;
|
||||
END_IF
|
||||
|
||||
IF bAllAxisesSingle THEN
|
||||
IF bAllAxisesSingle AND bReferenedShaft1 AND bReferenedShaft2 AND bReferenedShaft3 AND bReferenedShaft4 THEN
|
||||
ManualCommands.bReferencePress := FALSE;
|
||||
bReferenedShaft1 := FALSE;
|
||||
bReferenedShaft2 := FALSE;
|
||||
bReferenedShaft3 := FALSE;
|
||||
bReferenedShaft4 := FALSE;
|
||||
END_IF
|
||||
END_IF
|
||||
IF 1 = 1 AND (genAccessLevel = enACCESSLEVEL_3) THEN
|
||||
@@ -441,10 +478,10 @@ PROGRAM _CYCLIC
|
||||
//Level Axises
|
||||
//---------------------------
|
||||
enPressStepHoming_LEVEL_PRESS:
|
||||
rAveragePos := (lAxisShaft1.rActPosition +
|
||||
rAveragePos := floor ((lAxisShaft1.rActPosition +
|
||||
lAxisShaft2.rActPosition +
|
||||
lAxisShaft3.rActPosition +
|
||||
lAxisShaft4.rActPosition) * 0.25 - 20.0;
|
||||
lAxisShaft4.rActPosition) * 0.25 - 20.0);
|
||||
lAxisShaftMaster.Para.rPosition := rAveragePos;
|
||||
lAxisShaft1.Para.rPosition := rAveragePos;
|
||||
lAxisShaft2.Para.rPosition := rAveragePos;
|
||||
@@ -496,6 +533,11 @@ PROGRAM _CYCLIC
|
||||
//Press up to Home (Wait)
|
||||
//---------------------------
|
||||
enPressStepHoming_MOVE_HOME_WAIT:
|
||||
IF NOT bAllAxisesInSync OR bNotLevel THEN
|
||||
bStop := TRUE;
|
||||
lAxisShaftMaster.Move.bAbsolute := FALSE;
|
||||
gMachine.bRequestHoming := TRUE;
|
||||
END_IF
|
||||
IF bPressIsInHomepos AND lAxisShaftMaster.Status.bStandstill THEN
|
||||
enStepPressHoming := enPressStepHoming_TOOL_UP;
|
||||
lAxisShaftMaster.Move.bAbsolute := 0;
|
||||
@@ -579,7 +621,7 @@ PROGRAM _CYCLIC
|
||||
//Init
|
||||
//---------------------------
|
||||
enPressStep_INIT:
|
||||
IF NOT gMachine.bRequestHoming AND bMachineIsInHomepos AND gbTool1Homepos AND bEnableNextStep THEN
|
||||
IF NOT gMachine.bRequestHoming AND bMachineIsInHomepos AND bToolIsHomed AND bEnableNextStep THEN
|
||||
enStepPress := enPressStep_WAIT_START;
|
||||
END_IF
|
||||
|
||||
@@ -587,7 +629,7 @@ PROGRAM _CYCLIC
|
||||
//---------------------------
|
||||
enPressStep_WAIT_START:
|
||||
udCycletime := 0;
|
||||
IF bSafetyOkFP OR (EDGEPOS (gbInResetKeyTool1) AND bSafetyOk) THEN
|
||||
IF bSafetyOkFP OR (EDGEPOS (gbInResetKeyTool1) OR ((gMachine.enMode = enMACH_MANUAL) AND bEnableNextStep) AND bSafetyOk) THEN
|
||||
enStepPress := enPressStep_TOOL_UP1;
|
||||
END_IF
|
||||
|
||||
@@ -603,7 +645,7 @@ PROGRAM _CYCLIC
|
||||
//---------------------------
|
||||
enPressStep_TOOL_IN:
|
||||
lAxisSlay1.Para.rVelocity := rSpeedSlay1; // [mm/s]
|
||||
lAxisSlay1.Para.rPosition := rToolSlayPosIn;
|
||||
lAxisSlay1.Para.rPosition := lPressParamActTool.rPosPressToolslay;
|
||||
IF MoveConditions.bEnablePosSlay1 THEN
|
||||
lAxisSlay1.Move.bAbsolute := TRUE;
|
||||
enStepPress := enPressStep_TOOL_IN_WAIT;
|
||||
@@ -638,6 +680,11 @@ PROGRAM _CYCLIC
|
||||
//Press down to Mountpos (WAIT)
|
||||
//---------------------------
|
||||
enPressStep_PRESS_MOUNTPOS_WAIT:
|
||||
IF NOT bAllAxisesInSync OR bNotLevel THEN
|
||||
bStop := TRUE;
|
||||
lAxisShaftMaster.Move.bAbsolute := FALSE;
|
||||
gMachine.bRequestHoming := TRUE;
|
||||
END_IF
|
||||
IF bPressIsInMountpos AND lAxisShaftMaster.Status.bStandstill THEN
|
||||
enStepPress := enPressStep_TOOL_MOUNT;
|
||||
lAxisShaftMaster.Move.bAbsolute := 0;
|
||||
@@ -646,11 +693,22 @@ PROGRAM _CYCLIC
|
||||
//Mount Tool
|
||||
//---------------------------
|
||||
enPressStep_TOOL_MOUNT:
|
||||
IF (genStepTool1 = enTool1Step_WAIT_START_MOUNT) THEN
|
||||
genStepTool1 := enTool1Step_START_MOUNT;
|
||||
END_IF
|
||||
IF (genStepTool1 = enTool1Step_WAIT_START_HOME) AND bEnableNextStep THEN
|
||||
enStepPress := enPressStep_PRESS_PRESSPOS;
|
||||
IF (gusCurrentTool = 0) AND (gusSelectedTool = 0) THEN
|
||||
enStepPress := enPressStep_PRESS_HOMEPOS;
|
||||
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
|
||||
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
|
||||
enStepPress := enPressStep_PRESS_PRESSPOS;
|
||||
END_IF
|
||||
END_IF
|
||||
|
||||
//Press down to Presspos
|
||||
@@ -666,6 +724,11 @@ PROGRAM _CYCLIC
|
||||
//Press down to Presspos (WAIT)
|
||||
//---------------------------
|
||||
enPressStep_PRESS_PRESSPOS_WAIT:
|
||||
IF NOT bAllAxisesInSync OR bNotLevel THEN
|
||||
bStop := TRUE;
|
||||
lAxisShaftMaster.Move.bAbsolute := FALSE;
|
||||
gMachine.bRequestHoming := TRUE;
|
||||
END_IF
|
||||
IF bPressIsInPresspos AND lAxisShaftMaster.Status.bStandstill THEN
|
||||
enStepPress := enPressStep_WAIT_PRESSED;
|
||||
lAxisShaftMaster.Move.bAbsolute := 0;
|
||||
@@ -692,6 +755,11 @@ PROGRAM _CYCLIC
|
||||
//Press up to Home (Wait)
|
||||
//---------------------------
|
||||
enPressStep_PRESS_HOMEPOS_WAIT:
|
||||
IF NOT bAllAxisesInSync OR bNotLevel THEN
|
||||
bStop := TRUE;
|
||||
lAxisShaftMaster.Move.bAbsolute := FALSE;
|
||||
gMachine.bRequestHoming := TRUE;
|
||||
END_IF
|
||||
IF bPressIsInHomepos AND lAxisShaftMaster.Status.bStandstill THEN
|
||||
enStepPress := enPressStep_TOOL_UP2;
|
||||
lAxisShaftMaster.Move.bAbsolute := 0;
|
||||
@@ -736,14 +804,23 @@ PROGRAM _CYCLIC
|
||||
//Wait for Start (With part)
|
||||
//---------------------------
|
||||
enPressStep_WAIT_START2:
|
||||
IF bSafetyOkFP OR (EDGEPOS (gbInResetKeyTool1) AND bSafetyOk) THEN
|
||||
IF (genStepTool1 = enTool1Step_WAIT_START_HOME) THEN
|
||||
IF (gusCurrentTool = 0) AND (gusSelectedTool = 0) THEN
|
||||
enStepPress := enPressStep_INIT;
|
||||
ELSIF (gusCurrentTool = 1) AND (gusSelectedTool = 1) THEN
|
||||
IF (bSafetyOkFP OR (EDGEPOS (gbInResetKeyTool1) AND bSafetyOk)) AND (genStepTool1 = enTool1Step_WAIT_START_HOME) THEN
|
||||
genStepTool1 := enTool1Step_HOMEPOS;
|
||||
END_IF
|
||||
IF (genStepTool1 = enTool1Step_WAIT_START_MOUNT) THEN
|
||||
enStepPress := enPressStep_INIT;
|
||||
END_IF
|
||||
END_IF
|
||||
ELSIF (gusCurrentTool = 2) AND (gusSelectedTool = 2) THEN
|
||||
IF (bSafetyOkFP OR (EDGEPOS (gbInResetKeyTool1) AND bSafetyOk)) AND (genStepTool2 = enTool2Step_WAIT_START_HOME) THEN
|
||||
genStepTool2 := enTool2Step_HOMEPOS;
|
||||
END_IF
|
||||
IF (genStepTool2 = enTool2Step_WAIT_START_MOUNT) THEN
|
||||
enStepPress := enPressStep_INIT;
|
||||
END_IF
|
||||
END_IF
|
||||
END_CASE;
|
||||
END_IF;
|
||||
|
||||
|
||||
@@ -68,6 +68,7 @@ TYPE
|
||||
usAdjustHomeShaft3 : USINT;
|
||||
usAdjustHomeShaft4 : USINT;
|
||||
usJogNegShaftMaster : USINT;
|
||||
usJogHomeShaftMaster : USINT;
|
||||
usJogPosShaftMaster : USINT;
|
||||
usReferencePress : USINT; (*Presse Referenzieren*)
|
||||
usReferencePressABS : USINT; (*Presse Referenzieren mit gespeicherten Absolutwerten*)
|
||||
@@ -99,6 +100,7 @@ TYPE
|
||||
bAdjustHomeShaft3 : BOOL;
|
||||
bAdjustHomeShaft4 : BOOL;
|
||||
bJogNegShaftMaster : BOOL;
|
||||
bJogHomeShaftMaster : BOOL;
|
||||
bJogPosShaftMaster : BOOL;
|
||||
bReferencePress : BOOL; (*Presse Referenzieren*)
|
||||
bReferencePressABS : BOOL; (*Presse Referenzieren mit gespeicherten Absolutwerten*)
|
||||
@@ -115,15 +117,6 @@ TYPE
|
||||
bJogPosSlay2 : BOOL;
|
||||
bReferenceSlay2 : BOOL; (*Werkzeugschlitten 2 referenzieren*)
|
||||
END_STRUCT;
|
||||
tpyPressParam : STRUCT (*Positionen f<>r Presse (Werkzeugabh<62>ngig*)
|
||||
rPosHome : REAL := 1000.0; (*Grundstellung f<>r Ein/Ausfahren*)
|
||||
rPosPremount : REAL := 1420.0; (*VormontagePos*)
|
||||
rPosPress : REAL := 1550.0; (*Pressposition*)
|
||||
rPosMin : REAL := 0.0; (*Minimalpositon*)
|
||||
rPosMax : REAL := 1600.0; (*Maximalposition (SW-Limit 1650)*)
|
||||
rSpeedPress : REAL := 80.0; (*Pressgeschwindigkeit*)
|
||||
udPresstime : UDINT := 500; (*Presszeit [ms]*)
|
||||
END_STRUCT;
|
||||
typMoveConditions : STRUCT (*Bewegungsfreigaben*)
|
||||
bEnableNegShaft1 : BOOL;
|
||||
bEnablePosShaft1 : BOOL;
|
||||
@@ -134,6 +127,7 @@ TYPE
|
||||
bEnableNegShaft4 : BOOL;
|
||||
bEnablePosShaft4 : BOOL;
|
||||
bEnableNegShaftMaster : BOOL;
|
||||
bEnableJogHomeShaftMaster : BOOL;
|
||||
bEnablePosShaftMaster : BOOL;
|
||||
bEnableReferencePress : BOOL; (*Presse Referenzieren*)
|
||||
bEnableReferencePressABS : BOOL; (*Presse Referenzieren*)
|
||||
|
||||
@@ -25,10 +25,15 @@ VAR
|
||||
bDevelEnalbeGear : BOOL := FALSE;
|
||||
bSafetyOk : BOOL;
|
||||
bSafetyOkFP : BOOL;
|
||||
bNotLevel : BOOL;
|
||||
bStopShaftAfterGear1 : BOOL;
|
||||
bStopShaftAfterGear2 : BOOL;
|
||||
bStopShaftAfterGear3 : BOOL;
|
||||
bStopShaftAfterGear4 : BOOL;
|
||||
bReferenedShaft1 : BOOL;
|
||||
bReferenedShaft2 : BOOL;
|
||||
bReferenedShaft3 : BOOL;
|
||||
bReferenedShaft4 : BOOL;
|
||||
bMachineIsInHomepos : BOOL;
|
||||
bToolslay1Up : BOOL;
|
||||
bPressIsInHomepos : BOOL;
|
||||
@@ -38,6 +43,7 @@ VAR
|
||||
bToolslay1IsDown : BOOL;
|
||||
bToolslayIsOut : BOOL;
|
||||
bToolslayIsIn : BOOL;
|
||||
bToolIsHomed : BOOL;
|
||||
bHome : BOOL := FALSE;
|
||||
bHomeMaster : BOOL := FALSE;
|
||||
bStop : BOOL;
|
||||
@@ -59,23 +65,29 @@ VAR
|
||||
enStepHomeShaft4 : typ_enHome;
|
||||
enStepPress : typ_enStepPress;
|
||||
enStepPressHoming : typ_enStepHoming;
|
||||
rOverrideVelocity : REAL := 100.0;
|
||||
rOverrideVelocity : REAL := 100.0; (*[0.1mm]*)
|
||||
rAveragePos : REAL;
|
||||
PressParamTools : ARRAY[0..5] OF tpyPressParam; (*Werkzeug abh<62>ngige Positionen*)
|
||||
lPressParamActTool : REFERENCE TO tpyPressParam; (*Positionen aktuelle Werkzeug*)
|
||||
rPressPosMin : REAL := -6000.0; (*Presse Oben Pos Min [0.1mm]*)
|
||||
rPressPosMax : REAL := 6000.0; (*Press Unten Pos Max [0.1mm]*)
|
||||
rPressSpeedEmpty : REAL := 600.0; (*Presse Leergeschwindigkeit [0.1mm/s]*)
|
||||
rSpeedSlay1 : REAL := 1000.0;
|
||||
lPressParamActTool : REFERENCE TO typ_PressParam; (*Positionen aktuelle Werkzeug*)
|
||||
END_VAR
|
||||
VAR CONSTANT
|
||||
rPressPosMin : REAL := 100.0; (*Presse Oben Pos Min [0.1mm]*)
|
||||
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;
|
||||
rToolSlayPosOut : REAL := 5.0;
|
||||
rToolSlayPosIn : REAL := 1250.0;
|
||||
rPosDiffShaft1 : REAL; (*Pos Abweichung zum Master*)
|
||||
rPosDiffShaft2 : REAL; (*Pos Abweichung zum Master*)
|
||||
rPosDiffShaft3 : REAL; (*Pos Abweichung zum Master*)
|
||||
rPosDiffShaft4 : REAL; (*Pos Abweichung zum Master*)
|
||||
rPosDiffShaft1_2 : REAL; (*Pos Abweichung zum Master*)
|
||||
rPosDiffShaft1_3 : REAL; (*Pos Abweichung zum Master*)
|
||||
rPosDiffShaft3_4 : REAL; (*Pos Abweichung zum Master*)
|
||||
rPosDiffShaft2_4 : REAL; (*Pos Abweichung zum Master*)
|
||||
END_VAR
|
||||
VAR CONSTANT
|
||||
rHOMEPOS : REAL := 0.0;
|
||||
rHOMEPOS : REAL := 100.0; (*[0.1mm]*)
|
||||
END_VAR
|
||||
(*//FUBS*)
|
||||
VAR
|
||||
|
||||
@@ -43,12 +43,18 @@ PROGRAM _INIT
|
||||
|
||||
//Parameter
|
||||
lAxisShaftMaster.Para.rVelocity := 100; // [0.1mm/s]
|
||||
lAxisShaftMaster.Para.rAcceleration := 500; // [0.1mm/s^2]
|
||||
lAxisShaftMaster.Para.rDeceleration := 500; // [0.1mm/s^2]
|
||||
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;
|
||||
|
||||
|
||||
lAxisShaftMaster.Para.rJogVelocity := 100; // [0.1mm/s]
|
||||
lAxisShaft1.Para.rJogVelocity := lAxisShaftMaster.Para.rJogVelocity;
|
||||
lAxisShaft2.Para.rJogVelocity := lAxisShaft1.Para.rJogVelocity;
|
||||
@@ -81,11 +87,12 @@ PROGRAM _INIT
|
||||
lAxisShaft1.Para.rGearSyncVelocity := lAxisShaftMaster.Para.rVelocity * 1.1;
|
||||
lAxisShaft1.Para.rGearSyncAcceleration := lAxisShaftMaster.Para.rAcceleration * 0.5;
|
||||
|
||||
//Reference Offset
|
||||
lAxisSlay1.Para.rHomePosition := 20.0; //mm
|
||||
|
||||
lAxisSlay1.Para.rVelocity := 175; // [mm/s]
|
||||
lAxisSlay1.Para.rJogVelocity := 75; // [mm/s]
|
||||
lAxisSlay1.Para.rAcceleration := 300; // [mm/s^2]
|
||||
lAxisSlay1.Para.rDeceleration := 300; // [mm/s^2]
|
||||
lAxisSlay1.Para.rAcceleration := 900; // [mm/s^2]
|
||||
lAxisSlay1.Para.rDeceleration := 750; // [mm/s^2]
|
||||
|
||||
rPressPosMin := rPressPosMin;
|
||||
rPressPosMax := rPressPosMax;
|
||||
END_PROGRAM
|
||||
|
||||
@@ -102,7 +102,7 @@ PROGRAM _CYCLIC
|
||||
//---------------------------
|
||||
enTool1Step_CYL1_FW:
|
||||
bCylinder1Fw := TRUE;
|
||||
IF gbInTool1Cyl1Fw AND (udSteptime > 2000) THEN
|
||||
IF gbInTool1Cyl1Fw AND (udSteptime > 1000) THEN
|
||||
genStepTool1 := enTool1Step_CYL3_FW;
|
||||
udSteptime := 0;
|
||||
END_IF
|
||||
@@ -111,7 +111,7 @@ PROGRAM _CYCLIC
|
||||
//---------------------------
|
||||
enTool1Step_CYL3_FW:
|
||||
bCylinder3Fw := TRUE;
|
||||
IF gbInTool1Cyl3Fw AND (udSteptime > 2000) THEN
|
||||
IF gbInTool1Cyl3Fw AND (udSteptime > 1000) THEN
|
||||
genStepTool1 := enTool1Step_CYL2_FW;
|
||||
udSteptime := 0;
|
||||
END_IF
|
||||
@@ -120,7 +120,7 @@ PROGRAM _CYCLIC
|
||||
//---------------------------
|
||||
enTool1Step_CYL2_FW:
|
||||
bCylinder2Fw := TRUE;
|
||||
IF gbInTool1Cyl2Fw AND (udSteptime > 2000) THEN
|
||||
IF gbInTool1Cyl2Fw AND (udSteptime > 1500) THEN
|
||||
genStepTool1 := enTool1Step_WAIT_START_HOME;
|
||||
udSteptime := 0;
|
||||
END_IF
|
||||
|
||||
@@ -10,11 +10,11 @@ PROGRAM _CYCLIC
|
||||
bSafetyOk := gUE410_MU_MQD.bX3 AND gUE410_MU_MQD.bX4;
|
||||
bToolIsActive := (gusSelectedTool = usTOOLID) AND (gusCurrentTool = usTOOLID);
|
||||
|
||||
MoveConditions.bEnableCylinder1Fw := TRUE; //gbInTool1Cyl3Bw;
|
||||
MoveConditions.bEnableCylinder1Fw := TRUE; //gbInTool2Cyl3Bw;
|
||||
MoveConditions.bEnableCylinder1Bw := TRUE;
|
||||
MoveConditions.bEnableCylinder2Fw := TRUE; //gbInTool1Cyl1Fw AND gbInTool1Cyl3Fw;
|
||||
MoveConditions.bEnableCylinder2Fw := TRUE; //gbInTool2Cyl1Fw AND gbInTool1Cyl3Fw;
|
||||
MoveConditions.bEnableCylinder2Bw := TRUE;
|
||||
MoveConditions.bEnableCylinder3Fw := TRUE; //gbInTool1Cyl1Fw;
|
||||
MoveConditions.bEnableCylinder3Fw := TRUE; //gbInTool2Cyl1Fw;
|
||||
MoveConditions.bEnableCylinder3Bw := TRUE;
|
||||
|
||||
StatusVCControls.usCylinder1Fw := SHL (BOOL_TO_USINT (NOT MoveConditions.bEnableCylinder1Fw), VC_LOCK_BITPOS) +
|
||||
@@ -31,7 +31,7 @@ PROGRAM _CYCLIC
|
||||
SHL (BOOL_TO_USINT ((gMachine.enMode <> enMACH_JOG) OR NOT bCylinder3Fw), VC_HIDE_BITPOS);
|
||||
|
||||
|
||||
gbTool2Homepos := TRUE;// gbInTool1Cyl1Bw AND gbInTool1Cyl2Bw AND gbInTool1Cyl3Bw;
|
||||
gbTool2Homepos := TRUE;// gbInTool2Cyl1Bw AND gbInTool2Cyl2Bw AND gbInTool2Cyl3Bw;
|
||||
|
||||
//Jog Mode
|
||||
//==========================================================================================
|
||||
@@ -53,20 +53,21 @@ PROGRAM _CYCLIC
|
||||
END_IF
|
||||
|
||||
ELSIF (gMachine.enMode = enMACH_HOMEPOS) THEN
|
||||
CASE genStepTool1Home OF
|
||||
CASE genStepTool2Home OF
|
||||
//Wait for Start Home
|
||||
//---------------------------
|
||||
enTool1StepHome_WAIT_START_HOME:
|
||||
enTool2StepHome_WAIT_START_HOME:
|
||||
//Set in Pressstepchain
|
||||
|
||||
//Home Cylinder
|
||||
//---------------------------
|
||||
enTool1StepHome_HOMEPOS:
|
||||
enTool2StepHome_HOMEPOS:
|
||||
bCylinder1Fw := FALSE;
|
||||
bCylinder2Fw := FALSE;
|
||||
bCylinder3Fw := FALSE;
|
||||
IF gbTool2Homepos THEN
|
||||
genStepTool1Home := enTool1StepHome_WAIT_START_HOME;
|
||||
genStepTool2Home := enTool2StepHome_WAIT_START_HOME;
|
||||
genStepTool2 := enTool2Step_INIT;
|
||||
END_IF
|
||||
END_CASE;
|
||||
|
||||
@@ -75,61 +76,53 @@ PROGRAM _CYCLIC
|
||||
ELSIF ((gMachine.enMode = enMACH_MANUAL) OR (gMachine.enMode = enMACH_AUTOMATIC)) AND bToolIsActive THEN
|
||||
//Wirefeed
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
CASE genStepTool1 OF
|
||||
CASE genStepTool2 OF
|
||||
//Init
|
||||
//---------------------------
|
||||
enTool1Step_INIT:
|
||||
IF gbTool1Homepos THEN
|
||||
genStepTool1 := enTool1Step_WAIT_START_MOUNT;
|
||||
enTool2Step_INIT:
|
||||
IF gbTool2Homepos THEN
|
||||
genStepTool2 := enTool2Step_WAIT_START_MOUNT;
|
||||
END_IF
|
||||
|
||||
//Wait for Start Mount
|
||||
//---------------------------
|
||||
enTool1Step_WAIT_START_MOUNT:
|
||||
enTool2Step_WAIT_START_MOUNT:
|
||||
//Set in Pressstepchain
|
||||
|
||||
//Wait for Start Mount
|
||||
//---------------------------
|
||||
enTool1Step_START_MOUNT:
|
||||
genStepTool1 := enTool1Step_CYL1_FW;
|
||||
enTool2Step_START_MOUNT:
|
||||
genStepTool2 := enTool2Step_CYL1_FW;
|
||||
|
||||
//Cylinder 1 FW
|
||||
//---------------------------
|
||||
enTool1Step_CYL1_FW:
|
||||
enTool2Step_CYL1_FW:
|
||||
bCylinder1Fw := TRUE;
|
||||
IF gbInTool1Cyl1Fw THEN
|
||||
genStepTool1 := enTool1Step_CYL3_FW;
|
||||
END_IF
|
||||
|
||||
//Cylinder 3 FW
|
||||
//---------------------------
|
||||
enTool1Step_CYL3_FW:
|
||||
bCylinder3Fw := TRUE;
|
||||
IF gbInTool1Cyl3Fw THEN
|
||||
genStepTool1 := enTool1Step_CYL2_FW;
|
||||
genStepTool2 := enTool2Step_CYL2_FW;
|
||||
END_IF
|
||||
|
||||
//Cylinder 2 FW
|
||||
//---------------------------
|
||||
enTool1Step_CYL2_FW:
|
||||
enTool2Step_CYL2_FW:
|
||||
bCylinder2Fw := TRUE;
|
||||
IF gbInTool1Cyl2Fw THEN
|
||||
genStepTool1 := enTool1Step_WAIT_START_HOME;
|
||||
genStepTool2 := enTool2Step_WAIT_START_HOME;
|
||||
END_IF
|
||||
|
||||
//Wait for Start Home
|
||||
//---------------------------
|
||||
enTool1Step_WAIT_START_HOME:
|
||||
enTool2Step_WAIT_START_HOME:
|
||||
//Set in Pressstepchain
|
||||
|
||||
//Home Cylinder
|
||||
//---------------------------
|
||||
enTool1Step_HOMEPOS:
|
||||
enTool2Step_HOMEPOS:
|
||||
bCylinder1Fw := FALSE;
|
||||
bCylinder2Fw := FALSE;
|
||||
bCylinder3Fw := FALSE;
|
||||
IF gbTool1Homepos THEN
|
||||
genStepTool1 := enTool1Step_INIT;
|
||||
IF gbTool2Homepos THEN
|
||||
genStepTool2 := enTool2Step_INIT;
|
||||
END_IF
|
||||
END_CASE;
|
||||
END_IF;
|
||||
@@ -162,13 +155,9 @@ PROGRAM _CYCLIC
|
||||
lToolalarms.Alarm[24] := Cylinder2Check.bOuErrorCylinderFw;
|
||||
lToolalarms.Alarm[25] := Cylinder2Check.bOuErrorBothSensorsHigh;
|
||||
|
||||
Cylinder3Check (bInOutputCylinderBw := gbOuTool1Cyl3Bw,
|
||||
bInOutputCylinderFw := gbOuTool1Cyl3Fw,
|
||||
bInSensorCylinderBw := gbInTool1Cyl3Bw,
|
||||
bInSensorCylinderFw := gbInTool1Cyl3Fw);
|
||||
lToolalarms.Alarm[26] := Cylinder3Check.bOuErrorCylinderBw;
|
||||
lToolalarms.Alarm[27] := Cylinder3Check.bOuErrorCylinderFw;
|
||||
lToolalarms.Alarm[28] := Cylinder3Check.bOuErrorBothSensorsHigh;
|
||||
lToolalarms.Alarm[26] := FALSE;
|
||||
lToolalarms.Alarm[27] := FALSE;
|
||||
lToolalarms.Alarm[28] := FALSE;
|
||||
|
||||
IF TRUE OR NOT bToolIsActive THEN
|
||||
lToolalarms.Alarm[20] := FALSE;
|
||||
|
||||
81
Logical/Libraries/AsMath/AsMath.fun
Normal file
81
Logical/Libraries/AsMath/AsMath.fun
Normal file
@@ -0,0 +1,81 @@
|
||||
(********************************************************************
|
||||
* COPYRIGHT -- Bernecker + Rainer
|
||||
********************************************************************
|
||||
* Library: AsMath
|
||||
* File: AsMath.fun
|
||||
* Author: B+R
|
||||
********************************************************************
|
||||
* Functions and function blocks of library AsMath
|
||||
********************************************************************)
|
||||
|
||||
FUNCTION atan2 : REAL (*calculates the arc tangent of y/x*)
|
||||
VAR_INPUT
|
||||
y :REAL; (*y*)
|
||||
x :REAL; (*x*)
|
||||
END_VAR
|
||||
END_FUNCTION
|
||||
|
||||
FUNCTION ceil : REAL (*calculates the smallest integer value which is greater than or equal to the input value*)
|
||||
VAR_INPUT
|
||||
x :REAL; (*input value*)
|
||||
END_VAR
|
||||
END_FUNCTION
|
||||
|
||||
FUNCTION cosh : REAL (*calculates the hyperbolic cosine of x*)
|
||||
VAR_INPUT
|
||||
x :REAL; (*input value*)
|
||||
END_VAR
|
||||
END_FUNCTION
|
||||
|
||||
FUNCTION floor : REAL (*calculates the largest integer value which is less than or equal to the input value*)
|
||||
VAR_INPUT
|
||||
x :REAL; (*input value*)
|
||||
END_VAR
|
||||
END_FUNCTION
|
||||
|
||||
FUNCTION fmod : REAL (*calculates the remainder of the division x/y*)
|
||||
VAR_INPUT
|
||||
x :REAL; (*numerator*)
|
||||
y :REAL; (*denominator*)
|
||||
END_VAR
|
||||
END_FUNCTION
|
||||
|
||||
FUNCTION frexp : REAL (*calculates the mantissa and the exponent of a floating point number*)
|
||||
VAR_INPUT
|
||||
x :REAL; (*input value*)
|
||||
pExp :UDINT; (*address of the exponent (address of DINT) (base 2)*)
|
||||
END_VAR
|
||||
END_FUNCTION
|
||||
|
||||
FUNCTION ldexp : REAL (*calculates a floating point number from mantissa x and exponent exp*)
|
||||
VAR_INPUT
|
||||
x :REAL; (*mantissa*)
|
||||
exp_val :DINT; (*exponent (base 2)*)
|
||||
END_VAR
|
||||
END_FUNCTION
|
||||
|
||||
FUNCTION modf : REAL (*separates a floating point number into an integer and decimal part*)
|
||||
VAR_INPUT
|
||||
x :REAL; (*input value*)
|
||||
plp :UDINT; (*address of the integer part (address of a REAL value)*)
|
||||
END_VAR
|
||||
END_FUNCTION
|
||||
|
||||
FUNCTION pow : REAL (*calculates x raised to the power of y*)
|
||||
VAR_INPUT
|
||||
x :REAL; (*base*)
|
||||
y :REAL; (*exponent*)
|
||||
END_VAR
|
||||
END_FUNCTION
|
||||
|
||||
FUNCTION sinh : REAL (*calculates the hyperbolic sine of x*)
|
||||
VAR_INPUT
|
||||
x :REAL; (*input value*)
|
||||
END_VAR
|
||||
END_FUNCTION
|
||||
|
||||
FUNCTION tanh : REAL (*calculates the hyperbolic tangent of x*)
|
||||
VAR_INPUT
|
||||
x :REAL; (*input value*)
|
||||
END_VAR
|
||||
END_FUNCTION
|
||||
34
Logical/Libraries/AsMath/AsMath.var
Normal file
34
Logical/Libraries/AsMath/AsMath.var
Normal file
@@ -0,0 +1,34 @@
|
||||
(********************************************************************
|
||||
* COPYRIGHT -- Bernecker + Rainer
|
||||
********************************************************************
|
||||
* Library: AsMath
|
||||
* File: AsMath.var
|
||||
* Author: B+R
|
||||
********************************************************************
|
||||
* Local variables of library AsMath
|
||||
********************************************************************)
|
||||
|
||||
VAR CONSTANT
|
||||
am2_SQRTPI : REAL := 1.12838; (*2/(square root from PI)*)
|
||||
amSQRT1_2 : REAL := 0.707107; (*square root from 1/2*)
|
||||
amSQRTPI : REAL := 1.77245; (*square root from PI*)
|
||||
amLOG2_E : REAL := 0.693147; (*log with the base 2 from E*)
|
||||
amLOG10E : REAL := 0.434294; (*log with the base 10 from E*)
|
||||
amIVLN10 : REAL := 0.434294; (*1/(ln from 10)*)
|
||||
amINVLN2 : REAL := 1.4427; (*1/(ln from 2)*)
|
||||
amTWOPI : REAL := 6.28319; (*2 PI*)
|
||||
amSQRT3 : REAL := 1.73205; (*square root from 3*)
|
||||
amSQRT2 : REAL := 1.41421; (*square root from 2*)
|
||||
amLOG2E : REAL := 1.4427; (*log with the base 2 from E*)
|
||||
amLN2LO : REAL := 1.90821e-010; (*log with the base 2 from LOW*)
|
||||
amLN2HI : REAL := 0.693147; (*log with the base 2 from HIGH*)
|
||||
am3PI_4 : REAL := 2.35619; (*3/4 PI*)
|
||||
amPI_4 : REAL := 0.785398; (*PI/4*)
|
||||
amPI_2 : REAL := 1.5708; (*PI/2*)
|
||||
amLN10 : REAL := 2.30259; (*ln from 10*)
|
||||
am2_PI : REAL := 0.63662; (*2/PI*)
|
||||
am1_PI : REAL := 0.31831; (*1/PI*)
|
||||
amLN2 : REAL := 0.693147; (*ln from 2*)
|
||||
amPI : REAL := 3.14159; (*PI*)
|
||||
amE : REAL := 2.71828; (*E*)
|
||||
END_VAR
|
||||
8
Logical/Libraries/AsMath/Binary.lby
Normal file
8
Logical/Libraries/AsMath/Binary.lby
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio Version=3.0.90.24 SP06?>
|
||||
<Library Description="This library integrates mathematical functions such as angle functions, rounding off, etc. into the program." xmlns="http://br-automation.co.at/AS/Library">
|
||||
<Files>
|
||||
<File>AsMath.var</File>
|
||||
<File>AsMath.fun</File>
|
||||
</Files>
|
||||
</Library>
|
||||
91
Logical/Libraries/AsMath/SG3/AsMath.h
Normal file
91
Logical/Libraries/AsMath/SG3/AsMath.h
Normal file
@@ -0,0 +1,91 @@
|
||||
/* Automation Studio generated header file */
|
||||
/* Do not edit ! */
|
||||
|
||||
#ifndef _ASMATH_
|
||||
#define _ASMATH_
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <bur/plctypes.h>
|
||||
|
||||
#ifndef _IEC_CONST
|
||||
#define _IEC_CONST _WEAK const
|
||||
#endif
|
||||
|
||||
/* Constants */
|
||||
#ifdef _REPLACE_CONST
|
||||
#define am2_SQRTPI 1.12838
|
||||
#define amSQRT1_2 0.707107
|
||||
#define amSQRTPI 1.77245
|
||||
#define amLOG2_E 0.693147
|
||||
#define amLOG10E 0.434294
|
||||
#define amIVLN10 0.434294
|
||||
#define amINVLN2 1.4427
|
||||
#define amTWOPI 6.28319
|
||||
#define amSQRT3 1.73205
|
||||
#define amSQRT2 1.41421
|
||||
#define amLOG2E 1.4427
|
||||
#define amLN2LO 1.90821e-010
|
||||
#define amLN2HI 0.693147
|
||||
#define am3PI_4 2.35619
|
||||
#define amPI_4 0.785398
|
||||
#define amPI_2 1.5708
|
||||
#define amLN10 2.30259
|
||||
#define am2_PI 0.63662
|
||||
#define am1_PI 0.31831
|
||||
#define amLN2 0.693147
|
||||
#define amPI 3.14159
|
||||
#define amE 2.71828
|
||||
#else
|
||||
_IEC_CONST float am2_SQRTPI = 1.12838;
|
||||
_IEC_CONST float amSQRT1_2 = 0.707107;
|
||||
_IEC_CONST float amSQRTPI = 1.77245;
|
||||
_IEC_CONST float amLOG2_E = 0.693147;
|
||||
_IEC_CONST float amLOG10E = 0.434294;
|
||||
_IEC_CONST float amIVLN10 = 0.434294;
|
||||
_IEC_CONST float amINVLN2 = 1.4427;
|
||||
_IEC_CONST float amTWOPI = 6.28319;
|
||||
_IEC_CONST float amSQRT3 = 1.73205;
|
||||
_IEC_CONST float amSQRT2 = 1.41421;
|
||||
_IEC_CONST float amLOG2E = 1.4427;
|
||||
_IEC_CONST float amLN2LO = 1.90821e-010;
|
||||
_IEC_CONST float amLN2HI = 0.693147;
|
||||
_IEC_CONST float am3PI_4 = 2.35619;
|
||||
_IEC_CONST float amPI_4 = 0.785398;
|
||||
_IEC_CONST float amPI_2 = 1.5708;
|
||||
_IEC_CONST float amLN10 = 2.30259;
|
||||
_IEC_CONST float am2_PI = 0.63662;
|
||||
_IEC_CONST float am1_PI = 0.31831;
|
||||
_IEC_CONST float amLN2 = 0.693147;
|
||||
_IEC_CONST float amPI = 3.14159;
|
||||
_IEC_CONST float amE = 2.71828;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Prototyping of functions and function blocks */
|
||||
float atan2(float y, float x);
|
||||
float ceil(float x);
|
||||
float cosh(float x);
|
||||
float floor(float x);
|
||||
float fmod(float x, float y);
|
||||
float frexp(float x, unsigned long pExp);
|
||||
float ldexp(float x, signed long exp_val);
|
||||
float modf(float x, unsigned long plp);
|
||||
float pow(float x, float y);
|
||||
float sinh(float x);
|
||||
float tanh(float x);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
#endif /* _ASMATH_ */
|
||||
|
||||
|
||||
91
Logical/Libraries/AsMath/SG4/AsMath.h
Normal file
91
Logical/Libraries/AsMath/SG4/AsMath.h
Normal file
@@ -0,0 +1,91 @@
|
||||
/* Automation Studio generated header file */
|
||||
/* Do not edit ! */
|
||||
|
||||
#ifndef _ASMATH_
|
||||
#define _ASMATH_
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <bur/plctypes.h>
|
||||
|
||||
#ifndef _IEC_CONST
|
||||
#define _IEC_CONST _WEAK const
|
||||
#endif
|
||||
|
||||
/* Constants */
|
||||
#ifdef _REPLACE_CONST
|
||||
#define am2_SQRTPI 1.12838
|
||||
#define amSQRT1_2 0.707107
|
||||
#define amSQRTPI 1.77245
|
||||
#define amLOG2_E 0.693147
|
||||
#define amLOG10E 0.434294
|
||||
#define amIVLN10 0.434294
|
||||
#define amINVLN2 1.4427
|
||||
#define amTWOPI 6.28319
|
||||
#define amSQRT3 1.73205
|
||||
#define amSQRT2 1.41421
|
||||
#define amLOG2E 1.4427
|
||||
#define amLN2LO 1.90821e-010
|
||||
#define amLN2HI 0.693147
|
||||
#define am3PI_4 2.35619
|
||||
#define amPI_4 0.785398
|
||||
#define amPI_2 1.5708
|
||||
#define amLN10 2.30259
|
||||
#define am2_PI 0.63662
|
||||
#define am1_PI 0.31831
|
||||
#define amLN2 0.693147
|
||||
#define amPI 3.14159
|
||||
#define amE 2.71828
|
||||
#else
|
||||
_IEC_CONST float am2_SQRTPI = 1.12838;
|
||||
_IEC_CONST float amSQRT1_2 = 0.707107;
|
||||
_IEC_CONST float amSQRTPI = 1.77245;
|
||||
_IEC_CONST float amLOG2_E = 0.693147;
|
||||
_IEC_CONST float amLOG10E = 0.434294;
|
||||
_IEC_CONST float amIVLN10 = 0.434294;
|
||||
_IEC_CONST float amINVLN2 = 1.4427;
|
||||
_IEC_CONST float amTWOPI = 6.28319;
|
||||
_IEC_CONST float amSQRT3 = 1.73205;
|
||||
_IEC_CONST float amSQRT2 = 1.41421;
|
||||
_IEC_CONST float amLOG2E = 1.4427;
|
||||
_IEC_CONST float amLN2LO = 1.90821e-010;
|
||||
_IEC_CONST float amLN2HI = 0.693147;
|
||||
_IEC_CONST float am3PI_4 = 2.35619;
|
||||
_IEC_CONST float amPI_4 = 0.785398;
|
||||
_IEC_CONST float amPI_2 = 1.5708;
|
||||
_IEC_CONST float amLN10 = 2.30259;
|
||||
_IEC_CONST float am2_PI = 0.63662;
|
||||
_IEC_CONST float am1_PI = 0.31831;
|
||||
_IEC_CONST float amLN2 = 0.693147;
|
||||
_IEC_CONST float amPI = 3.14159;
|
||||
_IEC_CONST float amE = 2.71828;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Prototyping of functions and function blocks */
|
||||
float atan2(float y, float x);
|
||||
float ceil(float x);
|
||||
float cosh(float x);
|
||||
float floor(float x);
|
||||
float fmod(float x, float y);
|
||||
float frexp(float x, unsigned long pExp);
|
||||
float ldexp(float x, signed long exp_val);
|
||||
float modf(float x, unsigned long plp);
|
||||
float pow(float x, float y);
|
||||
float sinh(float x);
|
||||
float tanh(float x);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
#endif /* _ASMATH_ */
|
||||
|
||||
|
||||
91
Logical/Libraries/AsMath/SGC/AsMath.h
Normal file
91
Logical/Libraries/AsMath/SGC/AsMath.h
Normal file
@@ -0,0 +1,91 @@
|
||||
/* Automation Studio generated header file */
|
||||
/* Do not edit ! */
|
||||
|
||||
#ifndef _ASMATH_
|
||||
#define _ASMATH_
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <bur/plctypes.h>
|
||||
|
||||
#ifndef _IEC_CONST
|
||||
#define _IEC_CONST _WEAK const
|
||||
#endif
|
||||
|
||||
/* Constants */
|
||||
#ifdef _REPLACE_CONST
|
||||
#define am2_SQRTPI 1.12838
|
||||
#define amSQRT1_2 0.707107
|
||||
#define amSQRTPI 1.77245
|
||||
#define amLOG2_E 0.693147
|
||||
#define amLOG10E 0.434294
|
||||
#define amIVLN10 0.434294
|
||||
#define amINVLN2 1.4427
|
||||
#define amTWOPI 6.28319
|
||||
#define amSQRT3 1.73205
|
||||
#define amSQRT2 1.41421
|
||||
#define amLOG2E 1.4427
|
||||
#define amLN2LO 1.90821e-010
|
||||
#define amLN2HI 0.693147
|
||||
#define am3PI_4 2.35619
|
||||
#define amPI_4 0.785398
|
||||
#define amPI_2 1.5708
|
||||
#define amLN10 2.30259
|
||||
#define am2_PI 0.63662
|
||||
#define am1_PI 0.31831
|
||||
#define amLN2 0.693147
|
||||
#define amPI 3.14159
|
||||
#define amE 2.71828
|
||||
#else
|
||||
_IEC_CONST float am2_SQRTPI = 1.12838;
|
||||
_IEC_CONST float amSQRT1_2 = 0.707107;
|
||||
_IEC_CONST float amSQRTPI = 1.77245;
|
||||
_IEC_CONST float amLOG2_E = 0.693147;
|
||||
_IEC_CONST float amLOG10E = 0.434294;
|
||||
_IEC_CONST float amIVLN10 = 0.434294;
|
||||
_IEC_CONST float amINVLN2 = 1.4427;
|
||||
_IEC_CONST float amTWOPI = 6.28319;
|
||||
_IEC_CONST float amSQRT3 = 1.73205;
|
||||
_IEC_CONST float amSQRT2 = 1.41421;
|
||||
_IEC_CONST float amLOG2E = 1.4427;
|
||||
_IEC_CONST float amLN2LO = 1.90821e-010;
|
||||
_IEC_CONST float amLN2HI = 0.693147;
|
||||
_IEC_CONST float am3PI_4 = 2.35619;
|
||||
_IEC_CONST float amPI_4 = 0.785398;
|
||||
_IEC_CONST float amPI_2 = 1.5708;
|
||||
_IEC_CONST float amLN10 = 2.30259;
|
||||
_IEC_CONST float am2_PI = 0.63662;
|
||||
_IEC_CONST float am1_PI = 0.31831;
|
||||
_IEC_CONST float amLN2 = 0.693147;
|
||||
_IEC_CONST float amPI = 3.14159;
|
||||
_IEC_CONST float amE = 2.71828;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Prototyping of functions and function blocks */
|
||||
float atan2(float y, float x);
|
||||
float ceil(float x);
|
||||
float cosh(float x);
|
||||
float floor(float x);
|
||||
float fmod(float x, float y);
|
||||
float frexp(float x, unsigned long pExp);
|
||||
float ldexp(float x, signed long exp_val);
|
||||
float modf(float x, unsigned long plp);
|
||||
float pow(float x, float y);
|
||||
float sinh(float x);
|
||||
float tanh(float x);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
#endif /* _ASMATH_ */
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio Version=3.0.90.23 SP05?>
|
||||
<?AutomationStudio Version=3.0.90.24 SP06?>
|
||||
<Package xmlns="http://br-automation.co.at/AS/Package">
|
||||
<Objects>
|
||||
<Object Type="Library" Language="Binary" Description="This library contains function interfaces for IEC1131-3 operator functions. For the most part, these are mathematical and logical functions.">Operator</Object>
|
||||
@@ -17,5 +17,6 @@
|
||||
<Object Type="Library" Language="Binary" Description="The AsARCfg library supports reading and writing Automation Runtime configurations.">AsARCfg</Object>
|
||||
<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>
|
||||
</Objects>
|
||||
</Package>
|
||||
@@ -7,6 +7,7 @@ TYPE
|
||||
bManualMode : BOOL;
|
||||
bHomeMode : BOOL;
|
||||
bAutomaticMode : BOOL;
|
||||
bToggleSetupmode : BOOL;
|
||||
END_STRUCT;
|
||||
typStatusVCControls : STRUCT
|
||||
usBtnPowerOff : USINT;
|
||||
@@ -15,7 +16,10 @@ TYPE
|
||||
usBtnManMode : USINT;
|
||||
usBtnHomeMode : USINT;
|
||||
usBtnAutoMode : USINT;
|
||||
usBtnSetupmode : USINT;
|
||||
usLabelSetupmode : USINT;
|
||||
usBtnErrorReset : USINT;
|
||||
usBtnNextStep : USINT;
|
||||
usLayersMainpage : ARRAY[1..7]OF USINT;
|
||||
END_STRUCT;
|
||||
typVCCommands : STRUCT
|
||||
@@ -39,21 +43,21 @@ TYPE
|
||||
);
|
||||
enACCESSLEVEL :
|
||||
( (*Berechtigungslevel (von Euchner EKS)*)
|
||||
enACCESSLEVEL_0,
|
||||
enACCESSLEVEL_1,
|
||||
enACCESSLEVEL_2,
|
||||
enACCESSLEVEL_3,
|
||||
enACCESSLEVEL_4,
|
||||
enACCESSLEVEL_5,
|
||||
enACCESSLEVEL_6,
|
||||
enACCESSLEVEL_7,
|
||||
enACCESSLEVEL_8,
|
||||
enACCESSLEVEL_9,
|
||||
enACCESSLEVEL_10,
|
||||
enACCESSLEVEL_11,
|
||||
enACCESSLEVEL_12,
|
||||
enACCESSLEVEL_13,
|
||||
enACCESSLEVEL_14,
|
||||
enACCESSLEVEL_15
|
||||
enACCESSLEVEL_0 := 0,
|
||||
enACCESSLEVEL_1 := 1,
|
||||
enACCESSLEVEL_2 := 2,
|
||||
enACCESSLEVEL_3 := 3,
|
||||
enACCESSLEVEL_4 := 4,
|
||||
enACCESSLEVEL_5 := 5,
|
||||
enACCESSLEVEL_6 := 6,
|
||||
enACCESSLEVEL_7 := 7,
|
||||
enACCESSLEVEL_8 := 8,
|
||||
enACCESSLEVEL_9 := 9,
|
||||
enACCESSLEVEL_10 := 10,
|
||||
enACCESSLEVEL_11 := 11,
|
||||
enACCESSLEVEL_12 := 12,
|
||||
enACCESSLEVEL_13 := 13,
|
||||
enACCESSLEVEL_14 := 14,
|
||||
enACCESSLEVEL_15 := 15
|
||||
);
|
||||
END_TYPE
|
||||
|
||||
@@ -41,6 +41,25 @@ ELSE
|
||||
genAccessLevel := enACCESSLEVEL_0;
|
||||
END_IF
|
||||
|
||||
//Setupmode
|
||||
//=================================================
|
||||
IF (genAccessLevel < enACCESSLEVEL_3) OR (gMachine.enMode <> enMACH_JOG) THEN
|
||||
gMachine.bSetupMode := FALSE;
|
||||
ELSIF (genAccessLevel >= enACCESSLEVEL_3) AND (gMachine.enMode = enMACH_JOG) THEN
|
||||
//Override Checks
|
||||
IF EDGEPOS (gMachineCommands.bToggleSetupmode) THEN
|
||||
gMachine.bSetupMode := NOT gMachine.bSetupMode;
|
||||
IF gMachine.bSetupMode THEN
|
||||
ERRxwarning (50001, 0 , ADR ('Plausibilit<69>tspr<70>fungen im Tippbetrieb wurden deaktiviert'));
|
||||
ELSE
|
||||
ERRxwarning (50001, 0 , ADR ('Plausibilit<69>tspr<70>fungen im Tippbetrieb wurden aktiviert'));
|
||||
END_IF
|
||||
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);
|
||||
|
||||
//Machinemodes
|
||||
//=================================================
|
||||
IF EDGEPOS (gMachineCommands.bAutomaticMode) AND ((genAccessLevel > enACCESSLEVEL_0) OR gMachine.bSimulation) THEN
|
||||
@@ -52,9 +71,12 @@ END_IF
|
||||
IF EDGEPOS (gMachineCommands.bManualMode) AND ((genAccessLevel > enACCESSLEVEL_0) OR gMachine.bSimulation) THEN
|
||||
gMachine.enMode := enMACH_MANUAL;
|
||||
END_IF
|
||||
IF EDGEPOS (gMachineCommands.bJogMode) AND ((genAccessLevel >= enACCESSLEVEL_3) OR gMachine.bSimulation) THEN
|
||||
IF EDGEPOS (gMachineCommands.bJogMode) AND ((genAccessLevel >= enACCESSLEVEL_2) OR gMachine.bSimulation) THEN
|
||||
gMachine.enMode := enMACH_JOG;
|
||||
END_IF
|
||||
IF (gMachine.enMode = enMACH_JOG) AND (genAccessLevel < enACCESSLEVEL_2) THEN
|
||||
gMachine.enMode := enMACH_NOOP;
|
||||
END_IF
|
||||
IF EDGEPOS (gMachineCommands.bSwitchOn) THEN
|
||||
gMachine.bMachineON := TRUE;
|
||||
END_IF
|
||||
@@ -66,10 +88,12 @@ gStatusVCControls.usBtnPowerOn := SHL (BOOL_TO_USINT (genAccessLevel = enACCESSL
|
||||
SHL (BOOL_TO_USINT (gMachine.bMachineON), VC_HIDE_BITPOS);
|
||||
gStatusVCControls.usBtnPowerOff := SHL (BOOL_TO_USINT (genAccessLevel = enACCESSLEVEL_0), VC_LOCK_BITPOS) +
|
||||
SHL (BOOL_TO_USINT (NOT gMachine.bMachineON), VC_HIDE_BITPOS);
|
||||
gStatusVCControls.usBtnJogMode := SHL (BOOL_TO_USINT (genAccessLevel < enACCESSLEVEL_3), VC_LOCK_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) +
|
||||
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) +
|
||||
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) +
|
||||
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) +
|
||||
|
||||
@@ -31,6 +31,15 @@
|
||||
<Property Name="UserID" Value="None"/>
|
||||
<Property Name="VCType" Value="BOOL"/>
|
||||
</DataPoint>
|
||||
<DataPoint Name="bSetupMode">
|
||||
<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="gMachineCommands">
|
||||
<Property Name="Description" Value=""/>
|
||||
@@ -89,6 +98,15 @@
|
||||
<Property Name="UserID" Value="None"/>
|
||||
<Property Name="VCType" Value="BOOL"/>
|
||||
</DataPoint>
|
||||
<DataPoint Name="bToggleSetupmode">
|
||||
<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="gMachineAlarms">
|
||||
<Property Name="Description" Value=""/>
|
||||
@@ -239,6 +257,33 @@
|
||||
<Property Name="UserID" Value="None"/>
|
||||
<Property Name="VCType" Value="INTEGER"/>
|
||||
</DataPoint>
|
||||
<DataPoint Name="usBtnSetupmode">
|
||||
<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="usLabelSetupmode">
|
||||
<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="usBtnNextStep">
|
||||
<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="gVCCommands">
|
||||
<Property Name="Description" Value=""/>
|
||||
@@ -694,6 +739,15 @@
|
||||
<Property Name="UserID" Value="None"/>
|
||||
<Property Name="VCType" Value="INTEGER"/>
|
||||
</DataPoint>
|
||||
<DataPoint Name="usJogHomeShaftMaster">
|
||||
<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=""/>
|
||||
@@ -842,6 +896,15 @@
|
||||
<Property Name="UserID" Value="None"/>
|
||||
<Property Name="VCType" Value="BOOL"/>
|
||||
</DataPoint>
|
||||
<DataPoint Name="bEnableJogHomeShaftMaster">
|
||||
<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=""/>
|
||||
@@ -1062,6 +1125,15 @@
|
||||
<Property Name="UserID" Value="None"/>
|
||||
<Property Name="VCType" Value="BOOL"/>
|
||||
</DataPoint>
|
||||
<DataPoint Name="bJogHomeShaftMaster">
|
||||
<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=""/>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<Property Name="OutlineDisplayName" Value="True"/>
|
||||
<Property Name="OutlineHatched" Value="False"/>
|
||||
<Property Name="Top" Value="0"/>
|
||||
<Property Name="VisibilityMode" Value="Hidden"/>
|
||||
<Property Name="VisibilityMode" Value="Normal"/>
|
||||
<Property Name="Z-Order" Value="0"/>
|
||||
</LayerRef>
|
||||
<LayerRef Source="Source[local].Layer[globalArea]">
|
||||
@@ -31,13 +31,13 @@
|
||||
<Property Name="OutlineDisplayName" Value="True"/>
|
||||
<Property Name="OutlineHatched" Value="False"/>
|
||||
<Property Name="Top" Value="0"/>
|
||||
<Property Name="VisibilityMode" Value="Hidden"/>
|
||||
<Property Name="VisibilityMode" Value="Normal"/>
|
||||
<Property Name="Z-Order" Value="1"/>
|
||||
</LayerRef>
|
||||
<Layer Name="PressInformation">
|
||||
<Property Name="BackColor" Value="9"/>
|
||||
<Property Name="Description" Value="Common Pressinformations"/>
|
||||
<Property Name="EditingMode" Value="Lock Position"/>
|
||||
<Property Name="EditingMode" Value="Normal"/>
|
||||
<Property Name="Height" Value="480"/>
|
||||
<Property Name="Left" Value="0"/>
|
||||
<Property Name="OutlineColor" Value="0"/>
|
||||
@@ -46,7 +46,7 @@
|
||||
<Property Name="OutlineHatched" Value="False"/>
|
||||
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Machine.gStatusVCControls.usLayersMainpage[2]]"/>
|
||||
<Property Name="Top" Value="0"/>
|
||||
<Property Name="VisibilityMode" Value="Hidden"/>
|
||||
<Property Name="VisibilityMode" Value="Normal"/>
|
||||
<Property Name="Width" Value="800"/>
|
||||
<Property Name="Z-Order" Value="2"/>
|
||||
<TextGroup>
|
||||
@@ -56,6 +56,8 @@
|
||||
<Text ID="97719" Value="Axis 3"/>
|
||||
<Text ID="97720" Value="Axis 4"/>
|
||||
<Text ID="97721" Value="MasterAxis"/>
|
||||
<Text ID="100873" Value="Toolslay1"/>
|
||||
<Text ID="100874" Value="Speed"/>
|
||||
</TextLayer>
|
||||
<TextLayer LanguageId="de-DE">
|
||||
<Text ID="97717" Value="Achse 1"/>
|
||||
@@ -63,6 +65,8 @@
|
||||
<Text ID="97719" Value="Achse 3"/>
|
||||
<Text ID="97720" Value="Achse 4"/>
|
||||
<Text ID="97721" Value="MasterAchse"/>
|
||||
<Text ID="100873" Value="Werkzeug1"/>
|
||||
<Text ID="100874" Value="Geschw."/>
|
||||
</TextLayer>
|
||||
<IndexMap>
|
||||
<Index ID="97717" Value="18"/>
|
||||
@@ -70,6 +74,8 @@
|
||||
<Index ID="97719" Value="20"/>
|
||||
<Index ID="97720" Value="21"/>
|
||||
<Index ID="97721" Value="22"/>
|
||||
<Index ID="100873" Value="5"/>
|
||||
<Index ID="100874" Value="6"/>
|
||||
</IndexMap>
|
||||
</TextGroup>
|
||||
<Controls>
|
||||
@@ -575,6 +581,118 @@
|
||||
<Property Name="Top" Value="64"/>
|
||||
<Property Name="Width" Value="24"/>
|
||||
</Control>
|
||||
<Control ClassId="0x0000101F" Name="SliderOverride">
|
||||
<Property Name="ControlID" Value="0"/>
|
||||
<Property Name="CurrentDatapoint" Value="None"/>
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="Height" Value="160"/>
|
||||
<Property Name="InputUpdateDatapoints" Value="Immediate"/>
|
||||
<Property Name="Left" Value="210"/>
|
||||
<Property Name="MaxDatapoint" Value="None"/>
|
||||
<Property Name="MaxValue" Value="100"/>
|
||||
<Property Name="MinDatapoint" Value="None"/>
|
||||
<Property Name="MinValue" Value="0"/>
|
||||
<Property Name="Orientation" Value="BottomToTop"/>
|
||||
<Property Name="SimulationValue" Value="0"/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="ThumbBitmap" Value="Source[local].Bitmap[Slider_ArrowRightGray]"/>
|
||||
<Property Name="Top" Value="80"/>
|
||||
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.rOverrideVelocity]"/>
|
||||
<Property Name="Width" Value="28"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001007" Name="numOverride">
|
||||
<Property Name="BackColor" Value="252"/>
|
||||
<Property Name="ControlID" Value="0"/>
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="ForeColor" Value="0"/>
|
||||
<Property Name="Height" Value="30"/>
|
||||
<Property Name="Left" Value="200"/>
|
||||
<Property Name="MaxDatapoint" Value="None"/>
|
||||
<Property Name="MaxValue" Value="None"/>
|
||||
<Property Name="MinDatapoint" Value="None"/>
|
||||
<Property Name="MinValue" Value="None"/>
|
||||
<Property Name="SimulationValue" Value="0"/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="TeachDatapoint" Value="None"/>
|
||||
<Property Name="Top" Value="250"/>
|
||||
<Property Name="UnitText" Value="Abbreviation"/>
|
||||
<Property Name="UnitTextAlignment" Value="Left"/>
|
||||
<Property Name="UnitTextPosition" Value="Right"/>
|
||||
<Property Name="UnitTextWidth" Value="0"/>
|
||||
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.rOverrideVelocity]"/>
|
||||
<Property Name="ValueMode" Value="Standard"/>
|
||||
<Property Name="Width" Value="48"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001007" Name="numPosSlay1">
|
||||
<Property Name="BackColor" Value="252"/>
|
||||
<Property Name="ControlID" Value="0"/>
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="ForeColor" Value="0"/>
|
||||
<Property Name="Height" Value="30"/>
|
||||
<Property Name="Left" Value="180"/>
|
||||
<Property Name="MaxDatapoint" Value="None"/>
|
||||
<Property Name="MaxValue" Value="None"/>
|
||||
<Property Name="MinDatapoint" Value="None"/>
|
||||
<Property Name="MinValue" Value="None"/>
|
||||
<Property Name="SimulationValue" Value="0"/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="TeachDatapoint" Value="None"/>
|
||||
<Property Name="Top" Value="310"/>
|
||||
<Property Name="UnitText" Value="Abbreviation"/>
|
||||
<Property Name="UnitTextAlignment" Value="Left"/>
|
||||
<Property Name="UnitTextPosition" Value="Right"/>
|
||||
<Property Name="UnitTextWidth" Value="0"/>
|
||||
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisSlay1.rActPosition]"/>
|
||||
<Property Name="ValueMode" Value="Standard"/>
|
||||
<Property Name="Width" Value="92"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001004" Name="Text_1">
|
||||
<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="180"/>
|
||||
<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="290"/>
|
||||
<Property Name="Width" Value="72"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001004" Name="Text_Speed">
|
||||
<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="20"/>
|
||||
<Property Name="Left" Value="190"/>
|
||||
<Property Name="SimulationValue" Value=""/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
|
||||
<Property Name="TextIndexOffset" Value="6"/>
|
||||
<Property Name="TextSource" Value="SingleText"/>
|
||||
<Property Name="Top" Value="50"/>
|
||||
<Property Name="Width" Value="64"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001005" Name="bmpHominStateSlay1">
|
||||
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_24]"/>
|
||||
<Property Name="BitmapIndex" Value="23"/>
|
||||
<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.bHomingOk]"/>
|
||||
<Property Name="Left" Value="250"/>
|
||||
<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>
|
||||
</Controls>
|
||||
<KeyMapping>
|
||||
<VirtualKey Name="AlarmUp">
|
||||
@@ -613,15 +731,13 @@
|
||||
<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="Hidden"/>
|
||||
<Property Name="VisibilityMode" Value="Normal"/>
|
||||
<Property Name="Width" Value="800"/>
|
||||
<Property Name="Z-Order" Value="3"/>
|
||||
<TextGroup>
|
||||
<TextLayer LanguageId="en-US">
|
||||
<Text ID="96322" Value="GEAR ON"/>
|
||||
<Text ID="96324" Value="GEAR OFF"/>
|
||||
<Text ID="97530" Value="Toolslay1"/>
|
||||
<Text ID="97535" Value="Speed"/>
|
||||
<Text ID="97575" Value="Reference Press"/>
|
||||
<Text ID="97577" Value="Toolslay 1\ Reference"/>
|
||||
<Text ID="97579" Value="Press Restore"/>
|
||||
@@ -631,8 +747,6 @@
|
||||
<TextLayer LanguageId="de-DE">
|
||||
<Text ID="96322" Value="GEAR ON"/>
|
||||
<Text ID="96324" Value="GEAR OFF"/>
|
||||
<Text ID="97530" Value="Werkzeug1"/>
|
||||
<Text ID="97535" Value="Geschw."/>
|
||||
<Text ID="97575" Value="Presse Ref.fahrt"/>
|
||||
<Text ID="97577" Value="Wkg. 1\n Ref.fahrt"/>
|
||||
<Text ID="97579" Value="Presse\nRef.laden"/>
|
||||
@@ -642,8 +756,6 @@
|
||||
<IndexMap>
|
||||
<Index ID="96322" Value="32"/>
|
||||
<Index ID="96324" Value="34"/>
|
||||
<Index ID="97530" Value="42"/>
|
||||
<Index ID="97535" Value="47"/>
|
||||
<Index ID="97575" Value="40"/>
|
||||
<Index ID="97577" Value="49"/>
|
||||
<Index ID="97579" Value="51"/>
|
||||
@@ -913,7 +1025,7 @@
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="Height" Value="44"/>
|
||||
<Property Name="KeyMatrixOffset" Value="None"/>
|
||||
<Property Name="Left" Value="668"/>
|
||||
<Property Name="Left" Value="670"/>
|
||||
<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.usBtnActivateGear]"/>
|
||||
@@ -938,7 +1050,7 @@
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="Height" Value="44"/>
|
||||
<Property Name="KeyMatrixOffset" Value="None"/>
|
||||
<Property Name="Left" Value="668"/>
|
||||
<Property Name="Left" Value="670"/>
|
||||
<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.usBtnDisableGear]"/>
|
||||
@@ -952,48 +1064,6 @@
|
||||
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManDisableGear]"/>
|
||||
<Property Name="Width" Value="112"/>
|
||||
</Control>
|
||||
<Control ClassId="0x0000101F" Name="SliderOverride">
|
||||
<Property Name="ControlID" Value="0"/>
|
||||
<Property Name="CurrentDatapoint" Value="None"/>
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="Height" Value="160"/>
|
||||
<Property Name="InputUpdateDatapoints" Value="Immediate"/>
|
||||
<Property Name="Left" Value="208"/>
|
||||
<Property Name="MaxDatapoint" Value="None"/>
|
||||
<Property Name="MaxValue" Value="100"/>
|
||||
<Property Name="MinDatapoint" Value="None"/>
|
||||
<Property Name="MinValue" Value="0"/>
|
||||
<Property Name="Orientation" Value="BottomToTop"/>
|
||||
<Property Name="SimulationValue" Value="0"/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="ThumbBitmap" Value="Source[local].Bitmap[Slider_ArrowRightGray]"/>
|
||||
<Property Name="Top" Value="72"/>
|
||||
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.rOverrideVelocity]"/>
|
||||
<Property Name="Width" Value="28"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001007" Name="numOverride">
|
||||
<Property Name="BackColor" Value="252"/>
|
||||
<Property Name="ControlID" Value="0"/>
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="ForeColor" Value="0"/>
|
||||
<Property Name="Height" Value="30"/>
|
||||
<Property Name="Left" Value="196"/>
|
||||
<Property Name="MaxDatapoint" Value="None"/>
|
||||
<Property Name="MaxValue" Value="None"/>
|
||||
<Property Name="MinDatapoint" Value="None"/>
|
||||
<Property Name="MinValue" Value="None"/>
|
||||
<Property Name="SimulationValue" Value="0"/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="TeachDatapoint" Value="None"/>
|
||||
<Property Name="Top" Value="240"/>
|
||||
<Property Name="UnitText" Value="Abbreviation"/>
|
||||
<Property Name="UnitTextAlignment" Value="Left"/>
|
||||
<Property Name="UnitTextPosition" Value="Right"/>
|
||||
<Property Name="UnitTextWidth" Value="0"/>
|
||||
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.rOverrideVelocity]"/>
|
||||
<Property Name="ValueMode" Value="Standard"/>
|
||||
<Property Name="Width" Value="48"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001002" Name="btnJogPosSlay1">
|
||||
<Property Name="AlignmentHorizontal" Value="Right"/>
|
||||
<Property Name="BitmapAlignmentHorizontal" Value="Center"/>
|
||||
@@ -1044,29 +1114,6 @@
|
||||
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManJogNegSlay1]"/>
|
||||
<Property Name="Width" Value="56"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001007" Name="numPosSlay1">
|
||||
<Property Name="BackColor" Value="252"/>
|
||||
<Property Name="ControlID" Value="0"/>
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="ForeColor" Value="0"/>
|
||||
<Property Name="Height" Value="30"/>
|
||||
<Property Name="Left" Value="188"/>
|
||||
<Property Name="MaxDatapoint" Value="None"/>
|
||||
<Property Name="MaxValue" Value="None"/>
|
||||
<Property Name="MinDatapoint" Value="None"/>
|
||||
<Property Name="MinValue" Value="None"/>
|
||||
<Property Name="SimulationValue" Value="0"/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="TeachDatapoint" Value="None"/>
|
||||
<Property Name="Top" Value="304"/>
|
||||
<Property Name="UnitText" Value="Abbreviation"/>
|
||||
<Property Name="UnitTextAlignment" Value="Left"/>
|
||||
<Property Name="UnitTextPosition" Value="Right"/>
|
||||
<Property Name="UnitTextWidth" Value="0"/>
|
||||
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Axises.PressCtrl.lAxisSlay1.rActPosition]"/>
|
||||
<Property Name="ValueMode" Value="Standard"/>
|
||||
<Property Name="Width" Value="92"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001002" Name="btnReference">
|
||||
<Property Name="AlignmentHorizontal" Value="Right"/>
|
||||
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_36]"/>
|
||||
@@ -1078,7 +1125,7 @@
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="Height" Value="44"/>
|
||||
<Property Name="KeyMatrixOffset" Value="None"/>
|
||||
<Property Name="Left" Value="668"/>
|
||||
<Property Name="Left" Value="670"/>
|
||||
<Property Name="Multiline" Value="Automatic"/>
|
||||
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
|
||||
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
|
||||
@@ -1093,38 +1140,6 @@
|
||||
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManReferencePress]"/>
|
||||
<Property Name="Width" Value="112"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001004" Name="Text_1">
|
||||
<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="188"/>
|
||||
<Property Name="SimulationValue" Value=""/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
|
||||
<Property Name="TextIndexOffset" Value="42"/>
|
||||
<Property Name="TextSource" Value="SingleText"/>
|
||||
<Property Name="Top" Value="280"/>
|
||||
<Property Name="Width" Value="72"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001004" Name="Text_Speed">
|
||||
<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="20"/>
|
||||
<Property Name="Left" Value="188"/>
|
||||
<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="48"/>
|
||||
<Property Name="Width" Value="64"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001002" Name="btnReferenceSlay1">
|
||||
<Property Name="AlignmentHorizontal" Value="Right"/>
|
||||
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_36]"/>
|
||||
@@ -1151,21 +1166,6 @@
|
||||
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManReferenceSlay1]"/>
|
||||
<Property Name="Width" Value="112"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001005" Name="bmpHominStateSlay1">
|
||||
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_24]"/>
|
||||
<Property Name="BitmapIndex" Value="23"/>
|
||||
<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.bHomingOk]"/>
|
||||
<Property Name="Left" Value="260"/>
|
||||
<Property Name="SimulationValue" Value="0"/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="Top" Value="280"/>
|
||||
<Property Name="Width" Value="24"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001002" Name="btnReferenceABS">
|
||||
<Property Name="AlignmentHorizontal" Value="Right"/>
|
||||
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Orange_36]"/>
|
||||
@@ -1177,7 +1177,7 @@
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="Height" Value="44"/>
|
||||
<Property Name="KeyMatrixOffset" Value="None"/>
|
||||
<Property Name="Left" Value="668"/>
|
||||
<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]"/>
|
||||
@@ -1284,6 +1284,31 @@
|
||||
<Property Name="VirtualKey" Value="Source[local].VirtualKey[SetOpLayer5]"/>
|
||||
<Property Name="Width" Value="148"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001002" Name="btnJogHomeShaftMaster">
|
||||
<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.bEnableJogHomeShaftMaster]"/>
|
||||
<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="520"/>
|
||||
<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.usJogHomeShaftMaster]"/>
|
||||
<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="190"/>
|
||||
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManJogHomeShaftMaster]"/>
|
||||
<Property Name="Width" Value="124"/>
|
||||
</Control>
|
||||
</Controls>
|
||||
<KeyMapping>
|
||||
<VirtualKey Name="MachSwitchOn">
|
||||
@@ -1633,6 +1658,22 @@
|
||||
</KeyAction>
|
||||
</KeyActions>
|
||||
</VirtualKey>
|
||||
<VirtualKey Name="ManJogHomeShaftMaster">
|
||||
<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.bJogHomeShaftMaster]"/>
|
||||
</KeyAction>
|
||||
</KeyActions>
|
||||
</VirtualKey>
|
||||
</KeyMapping>
|
||||
</Layer>
|
||||
<Layer Name="OpTool1">
|
||||
@@ -2005,7 +2046,7 @@
|
||||
<Property Name="OutlineHatched" Value="False"/>
|
||||
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Machine.gStatusVCControls.usLayersMainpage[5]]"/>
|
||||
<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="5"/>
|
||||
<TextGroup>
|
||||
@@ -2251,7 +2292,7 @@
|
||||
<Property Name="OutlineHatched" Value="False"/>
|
||||
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Machine.gStatusVCControls.usLayersMainpage[6]]"/>
|
||||
<Property Name="Top" Value="0"/>
|
||||
<Property Name="VisibilityMode" Value="Hidden"/>
|
||||
<Property Name="VisibilityMode" Value="Normal"/>
|
||||
<Property Name="Width" Value="800"/>
|
||||
<Property Name="Z-Order" Value="6"/>
|
||||
<TextGroup>
|
||||
@@ -2296,7 +2337,7 @@
|
||||
<Property Name="Left" Value="280"/>
|
||||
<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.usBtnManMode]"/>
|
||||
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Machine.gStatusVCControls.usBtnNextStep]"/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
|
||||
<Property Name="TextIndex" Value="1"/>
|
||||
@@ -2411,7 +2452,7 @@
|
||||
<Layer Name="Common">
|
||||
<Property Name="BackColor" Value="9"/>
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="EditingMode" Value="Lock Position"/>
|
||||
<Property Name="EditingMode" Value="Normal"/>
|
||||
<Property Name="Height" Value="480"/>
|
||||
<Property Name="Left" Value="0"/>
|
||||
<Property Name="OutlineColor" Value="0"/>
|
||||
@@ -2420,7 +2461,7 @@
|
||||
<Property Name="OutlineHatched" Value="False"/>
|
||||
<Property Name="StatusDatapoint" Value="None"/>
|
||||
<Property Name="Top" Value="0"/>
|
||||
<Property Name="VisibilityMode" Value="Hidden"/>
|
||||
<Property Name="VisibilityMode" Value="Normal"/>
|
||||
<Property Name="Width" Value="800"/>
|
||||
<Property Name="Z-Order" Value="8"/>
|
||||
<TextGroup>
|
||||
@@ -2604,6 +2645,45 @@
|
||||
<Property Name="VirtualKey" Value="Source[local].VirtualKey[CmdMachAutomatic]"/>
|
||||
<Property Name="Width" Value="148"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001002" Name="btnDisableChecks">
|
||||
<Property Name="BitmapIndexDatapoint" Value="None"/>
|
||||
<Property Name="BitmapSource" Value="None"/>
|
||||
<Property Name="ControlID" Value="0"/>
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="Height" Value="40"/>
|
||||
<Property Name="KeyMatrixOffset" Value="None"/>
|
||||
<Property Name="Left" Value="670"/>
|
||||
<Property Name="Multiline" Value="Automatic"/>
|
||||
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
|
||||
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
|
||||
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Machine.gStatusVCControls.usBtnSetupmode]"/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="TextGroup" Value="Source[local].TextGroup[Buttons_PageTexts]"/>
|
||||
<Property Name="TextIndex" Value="100"/>
|
||||
<Property Name="TextIndexDatapoint" Value="Source[global].Variable[DataSource.Machine.gMachine.bSetupMode]"/>
|
||||
<Property Name="TextSimulationValue" Value="0"/>
|
||||
<Property Name="TextSource" Value="MultipleTexts"/>
|
||||
<Property Name="Top" Value="350"/>
|
||||
<Property Name="VirtualKey" Value="Source[local].VirtualKey[ManDisableChecks]"/>
|
||||
<Property Name="Width" Value="112"/>
|
||||
</Control>
|
||||
<Control ClassId="0x00001004" Name="Text_2">
|
||||
<Property Name="AlignmentHorizontal" Value="Center"/>
|
||||
<Property Name="ControlID" Value="0"/>
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="Font" Value="Source[local].Font[Status]"/>
|
||||
<Property Name="Height" Value="20"/>
|
||||
<Property Name="IndexDatapoint" Value="Source[global].Variable[DataSource.Machine.gMachine.bSetupMode]"/>
|
||||
<Property Name="Left" Value="350"/>
|
||||
<Property Name="SimulationValue" Value=""/>
|
||||
<Property Name="StatusDatapoint" Value="Source[global].Variable[DataSource.Machine.gStatusVCControls.usLabelSetupmode]"/>
|
||||
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
|
||||
<Property Name="TextGroup" Value="Source[local].TextGroup[Buttons_PageTexts]"/>
|
||||
<Property Name="TextIndexOffset" Value="102"/>
|
||||
<Property Name="TextSource" Value="MultipleTexts"/>
|
||||
<Property Name="Top" Value="360"/>
|
||||
<Property Name="Width" Value="310"/>
|
||||
</Control>
|
||||
</Controls>
|
||||
<KeyMapping>
|
||||
<VirtualKey Name="ErrorReset">
|
||||
@@ -2718,17 +2798,33 @@
|
||||
</KeyAction>
|
||||
</KeyActions>
|
||||
</VirtualKey>
|
||||
<VirtualKey Name="ManDisableChecks">
|
||||
<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.Machine.gMachineCommands.bToggleSetupmode]"/>
|
||||
</KeyAction>
|
||||
</KeyActions>
|
||||
</VirtualKey>
|
||||
</KeyMapping>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<MovementOrder>
|
||||
<MovementEntry Control="Source[embedded].Layer[PressInformation].Control[AlarmCurrent]">
|
||||
<Property Name="Down" Value="Source[embedded].Layer[OpPress].Control[SliderOverride]"/>
|
||||
<Property Name="Left" Value="Source[embedded].Layer[OpPress].Control[SliderOverride]"/>
|
||||
<Property Name="Right" Value="Source[embedded].Layer[OpPress].Control[SliderOverride]"/>
|
||||
<Property Name="Up" Value="Source[embedded].Layer[OpPress].Control[SliderOverride]"/>
|
||||
<Property Name="Down" Value="Source[embedded].Layer[PressInformation].Control[SliderOverride]"/>
|
||||
<Property Name="Left" Value="Source[embedded].Layer[PressInformation].Control[SliderOverride]"/>
|
||||
<Property Name="Right" Value="Source[embedded].Layer[PressInformation].Control[SliderOverride]"/>
|
||||
<Property Name="Up" Value="Source[embedded].Layer[PressInformation].Control[SliderOverride]"/>
|
||||
</MovementEntry>
|
||||
<MovementEntry Control="Source[embedded].Layer[OpPress].Control[SliderOverride]">
|
||||
<MovementEntry Control="Source[embedded].Layer[PressInformation].Control[SliderOverride]">
|
||||
<Property Name="Down" Value="Source[embedded].Layer[PressInformation].Control[AlarmCurrent]"/>
|
||||
<Property Name="Left" Value="Source[embedded].Layer[PressInformation].Control[AlarmCurrent]"/>
|
||||
<Property Name="Right" Value="Source[embedded].Layer[PressInformation].Control[AlarmCurrent]"/>
|
||||
@@ -2736,19 +2832,19 @@
|
||||
</MovementEntry>
|
||||
</MovementOrder>
|
||||
<TabSequence>
|
||||
<TabSeqItem Index="0" Value="Source[embedded].Layer[OpPress].Control[SliderOverride]"/>
|
||||
<TabSeqItem Index="1" Value="Source[embedded].Layer[OpPress].Control[numOverride]"/>
|
||||
<TabSeqItem Index="2" Value="Source[embedded].Layer[OpPress].Control[numPosSlay1]"/>
|
||||
<TabSeqItem Index="3" Value="Source[embedded].Layer[PressInformation].Control[AlarmCurrent]"/>
|
||||
<TabSeqItem Index="4" Value="Source[embedded].Layer[PressInformation].Control[numPosShaftMaster]"/>
|
||||
<TabSeqItem Index="5" Value="Source[embedded].Layer[PressInformation].Control[numTorqShaft4]"/>
|
||||
<TabSeqItem Index="6" Value="Source[embedded].Layer[PressInformation].Control[numTorqShaft3]"/>
|
||||
<TabSeqItem Index="7" Value="Source[embedded].Layer[PressInformation].Control[numTorqShaft2]"/>
|
||||
<TabSeqItem Index="8" Value="Source[embedded].Layer[PressInformation].Control[numTorqShaft1]"/>
|
||||
<TabSeqItem Index="9" Value="Source[embedded].Layer[PressInformation].Control[numPosShaft4]"/>
|
||||
<TabSeqItem Index="10" Value="Source[embedded].Layer[PressInformation].Control[numPosShaft3]"/>
|
||||
<TabSeqItem Index="11" Value="Source[embedded].Layer[PressInformation].Control[numPosShaft2]"/>
|
||||
<TabSeqItem Index="12" Value="Source[embedded].Layer[PressInformation].Control[numPosShaft1]"/>
|
||||
<TabSeqItem Index="13" Value="Source[local].Layer[globalArea].Control[Numeric_1]"/>
|
||||
<TabSeqItem Index="0" Value="Source[embedded].Layer[PressInformation].Control[AlarmCurrent]"/>
|
||||
<TabSeqItem Index="1" Value="Source[embedded].Layer[PressInformation].Control[numPosShaftMaster]"/>
|
||||
<TabSeqItem Index="2" Value="Source[embedded].Layer[PressInformation].Control[numTorqShaft4]"/>
|
||||
<TabSeqItem Index="3" Value="Source[embedded].Layer[PressInformation].Control[numTorqShaft3]"/>
|
||||
<TabSeqItem Index="4" Value="Source[embedded].Layer[PressInformation].Control[numTorqShaft2]"/>
|
||||
<TabSeqItem Index="5" Value="Source[embedded].Layer[PressInformation].Control[numTorqShaft1]"/>
|
||||
<TabSeqItem Index="6" Value="Source[embedded].Layer[PressInformation].Control[numPosShaft4]"/>
|
||||
<TabSeqItem Index="7" Value="Source[embedded].Layer[PressInformation].Control[numPosShaft3]"/>
|
||||
<TabSeqItem Index="8" Value="Source[embedded].Layer[PressInformation].Control[numPosShaft2]"/>
|
||||
<TabSeqItem Index="9" Value="Source[embedded].Layer[PressInformation].Control[numPosShaft1]"/>
|
||||
<TabSeqItem Index="10" Value="Source[local].Layer[globalArea].Control[Numeric_1]"/>
|
||||
<TabSeqItem Index="11" Value="Source[embedded].Layer[PressInformation].Control[SliderOverride]"/>
|
||||
<TabSeqItem Index="12" Value="Source[embedded].Layer[PressInformation].Control[numOverride]"/>
|
||||
<TabSeqItem Index="13" Value="Source[embedded].Layer[PressInformation].Control[numPosSlay1]"/>
|
||||
</TabSequence>
|
||||
</Page>
|
||||
@@ -11,7 +11,7 @@
|
||||
<Text ID="89138" Value="Home"/>
|
||||
<Text ID="89139" Value="Service"/>
|
||||
<Text ID="89142" Value="Brightness"/>
|
||||
<Text ID="89290" Value="Example Frame"/>
|
||||
<Text ID="89290" Value="Disable Checks"/>
|
||||
<Text ID="89291" Value="History"/>
|
||||
<Text ID="89302" Value="Select Language"/>
|
||||
<Text ID="89304" Value="Touch Configuration"/>
|
||||
@@ -38,6 +38,9 @@
|
||||
<Text ID="92559" Value="Torque Sahft 4"/>
|
||||
<Text ID="92560" Value=""/>
|
||||
<Text ID="95076" Value="Display Settings"/>
|
||||
<Text ID="100575" Value="Enable Checks"/>
|
||||
<Text ID="100576" Value="Checks Disabled !!!"/>
|
||||
<Text ID="100577" Value="Checks Enabled"/>
|
||||
</TextLayer>
|
||||
<TextLayer LanguageId="de-DE">
|
||||
<Text ID="89135" Value="Kontrast"/>
|
||||
@@ -46,7 +49,7 @@
|
||||
<Text ID="89138" Value="Home"/>
|
||||
<Text ID="89139" Value="Service"/>
|
||||
<Text ID="89142" Value="Helligkeit"/>
|
||||
<Text ID="89290" Value="Beispiel Frame"/>
|
||||
<Text ID="89290" Value="Checks deaktivieren"/>
|
||||
<Text ID="89291" Value="Historie"/>
|
||||
<Text ID="89302" Value="Sprache Auswählen"/>
|
||||
<Text ID="89304" Value="Touch Konfiguration"/>
|
||||
@@ -73,6 +76,9 @@
|
||||
<Text ID="92559" Value="N - Achse 4"/>
|
||||
<Text ID="92560" Value=""/>
|
||||
<Text ID="95076" Value="Display Einstellungen"/>
|
||||
<Text ID="100575" Value="Checks Aktivieren"/>
|
||||
<Text ID="100576" Value="Plausibilitätsprüfungen sind NICHT aktiv"/>
|
||||
<Text ID="100577" Value="Plausibilitätsprüfungen sind aktiv"/>
|
||||
</TextLayer>
|
||||
<IndexMap>
|
||||
<Index ID="89135" Value="6010"/>
|
||||
@@ -81,7 +87,7 @@
|
||||
<Index ID="89138" Value="1"/>
|
||||
<Index ID="89139" Value="0"/>
|
||||
<Index ID="89142" Value="6011"/>
|
||||
<Index ID="89290" Value="1000"/>
|
||||
<Index ID="89290" Value="100"/>
|
||||
<Index ID="89291" Value="6"/>
|
||||
<Index ID="89302" Value="6000"/>
|
||||
<Index ID="89304" Value="6001"/>
|
||||
@@ -108,5 +114,8 @@
|
||||
<Index ID="92559" Value="1211"/>
|
||||
<Index ID="92560" Value="1212"/>
|
||||
<Index ID="95076" Value="6008"/>
|
||||
<Index ID="100575" Value="101"/>
|
||||
<Index ID="100576" Value="103"/>
|
||||
<Index ID="100577" Value="102"/>
|
||||
</IndexMap>
|
||||
</TextGroup>
|
||||
@@ -1831,4 +1831,12 @@
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="VirtualKey_LED" Value="False"/>
|
||||
</VirtualKey>
|
||||
<VirtualKey Name="ManDisableChecks">
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="VirtualKey_LED" Value="False"/>
|
||||
</VirtualKey>
|
||||
<VirtualKey Name="ManJogHomeShaftMaster">
|
||||
<Property Name="Description" Value=""/>
|
||||
<Property Name="VirtualKey_LED" Value="False"/>
|
||||
</VirtualKey>
|
||||
</KeyMapping>
|
||||
@@ -1,3 +1,8 @@
|
||||
VAR_CONFIG
|
||||
grAxisABSOffShaft AT %MD0; (*Absolute Offsets*)
|
||||
gudPartCountOverall AT %MD16; (*Gesamtz<74>hler*)
|
||||
gudPartCountShift AT %MD20; (*Schichtz<74>hler*)
|
||||
grConsumedEnergy AT %MD24;
|
||||
grRegeneratedEnergy AT %MD28;
|
||||
gPressParamTools AT %M32; (*Werkzeug abh<62>ngige Positionen*)
|
||||
END_VAR
|
||||
|
||||
@@ -114,5 +114,6 @@
|
||||
<LibraryObject Name="AsARCfg" Source="Libraries.AsARCfg.lby" Memory="UserROM" Language="Binary" Debugging="true" />
|
||||
<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" />
|
||||
</Libraries>
|
||||
</SwConfiguration>
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user