Umstellung auf Einzelprogramm

This commit is contained in:
Michael Rest
2018-01-31 16:50:44 +01:00
parent 6bc8b3c370
commit b0773b5310
64 changed files with 1177 additions and 401 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version="4.2.9.65 SP"?>
<?AutomationStudio Version="4.2.10.53 SP"?>
<Project Description="Deckelmessung" Version="1.00.0" Edition="Standard" EditionComment="Standard" xmlns="http://br-automation.co.at/AS/Project">
<Communication />
<ANSIC DefaultIncludes="true" />

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version="4.2.9.65 SP"?>
<?AutomationStudio Version="4.2.10.53 SP"?>
<ProjectSettings xmlns="http://br-automation.co.at/AS/ProjectSettings">
<ConfigurationManager ActiveConfigurationName="Config1" />
<Deployment Value="ActiveCpu" />

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version=4.2.7.54 SP?>
<?AutomationStudio Version=4.2.10.53 SP?>
<Program xmlns="http://br-automation.co.at/AS/Program">
<Files>
<File Description="Implementation code">RS232.st</File>

View File

@@ -67,76 +67,62 @@ CASE enStepRS232 OF
ELSIF (brsstrlen (ADR (strReadData)) = 8) THEN
//Fehler
bWaitAck := FALSE;
ELSIF (brsstrlen (ADR (strReadData)) = 15) THEN
//Out 01 Durchmesser
//'01234567890123 456789012345678 901234567890123 456789' !! $r = 1 Byte
//'TG,01,-FFFFFFF$rTG,02,+0037.45$rTG,03,+0060.57$r'
brsmemcpy (ADR (usChar), ADR (strReadData) + 11, 1 );
IF (usChar = usF) THEN
gAnalogScaled.rDiameterSmallValid := FALSE;
gAnalogScaled.rDiameter := 0.0;
ELSE
brsmemcpy (ADR (strTemp[1]), ADR (strReadData) + 7, 4 );
brsmemcpy (ADR (strTemp[2]), ADR (strReadData) + 12, 2 );
udTempVal[1] := ASCtoUDINT (ADR (strTemp[1]), 4);
udTempVal[2] := ASCtoUDINT (ADR (strTemp[2]), 2);
gAnalogScaled.rDiameter := UDINT_TO_REAL (udTempVal[1]) + 0.01 * UDINT_TO_REAL (udTempVal[2]);
gAnalogScaled.rDiameterSmallValid := TRUE;
END_IF
gCmd1.bNewResult := TRUE;
ELSIF (brsstrlen (ADR (strReadData)) = 240) THEN
FOR usi := 0 TO 15 DO
brsmemcpy (ADR (strTemp[usi * 2 + 1]), ADR (strReadData) + 7 + usi * 15, 4 );
brsmemcpy (ADR (strTemp[usi * 2 + 2]), ADR (strReadData) + 12 + usi * 15, 2 );
udTempVal[usi * 2 + 1] := ASCtoUDINT (ADR (strTemp[usi * 2 + 1]), 4);
udTempVal[usi * 2 + 2] := ASCtoUDINT (ADR (strTemp[usi * 2 + 2]), 2);
END_FOR
ELSIF (brsstrlen (ADR (strReadData)) = 30) THEN
//Out 01 Durchmesser
//Out 01/02 Teildurchmesser
brsmemcpy (ADR (usChar), ADR (strReadData) + 11, 1 );
brsmemcpy (ADR (usChar2), ADR (strReadData) + 26, 1 );
IF (usChar = usF) OR (usChar2 = usF) THEN
gAnalogScaled.rDiameterBigValid := FALSE;
gAnalogScaled.rDiameter := 0.0;
ELSE
brsmemcpy (ADR (strTemp[3]), ADR (strReadData) + 7, 4 );
brsmemcpy (ADR (strTemp[4]), ADR (strReadData) + 12, 2 );
udTempVal[3] := ASCtoUDINT (ADR (strTemp[3]), 4);
udTempVal[4] := ASCtoUDINT (ADR (strTemp[4]), 2);
brsmemcpy (ADR (strTemp[5]), ADR (strReadData) + 22, 4 );
brsmemcpy (ADR (strTemp[6]), ADR (strReadData) + 27, 2 );
udTempVal[5] := ASCtoUDINT (ADR (strTemp[5]), 4);
udTempVal[6] := ASCtoUDINT (ADR (strTemp[6]), 2);
gAnalogScaled.rDiameter := UDINT_TO_REAL (udTempVal[3]) + 0.01 * UDINT_TO_REAL (udTempVal[4]) +
UDINT_TO_REAL (udTempVal[5]) + 0.01 * UDINT_TO_REAL (udTempVal[6]);
gAnalogScaled.rDiameterBigValid := TRUE;
gCmd1.bNewResult := TRUE;
END_IF
usi := gCmd1.usOutNr - 1;
CASE gCmd1.enMeasurementMode OF
//Single Cam Mode
enSingleCam:
gAnalogScaled.rDiameter := UDINT_TO_REAL (udTempVal[usi * 2 + 1]) + 0.01 * UDINT_TO_REAL (udTempVal[usi * 2 + 2]);
gAnalogScaled.rDiameterSmallValid := TRUE;
//Double Cam Mode
enDoubleCam:
gAnalogScaled.rDiameter := UDINT_TO_REAL (udTempVal[usi * 2 + 1]) + 0.01 * UDINT_TO_REAL (udTempVal[usi * 2 + 2]) +
UDINT_TO_REAL (udTempVal[usi * 2 + 3]) + 0.01 * UDINT_TO_REAL (udTempVal[usi * 2 + 4]);
gAnalogScaled.rDiameterBigValid := TRUE;
END_CASE
gCmd1.bNewResult := TRUE;
END_IF
// initialize release buffer structure */
FUBs.FrameReleaseBuffer1.enable := 1;
FUBs.FrameReleaseBuffer1.buffer := pReadBuffer;
FUBs.FrameReleaseBuffer1.buflng := uiReadBufferLength;
ELSIF (bInit OR (gTM065.usPrgNr <> gTM065.usPrgNrOld)) AND NOT bWaitAck THEN
ELSIF (bInit OR (gTM065.usPrgNr <> gTM065.usPrgNrOld)) AND (gTM065.usPrgNr > 0) AND NOT bWaitAck THEN
bInit := FALSE;
brsmemset (ADR (strWriteData), 0, SIZEOF (strWriteData));
brsmemset (ADR (strTemp[9]), 0, SIZEOF (strTemp[9]));
brsmemset (ADR (strTemp[10]), 0, SIZEOF (strTemp[10]));
brsstrcpy (ADR (strWriteData), ADR ('PW,'));
(* Nur f<EFBFBD>r Programme auf SD Karte
brsstrcpy (ADR (strWriteData), ADR ('PC,'));
brsitoa (gTM065.usPrgNr / 16, ADR (strTemp[9]));
IF (gTM065.usPrgNr / 16) < 10 THEN
//F<EFBFBD>hrende 0 einf<EFBFBD>gen
brsstrcat (ADR (strWriteData), ADR ('0'));
END_IF
brsstrcat (ADR (strWriteData), ADR (strTemp[9]));
brsstrcat (ADR (strWriteData), ADR (','));
brsitoa (gTM065.usPrgNr MOD 16, ADR (strTemp[10]));
IF (gTM065.usPrgNr MOD 16) < 10 THEN
*)
brsitoa (gTM065.usPrgNr -1, ADR (strTemp[10]));
IF (gTM065.usPrgNr) < 10 THEN
//F<EFBFBD>hrende 0 einf<EFBFBD>gen
brsstrcat (ADR (strWriteData), ADR ('0'));
END_IF
brsstrcat (ADR (strWriteData), ADR (strTemp[10]));
brsstrcat (ADR (strWriteData), ADR (usCR));
brsstrcat (ADR (strWriteData), ADR ('$r')); //ADR (usCR));
FUBs.FrameWrite1.buffer := ADR (strWriteData);
FUBs.FrameWrite1.buflng := 9;
FUBs.FrameWrite1.buflng := UDINT_TO_UINT (brsstrlen (ADR (strWriteData))); //bei SD Karte 9;
FUBs.FrameWrite1.enable := TRUE;
usPrgRequested := gTM065.usPrgNr;
bWaitAck := TRUE;
bWaitAck := TRUE;
END_IF
END_CASE

View File

@@ -3,6 +3,7 @@
VAR
bWaitAck : BOOL;
bInit : BOOL;
usi : USINT;
END_VAR
VAR CONSTANT
usF : USINT := 70; (*'F'*)
@@ -19,11 +20,11 @@ VAR
usPrgRequested : USINT;
uiReadBufferLength : UINT;
pReadBuffer : UDINT;
udTempVal : ARRAY[1..6] OF UDINT;
udTempVal : ARRAY[1..32] OF UDINT;
udTemp : UDINT;
strReadData : {REDUND_UNREPLICABLE} STRING[80];
strReadData : {REDUND_UNREPLICABLE} STRING[255];
strWriteData : {REDUND_UNREPLICABLE} STRING[80];
strTemp : ARRAY[1..10] OF STRING[10];
strTemp : ARRAY[1..32] OF STRING[10];
enStepRS232 : typ_enStepRS232;
FUBs : typ_FUBs;
END_VAR

View File

@@ -15,6 +15,8 @@ TYPE
bNewResult : BOOL; (*Neues Messergebnis*)
bReqDoorOpen : BOOL; (*Anforderung T<>r <20>ffnen*)
bRelDoorOpen : BOOL; (*Freigabe T<>r <20>ffnen*)
usOutNr : USINT; (*OUT Nr mit Ergebnissen*)
enMeasurementMode : {REDUND_UNREPLICABLE} gtyp_enMeasurementModes := enSingleCam; (*Messart*)
END_STRUCT;
gtyp_MpFUB : STRUCT (*MApp Funktionsbausteine*)
END_STRUCT;

View File

@@ -10,6 +10,7 @@ TYPE
enMeasurementMode : {REDUND_UNREPLICABLE} gtyp_enMeasurementModes := enSingleCam; (*Messart*)
enNrOfMovements : gtyp_enMovements := en_Steps_4; (*Anzahl der Messchritte*)
usCamPrg : USINT := 0; (*Kameraprogramm*)
usOutNr : USINT; (*Out Nr (1-16)*)
rDiameterMin : REAL := 0.0; (*Toleranz Min*)
rDiameterMax : REAL := 120.0; (*Toleranz Max*)
END_STRUCT;

View File

@@ -61,6 +61,9 @@ PROGRAM _CYCLIC
//Ptogrammumschaltung TM
gTM065.usPrgNr := Recipe.usCamPrg;
gCmd1.usOutNr := Recipe.usOutNr;
gCmd1.enMeasurementMode := Recipe.enMeasurementMode;
//Visu Statis
StatusVCControls.usStartMeasurement.1 := (enStepAuto <> enAutoStep_WAIT_START) OR (gTM065.usPrgNr <> gTM065.usPrgNrOld);
@@ -179,7 +182,8 @@ PROGRAM _CYCLIC
gCmd1.bCmdCreateLogfile := TRUE;
gCmd1.bLogFileActive := TRUE;
END_IF
brsmemset (ADR (gstrLogMsg), 0, SIZEOF (gstrLogMsg));
brsstrcpy (ADR (gstrLogMsg), ADR ('$n$r'));
MpFUB.AxBasic_01.Home := TRUE;
END_IF
@@ -221,7 +225,7 @@ PROGRAM _CYCLIC
bTransitionCondition := NOT gbOuMeasureTrigger; //Reseted by Handshake
IF bTransitionCondition THEN
bMeasurementOk := FALSE;
bMeasurementOk := FALSE;
CASE Recipe.enMeasurementMode OF
//Single Cam Mode
enSingleCam:
@@ -249,17 +253,18 @@ PROGRAM _CYCLIC
IF bMeasurementOk THEN
//Messung war Ok
gMeasurements.Measurement[usNrOfMeasurement] := rDiameter;
//Einzelmessung nicht bewerten
IF (rDiameter > gMeasurements.MeasurementMax) THEN
gMeasurements.MeasurementMax := rDiameter;
IF (rDiameter > Recipe.rDiameterMax) THEN
gMeasurements.bPartIO := FALSE;
END_IF
// IF (rDiameter > Recipe.rDiameterMax) THEN
// gMeasurements.bPartIO := FALSE;
// END_IF
END_IF
IF (rDiameter < gMeasurements.MeasurementMin) THEN
gMeasurements.MeasurementMin := rDiameter;
IF (rDiameter < Recipe.rDiameterMin) THEN
gMeasurements.bPartIO := FALSE;
END_IF
// IF (rDiameter < Recipe.rDiameterMin) THEN
// gMeasurements.bPartIO := FALSE;
// END_IF
END_IF
usNrOfMeasurement := usNrOfMeasurement + 1;
IF (UDINT_TO_USINT (Recipe.enNrOfMovements) > (usNrOfMovements)) THEN
@@ -295,15 +300,22 @@ PROGRAM _CYCLIC
gMeasurements.MeasurementAvg := gMeasurements.MeasurementAvg + gMeasurements.Measurement[usi];
END_FOR
gMeasurements.MeasurementAvg := gMeasurements.MeasurementAvg / UDINT_TO_REAL (Recipe.enNrOfMovements + 1);
//Bewertung <EFBFBD>ber Durchschnittswert
IF (gMeasurements.MeasurementAvg > Recipe.rDiameterMax) THEN
gMeasurements.bPartIO := FALSE;
END_IF
IF (gMeasurements.MeasurementAvg < Recipe.rDiameterMin) THEN
gMeasurements.bPartIO := FALSE;
END_IF
brsmemset (ADR (gstrLogMsg), 0, SIZEOF (gstrLogMsg));
brsstrcpy (ADR (gstrLogMsg), ADR (gsCurrentTime));
brsstrcpy (ADR (gstrLogMsg), ADR ('$n$r'));
brsstrcat (ADR (gstrLogMsg), ADR (gsCurrentTime));
brsstrcat (ADR (gstrLogMsg), ADR (';'));
brsitoa (REAL_TO_DINT (gMeasurements.MeasurementAvg * 10.0) / 10, ADR (strTemp));
brsitoa (REAL_TO_DINT (gMeasurements.MeasurementAvg * 1000.0) / 1000, ADR (strTemp));
brsstrcat (ADR (gstrLogMsg), ADR (strTemp));
brsstrcat (ADR (gstrLogMsg), ADR ('.'));
brsitoa (REAL_TO_DINT (gMeasurements.MeasurementAvg * 100.0) MOD 100, ADR (strTemp));
brsstrcat (ADR (gstrLogMsg), ADR (strTemp));
brsstrcat (ADR (gstrLogMsg), ADR ('$n$r'));
gCmd1.bCmdWriteLogfile := TRUE;
enStepAuto := enAutoStep_WAIT_LOGFILE;

View File

@@ -5,13 +5,13 @@ PROGRAM _EXIT
MpFUB.AxBasic_01.Power := FALSE;
MpFUB.AxBasic_01.Enable := FALSE;
REPEAT
MpFUB.AxBasic_01 ();
UNTIL NOT MpFUB.AxBasic_01.Active END_REPEAT;
//REPEAT
MpFUB.AxBasic_01 ();
//UNTIL NOT MpFUB.AxBasic_01.Active END_REPEAT;
MpFUB.AlarmBasicUI_01.Enable := FALSE;
REPEAT
//REPEAT
MpFUB.AlarmBasicUI_01 ();
UNTIL NOT MpFUB.AlarmBasicUI_01.Active END_REPEAT;
//UNTIL NOT MpFUB.AlarmBasicUI_01.Active END_REPEAT;
END_PROGRAM

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="4.2.9.65 SP"?>
<?AutomationStudio Version="4.2.10.53 SP"?>
<AlarmSystem xmlns="http://br-automation.co.at/AS/VC/Project">
<Property Name="HistoryLength" Value="1000"/>
<Property Name="SnippetBufferSize" Value="150"/>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="4.2.9.65 SP"?>
<?AutomationStudio Version="4.2.10.53 SP"?>
<ComponentVersions xmlns="http://br-automation.co.at/AS/VC/Project">
<ComponentVersion>
<Property Name="ClassId" Value="0x00000500"/>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="4.2.9.65 SP"?>
<?AutomationStudio Version="4.2.10.53 SP"?>
<DataSource xmlns="http://br-automation.co.at/AS/VC/Project" Name="DataSource">
<Property Name="AutoRefresh" Value="False"/>
<Property Name="DefaultUpdateTime" Value="200"/>
@@ -3191,6 +3191,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[2]">
<Property Name="Description" Value=""/>
@@ -3256,6 +3265,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[3]">
<Property Name="Description" Value=""/>
@@ -3321,6 +3339,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[4]">
<Property Name="Description" Value=""/>
@@ -3386,6 +3413,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[5]">
<Property Name="Description" Value=""/>
@@ -3451,6 +3487,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[6]">
<Property Name="Description" Value=""/>
@@ -3516,6 +3561,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[7]">
<Property Name="Description" Value=""/>
@@ -3581,6 +3635,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[8]">
<Property Name="Description" Value=""/>
@@ -3646,6 +3709,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[9]">
<Property Name="Description" Value=""/>
@@ -3711,6 +3783,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[10]">
<Property Name="Description" Value=""/>
@@ -3776,6 +3857,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[11]">
<Property Name="Description" Value=""/>
@@ -3841,6 +3931,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[12]">
<Property Name="Description" Value=""/>
@@ -3906,6 +4005,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[13]">
<Property Name="Description" Value=""/>
@@ -3971,6 +4079,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[14]">
<Property Name="Description" Value=""/>
@@ -4036,6 +4153,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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="lRecipies15[15]">
<Property Name="Description" Value=""/>
@@ -4101,6 +4227,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="INTEGER"/>
</DataPoint>
<DataPoint Name="usOutNr">
<Property Name="ConnectedBySharedResource" Value="False"/>
<Property Name="ConnectingVisus" Value="Vsualization\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>
<DataPoint Name="uiLabels">
@@ -4415,7 +4550,7 @@
<Property Name="ConnectingVisus" Value="Vsualization\Visu"/>
<Property Name="Description" Value=""/>
<Property Name="PLCType" Value="STRING"/>
<Property Name="StringLength" Value="80"/>
<Property Name="StringLength" Value="255"/>
<Property Name="UpdateTime" Value="Default"/>
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="STRING"/>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="4.2.9.65 SP"?>
<?AutomationStudio Version="4.2.10.53 SP"?>
<Languages xmlns="http://br-automation.co.at/AS/VC/Project">
<Property Name="Default" Value="de"/>
<Property Name="FallBackLanguage" Value="de"/>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="4.2.9.65 SP"?>
<?AutomationStudio Version="4.2.10.53 SP"?>
<Project xmlns="http://br-automation.co.at/AS/VC/Project">
<Property Name="EnableEvents" Value="True"/>
<Property Name="SharedTargetResourceRoot" Value=""/>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="4.2.9.65 SP"?>
<?AutomationStudio Version="4.2.10.53 SP"?>
<Project xmlns="http://br-automation.co.at/AS/VC/Project">
<Property Name="Backlight" Value="True"/>
<Property Name="BacklightDatapoint" Value="None"/>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="4.2.9.65 SP"?>
<?AutomationStudio Version="4.2.10.53 SP"?>
<Page xmlns="http://br-automation.co.at/AS/VC/Project" Name="tmpl10_MainPage">
<Property Name="Description" Value="Template main page - basic machine interface"/>
<Property Name="Height" Value="600"/>
@@ -128,7 +128,7 @@
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="4"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="420"/>
<Property Name="Top" Value="390"/>
<Property Name="Width" Value="561"/>
</Control>
<Control ClassId="0x00001007" Name="Numeric_Minimum">
@@ -149,7 +149,7 @@
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TeachDatapoint" Value="None"/>
<Property Name="Top" Value="490"/>
<Property Name="Top" Value="460"/>
<Property Name="UnitText" Value="Abbreviation"/>
<Property Name="UnitTextAlignment" Value="Left"/>
<Property Name="UnitTextPosition" Value="Right"/>
@@ -175,7 +175,7 @@
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="6"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="460"/>
<Property Name="Top" Value="430"/>
<Property Name="Width" Value="141"/>
</Control>
<Control ClassId="0x00001004" Name="TextMeasMax">
@@ -195,7 +195,7 @@
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="8"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="460"/>
<Property Name="Top" Value="430"/>
<Property Name="Width" Value="141"/>
</Control>
<Control ClassId="0x00001004" Name="TextMeasAvg">
@@ -215,7 +215,7 @@
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="10"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="460"/>
<Property Name="Top" Value="430"/>
<Property Name="Width" Value="141"/>
</Control>
<Control ClassId="0x00001004" Name="Text_Motor">
@@ -405,7 +405,7 @@
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TeachDatapoint" Value="None"/>
<Property Name="Top" Value="490"/>
<Property Name="Top" Value="460"/>
<Property Name="UnitText" Value="Abbreviation"/>
<Property Name="UnitTextAlignment" Value="Left"/>
<Property Name="UnitTextPosition" Value="Right"/>
@@ -431,7 +431,7 @@
<Property Name="SimulationValue" Value="0.12"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TeachDatapoint" Value="None"/>
<Property Name="Top" Value="490"/>
<Property Name="Top" Value="460"/>
<Property Name="UnitText" Value="Abbreviation"/>
<Property Name="UnitTextAlignment" Value="Left"/>
<Property Name="UnitTextPosition" Value="Right"/>
@@ -634,19 +634,6 @@
<Property Name="ValueMode" Value="Standard"/>
<Property Name="Width" Value="50"/>
</Control>
<Control ClassId="0x0000100B" Name="strCamRead">
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Labels]"/>
<Property Name="ForeColor" Value="251"/>
<Property Name="Height" Value="31"/>
<Property Name="Left" Value="470"/>
<Property Name="SimulationValue" Value="12345678901234567890123456789012345678901234567890"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="Top" Value="530"/>
<Property Name="ValueDatapoint" Value="Source[global].Variable[DataSource.Communication.RS232.strReadData]"/>
<Property Name="Width" Value="420"/>
</Control>
<Control ClassId="0x00001007" Name="Numeric_2">
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
@@ -683,7 +670,7 @@
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TeachDatapoint" Value="None"/>
<Property Name="Top" Value="490"/>
<Property Name="Top" Value="460"/>
<Property Name="UnitText" Value="Abbreviation"/>
<Property Name="UnitTextAlignment" Value="Left"/>
<Property Name="UnitTextPosition" Value="Right"/>
@@ -709,7 +696,7 @@
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="18"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="460"/>
<Property Name="Top" Value="430"/>
<Property Name="Width" Value="141"/>
</Control>
<Control ClassId="0x00001004" Name="TextCam">
@@ -720,7 +707,7 @@
<Property Name="Description" Value=""/>
<Property Name="Font" Value="Source[local].Font[Results]"/>
<Property Name="ForeColor" Value="255"/>
<Property Name="Height" Value="31"/>
<Property Name="Height" Value="70"/>
<Property Name="Left" Value="330"/>
<Property Name="Multiline" Value="Automatic"/>
<Property Name="SimulationIndex" Value="0"/>
@@ -729,7 +716,7 @@
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="19"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="530"/>
<Property Name="Top" Value="500"/>
<Property Name="Width" Value="141"/>
</Control>
<Control ClassId="0x00001004" Name="Text_Resolution2">
@@ -775,6 +762,22 @@
<Property Name="VirtualKey" Value="Source[local].VirtualKey[%embVirtualKey_51]"/>
<Property Name="Width" Value="180"/>
</Control>
<Control ClassId="0x00001004" Name="Text_1">
<Property Name="Border" Value="Source[local].Border[Flat_grey]"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="ForeColor" Value="248"/>
<Property Name="Height" Value="70"/>
<Property Name="Left" Value="470"/>
<Property Name="Multiline" Value="Automatic"/>
<Property Name="SimulationIndex" Value="0"/>
<Property Name="SimulationValue" Value="12345678901234567890123456789012345678901234567890"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextDatapoint" Value="Source[global].Variable[DataSource.Communication.RS232.strReadData]"/>
<Property Name="TextSource" Value="SingleString"/>
<Property Name="Top" Value="500"/>
<Property Name="Width" Value="420"/>
</Control>
</Controls>
<KeyMapping>
<VirtualKey Name="%embVirtualKey_51">
@@ -950,7 +953,7 @@
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="270"/>
<Property Name="Top" Value="250"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[%embVirtualKey_50]"/>
<Property Name="Width" Value="421"/>
</Control>
@@ -973,7 +976,7 @@
<Property Name="TextGroup" Value="Source[local].TextGroup[txtStepsAuto]"/>
<Property Name="TextIndexOffset" Value="0"/>
<Property Name="TextSource" Value="MultipleTexts"/>
<Property Name="Top" Value="350"/>
<Property Name="Top" Value="330"/>
<Property Name="Width" Value="421"/>
</Control>
<Control ClassId="0x00001004" Name="LblAutoStep">
@@ -993,7 +996,7 @@
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="3"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="320"/>
<Property Name="Top" Value="300"/>
<Property Name="Width" Value="421"/>
</Control>
</Controls>
@@ -1063,8 +1066,7 @@
<TabSeqItem Index="5" Value="Source[embedded].Layer[L2_MainLayer].Control[String_1]"/>
<TabSeqItem Index="6" Value="Source[embedded].Layer[L2_MainLayer].Control[Dropdown_CamMode]"/>
<TabSeqItem Index="7" Value="Source[embedded].Layer[L2_MainLayer].Control[numCamPrg]"/>
<TabSeqItem Index="8" Value="Source[embedded].Layer[L2_MainLayer].Control[strCamRead]"/>
<TabSeqItem Index="9" Value="Source[embedded].Layer[L2_MainLayer].Control[Numeric_2]"/>
<TabSeqItem Index="10" Value="Source[embedded].Layer[L2_MainLayer].Control[Numeric_Minimum1]"/>
<TabSeqItem Index="8" Value="Source[embedded].Layer[L2_MainLayer].Control[Numeric_2]"/>
<TabSeqItem Index="9" Value="Source[embedded].Layer[L2_MainLayer].Control[Numeric_Minimum1]"/>
</TabSequence>
</Page>

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="4.2.9.65 SP"?>
<?AutomationStudio Version="4.2.10.53 SP"?>
<Palette xmlns="http://br-automation.co.at/AS/VC/Project">
<PaletteColor Index="0" Value="#000000"/>
<PaletteColor Index="1" Value="#0000AA"/>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version=?>
<?AutomationStudio Version=4.2.10.53 SP?>
<NcMapping NcSwId="Acp10" DisabledNodesAreHidden="False">
<NcObject Name="gAxis01" ModuleId="80SD100XS.C0XX-01" ModuleAddress="SDC_IF1.ST1" Type="ncAXIS" Channel="1" AcoposSimulation="Off" InitParameter="gAxis01i" AcoposParameter="gAxis01a" AdditionalData="PLCopen_ModPos=&quot;3600,1&quot; " Disabled="FALSE" ModuleDisabled="FALSE" />
</NcMapping>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version=4.2.9.65 SP?>
<?AutomationStudio Version=4.2.10.53 SP?>
<Hardware xmlns="http://br-automation.co.at/AS/Hardware">
<Module Name="4PPC70_101G_20B" Type="4PPC70.101G-20B" Version="1.4.0.0">
<Connector Name="IF1">
@@ -10,8 +10,8 @@
<Parameter ID="ActivateDevice" Value="1" />
<Parameter ID="HostName" Value="kd-03-53-17" />
<Parameter ID="Mode" Value="Manual" />
<Parameter ID="InternetAddress" Value="192.168.1.211" />
<Parameter ID="SubnetMask" Value="255.255.255.0" />
<Parameter ID="InternetAddress" Value="172.20.200.174" />
<Parameter ID="SubnetMask" Value="255.255.0.0" />
<Group ID="Vnc1" />
<Parameter ID="VncVcObjectName1" Value="Visu" />
<Parameter ID="VncKeyMappingFile1" Value="VC\PS2-Keyboard1.dis" />
@@ -59,7 +59,7 @@
<Parameter ID="ActivateSntp" Value="1" />
<Parameter ID="SntpcServAddr1" Value="192.168.6.254" />
<Parameter ID="EthernetHostName" Value="kd-03-53-17" />
<Parameter ID="EthernetDefaultGateway" Value="192.168.1.1" />
<Parameter ID="EthernetDefaultGateway" Value="172.20.200.137" />
<Group ID="FtpUser1" />
<Parameter ID="FtpUsername1" Value="customer" />
<Parameter ID="FtpUserPassword1" Value="DgeZzlmu7XYTYlKlIhFTDlX5ZVUV7uOacLZ4ht4yK8g=" />

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version="4.2.9.65 SP"?>
<?AutomationStudio Version="4.2.10.53 SP"?>
<ProjectSettings xmlns="http://br-automation.co.at/AS/ProjectSettings">
<ConfigurationManager ActiveConfigurationName="Config1" />
<Deployment Value="ActiveCpu" />