Edouard@3490: <?xml version='1.0' encoding='utf-8'?>
Edouard@3490: <project xmlns:ns1="http://www.plcopen.org/xml/tc6.xsd" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201">
Edouard@3490:   <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2022-05-06T11:12:02"/>
Edouard@3490:   <contentHeader name="Unnamed" modificationDateTime="2022-05-09T09:09:01">
Edouard@3490:     <coordinateInfo>
Edouard@3490:       <fbd>
Edouard@3490:         <scaling x="5" y="5"/>
Edouard@3490:       </fbd>
Edouard@3490:       <ld>
Edouard@3490:         <scaling x="0" y="0"/>
Edouard@3490:       </ld>
Edouard@3490:       <sfc>
Edouard@3490:         <scaling x="0" y="0"/>
Edouard@3490:       </sfc>
Edouard@3490:     </coordinateInfo>
Edouard@3490:   </contentHeader>
Edouard@3490:   <types>
Edouard@3490:     <dataTypes/>
Edouard@3490:     <pous>
Edouard@3490:       <pou name="program0" pouType="program">
Edouard@3490:         <interface>
Edouard@3490:           <localVars>
Edouard@3490:             <variable name="trendval0">
Edouard@3490:               <type>
Edouard@3490:                 <derived name="HMI_REAL"/>
Edouard@3490:               </type>
Edouard@3490:             </variable>
Edouard@3490:             <variable name="trendval1">
Edouard@3490:               <type>
Edouard@3490:                 <derived name="HMI_REAL"/>
Edouard@3490:               </type>
Edouard@3490:             </variable>
Edouard@3490:             <variable name="counter">
Edouard@3490:               <type>
Edouard@3490:                 <INT/>
Edouard@3490:               </type>
Edouard@3490:             </variable>
Edouard@3490:           </localVars>
Edouard@3490:         </interface>
Edouard@3490:         <body>
Edouard@3490:           <FBD>
Edouard@3490:             <outVariable localId="2" executionOrderId="0" height="25" width="95" negated="false">
Edouard@3490:               <position x="910" y="195"/>
Edouard@3490:               <connectionPointIn>
Edouard@3490:                 <relPosition x="0" y="10"/>
Edouard@3490:                 <connection refLocalId="10" formalParameter="OUT">
Edouard@3490:                   <position x="910" y="205"/>
Edouard@3490:                   <position x="885" y="205"/>
Edouard@3490:                 </connection>
Edouard@3490:               </connectionPointIn>
Edouard@3490:               <expression>trendval0</expression>
Edouard@3490:             </outVariable>
Edouard@3490:             <outVariable localId="3" executionOrderId="0" height="25" width="95" negated="false">
Edouard@3490:               <position x="910" y="255"/>
Edouard@3490:               <connectionPointIn>
Edouard@3490:                 <relPosition x="0" y="10"/>
Edouard@3490:                 <connection refLocalId="12" formalParameter="OUT">
Edouard@3490:                   <position x="910" y="265"/>
Edouard@3490:                   <position x="885" y="265"/>
Edouard@3490:                 </connection>
Edouard@3490:               </connectionPointIn>
Edouard@3490:               <expression>trendval1</expression>
Edouard@3490:             </outVariable>
Edouard@3490:             <block localId="4" typeName="ADD" executionOrderId="0" height="75" width="63">
Edouard@3490:               <position x="210" y="190"/>
Edouard@3490:               <inputVariables>
Edouard@3490:                 <variable formalParameter="IN1">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="35"/>
Edouard@3490:                     <connection refLocalId="1">
Edouard@3490:                       <position x="210" y="225"/>
Edouard@3490:                       <position x="140" y="225"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:                 <variable formalParameter="IN2">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="60"/>
Edouard@3490:                     <connection refLocalId="7">
Edouard@3490:                       <position x="210" y="250"/>
Edouard@3490:                       <position x="170" y="250"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:               </inputVariables>
Edouard@3490:               <inOutVariables/>
Edouard@3490:               <outputVariables>
Edouard@3490:                 <variable formalParameter="OUT">
Edouard@3490:                   <connectionPointOut>
Edouard@3490:                     <relPosition x="63" y="35"/>
Edouard@3490:                   </connectionPointOut>
Edouard@3490:                 </variable>
Edouard@3490:               </outputVariables>
Edouard@3490:             </block>
Edouard@3490:             <block localId="5" typeName="SEL" executionOrderId="0" height="80" width="65">
Edouard@3490:               <position x="485" y="175"/>
Edouard@3490:               <inputVariables>
Edouard@3490:                 <variable formalParameter="G">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="30"/>
Edouard@3490:                     <connection refLocalId="6" formalParameter="OUT">
Edouard@3490:                       <position x="485" y="205"/>
Edouard@3490:                       <position x="460" y="205"/>
Edouard@3490:                       <position x="460" y="185"/>
Edouard@3490:                       <position x="435" y="185"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:                 <variable formalParameter="IN0">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="50"/>
Edouard@3490:                     <connection refLocalId="4" formalParameter="OUT">
Edouard@3490:                       <position x="485" y="225"/>
Edouard@3490:                       <position x="273" y="225"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:                 <variable formalParameter="IN1">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="70"/>
Edouard@3490:                     <connection refLocalId="8">
Edouard@3490:                       <position x="485" y="245"/>
Edouard@3490:                       <position x="445" y="245"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:               </inputVariables>
Edouard@3490:               <inOutVariables/>
Edouard@3490:               <outputVariables>
Edouard@3490:                 <variable formalParameter="OUT">
Edouard@3490:                   <connectionPointOut>
Edouard@3490:                     <relPosition x="65" y="30"/>
Edouard@3490:                   </connectionPointOut>
Edouard@3490:                 </variable>
Edouard@3490:               </outputVariables>
Edouard@3490:             </block>
Edouard@3490:             <block localId="6" typeName="GE" executionOrderId="0" height="60" width="65">
Edouard@3490:               <position x="370" y="155"/>
Edouard@3490:               <inputVariables>
Edouard@3490:                 <variable formalParameter="IN1">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="30"/>
Edouard@3490:                     <connection refLocalId="4" formalParameter="OUT">
Edouard@3490:                       <position x="370" y="185"/>
Edouard@3490:                       <position x="306" y="185"/>
Edouard@3490:                       <position x="306" y="225"/>
Edouard@3490:                       <position x="273" y="225"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:                 <variable formalParameter="IN2">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="50"/>
Edouard@3490:                     <connection refLocalId="9">
Edouard@3490:                       <position x="370" y="205"/>
Edouard@3490:                       <position x="350" y="205"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:               </inputVariables>
Edouard@3490:               <inOutVariables/>
Edouard@3490:               <outputVariables>
Edouard@3490:                 <variable formalParameter="OUT">
Edouard@3490:                   <connectionPointOut>
Edouard@3490:                     <relPosition x="65" y="30"/>
Edouard@3490:                   </connectionPointOut>
Edouard@3490:                 </variable>
Edouard@3490:               </outputVariables>
Edouard@3490:             </block>
Edouard@3490:             <inVariable localId="7" executionOrderId="0" height="25" width="20" negated="false">
Edouard@3490:               <position x="150" y="240"/>
Edouard@3490:               <connectionPointOut>
Edouard@3490:                 <relPosition x="20" y="10"/>
Edouard@3490:               </connectionPointOut>
Edouard@3490:               <expression>1</expression>
Edouard@3490:             </inVariable>
Edouard@3490:             <inVariable localId="8" executionOrderId="0" height="25" width="20" negated="false">
Edouard@3490:               <position x="425" y="235"/>
Edouard@3490:               <connectionPointOut>
Edouard@3490:                 <relPosition x="20" y="10"/>
Edouard@3490:               </connectionPointOut>
Edouard@3490:               <expression>0</expression>
Edouard@3490:             </inVariable>
Edouard@3490:             <inVariable localId="9" executionOrderId="0" height="25" width="35" negated="false">
Edouard@3490:               <position x="315" y="195"/>
Edouard@3490:               <connectionPointOut>
Edouard@3490:                 <relPosition x="35" y="10"/>
Edouard@3490:               </connectionPointOut>
Edouard@3490:               <expression>360</expression>
Edouard@3490:             </inVariable>
Edouard@3490:             <block localId="10" typeName="COS" executionOrderId="0" height="40" width="60">
Edouard@3490:               <position x="825" y="175"/>
Edouard@3490:               <inputVariables>
Edouard@3490:                 <variable formalParameter="IN">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="30"/>
Edouard@3490:                     <connection refLocalId="14" formalParameter="OUT">
Edouard@3490:                       <position x="825" y="205"/>
Edouard@3490:                       <position x="785" y="205"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:               </inputVariables>
Edouard@3490:               <inOutVariables/>
Edouard@3490:               <outputVariables>
Edouard@3490:                 <variable formalParameter="OUT">
Edouard@3490:                   <connectionPointOut>
Edouard@3490:                     <relPosition x="60" y="30"/>
Edouard@3490:                   </connectionPointOut>
Edouard@3490:                 </variable>
Edouard@3490:               </outputVariables>
Edouard@3490:             </block>
Edouard@3490:             <block localId="11" typeName="INT_TO_REAL" executionOrderId="0" height="40" width="100">
Edouard@3490:               <position x="585" y="175"/>
Edouard@3490:               <inputVariables>
Edouard@3490:                 <variable formalParameter="IN">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="30"/>
Edouard@3490:                     <connection refLocalId="5" formalParameter="OUT">
Edouard@3490:                       <position x="585" y="205"/>
Edouard@3490:                       <position x="550" y="205"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:               </inputVariables>
Edouard@3490:               <inOutVariables/>
Edouard@3490:               <outputVariables>
Edouard@3490:                 <variable formalParameter="OUT">
Edouard@3490:                   <connectionPointOut>
Edouard@3490:                     <relPosition x="100" y="30"/>
Edouard@3490:                   </connectionPointOut>
Edouard@3490:                 </variable>
Edouard@3490:               </outputVariables>
Edouard@3490:             </block>
Edouard@3490:             <block localId="12" typeName="SIN" executionOrderId="0" height="40" width="60">
Edouard@3490:               <position x="825" y="235"/>
Edouard@3490:               <inputVariables>
Edouard@3490:                 <variable formalParameter="IN">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="30"/>
Edouard@3490:                     <connection refLocalId="14" formalParameter="OUT">
Edouard@3490:                       <position x="825" y="265"/>
Edouard@3490:                       <position x="805" y="265"/>
Edouard@3490:                       <position x="805" y="205"/>
Edouard@3490:                       <position x="785" y="205"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:               </inputVariables>
Edouard@3490:               <inOutVariables/>
Edouard@3490:               <outputVariables>
Edouard@3490:                 <variable formalParameter="OUT">
Edouard@3490:                   <connectionPointOut>
Edouard@3490:                     <relPosition x="60" y="30"/>
Edouard@3490:                   </connectionPointOut>
Edouard@3490:                 </variable>
Edouard@3490:               </outputVariables>
Edouard@3490:             </block>
Edouard@3490:             <inOutVariable localId="1" executionOrderId="0" height="25" width="70" negatedOut="false" negatedIn="false">
Edouard@3490:               <position x="70" y="215"/>
Edouard@3490:               <connectionPointIn>
Edouard@3490:                 <relPosition x="0" y="10"/>
Edouard@3490:                 <connection refLocalId="5" formalParameter="OUT">
Edouard@3490:                   <position x="70" y="225"/>
Edouard@3490:                   <position x="60" y="225"/>
Edouard@3490:                   <position x="60" y="285"/>
Edouard@3490:                   <position x="560" y="285"/>
Edouard@3490:                   <position x="560" y="205"/>
Edouard@3490:                   <position x="550" y="205"/>
Edouard@3490:                 </connection>
Edouard@3490:               </connectionPointIn>
Edouard@3490:               <connectionPointOut>
Edouard@3490:                 <relPosition x="70" y="10"/>
Edouard@3490:               </connectionPointOut>
Edouard@3490:               <expression>counter</expression>
Edouard@3490:             </inOutVariable>
Edouard@3490:             <comment localId="13" height="110" width="285">
Edouard@3490:               <position x="40" y="25"/>
Edouard@3490:               <content>
Edouard@3490:                 <xhtml:p><![CDATA[Generate values for curves]]></xhtml:p>
Edouard@3490:               </content>
Edouard@3490:             </comment>
Edouard@3490:             <block localId="14" typeName="DIV" executionOrderId="0" height="60" width="65">
Edouard@3490:               <position x="720" y="175"/>
Edouard@3490:               <inputVariables>
Edouard@3490:                 <variable formalParameter="IN1">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="30"/>
Edouard@3490:                     <connection refLocalId="11" formalParameter="OUT">
Edouard@3490:                       <position x="720" y="205"/>
Edouard@3490:                       <position x="685" y="205"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:                 <variable formalParameter="IN2">
Edouard@3490:                   <connectionPointIn>
Edouard@3490:                     <relPosition x="0" y="50"/>
Edouard@3490:                     <connection refLocalId="15">
Edouard@3490:                       <position x="720" y="225"/>
Edouard@3490:                       <position x="685" y="225"/>
Edouard@3490:                     </connection>
Edouard@3490:                   </connectionPointIn>
Edouard@3490:                 </variable>
Edouard@3490:               </inputVariables>
Edouard@3490:               <inOutVariables/>
Edouard@3490:               <outputVariables>
Edouard@3490:                 <variable formalParameter="OUT">
Edouard@3490:                   <connectionPointOut>
Edouard@3490:                     <relPosition x="65" y="30"/>
Edouard@3490:                   </connectionPointOut>
Edouard@3490:                 </variable>
Edouard@3490:               </outputVariables>
Edouard@3490:             </block>
Edouard@3490:             <inVariable localId="15" executionOrderId="0" height="25" width="70" negated="false">
Edouard@3490:               <position x="615" y="215"/>
Edouard@3490:               <connectionPointOut>
Edouard@3490:                 <relPosition x="70" y="10"/>
Edouard@3490:               </connectionPointOut>
Edouard@3490:               <expression>57.2958</expression>
Edouard@3490:             </inVariable>
Edouard@3490:           </FBD>
Edouard@3490:         </body>
Edouard@3490:       </pou>
Edouard@3490:     </pous>
Edouard@3490:   </types>
Edouard@3490:   <instances>
Edouard@3490:     <configurations>
Edouard@3490:       <configuration name="config">
Edouard@3490:         <resource name="resource1">
Edouard@3490:           <task name="task0" priority="0" interval="T#20ms">
Edouard@3490:             <pouInstance name="instance0" typeName="program0"/>
Edouard@3490:           </task>
Edouard@3490:         </resource>
Edouard@3490:       </configuration>
Edouard@3490:     </configurations>
Edouard@3490:   </instances>
Edouard@3490: </project>