Files
AutomatischesLager/Programmbausteine/_IBAE_Module/MSensoren.xml
T
2026-07-06 12:57:53 +02:00

704 lines
20 KiB
XML

<?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="&quot;USensor_Ein_Aus&quot;">
<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>