Initial
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Document>
|
||||
<Engineering version="V20" />
|
||||
<SW.Blocks.InstanceDB ID="0">
|
||||
<AttributeList>
|
||||
<AutoNumber>false</AutoNumber>
|
||||
<HeaderAuthor>IBAE</HeaderAuthor>
|
||||
<HeaderVersion>0.0</HeaderVersion>
|
||||
<InstanceOfName>Visu_StartSync_Visu</InstanceOfName>
|
||||
<InstanceOfType>FB</InstanceOfType>
|
||||
<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"" Remanence="Retain">
|
||||
<AttributeList>
|
||||
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
|
||||
</AttributeList>
|
||||
</Member>
|
||||
<Member Name="StartSync_Visu_old" Datatype=""MStartSync"" Remanence="Retain">
|
||||
<AttributeList>
|
||||
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
|
||||
</AttributeList>
|
||||
</Member>
|
||||
<Member Name="Empty_Visu" Datatype="Array[1..75] of Int" Remanence="Retain" />
|
||||
<Member Name="DL_DB" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="StartSync_Nr_from_PC" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="StartSync_Nr_from_PLC" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="StartSync_Nr_from_VAR" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="VAR_old" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="VAR_Timer" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="RET_VAL_Datenbank" Datatype="Byte" Remanence="Retain" />
|
||||
<Member Name="RET_VAL_BLKMOV" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="Durchlauf1" Datatype="Bool" Remanence="Retain" />
|
||||
<Member Name="Error" Datatype="Struct" Remanence="Retain">
|
||||
<Member Name="Datenbank" Datatype="Bool" />
|
||||
<Member Name="Undef_StartSync" Datatype="Bool" />
|
||||
<Member Name="BLKMOV" Datatype="Bool" />
|
||||
</Member>
|
||||
</Section>
|
||||
</Sections></Interface>
|
||||
<Name>DVisu_StartSync</Name>
|
||||
<Namespace />
|
||||
<Number>154</Number>
|
||||
<ProgrammingLanguage>DB</ProgrammingLanguage>
|
||||
</AttributeList>
|
||||
<ObjectList>
|
||||
<MultilingualText ID="1" CompositionName="Comment">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="2" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
<MultilingualText ID="3" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="4" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.InstanceDB>
|
||||
</Document>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Document>
|
||||
<Engineering version="V20" />
|
||||
<SW.Blocks.InstanceDB ID="0">
|
||||
<AttributeList>
|
||||
<AutoNumber>false</AutoNumber>
|
||||
<HeaderAuthor>IBAE</HeaderAuthor>
|
||||
<HeaderVersion>0.0</HeaderVersion>
|
||||
<InstanceOfName>Visu_Weiche_Sorter</InstanceOfName>
|
||||
<InstanceOfType>FB</InstanceOfType>
|
||||
<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="Weiche_Visu" Datatype=""MWeiche_Sorter"" Remanence="Retain">
|
||||
<AttributeList>
|
||||
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
|
||||
</AttributeList>
|
||||
</Member>
|
||||
<Member Name="Weiche_Visu_old" Datatype=""MWeiche_Sorter"" Remanence="Retain">
|
||||
<AttributeList>
|
||||
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
|
||||
</AttributeList>
|
||||
</Member>
|
||||
<Member Name="Empty_Visu" Datatype="Array[1..75] of Int" Remanence="Retain" />
|
||||
<Member Name="DL_DB" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="Weiche_Nr_from_PC" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="Weiche_Nr_from_PLC" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="Weiche_Nr_from_VAR" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="VAR_old" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="VAR_Timer" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="RET_VAL_Datenbank" Datatype="Byte" Remanence="Retain" />
|
||||
<Member Name="RET_VAL_BLKMOV" Datatype="Int" Remanence="Retain" />
|
||||
<Member Name="Durchlauf1" Datatype="Bool" Remanence="Retain" />
|
||||
<Member Name="Error" Datatype="Struct" Remanence="Retain">
|
||||
<Member Name="Datenbank" Datatype="Bool" />
|
||||
<Member Name="Undef_Weiche" Datatype="Bool" />
|
||||
<Member Name="BLKMOV" Datatype="Bool" />
|
||||
</Member>
|
||||
</Section>
|
||||
</Sections></Interface>
|
||||
<Name>DVisu_Weiche_Sorter</Name>
|
||||
<Namespace />
|
||||
<Number>153</Number>
|
||||
<ProgrammingLanguage>DB</ProgrammingLanguage>
|
||||
</AttributeList>
|
||||
<ObjectList>
|
||||
<MultilingualText ID="1" CompositionName="Comment">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="2" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
<MultilingualText ID="3" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="4" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.InstanceDB>
|
||||
</Document>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,427 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Document>
|
||||
<Engineering version="V20" />
|
||||
<SW.Blocks.FC ID="0">
|
||||
<AttributeList>
|
||||
<AutoNumber>false</AutoNumber>
|
||||
<Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
|
||||
<Section Name="Input">
|
||||
<Member Name="Check_DB" Datatype="Int" />
|
||||
<Member Name="Anfangs_DW" Datatype="DInt" />
|
||||
<Member Name="Ende_DW" Datatype="DInt" />
|
||||
</Section>
|
||||
<Section Name="Output">
|
||||
<Member Name="Stoerung" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Störung vorhanden</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="ErrDW" Datatype="DInt" />
|
||||
<Member Name="ErrBits" Datatype="Int" />
|
||||
</Section>
|
||||
<Section Name="InOut" />
|
||||
<Section Name="Temp">
|
||||
<Member Name="Anzeige_DB" Datatype="Int" />
|
||||
<Member Name="Zeiger" Datatype="DInt">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Startwert mit Offset 0</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>
|
||||
</Section>
|
||||
<Section Name="Constant" />
|
||||
<Section Name="Return">
|
||||
<Member Name="Ret_Val" Datatype="Void" />
|
||||
</Section>
|
||||
</Sections></Interface>
|
||||
<MemoryLayout>Standard</MemoryLayout>
|
||||
<Name>Err_vorhanden</Name>
|
||||
<Namespace />
|
||||
<Number>125</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="SET" />
|
||||
<LineComment>
|
||||
<Text>GST</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="24">
|
||||
<StlToken Text="R" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stoerung" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="26">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>DInt</ConstantType>
|
||||
<ConstantValue>0</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="28">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="ErrDW" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="30">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="ErrBits" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="32">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="33">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Check_DB" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="35">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Anzeige_DB" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="37">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="38">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Anfangs_DW" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Mit diesem DW beginnen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="41">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Zeiger" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Zeiger</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="44">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="45">
|
||||
<LabelDeclaration>
|
||||
<Label Name="Loop" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Zeiger" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Zeiger</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="49">
|
||||
<StlToken Text="SLD" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>3</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="51">
|
||||
<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="54">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="55">
|
||||
<StlToken Text="OPEN_DB" />
|
||||
<Access Scope="Address">
|
||||
<Indirect Width="Block" Area="DB">
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Anzeige_DB" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Indirect>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="58">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="59">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="Address">
|
||||
<Indirect Width="Word" Area="DB">
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="AR1Zeiger" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Indirect>
|
||||
<LineComment>
|
||||
<Text>Störungsbits</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="62">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="ErrBits" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="64">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>0</ConstantValue>
|
||||
</Constant>
|
||||
<LineComment>
|
||||
<Text>aktiv ?</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="67">
|
||||
<StlToken Text="NE_I" />
|
||||
<LineComment>
|
||||
<Text>Ja !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="69">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="Err" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="71">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="72">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Zeiger" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Startwert mit Offset 0</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="75">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>DInt</ConstantType>
|
||||
<ConstantValue>2</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="77">
|
||||
<StlToken Text="ADD_D" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="78">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Zeiger" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Zeiger</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="81">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Ende_DW" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Letztes DW überschritten?</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="84">
|
||||
<StlToken Text="LE_D" />
|
||||
<LineComment>
|
||||
<Text>Nein !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="86">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="Loop" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="88">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="89">
|
||||
<StlToken Text="BEU" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="90">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="91">
|
||||
<LabelDeclaration>
|
||||
<Label Name="Err" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="SET" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="93">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stoerung" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="95">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="96">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Zeiger" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Zeiger</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="99">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="ErrDW" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="101">
|
||||
<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 />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
<MultilingualText ID="6" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="7" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Check-DB von "Abfangs_DW" bis "Ende_DW" checken</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="102">
|
||||
<StlToken Text="BE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="103">
|
||||
<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>Ende</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.CompileUnit>
|
||||
<MultilingualText ID="D" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="E" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Störung aktiv</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.FC>
|
||||
</Document>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,704 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Document>
|
||||
<Engineering version="V20" />
|
||||
<SW.Blocks.FB ID="0">
|
||||
<AttributeList>
|
||||
<AutoNumber>false</AutoNumber>
|
||||
<HeaderAuthor>EAN</HeaderAuthor>
|
||||
<Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
|
||||
<Section Name="Input">
|
||||
<Member Name="ESensor" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Eingang des zu überwachenden Sensors</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="T_Ein" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Einschaltzeitverzögerung (*100ms)</MultiLanguageText>
|
||||
</Comment>
|
||||
<StartValue>1</StartValue>
|
||||
</Member>
|
||||
<Member Name="T_Aus" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Ausschaltzeitverzögerung (*100ms)</MultiLanguageText>
|
||||
</Comment>
|
||||
<StartValue>5</StartValue>
|
||||
</Member>
|
||||
<Member Name="tein_aktiv" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Einschaltzeit aktivieren</MultiLanguageText>
|
||||
</Comment>
|
||||
<StartValue>TRUE</StartValue>
|
||||
</Member>
|
||||
<Member Name="taus_aktiv" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Ausschaltzeit aktivieren</MultiLanguageText>
|
||||
</Comment>
|
||||
<StartValue>TRUE</StartValue>
|
||||
</Member>
|
||||
</Section>
|
||||
<Section Name="Output" />
|
||||
<Section Name="InOut" />
|
||||
<Section Name="Static">
|
||||
<Member Name="Stat" Datatype=""USensor_Ein_Aus"">
|
||||
<AttributeList>
|
||||
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
|
||||
</AttributeList>
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Status des Endschalters</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
</Section>
|
||||
<Section Name="Temp" />
|
||||
<Section Name="Constant" />
|
||||
</Sections></Interface>
|
||||
<MemoryLayout>Standard</MemoryLayout>
|
||||
<Name>MSensoren</Name>
|
||||
<Namespace />
|
||||
<Number>91</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="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="ESensor" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="24">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="B_Akt" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="26">
|
||||
<StlToken Text="O" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="27">
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="ESensor" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="29">
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="B_Akt" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="31">
|
||||
<StlToken Text="JCN" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="Nw02" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="33">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="34">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="35">
|
||||
<LabelDeclaration>
|
||||
<Label Name="tdel" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>0</ConstantValue>
|
||||
</Constant>
|
||||
<LineComment>
|
||||
<Text>Zeitwert löschen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="39">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="T_Zelle" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="41">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="42">
|
||||
<StlToken Text="BEU" />
|
||||
</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 />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
<MultilingualText ID="6" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="7" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Zeitwert löschen</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="43">
|
||||
<LabelDeclaration>
|
||||
<Label Name="Nw02" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="T_Ein_Akt" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Gewollter Zeitwert</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="47">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>9999</ConstantValue>
|
||||
</Constant>
|
||||
<LineComment>
|
||||
<Text>angegeben ?</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="50">
|
||||
<StlToken Text="NE_I" />
|
||||
<LineComment>
|
||||
<Text>Ja !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="52">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="w020" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="54">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="55">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="T_Ein" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Sollwert übergeben</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="58">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="T_Ein_Akt" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Gewollter Zeitwert</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="61">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="62">
|
||||
<LabelDeclaration>
|
||||
<Label Name="w020" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="B_Akt" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="65">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="Nw03" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="67">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="68">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="T_Zelle" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Aktueller Zeitwert</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="71">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="T_Ein_Akt" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Gewollter Zeitwert erreicht ?</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="74">
|
||||
<StlToken Text="GE_I" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="75">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="B_Akt" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Sensor ist nach Einschaltzeit aktiv</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="78">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="tdel" />
|
||||
<LineComment>
|
||||
<Text>Zeit löschen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="81">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="82">
|
||||
<StlToken Text="JU" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="Nw04" />
|
||||
</Access>
|
||||
</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>Einschaltzeit abgelaufen ?</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="84">
|
||||
<LabelDeclaration>
|
||||
<Label Name="Nw03" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="T_Aus_Akt" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Gewollter Zeitwert</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="88">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>9999</ConstantValue>
|
||||
</Constant>
|
||||
<LineComment>
|
||||
<Text>angegeben ?</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="91">
|
||||
<StlToken Text="NE_I" />
|
||||
<LineComment>
|
||||
<Text>Ja !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="93">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="w030" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="95">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="96">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="T_Aus" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Sollwert übergeben</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="99">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="T_Aus_Akt" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Gewollter Zeitwert</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="102">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="103">
|
||||
<LabelDeclaration>
|
||||
<Label Name="w030" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="B_Akt" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="106">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="Nw04" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="108">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="109">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="T_Zelle" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Aktueller Zeitwert</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="112">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="T_Aus_Akt" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Gewollter Zeitwert erreicht ?</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="115">
|
||||
<StlToken Text="GE_I" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="116">
|
||||
<StlToken Text="R" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="B_Akt" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Sensor ist nach Ausschaltzeit nicht mehr aktiv</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="119">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="tdel" />
|
||||
<LineComment>
|
||||
<Text>Zeit löschen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="122">
|
||||
<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>Ausschaltzeit abgelaufen ?</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="123">
|
||||
<LabelDeclaration>
|
||||
<Label Name="Nw04" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="100ms-Impuls" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>nur als Impuls</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="127">
|
||||
<StlToken Text="O" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="128">
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="B_Akt" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Einschaltzeit läuft</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="131">
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="tein_aktiv" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>aber Zeit einfrieren</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="134">
|
||||
<StlToken Text="O" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="135">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="B_Akt" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Ausschaltzeit läuft</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="138">
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="taus_aktiv" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>aber Zeit einfrieren</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="141">
|
||||
<StlToken Text="BEC" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="142">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="143">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="T_Zelle" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="145">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW2" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="147">
|
||||
<StlToken Text="ADD_I" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="148">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Stat" />
|
||||
<Component Name="T_Zelle" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="150">
|
||||
<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>Zeit läuft</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="151">
|
||||
<StlToken Text="BE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="152">
|
||||
<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>Ein-/Ausschaltverzögerung für Entprellung der Sensoren</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.FB>
|
||||
</Document>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,474 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Document>
|
||||
<Engineering version="V20" />
|
||||
<SW.Blocks.FC ID="0">
|
||||
<AttributeList>
|
||||
<AutoNumber>false</AutoNumber>
|
||||
<Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
|
||||
<Section Name="Input">
|
||||
<Member Name="Kennung_1" Datatype="Char" />
|
||||
<Member Name="Kennung_2" Datatype="Char" />
|
||||
<Member Name="Kennung_3" Datatype="Char" />
|
||||
<Member Name="Kennung_4" Datatype="Char" />
|
||||
<Member Name="FIFO_DB" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">FIFO-Ringspeicher</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Teil_IDX" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">BT/MT-IDX (wird bei Auslagerung gemeldet)</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Teil_Ziel" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">BT/MT bei diesem Abwurf-Ziel ausfahren/entladen</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Sort_ID" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Sortier-Info (Sort-ID, mit welcher Fahrt gestartet wurde)</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
</Section>
|
||||
<Section Name="Output" />
|
||||
<Section Name="InOut" />
|
||||
<Section Name="Temp" />
|
||||
<Section Name="Constant" />
|
||||
<Section Name="Return">
|
||||
<Member Name="Ret_Val" Datatype="Void" />
|
||||
</Section>
|
||||
</Sections></Interface>
|
||||
<MemoryLayout>Standard</MemoryLayout>
|
||||
<Name>Save_CARR_Gesendet</Name>
|
||||
<Namespace />
|
||||
<Number>121</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="Kennung_1" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="24">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>String</ConstantType>
|
||||
<ConstantValue>'C'</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="26">
|
||||
<StlToken Text="NE_I" />
|
||||
<LineComment>
|
||||
<Text>Nein !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="28">
|
||||
<StlToken Text="BEC" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="29">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="30">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Kennung_2" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="32">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>String</ConstantType>
|
||||
<ConstantValue>'A'</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="34">
|
||||
<StlToken Text="NE_I" />
|
||||
<LineComment>
|
||||
<Text>Nein !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="36">
|
||||
<StlToken Text="BEC" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="37">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="38">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Kennung_3" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="40">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>String</ConstantType>
|
||||
<ConstantValue>'R'</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="42">
|
||||
<StlToken Text="NE_I" />
|
||||
<LineComment>
|
||||
<Text>Nein !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="44">
|
||||
<StlToken Text="BEC" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="45">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="46">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Kennung_4" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="48">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>String</ConstantType>
|
||||
<ConstantValue>'R'</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="50">
|
||||
<StlToken Text="NE_I" />
|
||||
<LineComment>
|
||||
<Text>Nein !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="52">
|
||||
<StlToken Text="BEC" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="53">
|
||||
<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 />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
<MultilingualText ID="6" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="7" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Kennung CARR ?</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="54">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Teil_IDX" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="56">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW220" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="58">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="59">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Teil_Ziel" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="61">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW222" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="63">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="64">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Sort_ID" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="66">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW224" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="68">
|
||||
<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>Daten aufbereiten</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="69">
|
||||
<StlToken Text="CALL" />
|
||||
<Access Scope="Call">
|
||||
<CallInfo Name="FifoOut" BlockType="FC">
|
||||
<Parameter Name="SSDB" Section="Input" Type="Int">
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="FIFO_DB" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</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#E100</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
<LineComment>
|
||||
<Text>da Ringspeicher nächster Eintrag lesen + austragen</Text>
|
||||
</LineComment>
|
||||
</Parameter>
|
||||
<Parameter Name="OUTDATEN" Section="Output" 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="MB199" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Parameter>
|
||||
</CallInfo>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="78">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="79">
|
||||
<StlToken Text="CALL" />
|
||||
<Access Scope="Call">
|
||||
<CallInfo Name="FifoIn" BlockType="FC">
|
||||
<Parameter Name="SSDB" Section="Input" Type="Int">
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="FIFO_DB" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</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="INDATEN" Section="Input" Type="Pointer">
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>ARef</ConstantType>
|
||||
<ConstantValue>P#M220.0</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</Parameter>
|
||||
<Parameter Name="RE_VAL" Section="Output" Type="Byte">
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MB199" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Parameter>
|
||||
</CallInfo>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="87">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="88">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MB199" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="90">
|
||||
<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>Daten speichern</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="91">
|
||||
<StlToken Text="BE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="92">
|
||||
<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>Ende</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.CompileUnit>
|
||||
<MultilingualText ID="17" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="18" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Gesendete CARR-Telegramme zusätzlich speichern</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.FC>
|
||||
</Document>
|
||||
@@ -0,0 +1,301 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Document>
|
||||
<Engineering version="V20" />
|
||||
<SW.Blocks.FC ID="0">
|
||||
<AttributeList>
|
||||
<AutoNumber>false</AutoNumber>
|
||||
<Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
|
||||
<Section Name="Input">
|
||||
<Member Name="FIFO_DB" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">FIFO-Ringspeicher</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Teil_IDX" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">BT/MT-IDX (wird bei Auslagerung gemeldet)</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Teil_Ziel" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">BT/MT bei diesem Abwurf-Ziel ausfahren/entladen</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
</Section>
|
||||
<Section Name="Output" />
|
||||
<Section Name="InOut" />
|
||||
<Section Name="Temp" />
|
||||
<Section Name="Constant" />
|
||||
<Section Name="Return">
|
||||
<Member Name="Ret_Val" Datatype="Void" />
|
||||
</Section>
|
||||
</Sections></Interface>
|
||||
<MemoryLayout>Standard</MemoryLayout>
|
||||
<Name>Save_Ziel</Name>
|
||||
<Namespace />
|
||||
<Number>122</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="54">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Teil_IDX" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="56">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW220" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="58">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="59">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Teil_Ziel" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="61">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW222" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="68">
|
||||
<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 />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
<MultilingualText ID="6" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="7" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Daten aufbereiten</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="69">
|
||||
<StlToken Text="CALL" />
|
||||
<Access Scope="Call">
|
||||
<CallInfo Name="FifoOut" BlockType="FC">
|
||||
<Parameter Name="SSDB" Section="Input" Type="Int">
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="FIFO_DB" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</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#E100</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
<LineComment>
|
||||
<Text>da Ringspeicher nächster Eintrag lesen + austragen</Text>
|
||||
</LineComment>
|
||||
</Parameter>
|
||||
<Parameter Name="OUTDATEN" Section="Output" 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="MB199" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Parameter>
|
||||
</CallInfo>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="78">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="79">
|
||||
<StlToken Text="CALL" />
|
||||
<Access Scope="Call">
|
||||
<CallInfo Name="FifoIn" BlockType="FC">
|
||||
<Parameter Name="SSDB" Section="Input" Type="Int">
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="FIFO_DB" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</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="INDATEN" Section="Input" Type="Pointer">
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>ARef</ConstantType>
|
||||
<ConstantValue>P#M220.0</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</Parameter>
|
||||
<Parameter Name="RE_VAL" Section="Output" Type="Byte">
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MB199" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Parameter>
|
||||
</CallInfo>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="87">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="88">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MB199" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="90">
|
||||
<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>Daten speichern</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="91">
|
||||
<StlToken Text="BE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="92">
|
||||
<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>Ende</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.CompileUnit>
|
||||
<MultilingualText ID="12" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="13" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Gesendete CARR-Telegramme zusätzlich speichern</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.FC>
|
||||
</Document>
|
||||
@@ -0,0 +1,777 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Document>
|
||||
<Engineering version="V20" />
|
||||
<SW.Blocks.FC ID="0">
|
||||
<AttributeList>
|
||||
<AutoNumber>false</AutoNumber>
|
||||
<Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
|
||||
<Section Name="Input">
|
||||
<Member Name="Ink_DB" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">DB-Nr des Inkremental-Gebers (Zählerbaugruppe) Neu-Sync-Zähler</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="B_Zaehlen" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Sensor zum Zählen</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Antrieb_aktiv" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Antrieb ist aktiv</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="T_1" Datatype="Timer">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Timer zum Entprellen</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="T_2" Datatype="Timer">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Timer für Störung</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="T_3" Datatype="Timer">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Timer für Störung</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
</Section>
|
||||
<Section Name="Output" />
|
||||
<Section Name="InOut">
|
||||
<Member Name="Error" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Zähl-Sensor hat Störung</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
</Section>
|
||||
<Section Name="Temp" />
|
||||
<Section Name="Constant" />
|
||||
<Section Name="Return">
|
||||
<Member Name="Ret_Val" Datatype="Void" />
|
||||
</Section>
|
||||
</Sections></Interface>
|
||||
<MemoryLayout>Standard</MemoryLayout>
|
||||
<Name>Sensor-Zähler</Name>
|
||||
<Namespace />
|
||||
<Number>100</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="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="B_Zaehlen" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Sensor zum Zählen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="25">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Antrieb_aktiv" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Antrieb ist aktiv</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="28">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="TypedConstant">
|
||||
<Constant>
|
||||
<ConstantValue>S5T#350MS</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="30">
|
||||
<StlToken Text="OnDelay" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="T_2" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Timer für Störung</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="33">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="34">
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="B_Zaehlen" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Sensor zum Zählen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="37">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Antrieb_aktiv" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Antrieb ist aktiv</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="40">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="TypedConstant">
|
||||
<Constant>
|
||||
<ConstantValue>S5T#500MS</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="42">
|
||||
<StlToken Text="OnDelay" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="T_3" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Timer für Störung</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="45">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="46">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="T_2" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Timer für Störung</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="49">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Error" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Zähl-Sensor hat Störung</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="52">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="SGes" />
|
||||
<Component Name="Sensor_zu_lang" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Ursache mitspeichern</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="55">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="56">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="T_3" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Timer für Störung</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="59">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Error" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Zähl-Sensor hat Störung</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="62">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="SGes" />
|
||||
<Component Name="Kein_Signal" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Ursache mitspeichern</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="65">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="66">
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Error" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Zähl-Sensor hat Störung</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="69">
|
||||
<StlToken Text="R" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="SGes" />
|
||||
<Component Name="Sensor_zu_lang" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="71">
|
||||
<StlToken Text="R" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="SGes" />
|
||||
<Component Name="Kein_Signal" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="73">
|
||||
<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 />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
<MultilingualText ID="6" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="7" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Störung </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="74">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Ink_DB" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="76">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW200" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="78">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="79">
|
||||
<StlToken Text="OPEN_DB" />
|
||||
<Access Scope="Address">
|
||||
<Indirect Width="Block" Area="DB">
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW200" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Indirect>
|
||||
<LineComment>
|
||||
<Text>Zähler-DB öffnen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="83">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="84">
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="B_Zaehlen" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Sensor zum Zählen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="87">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="600" />
|
||||
<LineComment>
|
||||
<Text>Sperre Auswertung schon erfolgt</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="90">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Antrieb_aktiv" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Antrieb ist aktiv</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="93">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="TypedConstant">
|
||||
<Constant>
|
||||
<ConstantValue>S5T#50MS</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="95">
|
||||
<StlToken Text="OnDelay" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="T_1" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Timer zum Entprellen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="98">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="T_1" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Timer zum Entprellen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="101">
|
||||
<StlToken Text="R" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="600" />
|
||||
<LineComment>
|
||||
<Text>Sperre Auswertung schon erfolgt</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="104">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="105">
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="B_Zaehlen" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Sensor zum Zählen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="108">
|
||||
<StlToken Text="O" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="600" />
|
||||
<LineComment>
|
||||
<Text>Sperre Auswertung schon erfolgt</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="111">
|
||||
<StlToken Text="BEC" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="112">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="113">
|
||||
<StlToken Text="SET" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="114">
|
||||
<StlToken Text="S" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="600" />
|
||||
<LineComment>
|
||||
<Text>Sperre Auswertung schon erfolgt</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="117">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="118">
|
||||
<StlToken Text="OPEN_DB" />
|
||||
<Access Scope="Address">
|
||||
<Indirect Width="Block" Area="DB">
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW200" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Indirect>
|
||||
<LineComment>
|
||||
<Text>Zähler-DB öffnen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="122">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="123">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="DWord" BitOffset="0" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="125">
|
||||
<StlToken Text="ADD" />
|
||||
<Access Scope="TypedConstant">
|
||||
<Constant>
|
||||
<ConstantValue>DINT#1</ConstantValue>
|
||||
</Constant>
|
||||
<LineComment>
|
||||
<Text>Aktueller Zählerwert +1</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="128">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="DWord" BitOffset="0" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="130">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="131">
|
||||
<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>Zählen über Sensor</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="132">
|
||||
<StlToken Text="OPEN_DB" />
|
||||
<Access Scope="Address">
|
||||
<Indirect Width="Block" Area="DB">
|
||||
<Access Scope="GlobalVariable">
|
||||
<Symbol>
|
||||
<Component Name="MW200" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Indirect>
|
||||
<LineComment>
|
||||
<Text>Zähler-DB öffnen</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="136">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="137">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="DWord" BitOffset="0" />
|
||||
<LineComment>
|
||||
<Text>Aktueller Zählerwert</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="140">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="DWord" BitOffset="608" />
|
||||
<LineComment>
|
||||
<Text>Max. Wert erreicht ?</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="143">
|
||||
<StlToken Text="LE_D" />
|
||||
<LineComment>
|
||||
<Text>Nein !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="145">
|
||||
<StlToken Text="R" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="597" />
|
||||
<LineComment>
|
||||
<Text>Ohne Flag-Lauf wurde beendet</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="148">
|
||||
<StlToken Text="R" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="596" />
|
||||
<LineComment>
|
||||
<Text>Flag-Lauf wurde beendet</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="151">
|
||||
<StlToken Text="JC" />
|
||||
<Access Scope="Label">
|
||||
<Label Name="en02" />
|
||||
<LineComment>
|
||||
<Text>Keine Inkrementalgeber verbaut, sondern nur Sensor</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="154">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="155">
|
||||
<StlToken Text="SUB_D" />
|
||||
<LineComment>
|
||||
<Text>Restwert als Startwert nehmen !</Text>
|
||||
</LineComment>
|
||||
</StlStatement>
|
||||
<StlStatement UId="157">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="DWord" BitOffset="0" />
|
||||
<LineComment>
|
||||
<Text>Keine Inkrementalgeber verbaut, sondern nur Sensor</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="160">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="161">
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="595" />
|
||||
<LineComment>
|
||||
<Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="164">
|
||||
<StlToken Text="Assign" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="597" />
|
||||
<LineComment>
|
||||
<Text>Ohne Flag-Lauf wurde beendet</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="167">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="595" />
|
||||
<LineComment>
|
||||
<Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="170">
|
||||
<StlToken Text="Assign" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="596" />
|
||||
<LineComment>
|
||||
<Text>Flag-Lauf wurde beendet</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="173">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="174">
|
||||
<StlToken Text="AN" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="595" />
|
||||
<LineComment>
|
||||
<Text>Umschaltung Zähl-Lauf ohne-mit-ohne Flag</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="177">
|
||||
<StlToken Text="Assign" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="Bool" BitOffset="595" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="179">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="180">
|
||||
<LabelDeclaration>
|
||||
<Label Name="en02" />
|
||||
</LabelDeclaration>
|
||||
<StlToken Text="NOP_0" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="24">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="182">
|
||||
<LineComment>
|
||||
<Text>Neue Bausteine mit DBD80:</Text>
|
||||
</LineComment>
|
||||
<StlToken Text="COMMENT" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="27">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="DWord" BitOffset="0" />
|
||||
<LineComment>
|
||||
<Text>Aktueller Zählerwert</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="31">
|
||||
<StlToken Text="T" />
|
||||
<Access Scope="Address">
|
||||
<Address Area="DB" Type="DWord" BitOffset="640" />
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="32">
|
||||
<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>Übergabe an Inkrement-Baustein</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="183">
|
||||
<StlToken Text="BE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="184">
|
||||
<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>Ende</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.CompileUnit>
|
||||
<MultilingualText ID="17" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="18" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Sensor-Zähler</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.FC>
|
||||
</Document>
|
||||
@@ -0,0 +1,254 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Document>
|
||||
<Engineering version="V20" />
|
||||
<SW.Blocks.FC ID="0">
|
||||
<AttributeList>
|
||||
<AutoNumber>false</AutoNumber>
|
||||
<Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
|
||||
<Section Name="Input">
|
||||
<Member Name="Enable" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Baustein aktivieren</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Status" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Angegebenen Ausgang auf diesen Status steuern</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="InByte" Datatype="DInt">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Eingangsbyte zum Steuern</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="InBit" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Eingangsbit zum Steuern</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
</Section>
|
||||
<Section Name="Output" />
|
||||
<Section Name="InOut" />
|
||||
<Section Name="Temp">
|
||||
<Member Name="AR1Zeiger" Datatype="DWord">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
</Section>
|
||||
<Section Name="Constant" />
|
||||
<Section Name="Return">
|
||||
<Member Name="Ret_Val" Datatype="Void" />
|
||||
</Section>
|
||||
</Sections></Interface>
|
||||
<MemoryLayout>Standard</MemoryLayout>
|
||||
<Name>Set_IN</Name>
|
||||
<Namespace />
|
||||
<Number>128</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="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Enable" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="24">
|
||||
<StlToken Text="BEC" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="25">
|
||||
<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 />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
<MultilingualText ID="6" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="7" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Baustein aktiviert ?</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="26">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="InByte" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Ausgangsbyte zum Steuern</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="29">
|
||||
<StlToken Text="SLD" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>3</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="31">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="InBit" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Ausgangsbit zum Steuern</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="34">
|
||||
<StlToken Text="OW" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="35">
|
||||
<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="38">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="39">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Status" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="41">
|
||||
<StlToken Text="Assign" />
|
||||
<Access Scope="Address">
|
||||
<Indirect Width="Bit" Area="Input">
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="AR1Zeiger" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Indirect>
|
||||
<LineComment>
|
||||
<Text>Eingang steuern</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="44">
|
||||
<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>Eingang stuern</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="45">
|
||||
<StlToken Text="BE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="46">
|
||||
<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>Ende</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.CompileUnit>
|
||||
<MultilingualText ID="12" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="13" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Eingangsbit zwangssteuern</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.FC>
|
||||
</Document>
|
||||
@@ -0,0 +1,254 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Document>
|
||||
<Engineering version="V20" />
|
||||
<SW.Blocks.FC ID="0">
|
||||
<AttributeList>
|
||||
<AutoNumber>false</AutoNumber>
|
||||
<Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
|
||||
<Section Name="Input">
|
||||
<Member Name="Enable" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Baustein aktivieren</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="Status" Datatype="Bool">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Angegebenen Ausgang auf diesen Status steuern</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="OutByte" Datatype="DInt">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Ausgangsbyte zum Steuern</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
<Member Name="OutBit" Datatype="Int">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Ausgangsbit zum Steuern</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
</Section>
|
||||
<Section Name="Output" />
|
||||
<Section Name="InOut" />
|
||||
<Section Name="Temp">
|
||||
<Member Name="AR1Zeiger" Datatype="DWord">
|
||||
<Comment>
|
||||
<MultiLanguageText Lang="de-DE">Statt AR1 (ging nur bis DB-Länge <= 8191 Bytes)</MultiLanguageText>
|
||||
</Comment>
|
||||
</Member>
|
||||
</Section>
|
||||
<Section Name="Constant" />
|
||||
<Section Name="Return">
|
||||
<Member Name="Ret_Val" Datatype="Void" />
|
||||
</Section>
|
||||
</Sections></Interface>
|
||||
<MemoryLayout>Standard</MemoryLayout>
|
||||
<Name>Set_Output</Name>
|
||||
<Namespace />
|
||||
<Number>127</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="AN" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Enable" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="24">
|
||||
<StlToken Text="BEC" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="25">
|
||||
<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 />
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
<MultilingualText ID="6" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="7" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Baustein aktiviert ?</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="26">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="OutByte" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Ausgangsbyte zum Steuern</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="29">
|
||||
<StlToken Text="SLD" />
|
||||
<Access Scope="LiteralConstant">
|
||||
<Constant>
|
||||
<ConstantType>Int</ConstantType>
|
||||
<ConstantValue>3</ConstantValue>
|
||||
</Constant>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="31">
|
||||
<StlToken Text="L" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="OutBit" />
|
||||
</Symbol>
|
||||
<LineComment>
|
||||
<Text>Ausgangsbit zum Steuern</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="34">
|
||||
<StlToken Text="OW" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="35">
|
||||
<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="38">
|
||||
<StlToken Text="EMPTY_LINE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="39">
|
||||
<StlToken Text="A" />
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="Status" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="41">
|
||||
<StlToken Text="Assign" />
|
||||
<Access Scope="Address">
|
||||
<Indirect Width="Bit" Area="Output">
|
||||
<Access Scope="LocalVariable">
|
||||
<Symbol>
|
||||
<Component Name="AR1Zeiger" />
|
||||
</Symbol>
|
||||
</Access>
|
||||
</Indirect>
|
||||
<LineComment>
|
||||
<Text>Ausgang steuern</Text>
|
||||
</LineComment>
|
||||
</Access>
|
||||
</StlStatement>
|
||||
<StlStatement UId="44">
|
||||
<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>Ausgang steuern</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="45">
|
||||
<StlToken Text="BE" />
|
||||
</StlStatement>
|
||||
<StlStatement UId="46">
|
||||
<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>Ende</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.CompileUnit>
|
||||
<MultilingualText ID="12" CompositionName="Title">
|
||||
<ObjectList>
|
||||
<MultilingualTextItem ID="13" CompositionName="Items">
|
||||
<AttributeList>
|
||||
<Culture>de-DE</Culture>
|
||||
<Text>Ausgangsbit zwangsstuern</Text>
|
||||
</AttributeList>
|
||||
</MultilingualTextItem>
|
||||
</ObjectList>
|
||||
</MultilingualText>
|
||||
</ObjectList>
|
||||
</SW.Blocks.FC>
|
||||
</Document>
|
||||
@@ -0,0 +1,41 @@
|
||||
FUNCTION "TEST_DB_TO_ATTR_DB" : Void
|
||||
{ S7_Optimized_Access := 'TRUE' }
|
||||
VERSION : 0.1
|
||||
VAR_INPUT
|
||||
DB_Number : Word;
|
||||
END_VAR
|
||||
|
||||
VAR_OUTPUT
|
||||
RetVal : Int;
|
||||
DB_Length : Word;
|
||||
Write_Prot : Bool;
|
||||
END_VAR
|
||||
|
||||
VAR_TEMP
|
||||
tDB_Number : DB_ANY;
|
||||
tDB_Lenght : UDInt;
|
||||
REQ : Bool;
|
||||
ATTRIB : Byte;
|
||||
END_VAR
|
||||
|
||||
|
||||
BEGIN
|
||||
#tDB_Number := UINT_TO_DB_ANY(WORD_TO_UINT(#DB_Number));
|
||||
|
||||
#RetVal := ATTR_DB(REQ := TRUE,
|
||||
DB_NUMBER := #tDB_Number,
|
||||
DB_LENGTH => #tDB_Lenght,
|
||||
ATTRIB => #ATTRIB);
|
||||
|
||||
#DB_Length := UDINT_TO_WORD(#tDB_Lenght);
|
||||
|
||||
IF #ATTRIB.%X1 THEN
|
||||
#Write_Prot := TRUE;
|
||||
END_IF;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
END_FUNCTION
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user