tests/projects/svghmi_i18n/plc.xml
author Edouard Tisserant
Wed, 01 Mar 2023 10:54:54 +0100
changeset 3740 ac0e6de439b5
parent 3416 53c66c4aefa3
permissions -rw-r--r--
Linux runtime: overrun detection for real-time timers and for plc execution.

If real-time timer wakes-up PLC thread too late (10% over period), then
warning is logged.

If PLC code (IO retreive, execution, IO publish) takes longer than requested
PLC execution cycle, then warning is logged, and CPU hoogging is mitigated
by delaying next PLC execution a few cylces more until having at least
1ms minimal idle time.
3132
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     2
<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">
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     3
  <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2019-08-06T14:23:42"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     4
  <contentHeader name="Unnamed" modificationDateTime="2021-01-19T09:52:38">
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     5
    <coordinateInfo>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     6
      <fbd>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     7
        <scaling x="5" y="5"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     8
      </fbd>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     9
      <ld>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    10
        <scaling x="0" y="0"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    11
      </ld>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    12
      <sfc>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    13
        <scaling x="0" y="0"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    14
      </sfc>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    15
    </coordinateInfo>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    16
  </contentHeader>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    17
  <types>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    18
    <dataTypes/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    19
    <pous>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    20
      <pou name="MainStuff" pouType="program">
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    21
        <interface>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    22
          <localVars>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    23
            <variable name="TargetPressure">
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    24
              <type>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    25
                <derived name="HMI_INT"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    26
              </type>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    27
            </variable>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    28
            <variable name="selection">
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    29
              <type>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    30
                <derived name="HMI_INT"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    31
              </type>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    32
            </variable>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    33
          </localVars>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    34
        </interface>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    35
        <body>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    36
          <FBD>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    37
            <inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false">
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    38
              <position x="445" y="65"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    39
              <connectionPointOut>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    40
                <relPosition x="125" y="15"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    41
              </connectionPointOut>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    42
              <expression>TargetPressure</expression>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    43
            </inVariable>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    44
            <outVariable localId="10" executionOrderId="0" height="25" width="85" negated="false">
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    45
              <position x="710" y="105"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    46
              <connectionPointIn>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    47
                <relPosition x="0" y="10"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    48
                <connection refLocalId="5">
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    49
                  <position x="710" y="115"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    50
                  <position x="640" y="115"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    51
                  <position x="640" y="80"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    52
                  <position x="570" y="80"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    53
                </connection>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    54
              </connectionPointIn>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    55
              <expression>selection</expression>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    56
            </outVariable>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    57
          </FBD>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    58
        </body>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    59
      </pou>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    60
    </pous>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    61
  </types>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    62
  <instances>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    63
    <configurations>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    64
      <configuration name="config">
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    65
        <resource name="resource1">
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    66
          <task name="task0" priority="0" interval="T#20ms">
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    67
            <pouInstance name="instance0" typeName="MainStuff"/>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    68
          </task>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    69
        </resource>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    70
      </configuration>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    71
    </configurations>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    72
  </instances>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    73
</project>