1474 lines
42 KiB
XML
1474 lines
42 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="I_S2" Datatype="Bool">
|
|
<Comment>
|
|
<MultiLanguageText Lang="fr-FR">Signal depuis disjoncteur</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="OnCh1" Datatype="Bool" />
|
|
<Member Name="OnCh2" Datatype="Bool" />
|
|
<Member Name="OnCh3" Datatype="Bool" />
|
|
<Member Name="OnCh4" Datatype="Bool" />
|
|
<Member Name="OnCh5" Datatype="Bool" />
|
|
<Member Name="OnCh6" Datatype="Bool" />
|
|
<Member Name="OnCh7" Datatype="Bool" />
|
|
<Member Name="OnCh8" Datatype="Bool" />
|
|
<Member Name="WChState" Datatype="Bool">
|
|
<Comment>
|
|
<MultiLanguageText Lang="fr-FR">Ecriture des canaux 1=W</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="LongProto" Datatype="Bool">
|
|
<Comment>
|
|
<MultiLanguageText Lang="fr-FR">Longueur du protocole 17/89bits 0=17b</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="SetOrRdCur" Datatype="Bool">
|
|
<Comment>
|
|
<MultiLanguageText Lang="fr-FR">Réglage ou lecture des courants</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
</Section>
|
|
<Section Name="Output">
|
|
<Member Name="Q_S1" Datatype="Bool">
|
|
<Comment>
|
|
<MultiLanguageText Lang="fr-FR">Signal vers disjoncteur</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
</Section>
|
|
<Section Name="InOut" />
|
|
<Section Name="Static">
|
|
<Member Name="Clk" Datatype="Bool">
|
|
<Comment>
|
|
<MultiLanguageText Lang="fr-FR">Flip Flop horloge</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="DataW" Datatype="Bool">
|
|
<Comment>
|
|
<MultiLanguageText Lang="fr-FR">Bit à ecrire</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="OnCh" Datatype="Array[1..8] of Bool">
|
|
<Comment>
|
|
<MultiLanguageText Lang="fr-FR">Activation des canaux 1=On</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="ChOn" Datatype="Array[1..8] of Bool">
|
|
<Comment>
|
|
<MultiLanguageText Lang="fr-FR">Etat des canaux 1=On</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="ChFlt" Datatype="Array[1..8] of Bool">
|
|
<Comment>
|
|
<MultiLanguageText Lang="fr-FR">Canaux en défaut (0=Ok, 1=Surcharge)</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
<Member Name="nBit" Datatype="Int">
|
|
<Comment>
|
|
<MultiLanguageText Lang="fr-FR">Pointeur du numero de bit</MultiLanguageText>
|
|
</Comment>
|
|
</Member>
|
|
</Section>
|
|
<Section Name="Temp" />
|
|
<Section Name="Constant" />
|
|
</Sections></Interface>
|
|
<MemoryLayout>Optimized</MemoryLayout>
|
|
<MemoryReserve>100</MemoryReserve>
|
|
<Name>fDisjBlock8Ch</Name>
|
|
<Namespace />
|
|
<Number>51</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 Inserted="true" UId="21">
|
|
<Text UId="22"> La période mini du créneau doit ête de 75ms donc le temps de cycle de la tâche ne doit pas être
|
|
inferieur à 40ms, 40ms à OFF 40ms à On = 80ms)</Text>
|
|
</LineComment>
|
|
<NewLine UId="23" />
|
|
<Access Scope="LocalVariable" UId="24">
|
|
<Symbol UId="25">
|
|
<Component Name="Clk" UId="26" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="27" />
|
|
<Token Text=":=" UId="28" />
|
|
<Blank UId="29" />
|
|
<Access Scope="LocalVariable" UId="30">
|
|
<Symbol UId="31">
|
|
<Component Name="Clk" UId="32" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="33" />
|
|
<Token Text="XOR" UId="34" />
|
|
<Blank UId="35" />
|
|
<Access Scope="LiteralConstant" UId="36">
|
|
<Constant UId="37">
|
|
<ConstantValue UId="39">TRUE</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=";" UId="40" />
|
|
<Blank UId="41" />
|
|
<LineComment UId="42">
|
|
<Text UId="43"> Génération du Flip Flop</Text>
|
|
</LineComment>
|
|
<NewLine UId="44" />
|
|
<Access Scope="LocalVariable" UId="45">
|
|
<Symbol UId="46">
|
|
<Component Name="OnCh" UId="47">
|
|
<Token Text="[" UId="48" />
|
|
<Access Scope="LiteralConstant" UId="49">
|
|
<Constant UId="50">
|
|
<ConstantValue UId="52">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="53" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="54" />
|
|
<Token Text=":=" UId="55" />
|
|
<Blank UId="56" />
|
|
<Access Scope="LocalVariable" UId="57">
|
|
<Symbol UId="58">
|
|
<Component Name="OnCh1" UId="59" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="60" />
|
|
<Blank UId="61" />
|
|
<LineComment UId="62">
|
|
<Text UId="63">Recopie des pilotages des cannaux</Text>
|
|
</LineComment>
|
|
<NewLine UId="64" />
|
|
<Access Scope="LocalVariable" UId="65">
|
|
<Symbol UId="66">
|
|
<Component Name="OnCh" UId="67">
|
|
<Token Text="[" UId="68" />
|
|
<Access Scope="LiteralConstant" UId="69">
|
|
<Constant UId="70">
|
|
<ConstantValue UId="72">2</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="73" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="74" />
|
|
<Token Text=":=" UId="75" />
|
|
<Blank UId="76" />
|
|
<Access Scope="LocalVariable" UId="77">
|
|
<Symbol UId="78">
|
|
<Component Name="OnCh2" UId="79" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="80" />
|
|
<NewLine UId="81" />
|
|
<Access Scope="LocalVariable" UId="82">
|
|
<Symbol UId="83">
|
|
<Component Name="OnCh" UId="84">
|
|
<Token Text="[" UId="85" />
|
|
<Access Scope="LiteralConstant" UId="86">
|
|
<Constant UId="87">
|
|
<ConstantValue UId="89">3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="90" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="91" />
|
|
<Token Text=":=" UId="92" />
|
|
<Blank UId="93" />
|
|
<Access Scope="LocalVariable" UId="94">
|
|
<Symbol UId="95">
|
|
<Component Name="OnCh3" UId="96" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="97" />
|
|
<NewLine UId="98" />
|
|
<Access Scope="LocalVariable" UId="99">
|
|
<Symbol UId="100">
|
|
<Component Name="OnCh" UId="101">
|
|
<Token Text="[" UId="102" />
|
|
<Access Scope="LiteralConstant" UId="103">
|
|
<Constant UId="104">
|
|
<ConstantValue UId="106">4</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="107" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="108" />
|
|
<Token Text=":=" UId="109" />
|
|
<Blank UId="110" />
|
|
<Access Scope="LocalVariable" UId="111">
|
|
<Symbol UId="112">
|
|
<Component Name="OnCh4" UId="113" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="114" />
|
|
<NewLine UId="115" />
|
|
<Access Scope="LocalVariable" UId="116">
|
|
<Symbol UId="117">
|
|
<Component Name="OnCh" UId="118">
|
|
<Token Text="[" UId="119" />
|
|
<Access Scope="LiteralConstant" UId="120">
|
|
<Constant UId="121">
|
|
<ConstantValue UId="123">5</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="124" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="125" />
|
|
<Token Text=":=" UId="126" />
|
|
<Blank UId="127" />
|
|
<Access Scope="LocalVariable" UId="128">
|
|
<Symbol UId="129">
|
|
<Component Name="OnCh5" UId="130" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="131" />
|
|
<NewLine UId="132" />
|
|
<Access Scope="LocalVariable" UId="133">
|
|
<Symbol UId="134">
|
|
<Component Name="OnCh" UId="135">
|
|
<Token Text="[" UId="136" />
|
|
<Access Scope="LiteralConstant" UId="137">
|
|
<Constant UId="138">
|
|
<ConstantValue UId="140">6</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="141" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="142" />
|
|
<Token Text=":=" UId="143" />
|
|
<Blank UId="144" />
|
|
<Access Scope="LocalVariable" UId="145">
|
|
<Symbol UId="146">
|
|
<Component Name="OnCh6" UId="147" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="148" />
|
|
<NewLine UId="149" />
|
|
<Access Scope="LocalVariable" UId="150">
|
|
<Symbol UId="151">
|
|
<Component Name="OnCh" UId="152">
|
|
<Token Text="[" UId="153" />
|
|
<Access Scope="LiteralConstant" UId="154">
|
|
<Constant UId="155">
|
|
<ConstantValue UId="157">7</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="158" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="159" />
|
|
<Token Text=":=" UId="160" />
|
|
<Blank UId="161" />
|
|
<Access Scope="LocalVariable" UId="162">
|
|
<Symbol UId="163">
|
|
<Component Name="OnCh7" UId="164" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="165" />
|
|
<NewLine UId="166" />
|
|
<Access Scope="LocalVariable" UId="167">
|
|
<Symbol UId="168">
|
|
<Component Name="OnCh" UId="169">
|
|
<Token Text="[" UId="170" />
|
|
<Access Scope="LiteralConstant" UId="171">
|
|
<Constant UId="172">
|
|
<ConstantValue UId="174">8</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="175" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="176" />
|
|
<Token Text=":=" UId="177" />
|
|
<Blank UId="178" />
|
|
<Access Scope="LocalVariable" UId="179">
|
|
<Symbol UId="180">
|
|
<Component Name="OnCh8" UId="181" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="182" />
|
|
<NewLine UId="183" />
|
|
<Token Text="IF" UId="184" />
|
|
<Blank UId="185" />
|
|
<Access Scope="LocalVariable" UId="186">
|
|
<Symbol UId="187">
|
|
<Component Name="Clk" UId="188" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="189" />
|
|
<Token Text="THEN" UId="190" />
|
|
<Blank UId="191" />
|
|
<LineComment UId="192">
|
|
<Text UId="193"> Emission au front montant</Text>
|
|
</LineComment>
|
|
<NewLine UId="194" />
|
|
<Blank Num="4" UId="195" />
|
|
<Token Text="CASE" UId="196" />
|
|
<Blank UId="197" />
|
|
<Access Scope="LocalVariable" UId="198">
|
|
<Symbol UId="199">
|
|
<Component Name="nBit" UId="200" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="201" />
|
|
<Token Text="OF" UId="202" />
|
|
<NewLine UId="203" />
|
|
<Blank Num="8" UId="204" />
|
|
<Access Scope="LiteralConstant" UId="205">
|
|
<Constant UId="206">
|
|
<ConstantValue UId="208">0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="209" />
|
|
<Blank UId="210" />
|
|
<Access Scope="LocalVariable" UId="211">
|
|
<Symbol UId="212">
|
|
<Component Name="DataW" UId="213" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="214" />
|
|
<Token Text=":=" UId="215" />
|
|
<Blank UId="216" />
|
|
<Access Scope="LiteralConstant" UId="217">
|
|
<Constant UId="218">
|
|
<ConstantValue UId="220">FALSE</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=";" UId="221" />
|
|
<Blank UId="222" />
|
|
<LineComment UId="223">
|
|
<Text UId="224">Bit de Start</Text>
|
|
</LineComment>
|
|
<NewLine UId="225" />
|
|
<Blank Num="8" UId="226" />
|
|
<Access Scope="LiteralConstant" UId="227">
|
|
<Constant UId="228">
|
|
<ConstantValue UId="230">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="231" />
|
|
<Blank UId="232" />
|
|
<Access Scope="LocalVariable" UId="233">
|
|
<Symbol UId="234">
|
|
<Component Name="DataW" UId="235" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="236" />
|
|
<Token Text=":=" UId="237" />
|
|
<Blank UId="238" />
|
|
<Access Scope="LocalVariable" UId="239">
|
|
<Symbol UId="240">
|
|
<Component Name="OnCh" UId="241">
|
|
<Token Text="[" UId="242" />
|
|
<Access Scope="LiteralConstant" UId="243">
|
|
<Constant UId="244">
|
|
<ConstantValue UId="246">8</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="247" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="248" />
|
|
<NewLine UId="249" />
|
|
<Blank Num="8" UId="250" />
|
|
<Access Scope="LiteralConstant" UId="251">
|
|
<Constant UId="252">
|
|
<ConstantValue UId="254">2</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="255" />
|
|
<Blank UId="256" />
|
|
<Access Scope="LocalVariable" UId="257">
|
|
<Symbol UId="258">
|
|
<Component Name="DataW" UId="259" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="260" />
|
|
<Token Text=":=" UId="261" />
|
|
<Blank UId="262" />
|
|
<Access Scope="LocalVariable" UId="263">
|
|
<Symbol UId="264">
|
|
<Component Name="OnCh" UId="265">
|
|
<Token Text="[" UId="266" />
|
|
<Access Scope="LiteralConstant" UId="267">
|
|
<Constant UId="268">
|
|
<ConstantValue UId="270">7</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="271" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="272" />
|
|
<NewLine UId="273" />
|
|
<Blank Num="8" UId="274" />
|
|
<Access Scope="LiteralConstant" UId="275">
|
|
<Constant UId="276">
|
|
<ConstantValue UId="278">3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="279" />
|
|
<Blank UId="280" />
|
|
<Access Scope="LocalVariable" UId="281">
|
|
<Symbol UId="282">
|
|
<Component Name="DataW" UId="283" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="284" />
|
|
<Token Text=":=" UId="285" />
|
|
<Blank UId="286" />
|
|
<Access Scope="LocalVariable" UId="287">
|
|
<Symbol UId="288">
|
|
<Component Name="OnCh" UId="289">
|
|
<Token Text="[" UId="290" />
|
|
<Access Scope="LiteralConstant" UId="291">
|
|
<Constant UId="292">
|
|
<ConstantValue UId="294">6</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="295" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="296" />
|
|
<NewLine UId="297" />
|
|
<Blank Num="8" UId="298" />
|
|
<Access Scope="LiteralConstant" UId="299">
|
|
<Constant UId="300">
|
|
<ConstantValue UId="302">4</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="303" />
|
|
<Blank UId="304" />
|
|
<Access Scope="LocalVariable" UId="305">
|
|
<Symbol UId="306">
|
|
<Component Name="DataW" UId="307" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="308" />
|
|
<Token Text=":=" UId="309" />
|
|
<Blank UId="310" />
|
|
<Access Scope="LocalVariable" UId="311">
|
|
<Symbol UId="312">
|
|
<Component Name="OnCh" UId="313">
|
|
<Token Text="[" UId="314" />
|
|
<Access Scope="LiteralConstant" UId="315">
|
|
<Constant UId="316">
|
|
<ConstantValue UId="318">5</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="319" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="320" />
|
|
<NewLine UId="321" />
|
|
<Blank Num="8" UId="322" />
|
|
<Access Scope="LiteralConstant" UId="323">
|
|
<Constant UId="324">
|
|
<ConstantValue UId="326">5</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="327" />
|
|
<Blank UId="328" />
|
|
<Access Scope="LocalVariable" UId="329">
|
|
<Symbol UId="330">
|
|
<Component Name="DataW" UId="331" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="332" />
|
|
<Token Text=":=" UId="333" />
|
|
<Blank UId="334" />
|
|
<Access Scope="LocalVariable" UId="335">
|
|
<Symbol UId="336">
|
|
<Component Name="OnCh" UId="337">
|
|
<Token Text="[" UId="338" />
|
|
<Access Scope="LiteralConstant" UId="339">
|
|
<Constant UId="340">
|
|
<ConstantValue UId="342">4</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="343" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="344" />
|
|
<NewLine UId="345" />
|
|
<Blank Num="8" UId="346" />
|
|
<Access Scope="LiteralConstant" UId="347">
|
|
<Constant UId="348">
|
|
<ConstantValue UId="350">6</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="351" />
|
|
<Blank UId="352" />
|
|
<Access Scope="LocalVariable" UId="353">
|
|
<Symbol UId="354">
|
|
<Component Name="DataW" UId="355" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="356" />
|
|
<Token Text=":=" UId="357" />
|
|
<Blank UId="358" />
|
|
<Access Scope="LocalVariable" UId="359">
|
|
<Symbol UId="360">
|
|
<Component Name="OnCh" UId="361">
|
|
<Token Text="[" UId="362" />
|
|
<Access Scope="LiteralConstant" UId="363">
|
|
<Constant UId="364">
|
|
<ConstantValue UId="366">3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="367" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="368" />
|
|
<NewLine UId="369" />
|
|
<Blank Num="8" UId="370" />
|
|
<Access Scope="LiteralConstant" UId="371">
|
|
<Constant UId="372">
|
|
<ConstantValue UId="374">7</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="375" />
|
|
<Blank UId="376" />
|
|
<Access Scope="LocalVariable" UId="377">
|
|
<Symbol UId="378">
|
|
<Component Name="DataW" UId="379" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="380" />
|
|
<Token Text=":=" UId="381" />
|
|
<Blank UId="382" />
|
|
<Access Scope="LocalVariable" UId="383">
|
|
<Symbol UId="384">
|
|
<Component Name="OnCh" UId="385">
|
|
<Token Text="[" UId="386" />
|
|
<Access Scope="LiteralConstant" UId="387">
|
|
<Constant UId="388">
|
|
<ConstantValue UId="390">2</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="391" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="392" />
|
|
<NewLine UId="393" />
|
|
<Blank Num="8" UId="394" />
|
|
<Access Scope="LiteralConstant" UId="395">
|
|
<Constant UId="396">
|
|
<ConstantValue UId="398">8</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="399" />
|
|
<Blank UId="400" />
|
|
<Access Scope="LocalVariable" UId="401">
|
|
<Symbol UId="402">
|
|
<Component Name="DataW" UId="403" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="404" />
|
|
<Token Text=":=" UId="405" />
|
|
<Blank UId="406" />
|
|
<Access Scope="LocalVariable" UId="407">
|
|
<Symbol UId="408">
|
|
<Component Name="OnCh" UId="409">
|
|
<Token Text="[" UId="410" />
|
|
<Access Scope="LiteralConstant" UId="411">
|
|
<Constant UId="412">
|
|
<ConstantValue UId="414">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="415" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="416" />
|
|
<NewLine UId="417" />
|
|
<Blank Num="8" UId="418" />
|
|
<Access Scope="LiteralConstant" UId="419">
|
|
<Constant UId="420">
|
|
<ConstantValue UId="422">9</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="423" />
|
|
<Blank UId="424" />
|
|
<Access Scope="LocalVariable" UId="425">
|
|
<Symbol UId="426">
|
|
<Component Name="DataW" UId="427" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="428" />
|
|
<Token Text=":=" UId="429" />
|
|
<Blank UId="430" />
|
|
<Access Scope="LocalVariable" UId="431">
|
|
<Symbol UId="432">
|
|
<Component Name="WChState" UId="433" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="434" />
|
|
<Blank UId="435" />
|
|
<LineComment UId="436">
|
|
<Text UId="437">Ecriture ou non des états de sorties</Text>
|
|
</LineComment>
|
|
<NewLine UId="438" />
|
|
<Blank Num="8" UId="439" />
|
|
<Access Scope="LiteralConstant" UId="440">
|
|
<Constant UId="441">
|
|
<ConstantValue UId="443">10</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="444" />
|
|
<Access Scope="LocalVariable" UId="445">
|
|
<Symbol UId="446">
|
|
<Component Name="DataW" UId="447" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="448" />
|
|
<Token Text=":=" UId="449" />
|
|
<Blank UId="450" />
|
|
<Access Scope="LocalVariable" UId="451">
|
|
<Symbol UId="452">
|
|
<Component Name="LongProto" UId="453" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="454" />
|
|
<Blank UId="455" />
|
|
<LineComment UId="456">
|
|
<Text UId="457">Longueur de protocole</Text>
|
|
</LineComment>
|
|
<NewLine UId="458" />
|
|
<Blank Num="8" UId="459" />
|
|
<Access Scope="LiteralConstant" UId="460">
|
|
<Constant UId="461">
|
|
<ConstantValue UId="463">11</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="464" />
|
|
<Access Scope="LocalVariable" UId="465">
|
|
<Symbol UId="466">
|
|
<Component Name="DataW" UId="467" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="468" />
|
|
<Token Text=":=" UId="469" />
|
|
<Blank UId="470" />
|
|
<Access Scope="LocalVariable" UId="471">
|
|
<Symbol UId="472">
|
|
<Component Name="SetOrRdCur" UId="473" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="474" />
|
|
<LineComment UId="475">
|
|
<Text UId="476">Intensité courante ou reglage </Text>
|
|
</LineComment>
|
|
<NewLine UId="477" />
|
|
<Blank Num="4" UId="478" />
|
|
<Token Text="ELSE" UId="479" />
|
|
<Blank Num="2" UId="480" />
|
|
<LineComment UId="481">
|
|
<Text UId="482"> Statement section ELSE</Text>
|
|
</LineComment>
|
|
<NewLine UId="483" />
|
|
<Blank Num="8" UId="484" />
|
|
<Access Scope="LocalVariable" UId="485">
|
|
<Symbol UId="486">
|
|
<Component Name="DataW" UId="487" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="488" />
|
|
<Token Text=":=" UId="489" />
|
|
<Blank UId="490" />
|
|
<Access Scope="LiteralConstant" UId="491">
|
|
<Constant UId="492">
|
|
<ConstantValue UId="494">FALSE</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=";" UId="495" />
|
|
<NewLine UId="496" />
|
|
<Blank Num="4" UId="497" />
|
|
<Token Text="END_CASE" UId="498" />
|
|
<Token Text=";" UId="499" />
|
|
<NewLine UId="500" />
|
|
<Token Text="END_IF" UId="501" />
|
|
<Token Text=";" UId="502" />
|
|
<NewLine Num="2" UId="503" />
|
|
<Token Text="IF" UId="504" />
|
|
<Blank UId="505" />
|
|
<Token Text="NOT" UId="506" />
|
|
<Blank UId="507" />
|
|
<Access Scope="LocalVariable" UId="508">
|
|
<Symbol UId="509">
|
|
<Component Name="Clk" UId="510" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="511" />
|
|
<Token Text="THEN" UId="512" />
|
|
<Blank UId="513" />
|
|
<LineComment UId="514">
|
|
<Text UId="515"> Reception au front descendant</Text>
|
|
</LineComment>
|
|
<NewLine UId="516" />
|
|
<Blank Num="4" UId="517" />
|
|
<Token Text="CASE" UId="518" />
|
|
<Blank UId="519" />
|
|
<Access Scope="LocalVariable" UId="520">
|
|
<Symbol UId="521">
|
|
<Component Name="nBit" UId="522" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="523" />
|
|
<Token Text="OF" UId="524" />
|
|
<NewLine UId="525" />
|
|
<Blank Num="8" UId="526" />
|
|
<Access Scope="LiteralConstant" UId="527">
|
|
<Constant UId="528">
|
|
<ConstantValue UId="530">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="531" />
|
|
<Blank Num="2" UId="532" />
|
|
<Access Scope="LocalVariable" UId="533">
|
|
<Symbol UId="534">
|
|
<Component Name="ChOn" UId="535">
|
|
<Token Text="[" UId="536" />
|
|
<Access Scope="LiteralConstant" UId="537">
|
|
<Constant UId="538">
|
|
<ConstantValue UId="540">8</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="541" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="4" UId="542" />
|
|
<Token Text=":=" UId="543" />
|
|
<Blank UId="544" />
|
|
<Access Scope="LocalVariable" UId="545">
|
|
<Symbol UId="546">
|
|
<Component Name="I_S2" UId="547" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="548" />
|
|
<Blank UId="549" />
|
|
<LineComment UId="550">
|
|
<Text UId="551">Canal8</Text>
|
|
</LineComment>
|
|
<NewLine UId="552" />
|
|
<Blank Num="8" UId="553" />
|
|
<Access Scope="LiteralConstant" UId="554">
|
|
<Constant UId="555">
|
|
<ConstantValue UId="557">2</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="558" />
|
|
<Blank Num="2" UId="559" />
|
|
<Access Scope="LocalVariable" UId="560">
|
|
<Symbol UId="561">
|
|
<Component Name="ChOn" UId="562">
|
|
<Token Text="[" UId="563" />
|
|
<Access Scope="LiteralConstant" UId="564">
|
|
<Constant UId="565">
|
|
<ConstantValue UId="567">7</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="568" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="4" UId="569" />
|
|
<Token Text=":=" UId="570" />
|
|
<Blank UId="571" />
|
|
<Access Scope="LocalVariable" UId="572">
|
|
<Symbol UId="573">
|
|
<Component Name="I_S2" UId="574" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="575" />
|
|
<Blank UId="576" />
|
|
<LineComment UId="577">
|
|
<Text UId="578">Canal7</Text>
|
|
</LineComment>
|
|
<NewLine UId="579" />
|
|
<Blank Num="8" UId="580" />
|
|
<Access Scope="LiteralConstant" UId="581">
|
|
<Constant UId="582">
|
|
<ConstantValue UId="584">3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="585" />
|
|
<Blank Num="2" UId="586" />
|
|
<Access Scope="LocalVariable" UId="587">
|
|
<Symbol UId="588">
|
|
<Component Name="ChOn" UId="589">
|
|
<Token Text="[" UId="590" />
|
|
<Access Scope="LiteralConstant" UId="591">
|
|
<Constant UId="592">
|
|
<ConstantValue UId="594">6</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="595" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="4" UId="596" />
|
|
<Token Text=":=" UId="597" />
|
|
<Blank UId="598" />
|
|
<Access Scope="LocalVariable" UId="599">
|
|
<Symbol UId="600">
|
|
<Component Name="I_S2" UId="601" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="602" />
|
|
<Blank UId="603" />
|
|
<LineComment UId="604">
|
|
<Text UId="605">Canal6</Text>
|
|
</LineComment>
|
|
<NewLine UId="606" />
|
|
<Blank Num="8" UId="607" />
|
|
<Access Scope="LiteralConstant" UId="608">
|
|
<Constant UId="609">
|
|
<ConstantValue UId="611">4</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="612" />
|
|
<Blank Num="2" UId="613" />
|
|
<Access Scope="LocalVariable" UId="614">
|
|
<Symbol UId="615">
|
|
<Component Name="ChOn" UId="616">
|
|
<Token Text="[" UId="617" />
|
|
<Access Scope="LiteralConstant" UId="618">
|
|
<Constant UId="619">
|
|
<ConstantValue UId="621">5</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="622" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="4" UId="623" />
|
|
<Token Text=":=" UId="624" />
|
|
<Blank UId="625" />
|
|
<Access Scope="LocalVariable" UId="626">
|
|
<Symbol UId="627">
|
|
<Component Name="I_S2" UId="628" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="629" />
|
|
<Blank UId="630" />
|
|
<LineComment UId="631">
|
|
<Text UId="632">Canal5 </Text>
|
|
</LineComment>
|
|
<NewLine UId="633" />
|
|
<Blank Num="8" UId="634" />
|
|
<Access Scope="LiteralConstant" UId="635">
|
|
<Constant UId="636">
|
|
<ConstantValue UId="638">5</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="639" />
|
|
<Blank Num="2" UId="640" />
|
|
<Access Scope="LocalVariable" UId="641">
|
|
<Symbol UId="642">
|
|
<Component Name="ChOn" UId="643">
|
|
<Token Text="[" UId="644" />
|
|
<Access Scope="LiteralConstant" UId="645">
|
|
<Constant UId="646">
|
|
<ConstantValue UId="648">4</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="649" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="4" UId="650" />
|
|
<Token Text=":=" UId="651" />
|
|
<Blank UId="652" />
|
|
<Access Scope="LocalVariable" UId="653">
|
|
<Symbol UId="654">
|
|
<Component Name="I_S2" UId="655" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="656" />
|
|
<Blank UId="657" />
|
|
<LineComment UId="658">
|
|
<Text UId="659">Canal4</Text>
|
|
</LineComment>
|
|
<NewLine UId="660" />
|
|
<Blank Num="8" UId="661" />
|
|
<Access Scope="LiteralConstant" UId="662">
|
|
<Constant UId="663">
|
|
<ConstantValue UId="665">6</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="666" />
|
|
<Blank Num="2" UId="667" />
|
|
<Access Scope="LocalVariable" UId="668">
|
|
<Symbol UId="669">
|
|
<Component Name="ChOn" UId="670">
|
|
<Token Text="[" UId="671" />
|
|
<Access Scope="LiteralConstant" UId="672">
|
|
<Constant UId="673">
|
|
<ConstantValue UId="675">3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="676" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="4" UId="677" />
|
|
<Token Text=":=" UId="678" />
|
|
<Blank UId="679" />
|
|
<Access Scope="LocalVariable" UId="680">
|
|
<Symbol UId="681">
|
|
<Component Name="I_S2" UId="682" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="683" />
|
|
<Blank UId="684" />
|
|
<LineComment UId="685">
|
|
<Text UId="686">Canal3</Text>
|
|
</LineComment>
|
|
<NewLine UId="687" />
|
|
<Blank Num="8" UId="688" />
|
|
<Access Scope="LiteralConstant" UId="689">
|
|
<Constant UId="690">
|
|
<ConstantValue UId="692">7</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="693" />
|
|
<Blank Num="2" UId="694" />
|
|
<Access Scope="LocalVariable" UId="695">
|
|
<Symbol UId="696">
|
|
<Component Name="ChOn" UId="697">
|
|
<Token Text="[" UId="698" />
|
|
<Access Scope="LiteralConstant" UId="699">
|
|
<Constant UId="700">
|
|
<ConstantValue UId="702">2</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="703" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="4" UId="704" />
|
|
<Token Text=":=" UId="705" />
|
|
<Blank UId="706" />
|
|
<Access Scope="LocalVariable" UId="707">
|
|
<Symbol UId="708">
|
|
<Component Name="I_S2" UId="709" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="710" />
|
|
<Blank UId="711" />
|
|
<LineComment UId="712">
|
|
<Text UId="713">Canal2</Text>
|
|
</LineComment>
|
|
<NewLine UId="714" />
|
|
<Blank Num="8" UId="715" />
|
|
<Access Scope="LiteralConstant" UId="716">
|
|
<Constant UId="717">
|
|
<ConstantValue UId="719">8</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="720" />
|
|
<Blank Num="2" UId="721" />
|
|
<Access Scope="LocalVariable" UId="722">
|
|
<Symbol UId="723">
|
|
<Component Name="ChOn" UId="724">
|
|
<Token Text="[" UId="725" />
|
|
<Access Scope="LiteralConstant" UId="726">
|
|
<Constant UId="727">
|
|
<ConstantValue UId="729">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="730" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="4" UId="731" />
|
|
<Token Text=":=" UId="732" />
|
|
<Blank UId="733" />
|
|
<Access Scope="LocalVariable" UId="734">
|
|
<Symbol UId="735">
|
|
<Component Name="I_S2" UId="736" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="737" />
|
|
<Blank UId="738" />
|
|
<LineComment UId="739">
|
|
<Text UId="740">Canal1</Text>
|
|
</LineComment>
|
|
<NewLine UId="741" />
|
|
<Blank Num="8" UId="742" />
|
|
<Access Scope="LiteralConstant" UId="743">
|
|
<Constant UId="744">
|
|
<ConstantValue UId="746">9</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="747" />
|
|
<Blank Num="2" UId="748" />
|
|
<Access Scope="LocalVariable" UId="749">
|
|
<Symbol UId="750">
|
|
<Component Name="ChFlt" UId="751">
|
|
<Token Text="[" UId="752" />
|
|
<Access Scope="LiteralConstant" UId="753">
|
|
<Constant UId="754">
|
|
<ConstantValue UId="756">8</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="757" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="3" UId="758" />
|
|
<Token Text=":=" UId="759" />
|
|
<Blank UId="760" />
|
|
<Access Scope="LocalVariable" UId="761">
|
|
<Symbol UId="762">
|
|
<Component Name="I_S2" UId="763" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="764" />
|
|
<Blank UId="765" />
|
|
<LineComment UId="766">
|
|
<Text UId="767">Canal8 (Le défaut est possible quand ChOn est à 1)</Text>
|
|
</LineComment>
|
|
<NewLine UId="768" />
|
|
<Blank Num="8" UId="769" />
|
|
<Access Scope="LiteralConstant" UId="770">
|
|
<Constant UId="771">
|
|
<ConstantValue UId="773">10</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="774" />
|
|
<Blank UId="775" />
|
|
<Access Scope="LocalVariable" UId="776">
|
|
<Symbol UId="777">
|
|
<Component Name="ChFlt" UId="778">
|
|
<Token Text="[" UId="779" />
|
|
<Access Scope="LiteralConstant" UId="780">
|
|
<Constant UId="781">
|
|
<ConstantValue UId="783">7</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="784" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="3" UId="785" />
|
|
<Token Text=":=" UId="786" />
|
|
<Blank UId="787" />
|
|
<Access Scope="LocalVariable" UId="788">
|
|
<Symbol UId="789">
|
|
<Component Name="I_S2" UId="790" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="791" />
|
|
<Blank UId="792" />
|
|
<LineComment UId="793">
|
|
<Text UId="794">Canal7</Text>
|
|
</LineComment>
|
|
<NewLine UId="795" />
|
|
<Blank Num="8" UId="796" />
|
|
<Access Scope="LiteralConstant" UId="797">
|
|
<Constant UId="798">
|
|
<ConstantValue UId="800">11</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="801" />
|
|
<Blank UId="802" />
|
|
<Access Scope="LocalVariable" UId="803">
|
|
<Symbol UId="804">
|
|
<Component Name="ChFlt" UId="805">
|
|
<Token Text="[" UId="806" />
|
|
<Access Scope="LiteralConstant" UId="807">
|
|
<Constant UId="808">
|
|
<ConstantValue UId="810">6</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="811" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="3" UId="812" />
|
|
<Token Text=":=" UId="813" />
|
|
<Blank UId="814" />
|
|
<Access Scope="LocalVariable" UId="815">
|
|
<Symbol UId="816">
|
|
<Component Name="I_S2" UId="817" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="818" />
|
|
<Blank UId="819" />
|
|
<LineComment UId="820">
|
|
<Text UId="821">Canal6</Text>
|
|
</LineComment>
|
|
<NewLine UId="822" />
|
|
<Blank Num="8" UId="823" />
|
|
<Access Scope="LiteralConstant" UId="824">
|
|
<Constant UId="825">
|
|
<ConstantValue UId="827">12</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="828" />
|
|
<Blank UId="829" />
|
|
<Access Scope="LocalVariable" UId="830">
|
|
<Symbol UId="831">
|
|
<Component Name="ChFlt" UId="832">
|
|
<Token Text="[" UId="833" />
|
|
<Access Scope="LiteralConstant" UId="834">
|
|
<Constant UId="835">
|
|
<ConstantValue UId="837">5</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="838" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="3" UId="839" />
|
|
<Token Text=":=" UId="840" />
|
|
<Blank UId="841" />
|
|
<Access Scope="LocalVariable" UId="842">
|
|
<Symbol UId="843">
|
|
<Component Name="I_S2" UId="844" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="845" />
|
|
<Blank UId="846" />
|
|
<LineComment UId="847">
|
|
<Text UId="848">Canal5</Text>
|
|
</LineComment>
|
|
<NewLine UId="849" />
|
|
<Blank Num="8" UId="850" />
|
|
<Access Scope="LiteralConstant" UId="851">
|
|
<Constant UId="852">
|
|
<ConstantValue UId="854">13</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="855" />
|
|
<Blank UId="856" />
|
|
<Access Scope="LocalVariable" UId="857">
|
|
<Symbol UId="858">
|
|
<Component Name="ChFlt" UId="859">
|
|
<Token Text="[" UId="860" />
|
|
<Access Scope="LiteralConstant" UId="861">
|
|
<Constant UId="862">
|
|
<ConstantValue UId="864">4</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="865" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="3" UId="866" />
|
|
<Token Text=":=" UId="867" />
|
|
<Blank UId="868" />
|
|
<Access Scope="LocalVariable" UId="869">
|
|
<Symbol UId="870">
|
|
<Component Name="I_S2" UId="871" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="872" />
|
|
<Blank UId="873" />
|
|
<LineComment UId="874">
|
|
<Text UId="875">Canal4</Text>
|
|
</LineComment>
|
|
<NewLine UId="876" />
|
|
<Blank Num="8" UId="877" />
|
|
<Access Scope="LiteralConstant" UId="878">
|
|
<Constant UId="879">
|
|
<ConstantValue UId="881">14</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="882" />
|
|
<Blank UId="883" />
|
|
<Access Scope="LocalVariable" UId="884">
|
|
<Symbol UId="885">
|
|
<Component Name="ChFlt" UId="886">
|
|
<Token Text="[" UId="887" />
|
|
<Access Scope="LiteralConstant" UId="888">
|
|
<Constant UId="889">
|
|
<ConstantValue UId="891">3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="892" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="3" UId="893" />
|
|
<Token Text=":=" UId="894" />
|
|
<Blank UId="895" />
|
|
<Access Scope="LocalVariable" UId="896">
|
|
<Symbol UId="897">
|
|
<Component Name="I_S2" UId="898" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="899" />
|
|
<Blank UId="900" />
|
|
<LineComment UId="901">
|
|
<Text UId="902">Canal3</Text>
|
|
</LineComment>
|
|
<NewLine UId="903" />
|
|
<Blank Num="8" UId="904" />
|
|
<Access Scope="LiteralConstant" UId="905">
|
|
<Constant UId="906">
|
|
<ConstantValue UId="908">15</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="909" />
|
|
<Blank UId="910" />
|
|
<Access Scope="LocalVariable" UId="911">
|
|
<Symbol UId="912">
|
|
<Component Name="ChFlt" UId="913">
|
|
<Token Text="[" UId="914" />
|
|
<Access Scope="LiteralConstant" UId="915">
|
|
<Constant UId="916">
|
|
<ConstantValue UId="918">2</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="919" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="3" UId="920" />
|
|
<Token Text=":=" UId="921" />
|
|
<Blank UId="922" />
|
|
<Access Scope="LocalVariable" UId="923">
|
|
<Symbol UId="924">
|
|
<Component Name="I_S2" UId="925" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="926" />
|
|
<Blank UId="927" />
|
|
<LineComment UId="928">
|
|
<Text UId="929">Canal2</Text>
|
|
</LineComment>
|
|
<NewLine UId="930" />
|
|
<Blank Num="8" UId="931" />
|
|
<Access Scope="LiteralConstant" UId="932">
|
|
<Constant UId="933">
|
|
<ConstantValue UId="935">16</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=":" UId="936" />
|
|
<Blank UId="937" />
|
|
<Access Scope="LocalVariable" UId="938">
|
|
<Symbol UId="939">
|
|
<Component Name="ChFlt" UId="940">
|
|
<Token Text="[" UId="941" />
|
|
<Access Scope="LiteralConstant" UId="942">
|
|
<Constant UId="943">
|
|
<ConstantValue UId="945">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="946" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="3" UId="947" />
|
|
<Token Text=":=" UId="948" />
|
|
<Blank UId="949" />
|
|
<Access Scope="LocalVariable" UId="950">
|
|
<Symbol UId="951">
|
|
<Component Name="I_S2" UId="952" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="953" />
|
|
<Blank UId="954" />
|
|
<LineComment UId="955">
|
|
<Text UId="956">Canal1</Text>
|
|
</LineComment>
|
|
<NewLine UId="957" />
|
|
<Blank Num="4" UId="958" />
|
|
<Token Text="END_CASE" UId="959" />
|
|
<Token Text=";" UId="960" />
|
|
<NewLine UId="961" />
|
|
<Blank Num="4" UId="962" />
|
|
<Access Scope="LocalVariable" UId="963">
|
|
<Symbol UId="964">
|
|
<Component Name="nBit" UId="965" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="966" />
|
|
<Token Text=":=" UId="967" />
|
|
<Blank UId="968" />
|
|
<Access Scope="LocalVariable" UId="969">
|
|
<Symbol UId="970">
|
|
<Component Name="nBit" UId="971" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="972" />
|
|
<Token Text="+" UId="973" />
|
|
<Blank UId="974" />
|
|
<Access Scope="LiteralConstant" UId="975">
|
|
<Constant UId="976">
|
|
<ConstantValue UId="978">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=";" UId="979" />
|
|
<NewLine UId="980" />
|
|
<Token Text="END_IF" UId="981" />
|
|
<Token Text=";" UId="982" />
|
|
<NewLine Num="2" UId="983" />
|
|
<Token Text="IF" UId="984" />
|
|
<Blank UId="985" />
|
|
<Access Scope="LocalVariable" UId="986">
|
|
<Symbol UId="987">
|
|
<Component Name="nBit" UId="988" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="989" />
|
|
<Token Text=">" UId="990" />
|
|
<Blank UId="991" />
|
|
<Access Scope="LiteralConstant" UId="992">
|
|
<Constant UId="993">
|
|
<ConstantValue UId="995">19</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Blank UId="996" />
|
|
<Token Text="THEN" UId="997" />
|
|
<Blank UId="998" />
|
|
<LineComment UId="999">
|
|
<Text UId="1000">Ajout d'un bit supplémentaire pour bit de stop</Text>
|
|
</LineComment>
|
|
<NewLine UId="1001" />
|
|
<Blank Num="8" UId="1002" />
|
|
<Access Scope="LocalVariable" UId="1003">
|
|
<Symbol UId="1004">
|
|
<Component Name="nBit" UId="1005" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="1006" />
|
|
<Token Text=":=" UId="1007" />
|
|
<Blank UId="1008" />
|
|
<Access Scope="LiteralConstant" UId="1009">
|
|
<Constant UId="1010">
|
|
<ConstantValue UId="1012">0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=";" UId="1013" />
|
|
<LineComment UId="1014">
|
|
<Text UId="1015">Raz cycle de transmission</Text>
|
|
</LineComment>
|
|
<NewLine UId="1016" />
|
|
<Token Text="END_IF" UId="1017" />
|
|
<Token Text=";" UId="1018" />
|
|
<NewLine UId="1019" />
|
|
<Access Scope="LocalVariable" UId="1020">
|
|
<Symbol UId="1021">
|
|
<Component Name="Q_S1" UId="1022" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="1023" />
|
|
<Token Text=":=" UId="1024" />
|
|
<Blank UId="1025" />
|
|
<Token Text="(" UId="1026" />
|
|
<Access Scope="LocalVariable" UId="1027">
|
|
<Symbol UId="1028">
|
|
<Component Name="Clk" UId="1029" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="1030" />
|
|
<Token Text="XOR" UId="1031" />
|
|
<Blank UId="1032" />
|
|
<Access Scope="LocalVariable" UId="1033">
|
|
<Symbol UId="1034">
|
|
<Component Name="DataW" UId="1035" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=")" UId="1036" />
|
|
<Blank UId="1037" />
|
|
<Token Text="AND" UId="1038" />
|
|
<Blank UId="1039" />
|
|
<Access Scope="LocalVariable" UId="1040">
|
|
<Symbol UId="1041">
|
|
<Component Name="nBit" UId="1042" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="1043" />
|
|
<Token Text="<" UId="1044" />
|
|
<Blank UId="1045" />
|
|
<Access Scope="LiteralConstant" UId="1046">
|
|
<Constant UId="1047">
|
|
<ConstantValue UId="1049">17</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=";" UId="1050" />
|
|
<Blank UId="1051" />
|
|
<LineComment UId="1052">
|
|
<Text UId="1053">Pilotage sortie jusqu'au bit 16</Text>
|
|
</LineComment>
|
|
</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> |