exemples/svghmi_references/plc.xml
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 15 Nov 2022 20:43:39 +0100
branchwxPython4
changeset 3677 6d9040e07c32
parent 3646 db87744d8900
permissions -rw-r--r--
OPC-UA: only support the encryption policy selected in config.

By default open62541 client accepts all supported policies, but in makes problem
when negociating with some servers while most clients seems to only support
one policy at a time.
<?xml version='1.0' encoding='utf-8'?>
<project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201">
  <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2022-09-05T09:02:48"/>
  <contentHeader name="Unnamed" modificationDateTime="2022-10-04T10:59:24">
    <coordinateInfo>
      <fbd>
        <scaling x="5" y="5"/>
      </fbd>
      <ld>
        <scaling x="0" y="0"/>
      </ld>
      <sfc>
        <scaling x="0" y="0"/>
      </sfc>
    </coordinateInfo>
  </contentHeader>
  <types>
    <dataTypes/>
    <pous>
      <pou name="program0" pouType="program">
        <interface>
          <localVars>
            <variable name="LocalVar0">
              <type>
                <INT/>
              </type>
            </variable>
            <variable name="PLCHMIVAR">
              <type>
                <derived name="HMI_INT"/>
              </type>
            </variable>
          </localVars>
        </interface>
        <body>
          <FBD>
            <inVariable localId="31" executionOrderId="0" height="25" width="85" negated="false">
              <position x="175" y="290"/>
              <connectionPointOut>
                <relPosition x="85" y="10"/>
              </connectionPointOut>
              <expression>PLCHMIVAR</expression>
            </inVariable>
            <outVariable localId="30" executionOrderId="0" height="25" width="85" negated="false">
              <position x="330" y="290"/>
              <connectionPointIn>
                <relPosition x="0" y="10"/>
                <connection refLocalId="31">
                  <position x="330" y="300"/>
                  <position x="260" y="300"/>
                </connection>
              </connectionPointIn>
              <expression>LocalVar0</expression>
            </outVariable>
          </FBD>
        </body>
      </pou>
    </pous>
  </types>
  <instances>
    <configurations>
      <configuration name="config">
        <resource name="resource1">
          <task name="task0" priority="0" interval="T#20ms">
            <pouInstance name="instance0" typeName="program0"/>
          </task>
        </resource>
      </configuration>
    </configurations>
  </instances>
</project>