Files
TIA_VCI/Vars/fVarMdxPd.xml
2026-01-06 15:17:22 +01:00

1804 lines
56 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="iADDR" Datatype="HW_IO" />
<Member Name="iSecu" Datatype="Bool" />
<Member Name="iEnable" Datatype="Bool" />
<Member Name="iRelBrake" Datatype="Bool" />
<Member Name="iJogP" Datatype="Bool" />
<Member Name="iJogN" Datatype="Bool" />
<Member Name="iNewPos" Datatype="Bool" />
<Member Name="iStart" Datatype="Bool" />
<Member Name="iReset" Datatype="Bool" />
<Member Name="iSelDrive2" Datatype="Bool" />
<Member Name="iDisLimitSw" Datatype="Bool" />
<Member Name="iInhibit" Datatype="Bool" />
<Member Name="iStby" Datatype="Bool" />
<Member Name="iConsVit" Datatype="UInt" />
<Member Name="iAccel" Datatype="UInt" />
<Member Name="iDecel" Datatype="UInt" />
<Member Name="iwDo" Datatype="Word" />
<Member Name="iMode" Datatype="Int" />
<Member Name="iConsPos" Datatype="DInt" />
<Member Name="iTpsSecu" Datatype="Time">
<StartValue>T#500MS</StartValue>
</Member>
</Section>
<Section Name="Output">
<Member Name="oRdy" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="fr-FR">Ready</MultiLanguageText>
</Comment>
</Member>
<Member Name="oSto" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="fr-FR">/ Safe stop</MultiLanguageText>
</Comment>
</Member>
<Member Name="oPow" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="fr-FR">Powered</MultiLanguageText>
</Comment>
</Member>
<Member Name="oNoBrake" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="fr-FR">Brake released</MultiLanguageText>
</Comment>
</Member>
<Member Name="oRot" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="fr-FR">Motor turning</MultiLanguageText>
</Comment>
</Member>
<Member Name="oRefOk" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="fr-FR">Referenced</MultiLanguageText>
</Comment>
</Member>
<Member Name="oNPosAcc" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="fr-FR">New position accepted</MultiLanguageText>
</Comment>
</Member>
<Member Name="oInPos" Datatype="Bool">
<Comment>
<MultiLanguageText Lang="fr-FR">Setpoint reached/ In position</MultiLanguageText>
</Comment>
</Member>
<Member Name="oError" Datatype="Bool" />
<Member Name="oWarn" Datatype="Bool" />
<Member Name="oDrive2Active" Datatype="Bool" />
<Member Name="oComparCons" Datatype="Bool" />
<Member Name="oLimitSwDis" Datatype="Bool" />
<Member Name="oStbyOn" Datatype="Bool" />
<Member Name="oDefCom" Datatype="Bool" />
<Member Name="oRetVit" Datatype="Int" />
<Member Name="oCodeEtat" Datatype="Word" />
<Member Name="oCodeDef" Datatype="Word" />
<Member Name="oRetCouple" Datatype="Int" />
<Member Name="oDi" Datatype="Word" />
<Member Name="oActMode" Datatype="Int" />
<Member Name="oActPos" Datatype="DInt" />
</Section>
<Section Name="InOut" />
<Section Name="Static">
<Member Name="PD" Datatype="Struct">
<AttributeList>
<BooleanAttribute Name="ExternalAccessible" SystemDefined="true">false</BooleanAttribute>
<BooleanAttribute Name="ExternalVisible" SystemDefined="true">false</BooleanAttribute>
<BooleanAttribute Name="ExternalWritable" SystemDefined="true">false</BooleanAttribute>
</AttributeList>
<Member Name="R" Datatype="Array[1..8] of Word" />
<Member Name="W" Datatype="Array[1..8] of Word" />
</Member>
<Member Name="TofSecu" Datatype="TOF_TIME" Version="1.0" />
<Member Name="DefBitVie" Datatype="&quot;fDefBitVie&quot;">
<AttributeList>
<BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
</AttributeList>
</Member>
<Member Name="RReturn" Datatype="Int" />
<Member Name="WReturn" Datatype="Int" />
</Section>
<Section Name="Temp" />
<Section Name="Constant" />
</Sections></Interface>
<MemoryLayout>Optimized</MemoryLayout>
<MemoryReserve>100</MemoryReserve>
<Name>fVarMdxPd</Name>
<Namespace />
<Number>4</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"> MOVIDRIVE C en positioning drive</Text>
</LineComment>
<NewLine UId="23" />
<LineComment UId="24">
<Text UId="25"> Mode 100 Jog position, 101 Jog vitesse (Mode 100, arrêt sur fdc, mode 101, arrêt après fdc)</Text>
</LineComment>
<NewLine UId="26" />
<LineComment UId="27">
<Text UId="28"> Mode 200 Velocity</Text>
</LineComment>
<NewLine UId="29" />
<LineComment UId="30">
<Text UId="31"> Mode 300 Reference via parameter</Text>
</LineComment>
<NewLine UId="32" />
<LineComment UId="33">
<Text UId="34"> Mode 301 Reference via iConsPos</Text>
</LineComment>
<NewLine UId="35" />
<LineComment UId="36">
<Text UId="37"> Mode 400 Absolute pos</Text>
</LineComment>
<NewLine UId="38" />
<LineComment UId="39">
<Text UId="40"> Mode 401 Relative pos</Text>
</LineComment>
<NewLine UId="41" />
<LineComment UId="42">
<Text UId="43"> Mode 402 Modulo pos</Text>
</LineComment>
<NewLine UId="44" />
<LineComment UId="45">
<Text UId="46"> Mode 403 Modulo neg</Text>
</LineComment>
<NewLine UId="47" />
<LineComment UId="48">
<Text UId="49"> Mode 404 Modulo short</Text>
</LineComment>
<NewLine Num="2" UId="50" />
<LineComment UId="51">
<Text UId="52">Lecture du bus</Text>
</LineComment>
<NewLine UId="53" />
<Token Text="IF" UId="54" />
<Blank UId="55" />
<Access Scope="LocalVariable" UId="56">
<Symbol UId="57">
<Component Name="iADDR" UId="58" />
</Symbol>
</Access>
<Blank UId="59" />
<Token Text="&gt;" UId="60" />
<Blank UId="61" />
<Access Scope="LiteralConstant" UId="62">
<Constant UId="63">
<ConstantValue UId="65">0</ConstantValue>
</Constant>
</Access>
<Blank UId="66" />
<Token Text="THEN" UId="67" />
<NewLine UId="68" />
<Blank Num="4" UId="69" />
<Access Scope="LocalVariable" UId="70">
<Symbol UId="71">
<Component Name="RReturn" UId="72" />
</Symbol>
</Access>
<Blank UId="73" />
<Token Text=":=" UId="74" />
<Blank UId="75" />
<Access Scope="Call" UId="76">
<Instruction Name="DPRD_DAT" UId="77">
<Token Text="(" UId="78" />
<Parameter Name="LADDR" UId="79">
<Blank UId="80" />
<Token Text=":=" UId="81" />
<Blank UId="82" />
<Access Scope="LocalVariable" UId="83">
<Symbol UId="84">
<Component Name="iADDR" UId="85" />
</Symbol>
</Access>
</Parameter>
<Token Text="," UId="86" />
<Blank UId="87" />
<Parameter Name="RECORD" UId="88">
<Blank UId="89" />
<Token Text="=&gt;" UId="90" />
<Blank UId="91" />
<Access Scope="LocalVariable" UId="92">
<Symbol UId="93">
<Component Name="PD" UId="94" />
<Token Text="." UId="95" />
<Component Name="R" UId="96">
<BooleanAttribute Name="HasHash" UId="97">true</BooleanAttribute>
</Component>
</Symbol>
</Access>
</Parameter>
<Token Text=")" UId="99" />
</Instruction>
</Access>
<Token Text=";" UId="100" />
<NewLine UId="101" />
<Token Text="END_IF" UId="102" />
<Token Text=";" UId="103" />
<NewLine Num="2" UId="104" />
<LineComment UId="105">
<Text UId="106"> Lectures</Text>
</LineComment>
<NewLine UId="107" />
<Access Scope="LocalVariable" UId="108">
<Symbol UId="109">
<Component Name="oRdy" UId="110" />
</Symbol>
</Access>
<Blank UId="111" />
<Token Text=":=" UId="112" />
<Blank UId="113" />
<Access Scope="LocalVariable" UId="114">
<Symbol UId="115">
<Component Name="PD" UId="116" />
<Token Text="." UId="117" />
<Component Name="R" UId="118">
<Token Text="[" UId="119" />
<Access Scope="LiteralConstant" UId="120">
<Constant UId="121">
<ConstantValue UId="123">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="124" />
</Component>
<Token Text="." UId="125" />
<Token Text="%X0" UId="126" />
</Symbol>
</Access>
<Token Text=";" UId="127" />
<NewLine UId="128" />
<Access Scope="LocalVariable" UId="129">
<Symbol UId="130">
<Component Name="oSto" UId="131" />
</Symbol>
</Access>
<Blank UId="132" />
<Token Text=":=" UId="133" />
<Blank UId="134" />
<Access Scope="LocalVariable" UId="135">
<Symbol UId="136">
<Component Name="PD" UId="137" />
<Token Text="." UId="138" />
<Component Name="R" UId="139">
<Token Text="[" UId="140" />
<Access Scope="LiteralConstant" UId="141">
<Constant UId="142">
<ConstantValue UId="144">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="145" />
</Component>
<Token Text="." UId="146" />
<Token Text="%X1" UId="147" />
</Symbol>
</Access>
<Token Text=";" UId="148" />
<NewLine UId="149" />
<Access Scope="LocalVariable" UId="150">
<Symbol UId="151">
<Component Name="oPow" UId="152" />
</Symbol>
</Access>
<Blank UId="153" />
<Token Text=":=" UId="154" />
<Blank UId="155" />
<Access Scope="LocalVariable" UId="156">
<Symbol UId="157">
<Component Name="PD" UId="158" />
<Token Text="." UId="159" />
<Component Name="R" UId="160">
<Token Text="[" UId="161" />
<Access Scope="LiteralConstant" UId="162">
<Constant UId="163">
<ConstantValue UId="165">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="166" />
</Component>
<Token Text="." UId="167" />
<Token Text="%X2" UId="168" />
</Symbol>
</Access>
<Token Text=";" UId="169" />
<NewLine UId="170" />
<Access Scope="LocalVariable" UId="171">
<Symbol UId="172">
<Component Name="oNoBrake" UId="173" />
</Symbol>
</Access>
<Blank UId="174" />
<Token Text=":=" UId="175" />
<Blank UId="176" />
<Access Scope="LocalVariable" UId="177">
<Symbol UId="178">
<Component Name="PD" UId="179" />
<Token Text="." UId="180" />
<Component Name="R" UId="181">
<Token Text="[" UId="182" />
<Access Scope="LiteralConstant" UId="183">
<Constant UId="184">
<ConstantValue UId="186">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="187" />
</Component>
<Token Text="." UId="188" />
<Token Text="%X3" UId="189" />
</Symbol>
</Access>
<Token Text=";" UId="190" />
<NewLine UId="191" />
<Access Scope="LocalVariable" UId="192">
<Symbol UId="193">
<Component Name="oRot" UId="194" />
</Symbol>
</Access>
<Blank UId="195" />
<Token Text=":=" UId="196" />
<Blank UId="197" />
<Access Scope="LocalVariable" UId="198">
<Symbol UId="199">
<Component Name="PD" UId="200" />
<Token Text="." UId="201" />
<Component Name="R" UId="202">
<Token Text="[" UId="203" />
<Access Scope="LiteralConstant" UId="204">
<Constant UId="205">
<ConstantValue UId="207">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="208" />
</Component>
<Token Text="." UId="209" />
<Token Text="%X4" UId="210" />
</Symbol>
</Access>
<Token Text=";" UId="211" />
<NewLine UId="212" />
<Access Scope="LocalVariable" UId="213">
<Symbol UId="214">
<Component Name="oRefOk" UId="215" />
</Symbol>
</Access>
<Blank UId="216" />
<Token Text=":=" UId="217" />
<Blank UId="218" />
<Access Scope="LocalVariable" UId="219">
<Symbol UId="220">
<Component Name="PD" UId="221" />
<Token Text="." UId="222" />
<Component Name="R" UId="223">
<Token Text="[" UId="224" />
<Access Scope="LiteralConstant" UId="225">
<Constant UId="226">
<ConstantValue UId="228">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="229" />
</Component>
<Token Text="." UId="230" />
<Token Text="%X5" UId="231" />
</Symbol>
</Access>
<Token Text=";" UId="232" />
<NewLine UId="233" />
<Access Scope="LocalVariable" UId="234">
<Symbol UId="235">
<Component Name="oNPosAcc" UId="236" />
</Symbol>
</Access>
<Blank UId="237" />
<Token Text=":=" UId="238" />
<Blank UId="239" />
<Access Scope="LocalVariable" UId="240">
<Symbol UId="241">
<Component Name="PD" UId="242" />
<Token Text="." UId="243" />
<Component Name="R" UId="244">
<Token Text="[" UId="245" />
<Access Scope="LiteralConstant" UId="246">
<Constant UId="247">
<ConstantValue UId="249">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="250" />
</Component>
<Token Text="." UId="251" />
<Token Text="%X6" UId="252" />
</Symbol>
</Access>
<Token Text=";" UId="253" />
<NewLine UId="254" />
<Access Scope="LocalVariable" UId="255">
<Symbol UId="256">
<Component Name="oInPos" UId="257" />
</Symbol>
</Access>
<Blank UId="258" />
<Token Text=":=" UId="259" />
<Blank UId="260" />
<Access Scope="LocalVariable" UId="261">
<Symbol UId="262">
<Component Name="PD" UId="263" />
<Token Text="." UId="264" />
<Component Name="R" UId="265">
<Token Text="[" UId="266" />
<Access Scope="LiteralConstant" UId="267">
<Constant UId="268">
<ConstantValue UId="270">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="271" />
</Component>
<Token Text="." UId="272" />
<Token Text="%X7" UId="273" />
</Symbol>
</Access>
<Token Text=";" UId="274" />
<NewLine UId="275" />
<Access Scope="LocalVariable" UId="276">
<Symbol UId="277">
<Component Name="oError" UId="278" />
</Symbol>
</Access>
<Blank UId="279" />
<Token Text=":=" UId="280" />
<Blank UId="281" />
<Access Scope="LocalVariable" UId="282">
<Symbol UId="283">
<Component Name="PD" UId="284" />
<Token Text="." UId="285" />
<Component Name="R" UId="286">
<Token Text="[" UId="287" />
<Access Scope="LiteralConstant" UId="288">
<Constant UId="289">
<ConstantValue UId="291">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="292" />
</Component>
<Token Text="." UId="293" />
<Token Text="%X8" UId="294" />
</Symbol>
</Access>
<Token Text=";" UId="295" />
<NewLine UId="296" />
<Access Scope="LocalVariable" UId="297">
<Symbol UId="298">
<Component Name="oWarn" UId="299" />
</Symbol>
</Access>
<Blank UId="300" />
<Token Text=":=" UId="301" />
<Blank UId="302" />
<Access Scope="LocalVariable" UId="303">
<Symbol UId="304">
<Component Name="PD" UId="305" />
<Token Text="." UId="306" />
<Component Name="R" UId="307">
<Token Text="[" UId="308" />
<Access Scope="LiteralConstant" UId="309">
<Constant UId="310">
<ConstantValue UId="312">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="313" />
</Component>
<Token Text="." UId="314" />
<Token Text="%X9" UId="315" />
</Symbol>
</Access>
<Token Text=";" UId="316" />
<NewLine UId="317" />
<Access Scope="LocalVariable" UId="318">
<Symbol UId="319">
<Component Name="oDrive2Active" UId="320" />
</Symbol>
</Access>
<Blank UId="321" />
<Token Text=":=" UId="322" />
<Blank UId="323" />
<Access Scope="LocalVariable" UId="324">
<Symbol UId="325">
<Component Name="PD" UId="326" />
<Token Text="." UId="327" />
<Component Name="R" UId="328">
<Token Text="[" UId="329" />
<Access Scope="LiteralConstant" UId="330">
<Constant UId="331">
<ConstantValue UId="333">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="334" />
</Component>
<Token Text="." UId="335" />
<Token Text="%X10" UId="336" />
</Symbol>
</Access>
<Token Text=";" UId="337" />
<NewLine UId="338" />
<Access Scope="LocalVariable" UId="339">
<Symbol UId="340">
<Component Name="oComparCons" UId="341" />
</Symbol>
</Access>
<Blank UId="342" />
<Token Text=":=" UId="343" />
<Blank UId="344" />
<Access Scope="LocalVariable" UId="345">
<Symbol UId="346">
<Component Name="PD" UId="347" />
<Token Text="." UId="348" />
<Component Name="R" UId="349">
<Token Text="[" UId="350" />
<Access Scope="LiteralConstant" UId="351">
<Constant UId="352">
<ConstantValue UId="354">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="355" />
</Component>
<Token Text="." UId="356" />
<Token Text="%X11" UId="357" />
</Symbol>
</Access>
<Token Text=";" UId="358" />
<NewLine UId="359" />
<Access Scope="LocalVariable" UId="360">
<Symbol UId="361">
<Component Name="oLimitSwDis" UId="362" />
</Symbol>
</Access>
<Blank UId="363" />
<Token Text=":=" UId="364" />
<Blank UId="365" />
<Access Scope="LocalVariable" UId="366">
<Symbol UId="367">
<Component Name="PD" UId="368" />
<Token Text="." UId="369" />
<Component Name="R" UId="370">
<Token Text="[" UId="371" />
<Access Scope="LiteralConstant" UId="372">
<Constant UId="373">
<ConstantValue UId="375">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="376" />
</Component>
<Token Text="." UId="377" />
<Token Text="%X12" UId="378" />
</Symbol>
</Access>
<Token Text=";" UId="379" />
<NewLine UId="380" />
<Access Scope="LocalVariable" UId="381">
<Symbol UId="382">
<Component Name="oStbyOn" UId="383" />
</Symbol>
</Access>
<Blank UId="384" />
<Token Text=":=" UId="385" />
<Blank UId="386" />
<Access Scope="LocalVariable" UId="387">
<Symbol UId="388">
<Component Name="PD" UId="389" />
<Token Text="." UId="390" />
<Component Name="R" UId="391">
<Token Text="[" UId="392" />
<Access Scope="LiteralConstant" UId="393">
<Constant UId="394">
<ConstantValue UId="396">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="397" />
</Component>
<Token Text="." UId="398" />
<Token Text="%X14" UId="399" />
</Symbol>
</Access>
<Token Text=";" UId="400" />
<NewLine UId="401" />
<LineComment UId="402">
<Text UId="403"> Le bit 15 est recopié en interne dans le var</Text>
</LineComment>
<NewLine UId="404" />
<Access Scope="Call" UId="405">
<CallInfo UId="406" BlockType="FB" Name="fDefBitVie">
<Instance Scope="LocalVariable" UId="407">
<Component Name="DefBitVie" UId="408" />
</Instance>
<Token Text="(" UId="409" />
<Parameter Name="iIn" UId="410">
<Blank UId="411" />
<Token Text=":=" UId="412" />
<Blank UId="413" />
<Access Scope="LocalVariable" UId="414">
<Symbol UId="415">
<Component Name="PD" UId="416" />
<Token Text="." UId="417" />
<Component Name="R" UId="418">
<Token Text="[" UId="419" />
<Access Scope="LiteralConstant" UId="420">
<Constant UId="421">
<ConstantValue UId="423">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="424" />
</Component>
<Token Text="." UId="425" />
<Token Text="%X15" UId="426" />
</Symbol>
</Access>
</Parameter>
<Token Text="," UId="427" />
<Blank UId="428" />
<Parameter Name="iDelai" UId="429">
<Blank UId="430" />
<Token Text=":=" UId="431" />
<Blank UId="432" />
<Access Scope="TypedConstant" UId="433">
<Constant UId="434">
<ConstantValue UId="435">T#2s</ConstantValue>
</Constant>
</Access>
</Parameter>
<Token Text="," UId="436" />
<Blank UId="437" />
<Parameter Name="oDef" UId="438">
<Blank UId="439" />
<Token Text="=&gt;" UId="440" />
<Blank UId="441" />
<Access Scope="LocalVariable" UId="442">
<Symbol UId="443">
<Component Name="oDefCom" UId="444" />
</Symbol>
</Access>
</Parameter>
<Token Text=")" UId="445" />
</CallInfo>
</Access>
<Token Text=";" UId="446" />
<NewLine UId="447" />
<Access Scope="LocalVariable" UId="448">
<Symbol UId="449">
<Component Name="oRetVit" UId="450" />
</Symbol>
</Access>
<Blank UId="451" />
<Token Text=":=" UId="452" />
<Blank UId="453" />
<Access Scope="Call" UId="454">
<Instruction Name="WORD_TO_INT" UId="455">
<Token Text="(" UId="456" />
<NamelessParameter UId="457">
<Access Scope="LocalVariable" UId="458">
<Symbol UId="459">
<Component Name="PD" UId="460" />
<Token Text="." UId="461" />
<Component Name="R" UId="462">
<Token Text="[" UId="463" />
<Access Scope="LiteralConstant" UId="464">
<Constant UId="465">
<ConstantValue UId="467">2</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="468" />
</Component>
</Symbol>
</Access>
</NamelessParameter>
<Token Text=")" UId="470" />
</Instruction>
</Access>
<Token Text=";" UId="471" />
<NewLine UId="472" />
<Token Text="IF" UId="473" />
<Blank UId="474" />
<Access Scope="LocalVariable" UId="475">
<Symbol UId="476">
<Component Name="oError" UId="477" />
</Symbol>
</Access>
<Blank UId="478" />
<Token Text="THEN" UId="479" />
<NewLine UId="480" />
<Blank Num="4" UId="481" />
<Access Scope="LocalVariable" UId="482">
<Symbol UId="483">
<Component Name="oCodeEtat" UId="484" />
</Symbol>
</Access>
<Blank UId="485" />
<Token Text=":=" UId="486" />
<Blank UId="487" />
<Access Scope="LiteralConstant" UId="488">
<Constant UId="489">
<ConstantValue UId="491">0</ConstantValue>
</Constant>
</Access>
<Token Text=";" UId="492" />
<NewLine UId="493" />
<Blank Num="4" UId="494" />
<Access Scope="LocalVariable" UId="495">
<Symbol UId="496">
<Component Name="oCodeDef" UId="497" />
</Symbol>
</Access>
<Blank UId="498" />
<Token Text=":=" UId="499" />
<Blank UId="500" />
<Access Scope="LocalVariable" UId="501">
<Symbol UId="502">
<Component Name="PD" UId="503" />
<Token Text="." UId="504" />
<Component Name="R" UId="505">
<Token Text="[" UId="506" />
<Access Scope="LiteralConstant" UId="507">
<Constant UId="508">
<ConstantValue UId="510">3</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="511" />
</Component>
</Symbol>
</Access>
<Token Text=";" UId="512" />
<NewLine UId="513" />
<Token Text="ELSE" UId="514" />
<NewLine UId="515" />
<Blank Num="4" UId="516" />
<Access Scope="LocalVariable" UId="517">
<Symbol UId="518">
<Component Name="oCodeEtat" UId="519" />
</Symbol>
</Access>
<Blank UId="520" />
<Token Text=":=" UId="521" />
<Blank UId="522" />
<Access Scope="LocalVariable" UId="523">
<Symbol UId="524">
<Component Name="PD" UId="525" />
<Token Text="." UId="526" />
<Component Name="R" UId="527">
<Token Text="[" UId="528" />
<Access Scope="LiteralConstant" UId="529">
<Constant UId="530">
<ConstantValue UId="532">3</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="533" />
</Component>
</Symbol>
</Access>
<Token Text=";" UId="534" />
<NewLine UId="535" />
<Blank Num="4" UId="536" />
<Access Scope="LocalVariable" UId="537">
<Symbol UId="538">
<Component Name="oCodeDef" UId="539" />
</Symbol>
</Access>
<Blank UId="540" />
<Token Text=":=" UId="541" />
<Blank UId="542" />
<Access Scope="LiteralConstant" UId="543">
<Constant UId="544">
<ConstantValue UId="546">0</ConstantValue>
</Constant>
</Access>
<Token Text=";" UId="547" />
<NewLine UId="548" />
<Token Text="END_IF" UId="549" />
<Token Text=";" UId="550" />
<NewLine UId="551" />
<Access Scope="LocalVariable" UId="552">
<Symbol UId="553">
<Component Name="oRetCouple" UId="554" />
</Symbol>
</Access>
<Blank UId="555" />
<Token Text=":=" UId="556" />
<Blank UId="557" />
<Access Scope="Call" UId="558">
<Instruction Name="WORD_TO_INT" UId="559">
<Token Text="(" UId="560" />
<NamelessParameter UId="561">
<Access Scope="LocalVariable" UId="562">
<Symbol UId="563">
<Component Name="PD" UId="564" />
<Token Text="." UId="565" />
<Component Name="R" UId="566">
<Token Text="[" UId="567" />
<Access Scope="LiteralConstant" UId="568">
<Constant UId="569">
<ConstantValue UId="571">4</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="572" />
</Component>
</Symbol>
</Access>
</NamelessParameter>
<Token Text=")" UId="574" />
</Instruction>
</Access>
<Token Text=";" UId="575" />
<NewLine UId="576" />
<Access Scope="LocalVariable" UId="577">
<Symbol UId="578">
<Component Name="oDi" UId="579" />
</Symbol>
</Access>
<Blank UId="580" />
<Token Text=":=" UId="581" />
<Blank UId="582" />
<Access Scope="LocalVariable" UId="583">
<Symbol UId="584">
<Component Name="PD" UId="585" />
<Token Text="." UId="586" />
<Component Name="R" UId="587">
<Token Text="[" UId="588" />
<Access Scope="LiteralConstant" UId="589">
<Constant UId="590">
<ConstantValue UId="592">5</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="593" />
</Component>
</Symbol>
</Access>
<Token Text=";" UId="594" />
<NewLine UId="595" />
<Access Scope="LocalVariable" UId="596">
<Symbol UId="597">
<Component Name="oActMode" UId="598" />
</Symbol>
</Access>
<Blank UId="599" />
<Token Text=":=" UId="600" />
<Blank UId="601" />
<Access Scope="Call" UId="602">
<Instruction Name="WORD_TO_INT" UId="603">
<Token Text="(" UId="604" />
<NamelessParameter UId="605">
<Access Scope="LocalVariable" UId="606">
<Symbol UId="607">
<Component Name="PD" UId="608" />
<Token Text="." UId="609" />
<Component Name="R" UId="610">
<Token Text="[" UId="611" />
<Access Scope="LiteralConstant" UId="612">
<Constant UId="613">
<ConstantValue UId="615">6</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="616" />
</Component>
</Symbol>
</Access>
</NamelessParameter>
<Token Text=")" UId="618" />
</Instruction>
</Access>
<Token Text=";" UId="619" />
<NewLine UId="620" />
<LineComment UId="621">
<Text UId="622"> Retour position retracte 8 LOW et 7 HIGH</Text>
</LineComment>
<NewLine UId="623" />
<Access Scope="LocalVariable" UId="624">
<Symbol UId="625">
<Component Name="oActPos" UId="626" />
</Symbol>
</Access>
<Blank UId="627" />
<Token Text=":=" UId="628" />
<Blank UId="629" />
<Token Text="(" UId="630" />
<Access Scope="Call" UId="631">
<Instruction Name="SHL" UId="632">
<Token Text="(" UId="633" />
<Parameter Name="IN" UId="634">
<Blank UId="635" />
<Token Text=":=" UId="636" />
<Blank UId="637" />
<Access Scope="Call" UId="638">
<Instruction Name="WORD_TO_DINT" UId="639">
<Token Text="(" UId="640" />
<NamelessParameter UId="641">
<Access Scope="LocalVariable" UId="642">
<Symbol UId="643">
<Component Name="PD" UId="644" />
<Token Text="." UId="645" />
<Component Name="R" UId="646">
<Token Text="[" UId="647" />
<Access Scope="LiteralConstant" UId="648">
<Constant UId="649">
<ConstantValue UId="651">7</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="652" />
</Component>
</Symbol>
</Access>
</NamelessParameter>
<Token Text=")" UId="654" />
</Instruction>
</Access>
</Parameter>
<Token Text="," UId="655" />
<Blank UId="656" />
<Parameter Name="N" UId="657">
<Blank UId="658" />
<Token Text=":=" UId="659" />
<Blank UId="660" />
<Access Scope="LiteralConstant" UId="661">
<Constant UId="662">
<ConstantValue UId="664">16</ConstantValue>
</Constant>
</Access>
</Parameter>
<Token Text=")" UId="666" />
</Instruction>
</Access>
<Token Text=")" UId="667" />
<Blank UId="668" />
<Token Text="+" UId="669" />
<Blank UId="670" />
<Access Scope="LocalVariable" UId="671">
<Symbol UId="672">
<Component Name="PD" UId="673" />
<Token Text="." UId="674" />
<Component Name="R" UId="675">
<Token Text="[" UId="676" />
<Access Scope="LiteralConstant" UId="677">
<Constant UId="678">
<ConstantValue UId="680">8</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="681" />
</Component>
</Symbol>
</Access>
<Token Text=";" UId="682" />
<NewLine Num="2" UId="683" />
<LineComment UId="684">
<Text UId="685"> Ecritures</Text>
</LineComment>
<NewLine UId="686" />
<Access Scope="LocalVariable" UId="687">
<Symbol UId="688">
<Component Name="PD" UId="689" />
<Token Text="." UId="690" />
<Component Name="R" UId="691">
<Token Text="[" UId="692" />
<Access Scope="LiteralConstant" UId="693">
<Constant UId="694">
<ConstantValue UId="696">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="697" />
</Component>
</Symbol>
</Access>
<Blank UId="698" />
<Token Text=":=" UId="699" />
<Blank UId="700" />
<Access Scope="LiteralConstant" UId="701">
<Constant UId="702">
<ConstantValue UId="704">0</ConstantValue>
</Constant>
</Access>
<Token Text=";" UId="705" />
<Blank UId="706" />
<LineComment UId="707">
<Text UId="708"> Raz bit reserve</Text>
</LineComment>
<NewLine UId="709" />
<Access Scope="LocalVariable" UId="710">
<Symbol UId="711">
<Component Name="TofSecu" UId="712" />
</Symbol>
</Access>
<Access Scope="Call" UId="713">
<Instruction UId="714">
<Token Text="(" UId="715" />
<Parameter Name="IN" UId="716">
<Blank UId="717" />
<Token Text=":=" UId="718" />
<Blank UId="719" />
<Access Scope="LocalVariable" UId="720">
<Symbol UId="721">
<Component Name="iSecu" UId="722" />
</Symbol>
</Access>
</Parameter>
<Token Text="," UId="723" />
<Blank UId="724" />
<Parameter Name="PT" UId="725">
<Blank UId="726" />
<Token Text=":=" UId="727" />
<Blank UId="728" />
<Access Scope="LocalVariable" UId="729">
<Symbol UId="730">
<Component Name="iTpsSecu" UId="731" />
</Symbol>
</Access>
</Parameter>
<Token Text=")" UId="732" />
</Instruction>
</Access>
<Token Text=";" UId="733" />
<NewLine UId="734" />
<Access Scope="LocalVariable" UId="735">
<Symbol UId="736">
<Component Name="PD" UId="737" />
<Token Text="." UId="738" />
<Component Name="W" UId="739">
<Token Text="[" UId="740" />
<Access Scope="LiteralConstant" UId="741">
<Constant UId="742">
<ConstantValue UId="744">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="745" />
</Component>
<Token Text="." UId="746" />
<Token Text="%X0" UId="747" />
</Symbol>
</Access>
<Blank UId="748" />
<Token Text=":=" UId="749" />
<Blank UId="750" />
<Access Scope="LocalVariable" UId="751">
<Symbol UId="752">
<Component Name="TofSecu" UId="753" />
<Token Text="." UId="754" />
<Component Name="Q" UId="755" />
</Symbol>
</Access>
<Token Text=";" UId="756" />
<NewLine UId="757" />
<Access Scope="LocalVariable" UId="758">
<Symbol UId="759">
<Component Name="PD" UId="760" />
<Token Text="." UId="761" />
<Component Name="W" UId="762">
<Token Text="[" UId="763" />
<Access Scope="LiteralConstant" UId="764">
<Constant UId="765">
<ConstantValue UId="767">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="768" />
</Component>
<Token Text="." UId="769" />
<Token Text="%X1" UId="770" />
</Symbol>
</Access>
<Blank UId="771" />
<Token Text=":=" UId="772" />
<Blank UId="773" />
<Access Scope="LocalVariable" UId="774">
<Symbol UId="775">
<Component Name="iEnable" UId="776" />
</Symbol>
</Access>
<Token Text=";" UId="777" />
<NewLine UId="778" />
<Access Scope="LocalVariable" UId="779">
<Symbol UId="780">
<Component Name="PD" UId="781" />
<Token Text="." UId="782" />
<Component Name="W" UId="783">
<Token Text="[" UId="784" />
<Access Scope="LiteralConstant" UId="785">
<Constant UId="786">
<ConstantValue UId="788">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="789" />
</Component>
<Token Text="." UId="790" />
<Token Text="%X3" UId="791" />
</Symbol>
</Access>
<Blank UId="792" />
<Token Text=":=" UId="793" />
<Blank UId="794" />
<Access Scope="LocalVariable" UId="795">
<Symbol UId="796">
<Component Name="iRelBrake" UId="797" />
</Symbol>
</Access>
<Token Text=";" UId="798" />
<NewLine UId="799" />
<Access Scope="LocalVariable" UId="800">
<Symbol UId="801">
<Component Name="PD" UId="802" />
<Token Text="." UId="803" />
<Component Name="W" UId="804">
<Token Text="[" UId="805" />
<Access Scope="LiteralConstant" UId="806">
<Constant UId="807">
<ConstantValue UId="809">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="810" />
</Component>
<Token Text="." UId="811" />
<Token Text="%X4" UId="812" />
</Symbol>
</Access>
<Blank UId="813" />
<Token Text=":=" UId="814" />
<Blank UId="815" />
<Access Scope="LocalVariable" UId="816">
<Symbol UId="817">
<Component Name="iJogP" UId="818" />
</Symbol>
</Access>
<Token Text=";" UId="819" />
<NewLine UId="820" />
<Access Scope="LocalVariable" UId="821">
<Symbol UId="822">
<Component Name="PD" UId="823" />
<Token Text="." UId="824" />
<Component Name="W" UId="825">
<Token Text="[" UId="826" />
<Access Scope="LiteralConstant" UId="827">
<Constant UId="828">
<ConstantValue UId="830">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="831" />
</Component>
<Token Text="." UId="832" />
<Token Text="%X5" UId="833" />
</Symbol>
</Access>
<Blank UId="834" />
<Token Text=":=" UId="835" />
<Blank UId="836" />
<Access Scope="LocalVariable" UId="837">
<Symbol UId="838">
<Component Name="iJogN" UId="839" />
</Symbol>
</Access>
<Token Text=";" UId="840" />
<NewLine UId="841" />
<Access Scope="LocalVariable" UId="842">
<Symbol UId="843">
<Component Name="PD" UId="844" />
<Token Text="." UId="845" />
<Component Name="W" UId="846">
<Token Text="[" UId="847" />
<Access Scope="LiteralConstant" UId="848">
<Constant UId="849">
<ConstantValue UId="851">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="852" />
</Component>
<Token Text="." UId="853" />
<Token Text="%X6" UId="854" />
</Symbol>
</Access>
<Blank UId="855" />
<Token Text=":=" UId="856" />
<Blank UId="857" />
<Access Scope="LocalVariable" UId="858">
<Symbol UId="859">
<Component Name="iNewPos" UId="860" />
</Symbol>
</Access>
<Token Text=";" UId="861" />
<NewLine UId="862" />
<Access Scope="LocalVariable" UId="863">
<Symbol UId="864">
<Component Name="PD" UId="865" />
<Token Text="." UId="866" />
<Component Name="W" UId="867">
<Token Text="[" UId="868" />
<Access Scope="LiteralConstant" UId="869">
<Constant UId="870">
<ConstantValue UId="872">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="873" />
</Component>
<Token Text="." UId="874" />
<Token Text="%X7" UId="875" />
</Symbol>
</Access>
<Blank UId="876" />
<Token Text=":=" UId="877" />
<Blank UId="878" />
<Access Scope="LocalVariable" UId="879">
<Symbol UId="880">
<Component Name="iStart" UId="881" />
</Symbol>
</Access>
<Token Text=";" UId="882" />
<NewLine UId="883" />
<Access Scope="LocalVariable" UId="884">
<Symbol UId="885">
<Component Name="PD" UId="886" />
<Token Text="." UId="887" />
<Component Name="W" UId="888">
<Token Text="[" UId="889" />
<Access Scope="LiteralConstant" UId="890">
<Constant UId="891">
<ConstantValue UId="893">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="894" />
</Component>
<Token Text="." UId="895" />
<Token Text="%X8" UId="896" />
</Symbol>
</Access>
<Blank UId="897" />
<Token Text=":=" UId="898" />
<Blank UId="899" />
<Access Scope="LocalVariable" UId="900">
<Symbol UId="901">
<Component Name="iReset" UId="902" />
</Symbol>
</Access>
<Blank UId="903" />
<Token Text="AND" UId="904" />
<Blank UId="905" />
<Access Scope="LocalVariable" UId="906">
<Symbol UId="907">
<Component Name="oError" UId="908" />
</Symbol>
</Access>
<Token Text=";" UId="909" />
<NewLine UId="910" />
<Access Scope="LocalVariable" UId="911">
<Symbol UId="912">
<Component Name="PD" UId="913" />
<Token Text="." UId="914" />
<Component Name="W" UId="915">
<Token Text="[" UId="916" />
<Access Scope="LiteralConstant" UId="917">
<Constant UId="918">
<ConstantValue UId="920">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="921" />
</Component>
<Token Text="." UId="922" />
<Token Text="%X10" UId="923" />
</Symbol>
</Access>
<Blank UId="924" />
<Token Text=":=" UId="925" />
<Blank UId="926" />
<Access Scope="LocalVariable" UId="927">
<Symbol UId="928">
<Component Name="iSelDrive2" UId="929" />
</Symbol>
</Access>
<Token Text=";" UId="930" />
<NewLine UId="931" />
<Access Scope="LocalVariable" UId="932">
<Symbol UId="933">
<Component Name="PD" UId="934" />
<Token Text="." UId="935" />
<Component Name="W" UId="936">
<Token Text="[" UId="937" />
<Access Scope="LiteralConstant" UId="938">
<Constant UId="939">
<ConstantValue UId="941">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="942" />
</Component>
<Token Text="." UId="943" />
<Token Text="%X12" UId="944" />
</Symbol>
</Access>
<Blank UId="945" />
<Token Text=":=" UId="946" />
<Blank UId="947" />
<Access Scope="LocalVariable" UId="948">
<Symbol UId="949">
<Component Name="iDisLimitSw" UId="950" />
</Symbol>
</Access>
<Token Text=";" UId="951" />
<NewLine UId="952" />
<Access Scope="LocalVariable" UId="953">
<Symbol UId="954">
<Component Name="PD" UId="955" />
<Token Text="." UId="956" />
<Component Name="W" UId="957">
<Token Text="[" UId="958" />
<Access Scope="LiteralConstant" UId="959">
<Constant UId="960">
<ConstantValue UId="962">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="963" />
</Component>
<Token Text="." UId="964" />
<Token Text="%X13" UId="965" />
</Symbol>
</Access>
<Blank UId="966" />
<Token Text=":=" UId="967" />
<Blank UId="968" />
<Access Scope="LocalVariable" UId="969">
<Symbol UId="970">
<Component Name="iInhibit" UId="971" />
</Symbol>
</Access>
<Token Text=";" UId="972" />
<NewLine UId="973" />
<Access Scope="LocalVariable" UId="974">
<Symbol UId="975">
<Component Name="PD" UId="976" />
<Token Text="." UId="977" />
<Component Name="W" UId="978">
<Token Text="[" UId="979" />
<Access Scope="LiteralConstant" UId="980">
<Constant UId="981">
<ConstantValue UId="983">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="984" />
</Component>
<Token Text="." UId="985" />
<Token Text="%X14" UId="986" />
</Symbol>
</Access>
<Blank UId="987" />
<Token Text=":=" UId="988" />
<Blank UId="989" />
<Access Scope="LocalVariable" UId="990">
<Symbol UId="991">
<Component Name="iStby" UId="992" />
</Symbol>
</Access>
<Token Text=";" UId="993" />
<NewLine UId="994" />
<Access Scope="LocalVariable" UId="995">
<Symbol UId="996">
<Component Name="PD" UId="997" />
<Token Text="." UId="998" />
<Component Name="W" UId="999">
<Token Text="[" UId="1000" />
<Access Scope="LiteralConstant" UId="1001">
<Constant UId="1002">
<ConstantValue UId="1004">1</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="1005" />
</Component>
<Token Text="." UId="1006" />
<Token Text="%X15" UId="1007" />
</Symbol>
</Access>
<Blank UId="1008" />
<Token Text=":=" UId="1009" />
<Blank UId="1010" />
<Access Scope="GlobalVariable" UId="1011">
<Symbol UId="1012">
<Component Name="Clock_2Hz" UId="1013">
<BooleanAttribute Name="HasQuotes" UId="1014">true</BooleanAttribute>
</Component>
</Symbol>
</Access>
<Token Text=";" UId="1015" />
<Blank UId="1016" />
<LineComment UId="1017">
<Text UId="1018"> Handshake aller</Text>
</LineComment>
<NewLine UId="1019" />
<Access Scope="LocalVariable" UId="1020">
<Symbol UId="1021">
<Component Name="PD" UId="1022" />
<Token Text="." UId="1023" />
<Component Name="W" UId="1024">
<Token Text="[" UId="1025" />
<Access Scope="LiteralConstant" UId="1026">
<Constant UId="1027">
<ConstantValue UId="1029">2</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="1030" />
</Component>
</Symbol>
</Access>
<Blank UId="1031" />
<Token Text=":=" UId="1032" />
<Blank UId="1033" />
<Access Scope="Call" UId="1034">
<Instruction Name="UINT_TO_WORD" UId="1035">
<Token Text="(" UId="1036" />
<NamelessParameter UId="1037">
<Access Scope="LocalVariable" UId="1038">
<Symbol UId="1039">
<Component Name="iConsVit" UId="1040" />
</Symbol>
</Access>
</NamelessParameter>
<Token Text=")" UId="1042" />
</Instruction>
</Access>
<Token Text=";" UId="1043" />
<NewLine UId="1044" />
<Access Scope="LocalVariable" UId="1045">
<Symbol UId="1046">
<Component Name="PD" UId="1047" />
<Token Text="." UId="1048" />
<Component Name="W" UId="1049">
<Token Text="[" UId="1050" />
<Access Scope="LiteralConstant" UId="1051">
<Constant UId="1052">
<ConstantValue UId="1054">3</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="1055" />
</Component>
</Symbol>
</Access>
<Blank UId="1056" />
<Token Text=":=" UId="1057" />
<Blank UId="1058" />
<Access Scope="Call" UId="1059">
<Instruction Name="UINT_TO_WORD" UId="1060">
<Token Text="(" UId="1061" />
<NamelessParameter UId="1062">
<Access Scope="LocalVariable" UId="1063">
<Symbol UId="1064">
<Component Name="iAccel" UId="1065" />
</Symbol>
</Access>
</NamelessParameter>
<Token Text=")" UId="1067" />
</Instruction>
</Access>
<Token Text=";" UId="1068" />
<NewLine UId="1069" />
<Access Scope="LocalVariable" UId="1070">
<Symbol UId="1071">
<Component Name="PD" UId="1072" />
<Token Text="." UId="1073" />
<Component Name="W" UId="1074">
<Token Text="[" UId="1075" />
<Access Scope="LiteralConstant" UId="1076">
<Constant UId="1077">
<ConstantValue UId="1079">4</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="1080" />
</Component>
</Symbol>
</Access>
<Blank UId="1081" />
<Token Text=":=" UId="1082" />
<Blank UId="1083" />
<Access Scope="Call" UId="1084">
<Instruction Name="UINT_TO_WORD" UId="1085">
<Token Text="(" UId="1086" />
<NamelessParameter UId="1087">
<Access Scope="LocalVariable" UId="1088">
<Symbol UId="1089">
<Component Name="iDecel" UId="1090" />
</Symbol>
</Access>
</NamelessParameter>
<Token Text=")" UId="1092" />
</Instruction>
</Access>
<Token Text=";" UId="1093" />
<NewLine UId="1094" />
<Access Scope="LocalVariable" UId="1095">
<Symbol UId="1096">
<Component Name="PD" UId="1097" />
<Token Text="." UId="1098" />
<Component Name="W" UId="1099">
<Token Text="[" UId="1100" />
<Access Scope="LiteralConstant" UId="1101">
<Constant UId="1102">
<ConstantValue UId="1104">5</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="1105" />
</Component>
</Symbol>
</Access>
<Blank UId="1106" />
<Token Text=":=" UId="1107" />
<Blank UId="1108" />
<Access Scope="LocalVariable" UId="1109">
<Symbol UId="1110">
<Component Name="iwDo" UId="1111" />
</Symbol>
</Access>
<Token Text=";" UId="1112" />
<NewLine UId="1113" />
<Access Scope="LocalVariable" UId="1114">
<Symbol UId="1115">
<Component Name="PD" UId="1116" />
<Token Text="." UId="1117" />
<Component Name="W" UId="1118">
<Token Text="[" UId="1119" />
<Access Scope="LiteralConstant" UId="1120">
<Constant UId="1121">
<ConstantValue UId="1123">6</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="1124" />
</Component>
</Symbol>
</Access>
<Blank UId="1125" />
<Token Text=":=" UId="1126" />
<Blank UId="1127" />
<Access Scope="Call" UId="1128">
<Instruction Name="INT_TO_WORD" UId="1129">
<Token Text="(" UId="1130" />
<NamelessParameter UId="1131">
<Access Scope="LocalVariable" UId="1132">
<Symbol UId="1133">
<Component Name="iMode" UId="1134" />
</Symbol>
</Access>
</NamelessParameter>
<Token Text=")" UId="1136" />
</Instruction>
</Access>
<Token Text=";" UId="1137" />
<NewLine UId="1138" />
<Access Scope="LocalVariable" UId="1139">
<Symbol UId="1140">
<Component Name="PD" UId="1141" />
<Token Text="." UId="1142" />
<Component Name="W" UId="1143">
<Token Text="[" UId="1144" />
<Access Scope="LiteralConstant" UId="1145">
<Constant UId="1146">
<ConstantValue UId="1148">7</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="1149" />
</Component>
</Symbol>
</Access>
<Blank UId="1150" />
<Token Text=":=" UId="1151" />
<Blank UId="1152" />
<Access Scope="Call" UId="1153">
<Instruction Name="DWORD_TO_WORD" UId="1154">
<Token Text="(" UId="1155" />
<NamelessParameter UId="1156">
<Access Scope="Call" UId="1157">
<Instruction Name="SHR" UId="1158">
<Token Text="(" UId="1159" />
<Parameter Name="IN" UId="1160">
<Blank UId="1161" />
<Token Text=":=" UId="1162" />
<Blank UId="1163" />
<Access Scope="Call" UId="1164">
<Instruction Name="DINT_TO_DWORD" UId="1165">
<Token Text="(" UId="1166" />
<NamelessParameter UId="1167">
<Access Scope="LocalVariable" UId="1168">
<Symbol UId="1169">
<Component Name="iConsPos" UId="1170" />
</Symbol>
</Access>
</NamelessParameter>
<Token Text=")" UId="1172" />
</Instruction>
</Access>
</Parameter>
<Token Text="," UId="1173" />
<Blank UId="1174" />
<Parameter Name="N" UId="1175">
<Blank UId="1176" />
<Token Text=":=" UId="1177" />
<Blank UId="1178" />
<Access Scope="LiteralConstant" UId="1179">
<Constant UId="1180">
<ConstantValue UId="1182">16</ConstantValue>
</Constant>
</Access>
</Parameter>
<Token Text=")" UId="1184" />
</Instruction>
</Access>
</NamelessParameter>
<Token Text=")" UId="1186" />
</Instruction>
</Access>
<Token Text=";" UId="1187" />
<Blank UId="1188" />
<LineComment UId="1189">
<Text UId="1190"> HIGH</Text>
</LineComment>
<NewLine UId="1191" />
<Access Scope="LocalVariable" UId="1192">
<Symbol UId="1193">
<Component Name="PD" UId="1194" />
<Token Text="." UId="1195" />
<Component Name="W" UId="1196">
<Token Text="[" UId="1197" />
<Access Scope="LiteralConstant" UId="1198">
<Constant UId="1199">
<ConstantValue UId="1201">8</ConstantValue>
</Constant>
</Access>
<Token Text="]" UId="1202" />
</Component>
</Symbol>
</Access>
<Blank UId="1203" />
<Token Text=":=" UId="1204" />
<Blank UId="1205" />
<Access Scope="Call" UId="1206">
<Instruction Name="DWORD_TO_WORD" UId="1207">
<Token Text="(" UId="1208" />
<NamelessParameter UId="1209">
<Access Scope="Call" UId="1210">
<Instruction Name="DINT_TO_DWORD" UId="1211">
<Token Text="(" UId="1212" />
<NamelessParameter UId="1213">
<Access Scope="LocalVariable" UId="1214">
<Symbol UId="1215">
<Component Name="iConsPos" UId="1216" />
</Symbol>
</Access>
</NamelessParameter>
<Token Text=")" UId="1218" />
</Instruction>
</Access>
<Blank UId="1219" />
<Token Text="AND" UId="1220" />
<Blank UId="1221" />
<Access Scope="LiteralConstant" UId="1222">
<Constant UId="1223">
<ConstantValue UId="1225">16#0000FFFF</ConstantValue>
</Constant>
</Access>
</NamelessParameter>
<Token Text=")" UId="1227" />
</Instruction>
</Access>
<Token Text=";" UId="1228" />
<Blank Num="5" UId="1229" />
<LineComment UId="1230">
<Text UId="1231"> LOW</Text>
</LineComment>
<NewLine Num="2" UId="1232" />
<LineComment UId="1233">
<Text UId="1234">Ecriture sur bus</Text>
</LineComment>
<NewLine UId="1235" />
<Token Text="IF" UId="1236" />
<Blank UId="1237" />
<Access Scope="LocalVariable" UId="1238">
<Symbol UId="1239">
<Component Name="iADDR" UId="1240" />
</Symbol>
</Access>
<Blank UId="1241" />
<Token Text="&gt;" UId="1242" />
<Blank UId="1243" />
<Access Scope="LiteralConstant" UId="1244">
<Constant UId="1245">
<ConstantValue UId="1247">0</ConstantValue>
</Constant>
</Access>
<Blank UId="1248" />
<Token Text="THEN" UId="1249" />
<NewLine UId="1250" />
<Blank Num="4" UId="1251" />
<Access Scope="LocalVariable" UId="1252">
<Symbol UId="1253">
<Component Name="WReturn" UId="1254" />
</Symbol>
</Access>
<Blank UId="1255" />
<Token Text=":=" UId="1256" />
<Blank UId="1257" />
<Access Scope="Call" UId="1258">
<Instruction Name="DPWR_DAT" UId="1259">
<Token Text="(" UId="1260" />
<Parameter Name="LADDR" UId="1261">
<Blank UId="1262" />
<Token Text=":=" UId="1263" />
<Blank UId="1264" />
<Access Scope="LocalVariable" UId="1265">
<Symbol UId="1266">
<Component Name="iADDR" UId="1267" />
</Symbol>
</Access>
</Parameter>
<Token Text="," UId="1268" />
<Blank UId="1269" />
<Parameter Name="RECORD" UId="1270">
<Blank UId="1271" />
<Token Text=":=" UId="1272" />
<Blank UId="1273" />
<Access Scope="LocalVariable" UId="1274">
<Symbol UId="1275">
<Component Name="PD" UId="1276" />
<Token Text="." UId="1277" />
<Component Name="W" UId="1278">
<BooleanAttribute Name="HasHash" UId="1279">true</BooleanAttribute>
</Component>
</Symbol>
</Access>
</Parameter>
<Token Text=")" UId="1281" />
</Instruction>
</Access>
<Token Text=";" UId="1282" />
<NewLine UId="1283" />
<Token Text="END_IF" UId="1284" />
<Token Text=";" UId="1285" />
</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>