1493 lines
46 KiB
XML
1493 lines
46 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="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" />
|
|
</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..5] of Word" />
|
|
<Member Name="W" Datatype="Array[1..5] of Word" />
|
|
</Member>
|
|
<Member Name="TofSecu" Datatype="TOF_TIME" Version="1.0" />
|
|
<Member Name="DefBitVie" Datatype=""fDefBitVie"">
|
|
<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>fVarMcxVd</Name>
|
|
<Namespace />
|
|
<Number>1</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"> Movitrac C Profinet en Velocity Drive</Text>
|
|
</LineComment>
|
|
<NewLine Num="2" UId="23" />
|
|
<LineComment UId="24">
|
|
<Text UId="25">Lecture du bus</Text>
|
|
</LineComment>
|
|
<NewLine UId="26" />
|
|
<Token Text="IF" UId="27" />
|
|
<Blank UId="28" />
|
|
<Access Scope="LocalVariable" UId="29">
|
|
<Symbol UId="30">
|
|
<Component Name="iADDR" UId="31" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="32" />
|
|
<Token Text=">" UId="33" />
|
|
<Blank UId="34" />
|
|
<Access Scope="LiteralConstant" UId="35">
|
|
<Constant UId="36">
|
|
<ConstantValue UId="38">0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Blank UId="39" />
|
|
<Token Text="THEN" UId="40" />
|
|
<NewLine UId="41" />
|
|
<Blank Num="4" UId="42" />
|
|
<Access Scope="LocalVariable" UId="43">
|
|
<Symbol UId="44">
|
|
<Component Name="RReturn" UId="45" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="46" />
|
|
<Token Text=":=" UId="47" />
|
|
<Blank UId="48" />
|
|
<Access Scope="Call" UId="49">
|
|
<Instruction Name="DPRD_DAT" UId="50">
|
|
<Token Text="(" UId="51" />
|
|
<Parameter Name="LADDR" UId="52">
|
|
<Blank UId="53" />
|
|
<Token Text=":=" UId="54" />
|
|
<Blank UId="55" />
|
|
<Access Scope="LocalVariable" UId="56">
|
|
<Symbol UId="57">
|
|
<Component Name="iADDR" UId="58" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text="," UId="59" />
|
|
<Blank UId="60" />
|
|
<Parameter Name="RECORD" UId="61">
|
|
<Blank UId="62" />
|
|
<Token Text="=>" UId="63" />
|
|
<Blank UId="64" />
|
|
<Access Scope="LocalVariable" UId="65">
|
|
<Symbol UId="66">
|
|
<Component Name="PD" UId="67" />
|
|
<Token Text="." UId="68" />
|
|
<Component Name="R" UId="69">
|
|
<BooleanAttribute Name="HasHash" UId="70">true</BooleanAttribute>
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text=")" UId="72" />
|
|
</Instruction>
|
|
</Access>
|
|
<Token Text=";" UId="73" />
|
|
<NewLine UId="74" />
|
|
<Token Text="END_IF" UId="75" />
|
|
<Token Text=";" UId="76" />
|
|
<NewLine Num="2" UId="77" />
|
|
<LineComment UId="78">
|
|
<Text UId="79"> Lectures</Text>
|
|
</LineComment>
|
|
<NewLine UId="80" />
|
|
<Access Scope="LocalVariable" UId="81">
|
|
<Symbol UId="82">
|
|
<Component Name="oRdy" UId="83" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="7" UId="84" />
|
|
<Token Text=":=" UId="85" />
|
|
<Blank UId="86" />
|
|
<Access Scope="LocalVariable" UId="87">
|
|
<Symbol UId="88">
|
|
<Component Name="PD" UId="89" />
|
|
<Token Text="." UId="90" />
|
|
<Component Name="R" UId="91">
|
|
<Token Text="[" UId="92" />
|
|
<Access Scope="LiteralConstant" UId="93">
|
|
<Constant UId="94">
|
|
<ConstantValue UId="96">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="97" />
|
|
</Component>
|
|
<Token Text="." UId="98" />
|
|
<Token Text="%X0" UId="99" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="100" />
|
|
<NewLine UId="101" />
|
|
<Access Scope="LocalVariable" UId="102">
|
|
<Symbol UId="103">
|
|
<Component Name="oSto" UId="104" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="7" UId="105" />
|
|
<Token Text=":=" UId="106" />
|
|
<Blank UId="107" />
|
|
<Access Scope="LocalVariable" UId="108">
|
|
<Symbol UId="109">
|
|
<Component Name="PD" UId="110" />
|
|
<Token Text="." UId="111" />
|
|
<Component Name="R" UId="112">
|
|
<Token Text="[" UId="113" />
|
|
<Access Scope="LiteralConstant" UId="114">
|
|
<Constant UId="115">
|
|
<ConstantValue UId="117">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="118" />
|
|
</Component>
|
|
<Token Text="." UId="119" />
|
|
<Token Text="%X1" UId="120" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="121" />
|
|
<NewLine UId="122" />
|
|
<Access Scope="LocalVariable" UId="123">
|
|
<Symbol UId="124">
|
|
<Component Name="oPow" UId="125" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="7" UId="126" />
|
|
<Token Text=":=" UId="127" />
|
|
<Blank UId="128" />
|
|
<Access Scope="LocalVariable" UId="129">
|
|
<Symbol UId="130">
|
|
<Component Name="PD" UId="131" />
|
|
<Token Text="." UId="132" />
|
|
<Component Name="R" UId="133">
|
|
<Token Text="[" UId="134" />
|
|
<Access Scope="LiteralConstant" UId="135">
|
|
<Constant UId="136">
|
|
<ConstantValue UId="138">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="139" />
|
|
</Component>
|
|
<Token Text="." UId="140" />
|
|
<Token Text="%X2" UId="141" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="142" />
|
|
<NewLine UId="143" />
|
|
<Access Scope="LocalVariable" UId="144">
|
|
<Symbol UId="145">
|
|
<Component Name="oNoBrake" UId="146" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="3" UId="147" />
|
|
<Token Text=":=" UId="148" />
|
|
<Blank UId="149" />
|
|
<Access Scope="LocalVariable" UId="150">
|
|
<Symbol UId="151">
|
|
<Component Name="PD" UId="152" />
|
|
<Token Text="." UId="153" />
|
|
<Component Name="R" UId="154">
|
|
<Token Text="[" UId="155" />
|
|
<Access Scope="LiteralConstant" UId="156">
|
|
<Constant UId="157">
|
|
<ConstantValue UId="159">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="160" />
|
|
</Component>
|
|
<Token Text="." UId="161" />
|
|
<Token Text="%X3" UId="162" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="163" />
|
|
<NewLine UId="164" />
|
|
<Access Scope="LocalVariable" UId="165">
|
|
<Symbol UId="166">
|
|
<Component Name="oRot" UId="167" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="7" UId="168" />
|
|
<Token Text=":=" UId="169" />
|
|
<Blank UId="170" />
|
|
<Access Scope="LocalVariable" UId="171">
|
|
<Symbol UId="172">
|
|
<Component Name="PD" UId="173" />
|
|
<Token Text="." UId="174" />
|
|
<Component Name="R" UId="175">
|
|
<Token Text="[" UId="176" />
|
|
<Access Scope="LiteralConstant" UId="177">
|
|
<Constant UId="178">
|
|
<ConstantValue UId="180">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="181" />
|
|
</Component>
|
|
<Token Text="." UId="182" />
|
|
<Token Text="%X4" UId="183" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="184" />
|
|
<NewLine UId="185" />
|
|
<Access Scope="LocalVariable" UId="186">
|
|
<Symbol UId="187">
|
|
<Component Name="oRefOk" UId="188" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="5" UId="189" />
|
|
<Token Text=":=" UId="190" />
|
|
<Blank UId="191" />
|
|
<Access Scope="LocalVariable" UId="192">
|
|
<Symbol UId="193">
|
|
<Component Name="PD" UId="194" />
|
|
<Token Text="." UId="195" />
|
|
<Component Name="R" UId="196">
|
|
<Token Text="[" UId="197" />
|
|
<Access Scope="LiteralConstant" UId="198">
|
|
<Constant UId="199">
|
|
<ConstantValue UId="201">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="202" />
|
|
</Component>
|
|
<Token Text="." UId="203" />
|
|
<Token Text="%X5" UId="204" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="205" />
|
|
<NewLine UId="206" />
|
|
<Access Scope="LocalVariable" UId="207">
|
|
<Symbol UId="208">
|
|
<Component Name="oNPosAcc" UId="209" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="3" UId="210" />
|
|
<Token Text=":=" UId="211" />
|
|
<Blank UId="212" />
|
|
<Access Scope="LocalVariable" UId="213">
|
|
<Symbol UId="214">
|
|
<Component Name="PD" UId="215" />
|
|
<Token Text="." UId="216" />
|
|
<Component Name="R" UId="217">
|
|
<Token Text="[" UId="218" />
|
|
<Access Scope="LiteralConstant" UId="219">
|
|
<Constant UId="220">
|
|
<ConstantValue UId="222">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="223" />
|
|
</Component>
|
|
<Token Text="." UId="224" />
|
|
<Token Text="%X6" UId="225" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="226" />
|
|
<NewLine UId="227" />
|
|
<Access Scope="LocalVariable" UId="228">
|
|
<Symbol UId="229">
|
|
<Component Name="oInPos" UId="230" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="5" UId="231" />
|
|
<Token Text=":=" UId="232" />
|
|
<Blank UId="233" />
|
|
<Access Scope="LocalVariable" UId="234">
|
|
<Symbol UId="235">
|
|
<Component Name="PD" UId="236" />
|
|
<Token Text="." UId="237" />
|
|
<Component Name="R" UId="238">
|
|
<Token Text="[" UId="239" />
|
|
<Access Scope="LiteralConstant" UId="240">
|
|
<Constant UId="241">
|
|
<ConstantValue UId="243">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="244" />
|
|
</Component>
|
|
<Token Text="." UId="245" />
|
|
<Token Text="%X7" UId="246" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="247" />
|
|
<NewLine UId="248" />
|
|
<Access Scope="LocalVariable" UId="249">
|
|
<Symbol UId="250">
|
|
<Component Name="oError" UId="251" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="5" UId="252" />
|
|
<Token Text=":=" UId="253" />
|
|
<Blank UId="254" />
|
|
<Access Scope="LocalVariable" UId="255">
|
|
<Symbol UId="256">
|
|
<Component Name="PD" UId="257" />
|
|
<Token Text="." UId="258" />
|
|
<Component Name="R" UId="259">
|
|
<Token Text="[" UId="260" />
|
|
<Access Scope="LiteralConstant" UId="261">
|
|
<Constant UId="262">
|
|
<ConstantValue UId="264">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="265" />
|
|
</Component>
|
|
<Token Text="." UId="266" />
|
|
<Token Text="%X8" UId="267" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="268" />
|
|
<NewLine UId="269" />
|
|
<Access Scope="LocalVariable" UId="270">
|
|
<Symbol UId="271">
|
|
<Component Name="oWarn" UId="272" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="6" UId="273" />
|
|
<Token Text=":=" UId="274" />
|
|
<Blank UId="275" />
|
|
<Access Scope="LocalVariable" UId="276">
|
|
<Symbol UId="277">
|
|
<Component Name="PD" UId="278" />
|
|
<Token Text="." UId="279" />
|
|
<Component Name="R" UId="280">
|
|
<Token Text="[" UId="281" />
|
|
<Access Scope="LiteralConstant" UId="282">
|
|
<Constant UId="283">
|
|
<ConstantValue UId="285">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="286" />
|
|
</Component>
|
|
<Token Text="." UId="287" />
|
|
<Token Text="%X9" UId="288" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="289" />
|
|
<NewLine UId="290" />
|
|
<Access Scope="LocalVariable" UId="291">
|
|
<Symbol UId="292">
|
|
<Component Name="oDrive2Active" UId="293" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="294" />
|
|
<Token Text=":=" UId="295" />
|
|
<Blank UId="296" />
|
|
<Access Scope="LocalVariable" UId="297">
|
|
<Symbol UId="298">
|
|
<Component Name="PD" UId="299" />
|
|
<Token Text="." UId="300" />
|
|
<Component Name="R" UId="301">
|
|
<Token Text="[" UId="302" />
|
|
<Access Scope="LiteralConstant" UId="303">
|
|
<Constant UId="304">
|
|
<ConstantValue UId="306">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="307" />
|
|
</Component>
|
|
<Token Text="." UId="308" />
|
|
<Token Text="%X10" UId="309" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="310" />
|
|
<NewLine UId="311" />
|
|
<Access Scope="LocalVariable" UId="312">
|
|
<Symbol UId="313">
|
|
<Component Name="oComparCons" UId="314" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="315" />
|
|
<Token Text=":=" UId="316" />
|
|
<Blank UId="317" />
|
|
<Access Scope="LocalVariable" UId="318">
|
|
<Symbol UId="319">
|
|
<Component Name="PD" UId="320" />
|
|
<Token Text="." UId="321" />
|
|
<Component Name="R" UId="322">
|
|
<Token Text="[" UId="323" />
|
|
<Access Scope="LiteralConstant" UId="324">
|
|
<Constant UId="325">
|
|
<ConstantValue UId="327">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="328" />
|
|
</Component>
|
|
<Token Text="." UId="329" />
|
|
<Token Text="%X11" UId="330" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="331" />
|
|
<NewLine UId="332" />
|
|
<Access Scope="LocalVariable" UId="333">
|
|
<Symbol UId="334">
|
|
<Component Name="oLimitSwDis" UId="335" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="336" />
|
|
<Token Text=":=" UId="337" />
|
|
<Blank UId="338" />
|
|
<Access Scope="LocalVariable" UId="339">
|
|
<Symbol UId="340">
|
|
<Component Name="PD" UId="341" />
|
|
<Token Text="." UId="342" />
|
|
<Component Name="R" UId="343">
|
|
<Token Text="[" UId="344" />
|
|
<Access Scope="LiteralConstant" UId="345">
|
|
<Constant UId="346">
|
|
<ConstantValue UId="348">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="349" />
|
|
</Component>
|
|
<Token Text="." UId="350" />
|
|
<Token Text="%X12" UId="351" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="352" />
|
|
<NewLine UId="353" />
|
|
<Access Scope="LocalVariable" UId="354">
|
|
<Symbol UId="355">
|
|
<Component Name="oStbyOn" UId="356" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank Num="4" UId="357" />
|
|
<Token Text=":=" UId="358" />
|
|
<Blank UId="359" />
|
|
<Access Scope="LocalVariable" UId="360">
|
|
<Symbol UId="361">
|
|
<Component Name="PD" UId="362" />
|
|
<Token Text="." UId="363" />
|
|
<Component Name="R" UId="364">
|
|
<Token Text="[" UId="365" />
|
|
<Access Scope="LiteralConstant" UId="366">
|
|
<Constant UId="367">
|
|
<ConstantValue UId="369">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="370" />
|
|
</Component>
|
|
<Token Text="." UId="371" />
|
|
<Token Text="%X14" UId="372" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="373" />
|
|
<NewLine UId="374" />
|
|
<LineComment UId="375">
|
|
<Text UId="376"> Le bit 15 est recopié en interne dans le var</Text>
|
|
</LineComment>
|
|
<NewLine UId="377" />
|
|
<Access Scope="Call" UId="378">
|
|
<CallInfo UId="379" BlockType="FB" Name="fDefBitVie">
|
|
<Instance Scope="LocalVariable" UId="380">
|
|
<Component Name="DefBitVie" UId="381" />
|
|
</Instance>
|
|
<Token Text="(" UId="382" />
|
|
<Parameter Name="iIn" UId="383">
|
|
<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="%X15" UId="399" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text="," UId="400" />
|
|
<Blank UId="401" />
|
|
<Parameter Name="iDelai" UId="402">
|
|
<Blank UId="403" />
|
|
<Token Text=":=" UId="404" />
|
|
<Blank UId="405" />
|
|
<Access Scope="TypedConstant" UId="406">
|
|
<Constant UId="407">
|
|
<ConstantValue UId="408">T#2s</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text="," UId="409" />
|
|
<Blank UId="410" />
|
|
<Parameter Name="oDef" UId="411">
|
|
<Blank UId="412" />
|
|
<Token Text="=>" UId="413" />
|
|
<Blank UId="414" />
|
|
<Access Scope="LocalVariable" UId="415">
|
|
<Symbol UId="416">
|
|
<Component Name="oDefCom" UId="417" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text=")" UId="418" />
|
|
</CallInfo>
|
|
</Access>
|
|
<Token Text=";" UId="419" />
|
|
<NewLine UId="420" />
|
|
<Access Scope="LocalVariable" UId="421">
|
|
<Symbol UId="422">
|
|
<Component Name="oRetVit" UId="423" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="424" />
|
|
<Token Text=":=" UId="425" />
|
|
<Blank UId="426" />
|
|
<Access Scope="Call" UId="427">
|
|
<Instruction Name="WORD_TO_INT" UId="428">
|
|
<Token Text="(" UId="429" />
|
|
<NamelessParameter UId="430">
|
|
<Access Scope="LocalVariable" UId="431">
|
|
<Symbol UId="432">
|
|
<Component Name="PD" UId="433" />
|
|
<Token Text="." UId="434" />
|
|
<Component Name="R" UId="435">
|
|
<Token Text="[" UId="436" />
|
|
<Access Scope="LiteralConstant" UId="437">
|
|
<Constant UId="438">
|
|
<ConstantValue UId="440">2</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="441" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
</NamelessParameter>
|
|
<Token Text=")" UId="443" />
|
|
</Instruction>
|
|
</Access>
|
|
<Token Text=";" UId="444" />
|
|
<NewLine UId="445" />
|
|
<Token Text="IF" UId="446" />
|
|
<Blank UId="447" />
|
|
<Access Scope="LocalVariable" UId="448">
|
|
<Symbol UId="449">
|
|
<Component Name="oError" UId="450" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="451" />
|
|
<Token Text="THEN" UId="452" />
|
|
<NewLine UId="453" />
|
|
<Blank Num="4" UId="454" />
|
|
<Access Scope="LocalVariable" UId="455">
|
|
<Symbol UId="456">
|
|
<Component Name="oCodeEtat" UId="457" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="458" />
|
|
<Token Text=":=" UId="459" />
|
|
<Blank UId="460" />
|
|
<Access Scope="LiteralConstant" UId="461">
|
|
<Constant UId="462">
|
|
<ConstantValue UId="464">0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=";" UId="465" />
|
|
<NewLine UId="466" />
|
|
<Blank Num="4" UId="467" />
|
|
<Access Scope="LocalVariable" UId="468">
|
|
<Symbol UId="469">
|
|
<Component Name="oCodeDef" UId="470" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="471" />
|
|
<Token Text=":=" UId="472" />
|
|
<Blank UId="473" />
|
|
<Access Scope="LocalVariable" UId="474">
|
|
<Symbol UId="475">
|
|
<Component Name="PD" UId="476" />
|
|
<Token Text="." UId="477" />
|
|
<Component Name="R" UId="478">
|
|
<Token Text="[" UId="479" />
|
|
<Access Scope="LiteralConstant" UId="480">
|
|
<Constant UId="481">
|
|
<ConstantValue UId="483">3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="484" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="485" />
|
|
<NewLine UId="486" />
|
|
<Token Text="ELSE" UId="487" />
|
|
<NewLine UId="488" />
|
|
<Blank Num="4" UId="489" />
|
|
<Access Scope="LocalVariable" UId="490">
|
|
<Symbol UId="491">
|
|
<Component Name="oCodeEtat" UId="492" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="493" />
|
|
<Token Text=":=" UId="494" />
|
|
<Blank UId="495" />
|
|
<Access Scope="LocalVariable" UId="496">
|
|
<Symbol UId="497">
|
|
<Component Name="PD" UId="498" />
|
|
<Token Text="." UId="499" />
|
|
<Component Name="R" UId="500">
|
|
<Token Text="[" UId="501" />
|
|
<Access Scope="LiteralConstant" UId="502">
|
|
<Constant UId="503">
|
|
<ConstantValue UId="505">3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="506" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="507" />
|
|
<NewLine UId="508" />
|
|
<Blank Num="4" UId="509" />
|
|
<Access Scope="LocalVariable" UId="510">
|
|
<Symbol UId="511">
|
|
<Component Name="oCodeDef" UId="512" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="513" />
|
|
<Token Text=":=" UId="514" />
|
|
<Blank UId="515" />
|
|
<Access Scope="LiteralConstant" UId="516">
|
|
<Constant UId="517">
|
|
<ConstantValue UId="519">0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=";" UId="520" />
|
|
<NewLine UId="521" />
|
|
<Token Text="END_IF" UId="522" />
|
|
<Token Text=";" UId="523" />
|
|
<NewLine UId="524" />
|
|
<Access Scope="LocalVariable" UId="525">
|
|
<Symbol UId="526">
|
|
<Component Name="oRetCouple" UId="527" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="528" />
|
|
<Token Text=":=" UId="529" />
|
|
<Blank UId="530" />
|
|
<Access Scope="Call" UId="531">
|
|
<Instruction Name="WORD_TO_INT" UId="532">
|
|
<Token Text="(" UId="533" />
|
|
<NamelessParameter UId="534">
|
|
<Access Scope="LocalVariable" UId="535">
|
|
<Symbol UId="536">
|
|
<Component Name="PD" UId="537" />
|
|
<Token Text="." UId="538" />
|
|
<Component Name="R" UId="539">
|
|
<Token Text="[" UId="540" />
|
|
<Access Scope="LiteralConstant" UId="541">
|
|
<Constant UId="542">
|
|
<ConstantValue UId="544">4</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="545" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
</NamelessParameter>
|
|
<Token Text=")" UId="547" />
|
|
</Instruction>
|
|
</Access>
|
|
<Token Text=";" UId="548" />
|
|
<NewLine UId="549" />
|
|
<Access Scope="LocalVariable" UId="550">
|
|
<Symbol UId="551">
|
|
<Component Name="oDi" UId="552" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="553" />
|
|
<Token Text=":=" UId="554" />
|
|
<Blank UId="555" />
|
|
<Access Scope="LocalVariable" UId="556">
|
|
<Symbol UId="557">
|
|
<Component Name="PD" UId="558" />
|
|
<Token Text="." UId="559" />
|
|
<Component Name="R" UId="560">
|
|
<Token Text="[" UId="561" />
|
|
<Access Scope="LiteralConstant" UId="562">
|
|
<Constant UId="563">
|
|
<ConstantValue UId="565">5</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="566" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="567" />
|
|
<NewLine Num="2" UId="568" />
|
|
<LineComment UId="569">
|
|
<Text UId="570"> Ecritures</Text>
|
|
</LineComment>
|
|
<NewLine UId="571" />
|
|
<Access Scope="LocalVariable" UId="572">
|
|
<Symbol UId="573">
|
|
<Component Name="PD" UId="574" />
|
|
<Token Text="." UId="575" />
|
|
<Component Name="R" UId="576">
|
|
<Token Text="[" UId="577" />
|
|
<Access Scope="LiteralConstant" UId="578">
|
|
<Constant UId="579">
|
|
<ConstantValue UId="581">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="582" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="583" />
|
|
<Token Text=":=" UId="584" />
|
|
<Blank UId="585" />
|
|
<Access Scope="LiteralConstant" UId="586">
|
|
<Constant UId="587">
|
|
<ConstantValue UId="589">0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text=";" UId="590" />
|
|
<Blank UId="591" />
|
|
<LineComment UId="592">
|
|
<Text UId="593"> Raz bit reserve</Text>
|
|
</LineComment>
|
|
<NewLine UId="594" />
|
|
<Access Scope="LocalVariable" UId="595">
|
|
<Symbol UId="596">
|
|
<Component Name="TofSecu" UId="597" />
|
|
</Symbol>
|
|
</Access>
|
|
<Access Scope="Call" UId="598">
|
|
<Instruction UId="599">
|
|
<Token Text="(" UId="600" />
|
|
<Parameter Name="IN" UId="601">
|
|
<Blank UId="602" />
|
|
<Token Text=":=" UId="603" />
|
|
<Blank UId="604" />
|
|
<Access Scope="LocalVariable" UId="605">
|
|
<Symbol UId="606">
|
|
<Component Name="iSecu" UId="607" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text="," UId="608" />
|
|
<Blank UId="609" />
|
|
<Parameter Name="PT" UId="610">
|
|
<Blank UId="611" />
|
|
<Token Text=":=" UId="612" />
|
|
<Blank UId="613" />
|
|
<Access Scope="LocalVariable" UId="614">
|
|
<Symbol UId="615">
|
|
<Component Name="iTpsSecu" UId="616" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text=")" UId="617" />
|
|
</Instruction>
|
|
</Access>
|
|
<Token Text=";" UId="618" />
|
|
<NewLine UId="619" />
|
|
<Access Scope="LocalVariable" UId="620">
|
|
<Symbol UId="621">
|
|
<Component Name="PD" UId="622" />
|
|
<Token Text="." UId="623" />
|
|
<Component Name="W" UId="624">
|
|
<Token Text="[" UId="625" />
|
|
<Access Scope="LiteralConstant" UId="626">
|
|
<Constant UId="627">
|
|
<ConstantValue UId="629">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="630" />
|
|
</Component>
|
|
<Token Text="." UId="631" />
|
|
<Token Text="%X0" UId="632" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="633" />
|
|
<Token Text=":=" UId="634" />
|
|
<Blank UId="635" />
|
|
<Access Scope="LocalVariable" UId="636">
|
|
<Symbol UId="637">
|
|
<Component Name="TofSecu" UId="638" />
|
|
<Token Text="." UId="639" />
|
|
<Component Name="Q" UId="640" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="641" />
|
|
<NewLine UId="642" />
|
|
<Access Scope="LocalVariable" UId="643">
|
|
<Symbol UId="644">
|
|
<Component Name="PD" UId="645" />
|
|
<Token Text="." UId="646" />
|
|
<Component Name="W" UId="647">
|
|
<Token Text="[" UId="648" />
|
|
<Access Scope="LiteralConstant" UId="649">
|
|
<Constant UId="650">
|
|
<ConstantValue UId="652">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="653" />
|
|
</Component>
|
|
<Token Text="." UId="654" />
|
|
<Token Text="%X1" UId="655" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="656" />
|
|
<Token Text=":=" UId="657" />
|
|
<Blank UId="658" />
|
|
<Access Scope="LocalVariable" UId="659">
|
|
<Symbol UId="660">
|
|
<Component Name="iEnable" UId="661" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="662" />
|
|
<NewLine UId="663" />
|
|
<Access Scope="LocalVariable" UId="664">
|
|
<Symbol UId="665">
|
|
<Component Name="PD" UId="666" />
|
|
<Token Text="." UId="667" />
|
|
<Component Name="W" UId="668">
|
|
<Token Text="[" UId="669" />
|
|
<Access Scope="LiteralConstant" UId="670">
|
|
<Constant UId="671">
|
|
<ConstantValue UId="673">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="674" />
|
|
</Component>
|
|
<Token Text="." UId="675" />
|
|
<Token Text="%X3" UId="676" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="677" />
|
|
<Token Text=":=" UId="678" />
|
|
<Blank UId="679" />
|
|
<Access Scope="LocalVariable" UId="680">
|
|
<Symbol UId="681">
|
|
<Component Name="iRelBrake" UId="682" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="683" />
|
|
<NewLine UId="684" />
|
|
<Access Scope="LocalVariable" UId="685">
|
|
<Symbol UId="686">
|
|
<Component Name="PD" UId="687" />
|
|
<Token Text="." UId="688" />
|
|
<Component Name="W" UId="689">
|
|
<Token Text="[" UId="690" />
|
|
<Access Scope="LiteralConstant" UId="691">
|
|
<Constant UId="692">
|
|
<ConstantValue UId="694">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="695" />
|
|
</Component>
|
|
<Token Text="." UId="696" />
|
|
<Token Text="%X4" UId="697" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="698" />
|
|
<Token Text=":=" UId="699" />
|
|
<Blank UId="700" />
|
|
<Access Scope="LocalVariable" UId="701">
|
|
<Symbol UId="702">
|
|
<Component Name="iJogP" UId="703" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="704" />
|
|
<NewLine UId="705" />
|
|
<Access Scope="LocalVariable" UId="706">
|
|
<Symbol UId="707">
|
|
<Component Name="PD" UId="708" />
|
|
<Token Text="." UId="709" />
|
|
<Component Name="W" UId="710">
|
|
<Token Text="[" UId="711" />
|
|
<Access Scope="LiteralConstant" UId="712">
|
|
<Constant UId="713">
|
|
<ConstantValue UId="715">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="716" />
|
|
</Component>
|
|
<Token Text="." UId="717" />
|
|
<Token Text="%X5" UId="718" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="719" />
|
|
<Token Text=":=" UId="720" />
|
|
<Blank UId="721" />
|
|
<Access Scope="LocalVariable" UId="722">
|
|
<Symbol UId="723">
|
|
<Component Name="iJogN" UId="724" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="725" />
|
|
<NewLine UId="726" />
|
|
<Access Scope="LocalVariable" UId="727">
|
|
<Symbol UId="728">
|
|
<Component Name="PD" UId="729" />
|
|
<Token Text="." UId="730" />
|
|
<Component Name="W" UId="731">
|
|
<Token Text="[" UId="732" />
|
|
<Access Scope="LiteralConstant" UId="733">
|
|
<Constant UId="734">
|
|
<ConstantValue UId="736">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="737" />
|
|
</Component>
|
|
<Token Text="." UId="738" />
|
|
<Token Text="%X6" UId="739" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="740" />
|
|
<Token Text=":=" UId="741" />
|
|
<Blank UId="742" />
|
|
<Access Scope="LocalVariable" UId="743">
|
|
<Symbol UId="744">
|
|
<Component Name="iNewPos" UId="745" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="746" />
|
|
<NewLine UId="747" />
|
|
<Access Scope="LocalVariable" UId="748">
|
|
<Symbol UId="749">
|
|
<Component Name="PD" UId="750" />
|
|
<Token Text="." UId="751" />
|
|
<Component Name="W" UId="752">
|
|
<Token Text="[" UId="753" />
|
|
<Access Scope="LiteralConstant" UId="754">
|
|
<Constant UId="755">
|
|
<ConstantValue UId="757">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="758" />
|
|
</Component>
|
|
<Token Text="." UId="759" />
|
|
<Token Text="%X7" UId="760" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="761" />
|
|
<Token Text=":=" UId="762" />
|
|
<Blank UId="763" />
|
|
<Access Scope="LocalVariable" UId="764">
|
|
<Symbol UId="765">
|
|
<Component Name="iStart" UId="766" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="767" />
|
|
<NewLine UId="768" />
|
|
<Access Scope="LocalVariable" UId="769">
|
|
<Symbol UId="770">
|
|
<Component Name="PD" UId="771" />
|
|
<Token Text="." UId="772" />
|
|
<Component Name="W" UId="773">
|
|
<Token Text="[" UId="774" />
|
|
<Access Scope="LiteralConstant" UId="775">
|
|
<Constant UId="776">
|
|
<ConstantValue UId="778">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="779" />
|
|
</Component>
|
|
<Token Text="." UId="780" />
|
|
<Token Text="%X8" UId="781" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="782" />
|
|
<Token Text=":=" UId="783" />
|
|
<Blank UId="784" />
|
|
<Access Scope="LocalVariable" UId="785">
|
|
<Symbol UId="786">
|
|
<Component Name="iReset" UId="787" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="788" />
|
|
<Token Text="AND" UId="789" />
|
|
<Blank UId="790" />
|
|
<Access Scope="LocalVariable" UId="791">
|
|
<Symbol UId="792">
|
|
<Component Name="oError" UId="793" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="794" />
|
|
<NewLine UId="795" />
|
|
<Access Scope="LocalVariable" UId="796">
|
|
<Symbol UId="797">
|
|
<Component Name="PD" UId="798" />
|
|
<Token Text="." UId="799" />
|
|
<Component Name="W" UId="800">
|
|
<Token Text="[" UId="801" />
|
|
<Access Scope="LiteralConstant" UId="802">
|
|
<Constant UId="803">
|
|
<ConstantValue UId="805">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="806" />
|
|
</Component>
|
|
<Token Text="." UId="807" />
|
|
<Token Text="%X10" UId="808" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="809" />
|
|
<Token Text=":=" UId="810" />
|
|
<Blank UId="811" />
|
|
<Access Scope="LocalVariable" UId="812">
|
|
<Symbol UId="813">
|
|
<Component Name="iSelDrive2" UId="814" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="815" />
|
|
<NewLine UId="816" />
|
|
<Access Scope="LocalVariable" UId="817">
|
|
<Symbol UId="818">
|
|
<Component Name="PD" UId="819" />
|
|
<Token Text="." UId="820" />
|
|
<Component Name="W" UId="821">
|
|
<Token Text="[" UId="822" />
|
|
<Access Scope="LiteralConstant" UId="823">
|
|
<Constant UId="824">
|
|
<ConstantValue UId="826">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="827" />
|
|
</Component>
|
|
<Token Text="." UId="828" />
|
|
<Token Text="%X12" UId="829" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="830" />
|
|
<Token Text=":=" UId="831" />
|
|
<Blank UId="832" />
|
|
<Access Scope="LocalVariable" UId="833">
|
|
<Symbol UId="834">
|
|
<Component Name="iDisLimitSw" UId="835" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="836" />
|
|
<NewLine UId="837" />
|
|
<Access Scope="LocalVariable" UId="838">
|
|
<Symbol UId="839">
|
|
<Component Name="PD" UId="840" />
|
|
<Token Text="." UId="841" />
|
|
<Component Name="W" UId="842">
|
|
<Token Text="[" UId="843" />
|
|
<Access Scope="LiteralConstant" UId="844">
|
|
<Constant UId="845">
|
|
<ConstantValue UId="847">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="848" />
|
|
</Component>
|
|
<Token Text="." UId="849" />
|
|
<Token Text="%X13" UId="850" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="851" />
|
|
<Token Text=":=" UId="852" />
|
|
<Blank UId="853" />
|
|
<Access Scope="LocalVariable" UId="854">
|
|
<Symbol UId="855">
|
|
<Component Name="iInhibit" UId="856" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="857" />
|
|
<NewLine UId="858" />
|
|
<Access Scope="LocalVariable" UId="859">
|
|
<Symbol UId="860">
|
|
<Component Name="PD" UId="861" />
|
|
<Token Text="." UId="862" />
|
|
<Component Name="W" UId="863">
|
|
<Token Text="[" UId="864" />
|
|
<Access Scope="LiteralConstant" UId="865">
|
|
<Constant UId="866">
|
|
<ConstantValue UId="868">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="869" />
|
|
</Component>
|
|
<Token Text="." UId="870" />
|
|
<Token Text="%X14" UId="871" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="872" />
|
|
<Token Text=":=" UId="873" />
|
|
<Blank UId="874" />
|
|
<Access Scope="LocalVariable" UId="875">
|
|
<Symbol UId="876">
|
|
<Component Name="iStby" UId="877" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="878" />
|
|
<NewLine UId="879" />
|
|
<Access Scope="LocalVariable" UId="880">
|
|
<Symbol UId="881">
|
|
<Component Name="PD" UId="882" />
|
|
<Token Text="." UId="883" />
|
|
<Component Name="W" UId="884">
|
|
<Token Text="[" UId="885" />
|
|
<Access Scope="LiteralConstant" UId="886">
|
|
<Constant UId="887">
|
|
<ConstantValue UId="889">1</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="890" />
|
|
</Component>
|
|
<Token Text="." UId="891" />
|
|
<Token Text="%X15" UId="892" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="893" />
|
|
<Token Text=":=" UId="894" />
|
|
<Blank UId="895" />
|
|
<Access Scope="GlobalVariable" UId="896">
|
|
<Symbol UId="897">
|
|
<Component Name="Clock_2Hz" UId="898">
|
|
<BooleanAttribute Name="HasQuotes" UId="899">true</BooleanAttribute>
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="900" />
|
|
<NewLine UId="901" />
|
|
<Access Scope="LocalVariable" UId="902">
|
|
<Symbol UId="903">
|
|
<Component Name="PD" UId="904" />
|
|
<Token Text="." UId="905" />
|
|
<Component Name="W" UId="906">
|
|
<Token Text="[" UId="907" />
|
|
<Access Scope="LiteralConstant" UId="908">
|
|
<Constant UId="909">
|
|
<ConstantValue UId="911">2</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="912" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="913" />
|
|
<Token Text=":=" UId="914" />
|
|
<Blank UId="915" />
|
|
<Access Scope="Call" UId="916">
|
|
<Instruction Name="UINT_TO_WORD" UId="917">
|
|
<Token Text="(" UId="918" />
|
|
<NamelessParameter UId="919">
|
|
<Access Scope="LocalVariable" UId="920">
|
|
<Symbol UId="921">
|
|
<Component Name="iConsVit" UId="922" />
|
|
</Symbol>
|
|
</Access>
|
|
</NamelessParameter>
|
|
<Token Text=")" UId="924" />
|
|
</Instruction>
|
|
</Access>
|
|
<Token Text=";" UId="925" />
|
|
<NewLine UId="926" />
|
|
<Access Scope="LocalVariable" UId="927">
|
|
<Symbol UId="928">
|
|
<Component Name="PD" UId="929" />
|
|
<Token Text="." UId="930" />
|
|
<Component Name="W" UId="931">
|
|
<Token Text="[" UId="932" />
|
|
<Access Scope="LiteralConstant" UId="933">
|
|
<Constant UId="934">
|
|
<ConstantValue UId="936">3</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="937" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="938" />
|
|
<Token Text=":=" UId="939" />
|
|
<Blank UId="940" />
|
|
<Access Scope="Call" UId="941">
|
|
<Instruction Name="UINT_TO_WORD" UId="942">
|
|
<Token Text="(" UId="943" />
|
|
<NamelessParameter UId="944">
|
|
<Access Scope="LocalVariable" UId="945">
|
|
<Symbol UId="946">
|
|
<Component Name="iAccel" UId="947" />
|
|
</Symbol>
|
|
</Access>
|
|
</NamelessParameter>
|
|
<Token Text=")" UId="949" />
|
|
</Instruction>
|
|
</Access>
|
|
<Token Text=";" UId="950" />
|
|
<NewLine UId="951" />
|
|
<Access Scope="LocalVariable" UId="952">
|
|
<Symbol UId="953">
|
|
<Component Name="PD" UId="954" />
|
|
<Token Text="." UId="955" />
|
|
<Component Name="W" UId="956">
|
|
<Token Text="[" UId="957" />
|
|
<Access Scope="LiteralConstant" UId="958">
|
|
<Constant UId="959">
|
|
<ConstantValue UId="961">4</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="962" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="963" />
|
|
<Token Text=":=" UId="964" />
|
|
<Blank UId="965" />
|
|
<Access Scope="Call" UId="966">
|
|
<Instruction Name="UINT_TO_WORD" UId="967">
|
|
<Token Text="(" UId="968" />
|
|
<NamelessParameter UId="969">
|
|
<Access Scope="LocalVariable" UId="970">
|
|
<Symbol UId="971">
|
|
<Component Name="iDecel" UId="972" />
|
|
</Symbol>
|
|
</Access>
|
|
</NamelessParameter>
|
|
<Token Text=")" UId="974" />
|
|
</Instruction>
|
|
</Access>
|
|
<Token Text=";" UId="975" />
|
|
<NewLine UId="976" />
|
|
<Access Scope="LocalVariable" UId="977">
|
|
<Symbol UId="978">
|
|
<Component Name="PD" UId="979" />
|
|
<Token Text="." UId="980" />
|
|
<Component Name="W" UId="981">
|
|
<Token Text="[" UId="982" />
|
|
<Access Scope="LiteralConstant" UId="983">
|
|
<Constant UId="984">
|
|
<ConstantValue UId="986">5</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Token Text="]" UId="987" />
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="988" />
|
|
<Token Text=":=" UId="989" />
|
|
<Blank UId="990" />
|
|
<Access Scope="LocalVariable" UId="991">
|
|
<Symbol UId="992">
|
|
<Component Name="iwDo" UId="993" />
|
|
</Symbol>
|
|
</Access>
|
|
<Token Text=";" UId="994" />
|
|
<NewLine Num="2" UId="995" />
|
|
<LineComment UId="996">
|
|
<Text UId="997">Ecriture sur bus</Text>
|
|
</LineComment>
|
|
<NewLine UId="998" />
|
|
<Token Text="IF" UId="999" />
|
|
<Blank UId="1000" />
|
|
<Access Scope="LocalVariable" UId="1001">
|
|
<Symbol UId="1002">
|
|
<Component Name="iADDR" UId="1003" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="1004" />
|
|
<Token Text=">" UId="1005" />
|
|
<Blank UId="1006" />
|
|
<Access Scope="LiteralConstant" UId="1007">
|
|
<Constant UId="1008">
|
|
<ConstantValue UId="1010">0</ConstantValue>
|
|
</Constant>
|
|
</Access>
|
|
<Blank UId="1011" />
|
|
<Token Text="THEN" UId="1012" />
|
|
<NewLine UId="1013" />
|
|
<Blank Num="4" UId="1014" />
|
|
<Access Scope="LocalVariable" UId="1015">
|
|
<Symbol UId="1016">
|
|
<Component Name="WReturn" UId="1017" />
|
|
</Symbol>
|
|
</Access>
|
|
<Blank UId="1018" />
|
|
<Token Text=":=" UId="1019" />
|
|
<Blank UId="1020" />
|
|
<Access Scope="Call" UId="1021">
|
|
<Instruction Name="DPWR_DAT" UId="1022">
|
|
<Token Text="(" UId="1023" />
|
|
<Parameter Name="LADDR" UId="1024">
|
|
<Blank UId="1025" />
|
|
<Token Text=":=" UId="1026" />
|
|
<Blank UId="1027" />
|
|
<Access Scope="LocalVariable" UId="1028">
|
|
<Symbol UId="1029">
|
|
<Component Name="iADDR" UId="1030" />
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text="," UId="1031" />
|
|
<Blank UId="1032" />
|
|
<Parameter Name="RECORD" UId="1033">
|
|
<Blank UId="1034" />
|
|
<Token Text=":=" UId="1035" />
|
|
<Blank UId="1036" />
|
|
<Access Scope="LocalVariable" UId="1037">
|
|
<Symbol UId="1038">
|
|
<Component Name="PD" UId="1039" />
|
|
<Token Text="." UId="1040" />
|
|
<Component Name="W" UId="1041">
|
|
<BooleanAttribute Name="HasHash" UId="1042">true</BooleanAttribute>
|
|
</Component>
|
|
</Symbol>
|
|
</Access>
|
|
</Parameter>
|
|
<Token Text=")" UId="1044" />
|
|
</Instruction>
|
|
</Access>
|
|
<Token Text=";" UId="1045" />
|
|
<NewLine UId="1046" />
|
|
<Token Text="END_IF" UId="1047" />
|
|
<Token Text=";" UId="1048" />
|
|
</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> |