This commit is contained in:
Michael Rest
2015-02-10 08:11:28 +01:00
parent fd91651647
commit 318bf94dc7
16 changed files with 96 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version=4.0.16.81 SP?>
<?AutomationStudio Version=4.0.20.56 SP?>
<ProjectSettings xmlns="http://br-automation.co.at/AS/ProjectSettings">
<Print Header="%lProject: %n%c%x" Footer="%cPage: %p" />
<ConfigurationManager ActiveConfigurationName="Config1" />

View File

@@ -80,6 +80,10 @@ VAR
gbOuHeatGoldOnWater : BOOL; (*Heizung Gold Ein / Wasser / Ventil*)
gbOuValveBathmovementOn : BOOL; (*Badbewegung Ein / Ventil auf*)
END_VAR
(*//Why GL Power here also mapped ?*)
VAR
gbOuCdValveBathmovementOn : BOOL; (*Badbewegung Cadmium Ein / Ventil auf*)
END_VAR
(*----------------------------------------------------------------------------------------------------------------*)
(*ST11 - BT*)
(*----------------------------------------------------------------------------------------------------------------*)

View File

@@ -172,12 +172,15 @@ PROGRAM _CYCLIC
TON_BathmovementPulse.PT := t#1s;
TON_BathmovementPause.PT := t#1s;
TON_BathmovementPulse.IN := bBathMovement AND NOT TON_BathmovementPause.Q;
TON_BathmovementPause.IN := bBathMovement AND TON_BathmovementPulse.Q;
TON_BathmovementPulse.IN := TRUE AND NOT TON_BathmovementPause.Q;
TON_BathmovementPause.IN := TRUE AND TON_BathmovementPulse.Q;
TON_BathmovementPulse ();
TON_BathmovementPause ();
gbOuValveBathmovementOn := gMachine.bMachineON AND bBathMovement AND NOT TON_BathmovementPulse.Q;
//Bathmovement for Cadmium Bath
gbOuCdValveBathmovementOn := gMachine.bMachineON AND bBathMovementCd AND NOT TON_BathmovementPulse.Q;
//Rectifiers limit Current
IF giOuGL01Current < 0 THEN

View File

@@ -2,6 +2,7 @@ VAR
bRunPID : BOOL;
bRunTuning : BOOL;
bBathMovement : BOOL;
bBathMovementCd : BOOL;
usEditMode : USINT;
udGL1Ontime : UDINT;
udGL1ELTime : UDINT;

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="4.0.14.207"?>
<?AutomationStudio Version="4.0.20.56 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.0.14.207"?>
<?AutomationStudio Version="4.0.20.56 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.0.14.207"?>
<?AutomationStudio Version="4.0.20.56 SP"?>
<DataSource xmlns="http://br-automation.co.at/AS/VC/Project" Name="DataSource">
<Property Name="AutoRefresh" Value="False"/>
<Property Name="DefaultUpdateTime" Value="200"/>
@@ -529,6 +529,15 @@
<Property Name="UserID" Value="None"/>
<Property Name="VCType" Value="SCALED"/>
</DataPoint>
<DataPoint Name="bBathMovementCd">
<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="gH2L2Param">
<Property Name="Description" Value=""/>

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="4.0.14.207"?>
<?AutomationStudio Version="4.0.20.56 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="240"/>
@@ -1037,6 +1037,7 @@
<Text ID="101301" Value="Badbewegung"/>
<Text ID="101304" Value="Trommeldrehung 1"/>
<Text ID="101307" Value="Trommeldrehung 2"/>
<Text ID="102108" Value="Badbewegung Cd"/>
</TextLayer>
<IndexMap>
<Index ID="101295" Value="0"/>
@@ -1044,6 +1045,7 @@
<Index ID="101301" Value="6"/>
<Index ID="101304" Value="9"/>
<Index ID="101307" Value="12"/>
<Index ID="102108" Value="17"/>
</IndexMap>
</TextGroup>
<Controls>
@@ -1257,7 +1259,7 @@
<Property Name="EmbVirtualKey" Value="Source[local].VirtualKey[%embVirtualKey_10]"/>
<Property Name="Height" Value="40"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="256"/>
<Property Name="Left" Value="260"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
@@ -1268,6 +1270,46 @@
<Property Name="VirtualKey" Value="Source[local].VirtualKey[%embVirtualKey_10]"/>
<Property Name="Width" Value="56"/>
</Control>
<Control ClassId="0x00001004" Name="txtGL4">
<Property Name="AlignmentHorizontal" Value="Center"/>
<Property Name="AlignmentVertical" Value="Center"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="Height" Value="34"/>
<Property Name="Left" Value="184"/>
<Property Name="Multiline" Value="Automatic"/>
<Property Name="SimulationIndex" Value="0"/>
<Property Name="SimulationValue" Value="0"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextGroup" Value="Source[embedded].TextGroup"/>
<Property Name="TextIndexOffset" Value="17"/>
<Property Name="TextSource" Value="SingleText"/>
<Property Name="Top" Value="164"/>
<Property Name="Width" Value="72"/>
</Control>
<Control ClassId="0x00001002" Name="Button_Bathmovement1">
<Property Name="BitmapAlignmentHorizontal" Value="Center"/>
<Property Name="BitmapGroup" Value="Source[local].BitmapGroup[Buttons]"/>
<Property Name="BitmapIndex" Value="2"/>
<Property Name="BitmapIndexDatapoint" Value="Source[global].Variable[DataSource.Machine.H2L2.bBathMovementCd]"/>
<Property Name="BitmapSimulationValue" Value="0"/>
<Property Name="BitmapSource" Value="MultipleBitmaps"/>
<Property Name="ControlID" Value="0"/>
<Property Name="Description" Value=""/>
<Property Name="EmbVirtualKey" Value="Source[local].VirtualKey[%embVirtualKey_11]"/>
<Property Name="Height" Value="34"/>
<Property Name="KeyMatrixOffset" Value="None"/>
<Property Name="Left" Value="144"/>
<Property Name="PressedBitmapSource" Value="Source[embedded].Property[BitmapSource]"/>
<Property Name="PressedTextSource" Value="Source[embedded].Property[TextSource]"/>
<Property Name="StyleClass" Value="Source[relative:StyleGroup].StyleClass[Default]"/>
<Property Name="TextIndexDatapoint" Value="None"/>
<Property Name="TextSimulationValue" Value="0"/>
<Property Name="TextSource" Value="None"/>
<Property Name="Top" Value="164"/>
<Property Name="VirtualKey" Value="Source[local].VirtualKey[%embVirtualKey_11]"/>
<Property Name="Width" Value="34"/>
</Control>
</Controls>
<KeyMapping>
<VirtualKey Name="%embVirtualKey_4">
@@ -1365,6 +1407,22 @@
</KeyAction>
</KeyActions>
</VirtualKey>
<VirtualKey Name="%embVirtualKey_11">
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
<KeyActions>
<KeyAction ClassId="0x0000016A">
<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.H2L2.bBathMovementCd]"/>
</KeyAction>
</KeyActions>
</VirtualKey>
</KeyMapping>
</Layer>
</Layers>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?AutomationStudio Version="4.0.14.207"?>
<?AutomationStudio Version="4.0.20.56 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="4.0.14.207"?>
<?AutomationStudio Version="4.0.20.56 SP"?>
<KeyMapping xmlns="http://br-automation.co.at/AS/VC/Project">
<VirtualKey Name="AlarmAcknowledge">
<Property Name="Description" Value=""/>
@@ -1769,4 +1769,8 @@
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
</VirtualKey>
<VirtualKey Name="%embVirtualKey_11">
<Property Name="Description" Value=""/>
<Property Name="VirtualKey_LED" Value="False"/>
</VirtualKey>
</KeyMapping>

View File

@@ -35,5 +35,6 @@ VAR_CONFIG
gbOuHeatGoldOnWater AT %QX."X20DO9322".DigitalOutput07;
gbOuValveBathmovementOn AT %QX."X20DO9322".DigitalOutput08;
giInTemperatureGold AT %IW."X67AT1322".Temperature01;
gbOuGLPower AT %QX."X20DO9322".DigitalOutput09;
gbOuGLPower AT %QX."X20DO9322".DigitalOutput09;
gbOuCdValveBathmovementOn AT %QX."X20DO9322".DigitalOutput10;
END_VAR

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version=4.0.16.81 SP?>
<?AutomationStudio Version=4.0.20.56 SP?>
<Project Description="Vergoldung H2L2" Version="1.00.0" Edition="Standard" EditionComment="Standard" xmlns="http://br-automation.co.at/AS/Project">
<Communication />
<Project StoreRuntimeInProject="true" />

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version=4.0.16.81 SP?>
<?AutomationStudio Version=4.0.20.56 SP?>
<ProjectSettings xmlns="http://br-automation.co.at/AS/ProjectSettings">
<Print Header="%lProject: %n%c%x" Footer="%cPage: %p" />
<ConfigurationManager ActiveConfigurationName="Config1" />