209 lines
6.6 KiB
XML
209 lines
6.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Document>
|
|
<Engineering version="V19" />
|
|
<SW.Blocks.FB ID="0">
|
|
<AttributeList>
|
|
<Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
|
|
<Section Name="Input">
|
|
<Member Name="iIn" Datatype="Bool" />
|
|
<Member Name="iDelai" Datatype="Time" Remanence="Retain">
|
|
<StartValue>T#10S</StartValue>
|
|
</Member>
|
|
</Section>
|
|
<Section Name="Output">
|
|
<Member Name="oDef" Datatype="Bool" />
|
|
</Section>
|
|
<Section Name="InOut" />
|
|
<Section Name="Static">
|
|
<Member Name="FmVie" Datatype="R_TRIG" Version="1.0">
|
|
<AttributeList>
|
|
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
|
|
</AttributeList>
|
|
</Member>
|
|
<Member Name="FdVie" Datatype="F_TRIG" Version="1.0">
|
|
<AttributeList>
|
|
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
|
|
</AttributeList>
|
|
</Member>
|
|
<Member Name="TofVie" Datatype="TOF_TIME" Version="1.0">
|
|
<AttributeList>
|
|
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
|
|
</AttributeList>
|
|
</Member>
|
|
</Section>
|
|
<Section Name="Temp" />
|
|
<Section Name="Constant" />
|
|
</Sections></Interface>
|
|
<MemoryLayout>Optimized</MemoryLayout>
|
|
<MemoryReserve>100</MemoryReserve>
|
|
<Name>fDefBitVie</Name>
|
|
<Namespace />
|
|
<Number>2</Number>
|
|
<ProgrammingLanguage>SCL</ProgrammingLanguage>
|
|
<SetENOAutomatically>false</SetENOAutomatically>
|
|
</AttributeList>
|
|
<ObjectList>
|
|
<MultilingualText ID="1" CompositionName="Comment">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="2" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>fr-FR</Culture>
|
|
<Text />
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
<SW.Blocks.CompileUnit ID="3" CompositionName="CompileUnits">
|
|
<AttributeList>
|
|
<NetworkSource><StructuredText xmlns="http://www.siemens.com/automation/Openness/SW/NetworkSource/StructuredText/v4">
|
|
<Access Scope="LocalVariable" UId="21">
|
|
<Symbol UId="22">
|
|
<Component Name="FmVie" UId="23" />
|
|
</Symbol>
|
|
</Access>
|
|
<Access Scope="Call" UId="24">
|
|
<Instruction UId="25">
|
|
<Token Text="(" UId="26" />
|
|
<Parameter Name="CLK" UId="27">
|
|
<Blank UId="28" />
|
|
<Token Text=":=" UId="29" />
|
|
<Blank UId="30" />
|
|
<Access Scope="LocalVariable" UId="31">
|
|
<Symbol UId="32">
|
|
<Component Name="iIn" UId="33" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text=")" UId="34" />
|
|
</Instruction>
|
|
</Access>
|
|
<Token Text=";" UId="35" />
|
|
<NewLine UId="36" />
|
|
<Access Scope="LocalVariable" UId="37">
|
|
<Symbol UId="38">
|
|
<Component Name="FdVie" UId="39" />
|
|
</Symbol>
|
|
</Access>
|
|
<Access Scope="Call" UId="40">
|
|
<Instruction UId="41">
|
|
<Token Text="(" UId="42" />
|
|
<Parameter Name="CLK" UId="43">
|
|
<Blank UId="44" />
|
|
<Token Text=":=" UId="45" />
|
|
<Blank UId="46" />
|
|
<Access Scope="LocalVariable" UId="47">
|
|
<Symbol UId="48">
|
|
<Component Name="iIn" UId="49" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text=")" UId="50" />
|
|
</Instruction>
|
|
</Access>
|
|
<Token Text=";" UId="51" />
|
|
<NewLine UId="52" />
|
|
<Access Scope="LocalVariable" UId="53">
|
|
<Symbol UId="54">
|
|
<Component Name="TofVie" UId="55" />
|
|
</Symbol>
|
|
</Access>
|
|
<Access Scope="Call" UId="56">
|
|
<Instruction UId="57">
|
|
<Token Text="(" UId="58" />
|
|
<Parameter Name="IN" UId="59">
|
|
<Blank UId="60" />
|
|
<Token Text=":=" UId="61" />
|
|
<Blank UId="62" />
|
|
<Access Scope="LocalVariable" UId="63">
|
|
<Symbol UId="64">
|
|
<Component Name="FmVie" UId="65" />
|
|
<Token Text="." UId="66" />
|
|
<Component Name="Q" UId="67" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="68" />
|
|
<Token Text="OR" UId="69" />
|
|
<Blank UId="70" />
|
|
<Access Scope="LocalVariable" UId="71">
|
|
<Symbol UId="72">
|
|
<Component Name="FdVie" UId="73" />
|
|
<Token Text="." UId="74" />
|
|
<Component Name="Q" UId="75" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text="," UId="76" />
|
|
<NewLine UId="77" />
|
|
<Blank Num="8" UId="78" />
|
|
<Parameter Name="PT" UId="79">
|
|
<Blank UId="80" />
|
|
<Token Text=":=" UId="81" />
|
|
<Blank UId="82" />
|
|
<Access Scope="LocalVariable" UId="83">
|
|
<Symbol UId="84">
|
|
<Component Name="iDelai" UId="85" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text=")" UId="86" />
|
|
</Instruction>
|
|
</Access>
|
|
<Token Text=";" UId="87" />
|
|
<NewLine UId="88" />
|
|
<Access Scope="LocalVariable" UId="89">
|
|
<Symbol UId="90">
|
|
<Component Name="oDef" UId="91" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="92" />
|
|
<Token Text=":=" UId="93" />
|
|
<Blank UId="94" />
|
|
<Token Text="NOT" UId="95" />
|
|
<Blank UId="96" />
|
|
<Access Scope="LocalVariable" UId="97">
|
|
<Symbol UId="98">
|
|
<Component Name="TofVie" UId="99" />
|
|
<Token Text="." UId="100" />
|
|
<Component Name="Q" UId="101" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="102" />
|
|
</StructuredText></NetworkSource>
|
|
<ProgrammingLanguage>SCL</ProgrammingLanguage>
|
|
</AttributeList>
|
|
<ObjectList>
|
|
<MultilingualText ID="4" CompositionName="Comment">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="5" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>fr-FR</Culture>
|
|
<Text />
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
<MultilingualText ID="6" CompositionName="Title">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="7" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>fr-FR</Culture>
|
|
<Text />
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
</ObjectList>
|
|
</SW.Blocks.CompileUnit>
|
|
<MultilingualText ID="8" CompositionName="Title">
|
|
<ObjectList>
|
|
<MultilingualTextItem ID="9" CompositionName="Items">
|
|
<AttributeList>
|
|
<Culture>fr-FR</Culture>
|
|
<Text />
|
|
</AttributeList>
|
|
</MultilingualTextItem>
|
|
</ObjectList>
|
|
</MultilingualText>
|
|
</ObjectList>
|
|
</SW.Blocks.FB>
|
|
</Document> |