Files
TIA_VCI/Cpt/fCptFm.xml
2026-01-06 17:44:49 +01:00

295 lines
8.8 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="InDetFilt" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="fr-FR">Entrée comptage</MultiLanguageText>
</Comment>
</Member>
<Member Name="RazCpt" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="fr-FR">Raz du compteur</MultiLanguageText>
</Comment>
</Member>
<Member Name="NbParLot" Datatype="UInt">
<Comment>
<MultiLanguageText Lang="fr-FR">Consigne compteur</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="Output">
<Member Name="CptOk" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="fr-FR">Signal compteur complet</MultiLanguageText>
</Comment>
</Member>
<Member Name="OutCpt" Datatype="UDInt">
<Comment>
<MultiLanguageText Lang="fr-FR">Valeur courante compteur</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="InOut" />
<Section Name="Static">
<Member Name="FmCpt" Datatype="R_TRIG" Version="1.0">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="FmRaz" Datatype="R_TRIG" Version="1.0">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="ValCpt" Datatype="UDInt" Remanence="Retain">
<Comment>
<MultiLanguageText Lang="fr-FR">Valeur courante compteur</MultiLanguageText>
</Comment>
</Member>
</Section>
<Section Name="Temp" />
<Section Name="Constant" />
</Sections></Interface>
<MemoryLayout>Optimized</MemoryLayout>
<MemoryReserve>100</MemoryReserve>
<Name>fCptFm</Name>
<Namespace />
<Number>22</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">
<LineComment UId="21">
<Text UId="22"> Comptage sur fronts descendants</Text>
</LineComment>
<NewLine UId="23" />
<LineComment UId="24">
<Text UId="25"> Fronts</Text>
</LineComment>
<NewLine UId="26" />
<Access Scope="LocalVariable" UId="27">
<Symbol UId="28">
<Component Name="FmCpt" UId="29" />
</Symbol>
</Access>
<Access Scope="Call" UId="30">
<Instruction UId="31">
<Token Text="(" UId="32" />
<Parameter Name="CLK" UId="33">
<Blank UId="34" />
<Token Text=":=" UId="35" />
<Blank UId="36" />
<Access Scope="LocalVariable" UId="37">
<Symbol UId="38">
<Component Name="InDetFilt" UId="39" />
</Symbol>
</Access>
</Parameter>
<Token Text=")" UId="40" />
</Instruction>
</Access>
<Token Text=";" UId="41" />
<NewLine UId="42" />
<Access Scope="LocalVariable" UId="43">
<Symbol UId="44">
<Component Name="FmRaz" UId="45" />
</Symbol>
</Access>
<Access Scope="Call" UId="46">
<Instruction UId="47">
<Token Text="(" UId="48" />
<Parameter Name="CLK" UId="49">
<Blank UId="50" />
<Token Text=":=" UId="51" />
<Blank UId="52" />
<Access Scope="LocalVariable" UId="53">
<Symbol UId="54">
<Component Name="RazCpt" UId="55" />
</Symbol>
</Access>
</Parameter>
<Token Text=")" UId="56" />
</Instruction>
</Access>
<Token Text=";" UId="57" />
<NewLine UId="58" />
<LineComment UId="59">
<Text UId="60"> Raz Cpt</Text>
</LineComment>
<NewLine UId="61" />
<Token Text="IF" UId="62" />
<Blank UId="63" />
<Access Scope="LocalVariable" UId="64">
<Symbol UId="65">
<Component Name="FmRaz" UId="66" />
<Token Text="." UId="67" />
<Component Name="Q" UId="68" />
</Symbol>
</Access>
<Blank UId="69" />
<Token Text="THEN" UId="70" />
<NewLine UId="71" />
<Blank Num="4" UId="72" />
<Access Scope="LocalVariable" UId="73">
<Symbol UId="74">
<Component Name="ValCpt" UId="75" />
</Symbol>
</Access>
<Blank UId="76" />
<Token Text=":=" UId="77" />
<Blank UId="78" />
<Access Scope="LiteralConstant" UId="79">
<Constant UId="80">
<ConstantValue UId="82">0</ConstantValue>
</Constant>
</Access>
<Token Text=";" UId="83" />
<NewLine UId="84" />
<Token Text="END_IF" UId="85" />
<Token Text=";" UId="86" />
<NewLine UId="87" />
<LineComment UId="88">
<Text UId="89"> Increment Cpt</Text>
</LineComment>
<NewLine UId="90" />
<Token Text="IF" UId="91" />
<Blank UId="92" />
<Access Scope="LocalVariable" UId="93">
<Symbol UId="94">
<Component Name="FmCpt" UId="95" />
<Token Text="." UId="96" />
<Component Name="Q" UId="97" />
</Symbol>
</Access>
<Blank UId="98" />
<Token Text="THEN" UId="99" />
<NewLine UId="100" />
<Blank Num="4" UId="101" />
<Access Scope="LocalVariable" UId="102">
<Symbol UId="103">
<Component Name="ValCpt" UId="104" />
</Symbol>
</Access>
<Blank UId="105" />
<Token Text=":=" UId="106" />
<Blank UId="107" />
<Access Scope="LocalVariable" UId="108">
<Symbol UId="109">
<Component Name="ValCpt" UId="110" />
</Symbol>
</Access>
<Blank UId="111" />
<Token Text="+" UId="112" />
<Blank UId="113" />
<Access Scope="LiteralConstant" UId="114">
<Constant UId="115">
<ConstantValue UId="117">1</ConstantValue>
</Constant>
</Access>
<Token Text=";" UId="118" />
<NewLine UId="119" />
<Token Text="END_IF" UId="120" />
<Token Text=";" UId="121" />
<NewLine UId="122" />
<LineComment UId="123">
<Text UId="124"> Lot complet</Text>
</LineComment>
<NewLine UId="125" />
<Access Scope="LocalVariable" UId="126">
<Symbol UId="127">
<Component Name="CptOk" UId="128" />
</Symbol>
</Access>
<Blank UId="129" />
<Token Text=":=" UId="130" />
<Blank UId="131" />
<Access Scope="LocalVariable" UId="132">
<Symbol UId="133">
<Component Name="ValCpt" UId="134" />
</Symbol>
</Access>
<Blank UId="135" />
<Token Text="&gt;=" UId="136" />
<Blank UId="137" />
<Access Scope="LocalVariable" UId="138">
<Symbol UId="139">
<Component Name="NbParLot" UId="140" />
</Symbol>
</Access>
<Token Text=";" UId="141" />
<NewLine UId="142" />
<LineComment UId="143">
<Text UId="144"> Sortie</Text>
</LineComment>
<NewLine UId="145" />
<Access Scope="LocalVariable" UId="146">
<Symbol UId="147">
<Component Name="OutCpt" UId="148" />
</Symbol>
</Access>
<Blank UId="149" />
<Token Text=":=" UId="150" />
<Blank UId="151" />
<Access Scope="LocalVariable" UId="152">
<Symbol UId="153">
<Component Name="ValCpt" UId="154" />
</Symbol>
</Access>
<Token Text=";" UId="155" />
<NewLine UId="156" />
</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>