2233 lines
61 KiB
XML
2233 lines
61 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Document>
|
|
<Engineering version="V20" />
|
|
<SW.Blocks.FB ID="0">
|
|
<AttributeList>
|
|
<AutoNumber>false</AutoNumber>
|
|
<HeaderAuthor>IBAE</HeaderAuthor>
|
|
<Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
|
|
<Section Name="Input" />
|
|
<Section Name="Output" />
|
|
<Section Name="InOut" />
|
|
<Section Name="Static">
|
|
<Member Name="StartSync_Visu" Datatype=""MStartSync"">
|
|
<AttributeList>
|
|
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
|
|
</AttributeList>
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">StartSync-Bereich für Visualisierung</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="StartSync_Visu_old" Datatype=""MStartSync"">
|
|
<AttributeList>
|
|
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
|
|
</AttributeList>
|
|
</Member>
|
|
<Member Name="Empty_Visu" Datatype="Array[1..75] of Int">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">Bereich für Daten-Löschung</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="DL_DB" Datatype="Int">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">Datenlisten-DB</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="StartSync_Nr_from_PC" Datatype="Int">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">PC>PLC: Für diese StartSync Daten bereitstellen</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="StartSync_Nr_from_PLC" Datatype="Int">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">PLC>PC: Daten von diesem StartSynce aktiv</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="StartSync_Nr_from_VAR" Datatype="Int">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">VAR>PLC: Für diese StartSync Daten bereitstellen</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="VAR_old" Datatype="Int">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">VAR>PLC: Für diese StartSync Daten bereitstellen</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="VAR_Timer" Datatype="Int">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">VAR>PLC: Für diese StartSync Daten bereitstellen</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="RET_VAL_Datenbank" Datatype="Byte" />
|
|
<Member Name="RET_VAL_BLKMOV" Datatype="Int" />
|
|
<Member Name="Durchlauf1" Datatype="Bool">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">1.Durchlauf hat stattgefunden</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="Error" Datatype="Struct">
|
|
<Member Name="Datenbank" Datatype="Bool" />
|
|
<Member Name="Undef_StartSync" Datatype="Bool" />
|
|
<Member Name="BLKMOV" Datatype="Bool" />
|
|
</Member>
|
|
</Section>
|
|
<Section Name="Temp">
|
|
<Member Name="Quelle" Datatype="Any">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">Zeiger, wo Quell-Daten sind</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="Ziel" Datatype="Any">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">Zeiger, wo Ziel-Daten sind</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="Weiche_DB" Datatype="Int">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">Weiche-DB</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="Weiche_DW" Datatype="Int">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">Weiche-DW</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="AR1Zeiger" Datatype="DWord">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="AR1Start" Datatype="DInt">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">Startwert mit Offset 0</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="StartSync_Nr_aktiv" Datatype="Int">
|
|
<Comment>
|
|
<MultiLanguageText Lang="de-DE">Intern: Für diese StartSync Daten bereitstellen</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
</Section>
|
|
<Section Name="Constant" />
|
|
</Sections></Interface>
|
|
<MemoryLayout>Standard</MemoryLayout>
|
|
<Name>Visu_StartSync_Visu</Name>
|
|
<Namespace />
|
|
<Number>154</Number>
|
|
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
|
</AttributeList>
|
|
<ObjectList>
|
|
<MultilingualText ID="1" CompositionName="Comment">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="2" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text />
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
<SW.Blocks.CompileUnit ID="3" CompositionName="CompileUnits">
|
|
<AttributeList>
|
|
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
|
<StlStatement UId="22">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_from_VAR" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Anforderung von Variablentabelle ?</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="25">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="27">
|
|
<StlToken Text="GT_I" />
|
|
<LineComment>
|
|
<Text>Ja !</Text>
|
|
</LineComment>
|
|
</StlStatement>
|
|
<StlStatement UId="29">
|
|
<StlToken Text="JC" />
|
|
<Access Scope="Label">
|
|
<Label Name="X010" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="31">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="32">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_from_PC" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Anfoderung von Visualisierung? </Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="35">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="37">
|
|
<StlToken Text="GT_I" />
|
|
<LineComment>
|
|
<Text>Ja !</Text>
|
|
</LineComment>
|
|
</StlStatement>
|
|
<StlStatement UId="39">
|
|
<StlToken Text="JC" />
|
|
<Access Scope="Label">
|
|
<Label Name="X011" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="41">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="42">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="44">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_from_PLC" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="46">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="VAR_old" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="48">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="VAR_Timer" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="50">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="51">
|
|
<StlToken Text="SET" />
|
|
</StlStatement>
|
|
<StlStatement UId="52">
|
|
<StlToken Text="R" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Error" />
|
|
<Component Name="Datenbank" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="54">
|
|
<StlToken Text="R" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Error" />
|
|
<Component Name="Undef_StartSync" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="56">
|
|
<StlToken Text="R" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Error" />
|
|
<Component Name="BLKMOV" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="58">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="59">
|
|
<StlToken Text="A" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Durchlauf1" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="61">
|
|
<StlToken Text="R" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Durchlauf1" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>1.Durchlauf hat stattgefunden</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="64">
|
|
<StlToken Text="JC" />
|
|
<Access Scope="Label">
|
|
<Label Name="D010" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="66">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="67">
|
|
<StlToken Text="BEU" />
|
|
</StlStatement>
|
|
<StlStatement UId="68">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="69">
|
|
<LineComment>
|
|
<Text>Daten löschen:</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="71">
|
|
<LineComment>
|
|
<Text>Kennung + Datenbytes</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="73">
|
|
<LabelDeclaration>
|
|
<Label Name="D010" />
|
|
</LabelDeclaration>
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Word</ConstantType>
|
|
<ConstantValue>16#1004</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Kennung 10 + Word=04</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="77">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="0" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="79">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="80" />
|
|
<LineComment>
|
|
<Text>Any-Kennung, Datentyp</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="82">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>75</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Datenwords speichern</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="85">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="16" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="87">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="96" />
|
|
<LineComment>
|
|
<Text>Wiederholungen</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="90">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="91">
|
|
<LineComment>
|
|
<Text>Quelle-Pointer erzeugen: (Empty-Visu)</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="93">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>154</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="95">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="32" />
|
|
<LineComment>
|
|
<Text>DB_Nummer</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="98">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>300</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="101">
|
|
<StlToken Text="SLD" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="103">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>DWord</ConstantType>
|
|
<ConstantValue>16#8400_0000</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Kennung: Daten</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="106">
|
|
<StlToken Text="OD" />
|
|
</StlStatement>
|
|
<StlStatement UId="107">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="DWord" BitOffset="48" />
|
|
<LineComment>
|
|
<Text>Kennung, Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="110">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="111">
|
|
<LineComment>
|
|
<Text>Ziel-Pointer erzeugen: (Sep_Visu_Daten)</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="113">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>154</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="115">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="112" />
|
|
<LineComment>
|
|
<Text>DB_Nummer</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="118">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="121">
|
|
<StlToken Text="SLD" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="123">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>DWord</ConstantType>
|
|
<ConstantValue>16#8400_0000</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Kennung: Daten</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="126">
|
|
<StlToken Text="OD" />
|
|
</StlStatement>
|
|
<StlStatement UId="127">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="DWord" BitOffset="128" />
|
|
<LineComment>
|
|
<Text>Kennung, Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="130">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="131">
|
|
<StlToken Text="CALL" />
|
|
<Access Scope="Call">
|
|
<Instruction Name="BLKMOV" Version="1.1">
|
|
<Token Text="," />
|
|
<LineComment>
|
|
<Text>Datenliste-Daten speichern</Text>
|
|
</LineComment>
|
|
<TemplateValue Name="blk_type" Type="Type">Variant</TemplateValue>
|
|
<Parameter Name="SRCBLK">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Quelle" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="RET_VAL">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="RET_VAL_BLKMOV" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="DSTBLK">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Ziel" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
</Instruction>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="138">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="139">
|
|
<LineComment>
|
|
<Text>Ziel-Pointer erzeugen: (Sep_Visu_old-Daten)</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="141">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>154</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="143">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="112" />
|
|
<LineComment>
|
|
<Text>DB_Nummer</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="146">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>150</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="149">
|
|
<StlToken Text="SLD" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="151">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>DWord</ConstantType>
|
|
<ConstantValue>16#8400_0000</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Kennung: Daten</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="154">
|
|
<StlToken Text="OD" />
|
|
</StlStatement>
|
|
<StlStatement UId="155">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="DWord" BitOffset="128" />
|
|
<LineComment>
|
|
<Text>Kennung, Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="158">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="159">
|
|
<StlToken Text="CALL" />
|
|
<Access Scope="Call">
|
|
<Instruction Name="BLKMOV" Version="1.1">
|
|
<Token Text="," />
|
|
<LineComment>
|
|
<Text>Datenliste-Daten speichern</Text>
|
|
</LineComment>
|
|
<TemplateValue Name="blk_type" Type="Type">Variant</TemplateValue>
|
|
<Parameter Name="SRCBLK">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Quelle" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="RET_VAL">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="RET_VAL_BLKMOV" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="DSTBLK">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Ziel" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
</Instruction>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="166">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="167">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="169">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="RET_VAL_Datenbank" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="171">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="RET_VAL_BLKMOV" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="173">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="174">
|
|
<StlToken Text="BEU" />
|
|
</StlStatement>
|
|
<StlStatement UId="175">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="176">
|
|
<LabelDeclaration>
|
|
<Label Name="X010" />
|
|
</LabelDeclaration>
|
|
<StlToken Text="CAC" />
|
|
</StlStatement>
|
|
<StlStatement UId="178">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_aktiv" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="180">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="181">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Anforderung von PC löschen</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="184">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_from_PC" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Visualisierung </Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="187">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="188">
|
|
<LineComment>
|
|
<Text>Automatisches Deaktivieren:</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="190">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_from_VAR" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="192">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="VAR_old" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Noch diesselbe VAR-Nr. ?</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="195">
|
|
<StlToken Text="EQ_I" />
|
|
<LineComment>
|
|
<Text>Ja !</Text>
|
|
</LineComment>
|
|
</StlStatement>
|
|
<StlStatement UId="197">
|
|
<StlToken Text="A" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Durchlauf1" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="199">
|
|
<StlToken Text="JC" />
|
|
<Access Scope="Label">
|
|
<Label Name="Y010" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="201">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="202">
|
|
<LineComment>
|
|
<Text>NeuBeginn:</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="204">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>3600</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>1 Stunde</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="207">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="VAR_Timer" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Timer neu laden</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="210">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="211">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_from_VAR" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="213">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="VAR_old" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>VAR-Nr. speichern</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="216">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="217">
|
|
<StlToken Text="JU" />
|
|
<Access Scope="Label">
|
|
<Label Name="En01" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="219">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="220">
|
|
<LineComment>
|
|
<Text>Timer aktiv:</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="222">
|
|
<LabelDeclaration>
|
|
<Label Name="Y010" />
|
|
</LabelDeclaration>
|
|
<StlToken Text="AN" />
|
|
<Access Scope="GlobalVariable">
|
|
<Symbol>
|
|
<Component Name="1s-Impuls" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>1s-Impuls</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="226">
|
|
<StlToken Text="JC" />
|
|
<Access Scope="Label">
|
|
<Label Name="En01" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="228">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="229">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="VAR_Timer" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Timer</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="232">
|
|
<StlToken Text="ADD" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>-1</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>1s von Restzeit abziehen</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="235">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="VAR_Timer" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Timer</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="238">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="239">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>abgelaufen ?</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="242">
|
|
<StlToken Text="GT_I" />
|
|
<LineComment>
|
|
<Text>Nein !</Text>
|
|
</LineComment>
|
|
</StlStatement>
|
|
<StlStatement UId="244">
|
|
<StlToken Text="JC" />
|
|
<Access Scope="Label">
|
|
<Label Name="En01" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="246">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="247">
|
|
<LineComment>
|
|
<Text>Timer abgelaufen:</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="249">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Automatisch beaktivieren</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="252">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_from_VAR" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="254">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="VAR_old" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="256">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="VAR_Timer" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Timer</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="259">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="260">
|
|
<StlToken Text="JU" />
|
|
<Access Scope="Label">
|
|
<Label Name="En01" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="262">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="263">
|
|
<LabelDeclaration>
|
|
<Label Name="X011" />
|
|
</LabelDeclaration>
|
|
<StlToken Text="CAC" />
|
|
</StlStatement>
|
|
<StlStatement UId="265">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_aktiv" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="267">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="268">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Anforderung von VAR löschen</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="271">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_from_VAR" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Visualisierung </Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="274">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="VAR_old" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="276">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="VAR_Timer" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="278">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="279">
|
|
<LabelDeclaration>
|
|
<Label Name="En01" />
|
|
</LabelDeclaration>
|
|
<StlToken Text="NOP_0" />
|
|
</StlStatement>
|
|
<StlStatement UId="281">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
</StatementList></NetworkSource>
|
|
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
|
</AttributeList>
|
|
<ObjectList>
|
|
<MultilingualText ID="4" CompositionName="Comment">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="5" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text>
|
|
</Text>
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
<MultilingualText ID="6" CompositionName="Title">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="7" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text>Anforderung vom PC ?</Text>
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
</ObjectList>
|
|
</SW.Blocks.CompileUnit>
|
|
<SW.Blocks.CompileUnit ID="8" CompositionName="CompileUnits">
|
|
<AttributeList>
|
|
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
|
<StlStatement UId="282">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_aktiv" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="284">
|
|
<StlToken Text="T" />
|
|
<Access Scope="GlobalVariable">
|
|
<Symbol>
|
|
<Component Name="MW200" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Search-Daten </Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="287">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="288">
|
|
<StlToken Text="CALL" />
|
|
<Access Scope="Call">
|
|
<CallInfo Name="DatenOut" BlockType="FC">
|
|
<Parameter Name="SSDB" Section="Input" Type="Int">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="DL_DB" />
|
|
</Symbol>
|
|
</Access>
|
|
<LineComment>
|
|
<Text>Datenlisten-DB</Text>
|
|
</LineComment>
|
|
</Parameter>
|
|
<Parameter Name="SSDW" Section="Input" Type="Int">
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="PARA" Section="Input" Type="Word">
|
|
<Access Scope="TypedConstant">
|
|
<Constant>
|
|
<ConstantValue>WORD#16#0000</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="SEARCHDATEN" Section="Input" Type="Pointer">
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>ARef</ConstantType>
|
|
<ConstantValue>P#M200.0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="RE_VAL" Section="Output" Type="Byte">
|
|
<Access Scope="GlobalVariable">
|
|
<Symbol>
|
|
<Component Name="MB219" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="OUTDATEN" Section="Output" Type="Pointer">
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>ARef</ConstantType>
|
|
<ConstantValue>P#M220.0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="Position" Section="Output" Type="Int">
|
|
<Access Scope="GlobalVariable">
|
|
<Symbol>
|
|
<Component Name="MW298" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
</CallInfo>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="299">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="300">
|
|
<StlToken Text="L" />
|
|
<Access Scope="GlobalVariable">
|
|
<Symbol>
|
|
<Component Name="MB219" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="302">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="RET_VAL_Datenbank" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Rückmeldung bei Datenbank-Zugriff (Vorstau-DL)</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="305">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="306">
|
|
<StlToken Text="JBI" />
|
|
<Access Scope="Label">
|
|
<Label Name="ok2" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="308">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="309">
|
|
<StlToken Text="A" />
|
|
<Access Scope="GlobalVariable">
|
|
<Symbol>
|
|
<Component Name="M219.0" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="311">
|
|
<StlToken Text="S" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Error" />
|
|
<Component Name="Datenbank" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="313">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="314">
|
|
<LabelDeclaration>
|
|
<Label Name="No" />
|
|
</LabelDeclaration>
|
|
<StlToken Text="SET" />
|
|
</StlStatement>
|
|
<StlStatement UId="316">
|
|
<StlToken Text="S" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Error" />
|
|
<Component Name="Undef_StartSync" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="318">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="319">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="321">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_from_PLC" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Aktiv-Weiche</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="324">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="325">
|
|
<StlToken Text="JU" />
|
|
<Access Scope="Label">
|
|
<Label Name="D010" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="327">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="328">
|
|
<LabelDeclaration>
|
|
<Label Name="ok2" />
|
|
</LabelDeclaration>
|
|
<StlToken Text="SET" />
|
|
</StlStatement>
|
|
<StlStatement UId="330">
|
|
<StlToken Text="R" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Error" />
|
|
<Component Name="Datenbank" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="332">
|
|
<StlToken Text="R" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Error" />
|
|
<Component Name="Undef_StartSync" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="334">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="335">
|
|
<StlToken Text="L" />
|
|
<Access Scope="GlobalVariable">
|
|
<Symbol>
|
|
<Component Name="MW226" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="337">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>177</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>StartSync?</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="340">
|
|
<StlToken Text="EQ_I" />
|
|
<LineComment>
|
|
<Text>Ja!</Text>
|
|
</LineComment>
|
|
</StlStatement>
|
|
<StlStatement UId="342">
|
|
<StlToken Text="JC" />
|
|
<Access Scope="Label">
|
|
<Label Name="Ok2_Mig" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="344">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="345">
|
|
<StlToken Text="JU" />
|
|
<Access Scope="Label">
|
|
<Label Name="No" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="347">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="348">
|
|
<LabelDeclaration>
|
|
<Label Name="Ok2_Mig" />
|
|
</LabelDeclaration>
|
|
<StlToken Text="L" />
|
|
<Access Scope="GlobalVariable">
|
|
<Symbol>
|
|
<Component Name="MW222" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="351">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Weiche_DB" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="353">
|
|
<StlToken Text="L" />
|
|
<Access Scope="GlobalVariable">
|
|
<Symbol>
|
|
<Component Name="MW224" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="355">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Weiche_DW" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="357">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
</StatementList></NetworkSource>
|
|
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
|
</AttributeList>
|
|
<ObjectList>
|
|
<MultilingualText ID="9" CompositionName="Comment">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="A" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text />
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
<MultilingualText ID="B" CompositionName="Title">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="C" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text>Zeiger von gewollte Weiche ermitteln</Text>
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
</ObjectList>
|
|
</SW.Blocks.CompileUnit>
|
|
<SW.Blocks.CompileUnit ID="D" CompositionName="CompileUnits">
|
|
<AttributeList>
|
|
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
|
<StlStatement UId="358">
|
|
<StlToken Text="AN" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Durchlauf1" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>1.Durchlauf hat stattgefunden</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="361">
|
|
<StlToken Text="JC" />
|
|
<Access Scope="Label">
|
|
<Label Name="En03" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="363">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="364">
|
|
<LineComment>
|
|
<Text>Ziel-Pointer erzeugen: (PLC-Daten)</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="366">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Weiche_DW" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="368">
|
|
<StlToken Text="ITD" />
|
|
</StlStatement>
|
|
<StlStatement UId="369">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="AR1Start" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Startwert mit Offset 0</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="372">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="373">
|
|
<LineComment>
|
|
<Text>StartSync-Reset:</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="375">
|
|
<StlToken Text="A" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Visu" />
|
|
<Component Name="Dyn" />
|
|
<Component Name="Reset" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="377">
|
|
<StlToken Text="A" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Visu_old" />
|
|
<Component Name="Dyn" />
|
|
<Component Name="Reset" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="379">
|
|
<StlToken Text="O" />
|
|
</StlStatement>
|
|
<StlStatement UId="380">
|
|
<StlToken Text="AN" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Visu" />
|
|
<Component Name="Dyn" />
|
|
<Component Name="Reset" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="382">
|
|
<StlToken Text="AN" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Visu_old" />
|
|
<Component Name="Dyn" />
|
|
<Component Name="Reset" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="384">
|
|
<StlToken Text="JC" />
|
|
<Access Scope="Label">
|
|
<Label Name="En03" />
|
|
<LineComment>
|
|
<Text>Keine Änderung !</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="387">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="388">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="AR1Start" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Startwert mit Offset 0</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="391">
|
|
<StlToken Text="ADD" />
|
|
<Access Scope="TypedConstant">
|
|
<Constant>
|
|
<ConstantValue>DINT#86</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Offset für Status</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="394">
|
|
<StlToken Text="SLD" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="396">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>DInt</ConstantType>
|
|
<ConstantValue>3</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Damit DBX_Bit 3</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="399">
|
|
<StlToken Text="OD" />
|
|
</StlStatement>
|
|
<StlStatement UId="400">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="AR1Zeiger" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Statt Dyn.Bereichsstop (ging nur bis DB-Länge <= 8191 Bytes)</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="403">
|
|
<StlToken Text="A" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Visu" />
|
|
<Component Name="Dyn" />
|
|
<Component Name="Reset" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="405">
|
|
<StlToken Text="OPEN_DB" />
|
|
<Access Scope="Address">
|
|
<Indirect Width="Block" Area="DB">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Weiche_DB" />
|
|
</Symbol>
|
|
</Access>
|
|
</Indirect>
|
|
<LineComment>
|
|
<Text>Sep-DB öffnen</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="409">
|
|
<StlToken Text="Assign" />
|
|
<Access Scope="Address">
|
|
<Indirect Width="Bit" Area="DB">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="AR1Zeiger" />
|
|
</Symbol>
|
|
</Access>
|
|
</Indirect>
|
|
<LineComment>
|
|
<Text>Sep-SK-Reset</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="412">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="413">
|
|
<LabelDeclaration>
|
|
<Label Name="En03" />
|
|
</LabelDeclaration>
|
|
<StlToken Text="NOP_0" />
|
|
</StlStatement>
|
|
<StlStatement UId="415">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
</StatementList></NetworkSource>
|
|
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
|
</AttributeList>
|
|
<ObjectList>
|
|
<MultilingualText ID="E" CompositionName="Comment">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="F" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text />
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
<MultilingualText ID="10" CompositionName="Title">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="11" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text>Neue Datenübergabe an PC ?</Text>
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
</ObjectList>
|
|
</SW.Blocks.CompileUnit>
|
|
<SW.Blocks.CompileUnit ID="12" CompositionName="CompileUnits">
|
|
<AttributeList>
|
|
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
|
<StlStatement UId="416">
|
|
<LineComment>
|
|
<Text>Kennung + Datenbytes</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="418">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Word</ConstantType>
|
|
<ConstantValue>16#1004</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Kennung 10 + Word=04</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="421">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="0" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="423">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="80" />
|
|
<LineComment>
|
|
<Text>Any-Kennung, Datentyp</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="426">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>75</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Datenwords speichern</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="429">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="16" />
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="431">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="96" />
|
|
<LineComment>
|
|
<Text>Wiederholungen</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="434">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="435">
|
|
<LineComment>
|
|
<Text>Quelle-Pointer erzeugen: (PLC-Daten)</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="437">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Weiche_DB" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="439">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="32" />
|
|
<LineComment>
|
|
<Text>DB_Nummer</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="442">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Weiche_DW" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="445">
|
|
<StlToken Text="SLD" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="447">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>DWord</ConstantType>
|
|
<ConstantValue>16#8400_0000</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Kennung: Daten</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="450">
|
|
<StlToken Text="OD" />
|
|
</StlStatement>
|
|
<StlStatement UId="451">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="DWord" BitOffset="48" />
|
|
<LineComment>
|
|
<Text>Kennung, Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="454">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="455">
|
|
<LineComment>
|
|
<Text>Ziel-Pointer erzeugen: (PC-Sep-Visu-Daten)</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="457">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>154</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="459">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="112" />
|
|
<LineComment>
|
|
<Text>DB_Nummer</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="462">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="465">
|
|
<StlToken Text="SLD" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="467">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>DWord</ConstantType>
|
|
<ConstantValue>16#8400_0000</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Kennung: Daten</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="470">
|
|
<StlToken Text="OD" />
|
|
</StlStatement>
|
|
<StlStatement UId="471">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="DWord" BitOffset="128" />
|
|
<LineComment>
|
|
<Text>Kennung, Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="474">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="475">
|
|
<StlToken Text="CALL" />
|
|
<Access Scope="Call">
|
|
<Instruction Name="BLKMOV" Version="1.1">
|
|
<Token Text="," />
|
|
<LineComment>
|
|
<Text>Datenliste-Daten speichern</Text>
|
|
</LineComment>
|
|
<TemplateValue Name="blk_type" Type="Type">Variant</TemplateValue>
|
|
<Parameter Name="SRCBLK">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Quelle" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="RET_VAL">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="RET_VAL_BLKMOV" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="DSTBLK">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Ziel" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
</Instruction>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="482">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="483">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="RET_VAL_BLKMOV" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Rückmeldung</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="486">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Fehler vorhanden ?</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="489">
|
|
<StlToken Text="NE_I" />
|
|
<LineComment>
|
|
<Text>Ja !</Text>
|
|
</LineComment>
|
|
</StlStatement>
|
|
<StlStatement UId="491">
|
|
<StlToken Text="Assign" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Error" />
|
|
<Component Name="BLKMOV" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Error bei Block kopieren</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="494">
|
|
<StlToken Text="BEC" />
|
|
</StlStatement>
|
|
<StlStatement UId="495">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="496">
|
|
<LineComment>
|
|
<Text>Ziel-Pointer erzeugen: (Sep_Visu_old-Daten)</Text>
|
|
</LineComment>
|
|
<StlToken Text="COMMENT" />
|
|
</StlStatement>
|
|
<StlStatement UId="498">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>154</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="500">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="Word" BitOffset="112" />
|
|
<LineComment>
|
|
<Text>DB_Nummer</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="503">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>150</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="506">
|
|
<StlToken Text="SLD" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="508">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>DWord</ConstantType>
|
|
<ConstantValue>16#8400_0000</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Kennung: Daten</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="511">
|
|
<StlToken Text="OD" />
|
|
</StlStatement>
|
|
<StlStatement UId="512">
|
|
<StlToken Text="T" />
|
|
<Access Scope="Address">
|
|
<Address Area="Local" Type="DWord" BitOffset="128" />
|
|
<LineComment>
|
|
<Text>Kennung, Adresse</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="515">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="516">
|
|
<StlToken Text="CALL" />
|
|
<Access Scope="Call">
|
|
<Instruction Name="BLKMOV" Version="1.1">
|
|
<Token Text="," />
|
|
<LineComment>
|
|
<Text>Datenliste-Daten speichern</Text>
|
|
</LineComment>
|
|
<TemplateValue Name="blk_type" Type="Type">Variant</TemplateValue>
|
|
<Parameter Name="SRCBLK">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Quelle" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="RET_VAL">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="RET_VAL_BLKMOV" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Parameter Name="DSTBLK">
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Ziel" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
</Instruction>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="523">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="524">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="RET_VAL_BLKMOV" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Rückmeldung</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="527">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LiteralConstant">
|
|
<Constant>
|
|
<ConstantType>Int</ConstantType>
|
|
<ConstantValue>0</ConstantValue>
|
|
</Constant>
|
|
<LineComment>
|
|
<Text>Fehler vorhanden ?</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="530">
|
|
<StlToken Text="NE_I" />
|
|
<LineComment>
|
|
<Text>Ja !</Text>
|
|
</LineComment>
|
|
</StlStatement>
|
|
<StlStatement UId="532">
|
|
<StlToken Text="Assign" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Error" />
|
|
<Component Name="BLKMOV" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Error bei Block kopieren</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="535">
|
|
<StlToken Text="BEC" />
|
|
</StlStatement>
|
|
<StlStatement UId="536">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="537">
|
|
<StlToken Text="L" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_aktiv" />
|
|
</Symbol>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="539">
|
|
<StlToken Text="T" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="StartSync_Nr_from_PLC" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>Rückmeldung an PC (Daten stehen an)</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="542">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
<StlStatement UId="543">
|
|
<StlToken Text="SET" />
|
|
</StlStatement>
|
|
<StlStatement UId="544">
|
|
<StlToken Text="S" />
|
|
<Access Scope="LocalVariable">
|
|
<Symbol>
|
|
<Component Name="Durchlauf1" />
|
|
</Symbol>
|
|
<LineComment>
|
|
<Text>1.Durchlauf hat stattgefunden</Text>
|
|
</LineComment>
|
|
</Access>
|
|
</StlStatement>
|
|
<StlStatement UId="547">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
</StatementList></NetworkSource>
|
|
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
|
</AttributeList>
|
|
<ObjectList>
|
|
<MultilingualText ID="13" CompositionName="Comment">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="14" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text />
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
<MultilingualText ID="15" CompositionName="Title">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="16" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text>Datenübernahme vom PC</Text>
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
</ObjectList>
|
|
</SW.Blocks.CompileUnit>
|
|
<SW.Blocks.CompileUnit ID="17" CompositionName="CompileUnits">
|
|
<AttributeList>
|
|
<NetworkSource><StatementList xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StatementList/v5">
|
|
<StlStatement UId="548">
|
|
<StlToken Text="BE" />
|
|
</StlStatement>
|
|
<StlStatement UId="549">
|
|
<StlToken Text="EMPTY_LINE" />
|
|
</StlStatement>
|
|
</StatementList></NetworkSource>
|
|
<ProgrammingLanguage>STL</ProgrammingLanguage>
|
|
</AttributeList>
|
|
<ObjectList>
|
|
<MultilingualText ID="18" CompositionName="Comment">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="19" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text />
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
<MultilingualText ID="1A" CompositionName="Title">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="1B" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text>Ende</Text>
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
</ObjectList>
|
|
</SW.Blocks.CompileUnit>
|
|
<MultilingualText ID="1C" CompositionName="Title">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="1D" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>de-DE</Culture>
|
|
<Text>Interne Daten in einem Fenster + Sep-Nr. mit PC visualisieren</Text>
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
</ObjectList>
|
|
</SW.Blocks.FB>
|
|
</Document> |