author | Edouard Tisserant <edouard@beremiz.fr> |
Wed, 27 Nov 2024 16:05:26 +0100 | |
changeset 4047 | 5234d06f62ee |
parent 3749 | fda6c1a37662 |
child 4050 | b27df24a0ea8 |
permissions | -rw-r--r-- |
3749
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1 |
<?xml version='1.0' encoding='utf-8'?> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
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"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
3 |
<fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2023-03-11T14:33:27"/> |
4047
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
4 |
<contentHeader name="Unnamed" modificationDateTime="2024-11-27T15:23:14"> |
3749
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
5 |
<coordinateInfo> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
6 |
<fbd> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
7 |
<scaling x="8" y="8"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
8 |
</fbd> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
9 |
<ld> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
10 |
<scaling x="0" y="0"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
11 |
</ld> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
12 |
<sfc> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
13 |
<scaling x="0" y="0"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
14 |
</sfc> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
15 |
</coordinateInfo> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
16 |
</contentHeader> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
17 |
<types> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
18 |
<dataTypes/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
19 |
<pous> |
4047
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
20 |
<pou name="FLOW_CONTROL_TEST" pouType="functionBlock"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
21 |
<interface> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
22 |
<outputVars> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
23 |
<variable name="RESULT"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
24 |
<type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
25 |
<string/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
26 |
</type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
27 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
28 |
</outputVars> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
29 |
<localVars> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
30 |
<variable name="WORDS"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
31 |
<type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
32 |
<array> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
33 |
<dimension lower="1" upper="10"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
34 |
<baseType> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
35 |
<INT/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
36 |
</baseType> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
37 |
</array> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
38 |
</type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
39 |
<initialValue> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
40 |
<arrayValue> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
41 |
<value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
42 |
<simpleValue value="0"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
43 |
</value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
44 |
<value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
45 |
<simpleValue value="0"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
46 |
</value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
47 |
<value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
48 |
<simpleValue value="0"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
49 |
</value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
50 |
<value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
51 |
<simpleValue value="0"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
52 |
</value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
53 |
<value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
54 |
<simpleValue value="0"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
55 |
</value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
56 |
<value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
57 |
<simpleValue value="0"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
58 |
</value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
59 |
<value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
60 |
<simpleValue value="0"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
61 |
</value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
62 |
<value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
63 |
<simpleValue value="0"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
64 |
</value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
65 |
<value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
66 |
<simpleValue value="0"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
67 |
</value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
68 |
<value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
69 |
<simpleValue value="0"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
70 |
</value> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
71 |
</arrayValue> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
72 |
</initialValue> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
73 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
74 |
<variable name="J"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
75 |
<type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
76 |
<BOOL/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
77 |
</type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
78 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
79 |
<variable name="I"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
80 |
<type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
81 |
<INT/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
82 |
</type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
83 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
84 |
</localVars> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
85 |
</interface> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
86 |
<body> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
87 |
<ST> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
88 |
<xhtml:p><![CDATA[(* FOR loop test s *) |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
89 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
90 |
RESULT := 'Single iteration FOR loop'; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
91 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
92 |
J := FALSE; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
93 |
FOR I:= 1 TO 1 DO |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
94 |
J := TRUE; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
95 |
END_FOR; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
96 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
97 |
IF NOT J THEN RETURN; END_IF; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
98 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
99 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
100 |
RESULT := 'By 2 FOR loop'; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
101 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
102 |
J := TRUE; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
103 |
FOR I:= 2 TO 10 BY 2 DO |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
104 |
WORDS[I] := I; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
105 |
END_FOR; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
106 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
107 |
J := J AND WORDS[1] = 0; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
108 |
J := J AND WORDS[2] = 2; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
109 |
J := J AND WORDS[3] = 0; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
110 |
J := J AND WORDS[4] = 4; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
111 |
J := J AND WORDS[5] = 0; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
112 |
J := J AND WORDS[6] = 6; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
113 |
J := J AND WORDS[7] = 0; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
114 |
J := J AND WORDS[8] = 8; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
115 |
J := J AND WORDS[9] = 0; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
116 |
J := J AND WORDS[10] = 10; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
117 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
118 |
IF NOT J THEN RETURN; END_IF; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
119 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
120 |
RESULT := 'By 2 FOR loop with CONTINUE'; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
121 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
122 |
J := TRUE; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
123 |
FOR I:= 1 TO 10 BY 2 DO |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
124 |
IF I = 5 THEN |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
125 |
CONTINUE; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
126 |
END_IF; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
127 |
WORDS[I] := I; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
128 |
END_FOR; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
129 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
130 |
J := J AND WORDS[1] = 1; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
131 |
J := J AND WORDS[2] = 2; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
132 |
J := J AND WORDS[3] = 3; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
133 |
J := J AND WORDS[4] = 4; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
134 |
J := J AND WORDS[5] = 0; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
135 |
J := J AND WORDS[6] = 6; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
136 |
J := J AND WORDS[7] = 7; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
137 |
J := J AND WORDS[8] = 8; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
138 |
J := J AND WORDS[9] = 9; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
139 |
J := J AND WORDS[10] = 10; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
140 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
141 |
IF NOT J THEN RETURN; END_IF; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
142 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
143 |
(* TODO: CONTINUE EXIT WHILE REPEAT *) |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
144 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
145 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
146 |
RESULT := 'OK'; |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
147 |
|
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
148 |
]]></xhtml:p> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
149 |
</ST> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
150 |
</body> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
151 |
</pou> |
3749
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
152 |
<pou name="CONVERSION_TEST" pouType="functionBlock"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
153 |
<interface> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
154 |
<outputVars> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
155 |
<variable name="RESULT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
156 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
157 |
<string/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
158 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
159 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
160 |
</outputVars> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
161 |
</interface> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
162 |
<body> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
163 |
<ST> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
164 |
<xhtml:p><![CDATA[ |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
165 |
(* Code generated by gen_vonversion.py, |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
166 |
fixed by hand for corner cases *) |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
167 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
168 |
(* 240 conversions from literals tested *) |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
169 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
170 |
(* Tested types |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
171 |
BOOL, SINT, USINT, BYTE, STRING, INT, UINT, |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
172 |
WORD, DINT, UDINT, DWORD, LINT, ULINT, LWORD, |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
173 |
REAL, LREAL *) |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
174 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
175 |
(* TODO: test TIME, TOD, DATE and DT *) |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
176 |
(* TODO: similar test with values that tiggers overflow *) |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
177 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
178 |
RESULT := 'BOOL_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
179 |
IF BOOL_TO_SINT(BOOL#TRUE) <> SINT#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
180 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
181 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
182 |
RESULT := 'BOOL_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
183 |
IF BOOL_TO_USINT(BOOL#TRUE) <> USINT#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
184 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
185 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
186 |
RESULT := 'BOOL_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
187 |
IF BOOL_TO_BYTE(BOOL#TRUE) <> BYTE#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
188 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
189 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
190 |
RESULT := 'BOOL_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
191 |
IF BOOL_TO_STRING(BOOL#TRUE) <> 'TRUE' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
192 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
193 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
194 |
RESULT := 'BOOL_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
195 |
IF BOOL_TO_INT(BOOL#TRUE) <> INT#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
196 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
197 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
198 |
RESULT := 'BOOL_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
199 |
IF BOOL_TO_UINT(BOOL#TRUE) <> UINT#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
200 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
201 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
202 |
RESULT := 'BOOL_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
203 |
IF BOOL_TO_WORD(BOOL#TRUE) <> WORD#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
204 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
205 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
206 |
RESULT := 'BOOL_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
207 |
IF BOOL_TO_DINT(BOOL#TRUE) <> DINT#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
208 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
209 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
210 |
RESULT := 'BOOL_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
211 |
IF BOOL_TO_UDINT(BOOL#TRUE) <> UDINT#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
212 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
213 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
214 |
RESULT := 'BOOL_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
215 |
IF BOOL_TO_DWORD(BOOL#TRUE) <> DWORD#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
216 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
217 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
218 |
RESULT := 'BOOL_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
219 |
IF BOOL_TO_LINT(BOOL#TRUE) <> LINT#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
220 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
221 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
222 |
RESULT := 'BOOL_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
223 |
IF BOOL_TO_ULINT(BOOL#TRUE) <> ULINT#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
224 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
225 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
226 |
RESULT := 'BOOL_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
227 |
IF BOOL_TO_LWORD(BOOL#TRUE) <> LWORD#1 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
228 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
229 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
230 |
RESULT := 'BOOL_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
231 |
IF BOOL_TO_REAL(BOOL#TRUE) <> REAL#1.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
232 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
233 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
234 |
RESULT := 'BOOL_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
235 |
IF BOOL_TO_LREAL(BOOL#TRUE) <> LREAL#1.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
236 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
237 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
238 |
RESULT := 'SINT_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
239 |
IF SINT_TO_BOOL(SINT#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
240 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
241 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
242 |
RESULT := 'SINT_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
243 |
IF SINT_TO_USINT(SINT#42) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
244 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
245 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
246 |
RESULT := 'SINT_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
247 |
IF SINT_TO_BYTE(SINT#42) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
248 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
249 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
250 |
RESULT := 'SINT_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
251 |
IF SINT_TO_STRING(SINT#42) <> '42' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
252 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
253 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
254 |
RESULT := 'SINT_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
255 |
IF SINT_TO_INT(SINT#42) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
256 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
257 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
258 |
RESULT := 'SINT_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
259 |
IF SINT_TO_UINT(SINT#42) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
260 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
261 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
262 |
RESULT := 'SINT_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
263 |
IF SINT_TO_WORD(SINT#42) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
264 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
265 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
266 |
RESULT := 'SINT_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
267 |
IF SINT_TO_DINT(SINT#42) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
268 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
269 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
270 |
RESULT := 'SINT_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
271 |
IF SINT_TO_UDINT(SINT#42) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
272 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
273 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
274 |
RESULT := 'SINT_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
275 |
IF SINT_TO_DWORD(SINT#42) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
276 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
277 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
278 |
RESULT := 'SINT_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
279 |
IF SINT_TO_LINT(SINT#42) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
280 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
281 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
282 |
RESULT := 'SINT_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
283 |
IF SINT_TO_ULINT(SINT#42) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
284 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
285 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
286 |
RESULT := 'SINT_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
287 |
IF SINT_TO_LWORD(SINT#42) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
288 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
289 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
290 |
RESULT := 'SINT_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
291 |
IF SINT_TO_REAL(SINT#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
292 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
293 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
294 |
RESULT := 'SINT_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
295 |
IF SINT_TO_LREAL(SINT#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
296 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
297 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
298 |
RESULT := 'USINT_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
299 |
IF USINT_TO_BOOL(USINT#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
300 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
301 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
302 |
RESULT := 'USINT_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
303 |
IF USINT_TO_SINT(USINT#42) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
304 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
305 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
306 |
RESULT := 'USINT_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
307 |
IF USINT_TO_BYTE(USINT#42) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
308 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
309 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
310 |
RESULT := 'USINT_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
311 |
IF USINT_TO_STRING(USINT#42) <> '42' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
312 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
313 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
314 |
RESULT := 'USINT_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
315 |
IF USINT_TO_INT(USINT#42) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
316 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
317 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
318 |
RESULT := 'USINT_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
319 |
IF USINT_TO_UINT(USINT#42) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
320 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
321 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
322 |
RESULT := 'USINT_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
323 |
IF USINT_TO_WORD(USINT#42) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
324 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
325 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
326 |
RESULT := 'USINT_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
327 |
IF USINT_TO_DINT(USINT#42) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
328 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
329 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
330 |
RESULT := 'USINT_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
331 |
IF USINT_TO_UDINT(USINT#42) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
332 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
333 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
334 |
RESULT := 'USINT_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
335 |
IF USINT_TO_DWORD(USINT#42) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
336 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
337 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
338 |
RESULT := 'USINT_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
339 |
IF USINT_TO_LINT(USINT#42) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
340 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
341 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
342 |
RESULT := 'USINT_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
343 |
IF USINT_TO_ULINT(USINT#42) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
344 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
345 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
346 |
RESULT := 'USINT_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
347 |
IF USINT_TO_LWORD(USINT#42) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
348 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
349 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
350 |
RESULT := 'USINT_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
351 |
IF USINT_TO_REAL(USINT#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
352 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
353 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
354 |
RESULT := 'USINT_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
355 |
IF USINT_TO_LREAL(USINT#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
356 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
357 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
358 |
RESULT := 'BYTE_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
359 |
IF BYTE_TO_BOOL(BYTE#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
360 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
361 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
362 |
RESULT := 'BYTE_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
363 |
IF BYTE_TO_SINT(BYTE#42) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
364 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
365 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
366 |
RESULT := 'BYTE_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
367 |
IF BYTE_TO_USINT(BYTE#42) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
368 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
369 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
370 |
RESULT := 'BYTE_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
371 |
IF BYTE_TO_STRING(BYTE#42) <> '16#2a' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
372 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
373 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
374 |
RESULT := 'BYTE_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
375 |
IF BYTE_TO_INT(BYTE#42) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
376 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
377 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
378 |
RESULT := 'BYTE_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
379 |
IF BYTE_TO_UINT(BYTE#42) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
380 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
381 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
382 |
RESULT := 'BYTE_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
383 |
IF BYTE_TO_WORD(BYTE#42) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
384 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
385 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
386 |
RESULT := 'BYTE_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
387 |
IF BYTE_TO_DINT(BYTE#42) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
388 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
389 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
390 |
RESULT := 'BYTE_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
391 |
IF BYTE_TO_UDINT(BYTE#42) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
392 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
393 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
394 |
RESULT := 'BYTE_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
395 |
IF BYTE_TO_DWORD(BYTE#42) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
396 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
397 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
398 |
RESULT := 'BYTE_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
399 |
IF BYTE_TO_LINT(BYTE#42) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
400 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
401 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
402 |
RESULT := 'BYTE_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
403 |
IF BYTE_TO_ULINT(BYTE#42) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
404 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
405 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
406 |
RESULT := 'BYTE_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
407 |
IF BYTE_TO_LWORD(BYTE#42) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
408 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
409 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
410 |
RESULT := 'BYTE_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
411 |
IF BYTE_TO_REAL(BYTE#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
412 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
413 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
414 |
RESULT := 'BYTE_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
415 |
IF BYTE_TO_LREAL(BYTE#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
416 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
417 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
418 |
RESULT := 'STRING_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
419 |
IF STRING_TO_BOOL('42') <> BOOL#FALSE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
420 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
421 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
422 |
RESULT := 'STRING_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
423 |
IF STRING_TO_SINT('42') <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
424 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
425 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
426 |
RESULT := 'STRING_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
427 |
IF STRING_TO_USINT('42') <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
428 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
429 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
430 |
RESULT := 'STRING_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
431 |
IF STRING_TO_BYTE('42') <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
432 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
433 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
434 |
RESULT := 'STRING_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
435 |
IF STRING_TO_INT('42') <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
436 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
437 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
438 |
RESULT := 'STRING_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
439 |
IF STRING_TO_UINT('42') <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
440 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
441 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
442 |
RESULT := 'STRING_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
443 |
IF STRING_TO_WORD('42') <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
444 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
445 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
446 |
RESULT := 'STRING_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
447 |
IF STRING_TO_DINT('42') <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
448 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
449 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
450 |
RESULT := 'STRING_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
451 |
IF STRING_TO_UDINT('42') <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
452 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
453 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
454 |
RESULT := 'STRING_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
455 |
IF STRING_TO_DWORD('42') <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
456 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
457 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
458 |
RESULT := 'STRING_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
459 |
IF STRING_TO_LINT('42') <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
460 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
461 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
462 |
RESULT := 'STRING_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
463 |
IF STRING_TO_ULINT('42') <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
464 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
465 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
466 |
RESULT := 'STRING_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
467 |
IF STRING_TO_LWORD('42') <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
468 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
469 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
470 |
RESULT := 'STRING_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
471 |
IF STRING_TO_REAL('42') <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
472 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
473 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
474 |
RESULT := 'STRING_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
475 |
IF STRING_TO_LREAL('42') <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
476 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
477 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
478 |
RESULT := 'INT_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
479 |
IF INT_TO_BOOL(INT#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
480 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
481 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
482 |
RESULT := 'INT_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
483 |
IF INT_TO_SINT(INT#42) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
484 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
485 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
486 |
RESULT := 'INT_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
487 |
IF INT_TO_USINT(INT#42) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
488 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
489 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
490 |
RESULT := 'INT_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
491 |
IF INT_TO_BYTE(INT#42) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
492 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
493 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
494 |
RESULT := 'INT_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
495 |
IF INT_TO_STRING(INT#42) <> '42' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
496 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
497 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
498 |
RESULT := 'INT_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
499 |
IF INT_TO_UINT(INT#42) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
500 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
501 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
502 |
RESULT := 'INT_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
503 |
IF INT_TO_WORD(INT#42) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
504 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
505 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
506 |
RESULT := 'INT_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
507 |
IF INT_TO_DINT(INT#42) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
508 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
509 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
510 |
RESULT := 'INT_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
511 |
IF INT_TO_UDINT(INT#42) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
512 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
513 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
514 |
RESULT := 'INT_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
515 |
IF INT_TO_DWORD(INT#42) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
516 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
517 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
518 |
RESULT := 'INT_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
519 |
IF INT_TO_LINT(INT#42) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
520 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
521 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
522 |
RESULT := 'INT_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
523 |
IF INT_TO_ULINT(INT#42) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
524 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
525 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
526 |
RESULT := 'INT_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
527 |
IF INT_TO_LWORD(INT#42) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
528 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
529 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
530 |
RESULT := 'INT_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
531 |
IF INT_TO_REAL(INT#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
532 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
533 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
534 |
RESULT := 'INT_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
535 |
IF INT_TO_LREAL(INT#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
536 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
537 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
538 |
RESULT := 'UINT_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
539 |
IF UINT_TO_BOOL(UINT#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
540 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
541 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
542 |
RESULT := 'UINT_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
543 |
IF UINT_TO_SINT(UINT#42) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
544 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
545 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
546 |
RESULT := 'UINT_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
547 |
IF UINT_TO_USINT(UINT#42) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
548 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
549 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
550 |
RESULT := 'UINT_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
551 |
IF UINT_TO_BYTE(UINT#42) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
552 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
553 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
554 |
RESULT := 'UINT_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
555 |
IF UINT_TO_STRING(UINT#42) <> '42' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
556 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
557 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
558 |
RESULT := 'UINT_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
559 |
IF UINT_TO_INT(UINT#42) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
560 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
561 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
562 |
RESULT := 'UINT_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
563 |
IF UINT_TO_WORD(UINT#42) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
564 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
565 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
566 |
RESULT := 'UINT_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
567 |
IF UINT_TO_DINT(UINT#42) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
568 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
569 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
570 |
RESULT := 'UINT_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
571 |
IF UINT_TO_UDINT(UINT#42) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
572 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
573 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
574 |
RESULT := 'UINT_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
575 |
IF UINT_TO_DWORD(UINT#42) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
576 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
577 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
578 |
RESULT := 'UINT_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
579 |
IF UINT_TO_LINT(UINT#42) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
580 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
581 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
582 |
RESULT := 'UINT_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
583 |
IF UINT_TO_ULINT(UINT#42) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
584 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
585 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
586 |
RESULT := 'UINT_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
587 |
IF UINT_TO_LWORD(UINT#42) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
588 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
589 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
590 |
RESULT := 'UINT_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
591 |
IF UINT_TO_REAL(UINT#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
592 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
593 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
594 |
RESULT := 'UINT_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
595 |
IF UINT_TO_LREAL(UINT#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
596 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
597 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
598 |
RESULT := 'WORD_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
599 |
IF WORD_TO_BOOL(WORD#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
600 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
601 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
602 |
RESULT := 'WORD_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
603 |
IF WORD_TO_SINT(WORD#42) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
604 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
605 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
606 |
RESULT := 'WORD_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
607 |
IF WORD_TO_USINT(WORD#42) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
608 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
609 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
610 |
RESULT := 'WORD_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
611 |
IF WORD_TO_BYTE(WORD#42) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
612 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
613 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
614 |
RESULT := 'WORD_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
615 |
IF WORD_TO_STRING(WORD#42) <> '16#2a' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
616 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
617 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
618 |
RESULT := 'WORD_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
619 |
IF WORD_TO_INT(WORD#42) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
620 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
621 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
622 |
RESULT := 'WORD_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
623 |
IF WORD_TO_UINT(WORD#42) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
624 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
625 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
626 |
RESULT := 'WORD_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
627 |
IF WORD_TO_DINT(WORD#42) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
628 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
629 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
630 |
RESULT := 'WORD_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
631 |
IF WORD_TO_UDINT(WORD#42) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
632 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
633 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
634 |
RESULT := 'WORD_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
635 |
IF WORD_TO_DWORD(WORD#42) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
636 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
637 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
638 |
RESULT := 'WORD_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
639 |
IF WORD_TO_LINT(WORD#42) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
640 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
641 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
642 |
RESULT := 'WORD_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
643 |
IF WORD_TO_ULINT(WORD#42) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
644 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
645 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
646 |
RESULT := 'WORD_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
647 |
IF WORD_TO_LWORD(WORD#42) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
648 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
649 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
650 |
RESULT := 'WORD_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
651 |
IF WORD_TO_REAL(WORD#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
652 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
653 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
654 |
RESULT := 'WORD_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
655 |
IF WORD_TO_LREAL(WORD#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
656 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
657 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
658 |
RESULT := 'DINT_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
659 |
IF DINT_TO_BOOL(DINT#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
660 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
661 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
662 |
RESULT := 'DINT_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
663 |
IF DINT_TO_SINT(DINT#42) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
664 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
665 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
666 |
RESULT := 'DINT_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
667 |
IF DINT_TO_USINT(DINT#42) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
668 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
669 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
670 |
RESULT := 'DINT_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
671 |
IF DINT_TO_BYTE(DINT#42) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
672 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
673 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
674 |
RESULT := 'DINT_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
675 |
IF DINT_TO_STRING(DINT#42) <> '42' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
676 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
677 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
678 |
RESULT := 'DINT_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
679 |
IF DINT_TO_INT(DINT#42) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
680 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
681 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
682 |
RESULT := 'DINT_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
683 |
IF DINT_TO_UINT(DINT#42) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
684 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
685 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
686 |
RESULT := 'DINT_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
687 |
IF DINT_TO_WORD(DINT#42) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
688 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
689 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
690 |
RESULT := 'DINT_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
691 |
IF DINT_TO_UDINT(DINT#42) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
692 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
693 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
694 |
RESULT := 'DINT_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
695 |
IF DINT_TO_DWORD(DINT#42) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
696 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
697 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
698 |
RESULT := 'DINT_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
699 |
IF DINT_TO_LINT(DINT#42) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
700 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
701 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
702 |
RESULT := 'DINT_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
703 |
IF DINT_TO_ULINT(DINT#42) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
704 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
705 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
706 |
RESULT := 'DINT_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
707 |
IF DINT_TO_LWORD(DINT#42) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
708 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
709 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
710 |
RESULT := 'DINT_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
711 |
IF DINT_TO_REAL(DINT#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
712 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
713 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
714 |
RESULT := 'DINT_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
715 |
IF DINT_TO_LREAL(DINT#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
716 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
717 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
718 |
RESULT := 'UDINT_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
719 |
IF UDINT_TO_BOOL(UDINT#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
720 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
721 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
722 |
RESULT := 'UDINT_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
723 |
IF UDINT_TO_SINT(UDINT#42) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
724 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
725 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
726 |
RESULT := 'UDINT_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
727 |
IF UDINT_TO_USINT(UDINT#42) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
728 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
729 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
730 |
RESULT := 'UDINT_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
731 |
IF UDINT_TO_BYTE(UDINT#42) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
732 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
733 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
734 |
RESULT := 'UDINT_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
735 |
IF UDINT_TO_STRING(UDINT#42) <> '42' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
736 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
737 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
738 |
RESULT := 'UDINT_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
739 |
IF UDINT_TO_INT(UDINT#42) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
740 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
741 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
742 |
RESULT := 'UDINT_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
743 |
IF UDINT_TO_UINT(UDINT#42) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
744 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
745 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
746 |
RESULT := 'UDINT_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
747 |
IF UDINT_TO_WORD(UDINT#42) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
748 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
749 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
750 |
RESULT := 'UDINT_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
751 |
IF UDINT_TO_DINT(UDINT#42) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
752 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
753 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
754 |
RESULT := 'UDINT_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
755 |
IF UDINT_TO_DWORD(UDINT#42) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
756 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
757 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
758 |
RESULT := 'UDINT_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
759 |
IF UDINT_TO_LINT(UDINT#42) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
760 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
761 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
762 |
RESULT := 'UDINT_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
763 |
IF UDINT_TO_ULINT(UDINT#42) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
764 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
765 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
766 |
RESULT := 'UDINT_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
767 |
IF UDINT_TO_LWORD(UDINT#42) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
768 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
769 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
770 |
RESULT := 'UDINT_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
771 |
IF UDINT_TO_REAL(UDINT#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
772 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
773 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
774 |
RESULT := 'UDINT_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
775 |
IF UDINT_TO_LREAL(UDINT#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
776 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
777 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
778 |
RESULT := 'DWORD_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
779 |
IF DWORD_TO_BOOL(DWORD#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
780 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
781 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
782 |
RESULT := 'DWORD_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
783 |
IF DWORD_TO_SINT(DWORD#42) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
784 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
785 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
786 |
RESULT := 'DWORD_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
787 |
IF DWORD_TO_USINT(DWORD#42) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
788 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
789 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
790 |
RESULT := 'DWORD_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
791 |
IF DWORD_TO_BYTE(DWORD#42) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
792 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
793 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
794 |
RESULT := 'DWORD_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
795 |
IF DWORD_TO_STRING(DWORD#42) <> '16#2a' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
796 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
797 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
798 |
RESULT := 'DWORD_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
799 |
IF DWORD_TO_INT(DWORD#42) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
800 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
801 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
802 |
RESULT := 'DWORD_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
803 |
IF DWORD_TO_UINT(DWORD#42) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
804 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
805 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
806 |
RESULT := 'DWORD_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
807 |
IF DWORD_TO_WORD(DWORD#42) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
808 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
809 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
810 |
RESULT := 'DWORD_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
811 |
IF DWORD_TO_DINT(DWORD#42) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
812 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
813 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
814 |
RESULT := 'DWORD_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
815 |
IF DWORD_TO_UDINT(DWORD#42) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
816 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
817 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
818 |
RESULT := 'DWORD_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
819 |
IF DWORD_TO_LINT(DWORD#42) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
820 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
821 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
822 |
RESULT := 'DWORD_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
823 |
IF DWORD_TO_ULINT(DWORD#42) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
824 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
825 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
826 |
RESULT := 'DWORD_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
827 |
IF DWORD_TO_LWORD(DWORD#42) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
828 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
829 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
830 |
RESULT := 'DWORD_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
831 |
IF DWORD_TO_REAL(DWORD#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
832 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
833 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
834 |
RESULT := 'DWORD_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
835 |
IF DWORD_TO_LREAL(DWORD#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
836 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
837 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
838 |
RESULT := 'LINT_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
839 |
IF LINT_TO_BOOL(LINT#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
840 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
841 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
842 |
RESULT := 'LINT_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
843 |
IF LINT_TO_SINT(LINT#42) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
844 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
845 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
846 |
RESULT := 'LINT_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
847 |
IF LINT_TO_USINT(LINT#42) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
848 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
849 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
850 |
RESULT := 'LINT_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
851 |
IF LINT_TO_BYTE(LINT#42) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
852 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
853 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
854 |
RESULT := 'LINT_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
855 |
IF LINT_TO_STRING(LINT#42) <> '42' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
856 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
857 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
858 |
RESULT := 'LINT_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
859 |
IF LINT_TO_INT(LINT#42) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
860 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
861 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
862 |
RESULT := 'LINT_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
863 |
IF LINT_TO_UINT(LINT#42) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
864 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
865 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
866 |
RESULT := 'LINT_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
867 |
IF LINT_TO_WORD(LINT#42) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
868 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
869 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
870 |
RESULT := 'LINT_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
871 |
IF LINT_TO_DINT(LINT#42) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
872 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
873 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
874 |
RESULT := 'LINT_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
875 |
IF LINT_TO_UDINT(LINT#42) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
876 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
877 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
878 |
RESULT := 'LINT_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
879 |
IF LINT_TO_DWORD(LINT#42) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
880 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
881 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
882 |
RESULT := 'LINT_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
883 |
IF LINT_TO_ULINT(LINT#42) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
884 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
885 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
886 |
RESULT := 'LINT_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
887 |
IF LINT_TO_LWORD(LINT#42) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
888 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
889 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
890 |
RESULT := 'LINT_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
891 |
IF LINT_TO_REAL(LINT#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
892 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
893 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
894 |
RESULT := 'LINT_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
895 |
IF LINT_TO_LREAL(LINT#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
896 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
897 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
898 |
RESULT := 'ULINT_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
899 |
IF ULINT_TO_BOOL(ULINT#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
900 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
901 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
902 |
RESULT := 'ULINT_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
903 |
IF ULINT_TO_SINT(ULINT#42) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
904 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
905 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
906 |
RESULT := 'ULINT_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
907 |
IF ULINT_TO_USINT(ULINT#42) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
908 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
909 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
910 |
RESULT := 'ULINT_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
911 |
IF ULINT_TO_BYTE(ULINT#42) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
912 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
913 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
914 |
RESULT := 'ULINT_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
915 |
IF ULINT_TO_STRING(ULINT#42) <> '42' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
916 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
917 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
918 |
RESULT := 'ULINT_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
919 |
IF ULINT_TO_INT(ULINT#42) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
920 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
921 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
922 |
RESULT := 'ULINT_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
923 |
IF ULINT_TO_UINT(ULINT#42) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
924 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
925 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
926 |
RESULT := 'ULINT_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
927 |
IF ULINT_TO_WORD(ULINT#42) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
928 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
929 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
930 |
RESULT := 'ULINT_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
931 |
IF ULINT_TO_DINT(ULINT#42) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
932 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
933 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
934 |
RESULT := 'ULINT_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
935 |
IF ULINT_TO_UDINT(ULINT#42) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
936 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
937 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
938 |
RESULT := 'ULINT_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
939 |
IF ULINT_TO_DWORD(ULINT#42) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
940 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
941 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
942 |
RESULT := 'ULINT_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
943 |
IF ULINT_TO_LINT(ULINT#42) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
944 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
945 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
946 |
RESULT := 'ULINT_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
947 |
IF ULINT_TO_LWORD(ULINT#42) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
948 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
949 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
950 |
RESULT := 'ULINT_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
951 |
IF ULINT_TO_REAL(ULINT#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
952 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
953 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
954 |
RESULT := 'ULINT_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
955 |
IF ULINT_TO_LREAL(ULINT#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
956 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
957 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
958 |
RESULT := 'LWORD_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
959 |
IF LWORD_TO_BOOL(LWORD#42) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
960 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
961 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
962 |
RESULT := 'LWORD_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
963 |
IF LWORD_TO_SINT(LWORD#42) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
964 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
965 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
966 |
RESULT := 'LWORD_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
967 |
IF LWORD_TO_USINT(LWORD#42) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
968 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
969 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
970 |
RESULT := 'LWORD_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
971 |
IF LWORD_TO_BYTE(LWORD#42) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
972 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
973 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
974 |
RESULT := 'LWORD_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
975 |
IF LWORD_TO_STRING(LWORD#42) <> '16#2a' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
976 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
977 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
978 |
RESULT := 'LWORD_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
979 |
IF LWORD_TO_INT(LWORD#42) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
980 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
981 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
982 |
RESULT := 'LWORD_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
983 |
IF LWORD_TO_UINT(LWORD#42) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
984 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
985 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
986 |
RESULT := 'LWORD_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
987 |
IF LWORD_TO_WORD(LWORD#42) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
988 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
989 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
990 |
RESULT := 'LWORD_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
991 |
IF LWORD_TO_DINT(LWORD#42) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
992 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
993 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
994 |
RESULT := 'LWORD_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
995 |
IF LWORD_TO_UDINT(LWORD#42) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
996 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
997 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
998 |
RESULT := 'LWORD_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
999 |
IF LWORD_TO_DWORD(LWORD#42) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1000 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1001 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1002 |
RESULT := 'LWORD_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1003 |
IF LWORD_TO_LINT(LWORD#42) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1004 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1005 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1006 |
RESULT := 'LWORD_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1007 |
IF LWORD_TO_ULINT(LWORD#42) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1008 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1009 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1010 |
RESULT := 'LWORD_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1011 |
IF LWORD_TO_REAL(LWORD#42) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1012 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1013 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1014 |
RESULT := 'LWORD_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1015 |
IF LWORD_TO_LREAL(LWORD#42) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1016 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1017 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1018 |
RESULT := 'REAL_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1019 |
IF REAL_TO_BOOL(REAL#42.0) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1020 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1021 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1022 |
RESULT := 'REAL_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1023 |
IF REAL_TO_SINT(REAL#42.0) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1024 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1025 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1026 |
RESULT := 'REAL_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1027 |
IF REAL_TO_USINT(REAL#42.0) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1028 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1029 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1030 |
RESULT := 'REAL_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1031 |
IF REAL_TO_BYTE(REAL#42.0) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1032 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1033 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1034 |
RESULT := 'REAL_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1035 |
IF REAL_TO_STRING(REAL#42.0) <> '42' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1036 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1037 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1038 |
RESULT := 'REAL_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1039 |
IF REAL_TO_INT(REAL#42.0) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1040 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1041 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1042 |
RESULT := 'REAL_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1043 |
IF REAL_TO_UINT(REAL#42.0) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1044 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1045 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1046 |
RESULT := 'REAL_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1047 |
IF REAL_TO_WORD(REAL#42.0) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1048 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1049 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1050 |
RESULT := 'REAL_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1051 |
IF REAL_TO_DINT(REAL#42.0) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1052 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1053 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1054 |
RESULT := 'REAL_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1055 |
IF REAL_TO_UDINT(REAL#42.0) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1056 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1057 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1058 |
RESULT := 'REAL_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1059 |
IF REAL_TO_DWORD(REAL#42.0) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1060 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1061 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1062 |
RESULT := 'REAL_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1063 |
IF REAL_TO_LINT(REAL#42.0) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1064 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1065 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1066 |
RESULT := 'REAL_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1067 |
IF REAL_TO_ULINT(REAL#42.0) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1068 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1069 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1070 |
RESULT := 'REAL_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1071 |
IF REAL_TO_LWORD(REAL#42.0) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1072 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1073 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1074 |
RESULT := 'REAL_TO_LREAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1075 |
IF REAL_TO_LREAL(REAL#42.0) <> LREAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1076 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1077 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1078 |
RESULT := 'LREAL_TO_BOOL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1079 |
IF LREAL_TO_BOOL(LREAL#42.0) <> BOOL#TRUE THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1080 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1081 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1082 |
RESULT := 'LREAL_TO_SINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1083 |
IF LREAL_TO_SINT(LREAL#42.0) <> SINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1084 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1085 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1086 |
RESULT := 'LREAL_TO_USINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1087 |
IF LREAL_TO_USINT(LREAL#42.0) <> USINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1088 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1089 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1090 |
RESULT := 'LREAL_TO_BYTE'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1091 |
IF LREAL_TO_BYTE(LREAL#42.0) <> BYTE#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1092 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1093 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1094 |
RESULT := 'LREAL_TO_STRING'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1095 |
IF LREAL_TO_STRING(LREAL#42.0) <> '42' THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1096 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1097 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1098 |
RESULT := 'LREAL_TO_INT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1099 |
IF LREAL_TO_INT(LREAL#42.0) <> INT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1100 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1101 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1102 |
RESULT := 'LREAL_TO_UINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1103 |
IF LREAL_TO_UINT(LREAL#42.0) <> UINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1104 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1105 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1106 |
RESULT := 'LREAL_TO_WORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1107 |
IF LREAL_TO_WORD(LREAL#42.0) <> WORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1108 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1109 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1110 |
RESULT := 'LREAL_TO_DINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1111 |
IF LREAL_TO_DINT(LREAL#42.0) <> DINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1112 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1113 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1114 |
RESULT := 'LREAL_TO_UDINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1115 |
IF LREAL_TO_UDINT(LREAL#42.0) <> UDINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1116 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1117 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1118 |
RESULT := 'LREAL_TO_DWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1119 |
IF LREAL_TO_DWORD(LREAL#42.0) <> DWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1120 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1121 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1122 |
RESULT := 'LREAL_TO_LINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1123 |
IF LREAL_TO_LINT(LREAL#42.0) <> LINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1124 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1125 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1126 |
RESULT := 'LREAL_TO_ULINT'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1127 |
IF LREAL_TO_ULINT(LREAL#42.0) <> ULINT#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1128 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1129 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1130 |
RESULT := 'LREAL_TO_LWORD'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1131 |
IF LREAL_TO_LWORD(LREAL#42.0) <> LWORD#42 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1132 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1133 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1134 |
RESULT := 'LREAL_TO_REAL'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1135 |
IF LREAL_TO_REAL(LREAL#42.0) <> REAL#42.0 THEN RETURN; END_IF; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1136 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1137 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1138 |
RESULT := 'OK'; |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1139 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1140 |
]]></xhtml:p> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1141 |
</ST> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1142 |
</body> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1143 |
</pou> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1144 |
<pou name="main_test" pouType="program"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1145 |
<interface> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1146 |
<localVars> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1147 |
<variable name="RUN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1148 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1149 |
<BOOL/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1150 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1151 |
<initialValue> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1152 |
<simpleValue value="TRUE"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1153 |
</initialValue> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1154 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1155 |
<variable name="RESULT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1156 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1157 |
<string/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1158 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1159 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1160 |
<variable name="CONVERSION_TEST0"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1161 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1162 |
<derived name="CONVERSION_TEST"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1163 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1164 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1165 |
<variable name="R_TRIG0"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1166 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1167 |
<derived name="R_TRIG"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1168 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1169 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1170 |
<variable name="LOGGER0"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1171 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1172 |
<derived name="LOGGER"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1173 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1174 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1175 |
<variable name="TEMPO_TEST0"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1176 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1177 |
<derived name="TEMPO_TEST"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1178 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1179 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1180 |
<variable name="LOGGER1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1181 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1182 |
<derived name="LOGGER"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1183 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1184 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1185 |
<variable name="SR0"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1186 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1187 |
<derived name="SR"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1188 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1189 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1190 |
<variable name="SR1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1191 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1192 |
<derived name="SR"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1193 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1194 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1195 |
<variable name="LOGGER2"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1196 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1197 |
<derived name="LOGGER"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1198 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1199 |
</variable> |
4047
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1200 |
<variable name="FLOW_CONTROL_TEST0"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1201 |
<type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1202 |
<derived name="FLOW_CONTROL_TEST"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1203 |
</type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1204 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1205 |
<variable name="R_TRIG1"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1206 |
<type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1207 |
<derived name="R_TRIG"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1208 |
</type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1209 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1210 |
<variable name="LOGGER3"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1211 |
<type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1212 |
<derived name="LOGGER"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1213 |
</type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1214 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1215 |
<variable name="SR2"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1216 |
<type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1217 |
<derived name="SR"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1218 |
</type> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1219 |
</variable> |
3749
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1220 |
</localVars> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1221 |
</interface> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1222 |
<body> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1223 |
<FBD> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1224 |
<block localId="4" typeName="CONVERSION_TEST" instanceName="CONVERSION_TEST0" executionOrderId="0" height="72" width="136"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1225 |
<position x="320" y="280"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1226 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1227 |
<variable formalParameter="EN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1228 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1229 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1230 |
<connection refLocalId="5" formalParameter="Q"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1231 |
<position x="320" y="312"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1232 |
<position x="264" y="312"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1233 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1234 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1235 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1236 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1237 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1238 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1239 |
<variable formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1240 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1241 |
<relPosition x="136" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1242 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1243 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1244 |
<variable formalParameter="RESULT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1245 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1246 |
<relPosition x="136" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1247 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1248 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1249 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1250 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1251 |
<block localId="5" typeName="R_TRIG" instanceName="R_TRIG0" executionOrderId="0" height="48" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1252 |
<position x="200" y="280"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1253 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1254 |
<variable formalParameter="CLK"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1255 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1256 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1257 |
<connection refLocalId="6"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1258 |
<position x="200" y="312"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1259 |
<position x="168" y="312"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1260 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1261 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1262 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1263 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1264 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1265 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1266 |
<variable formalParameter="Q"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1267 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1268 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1269 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1270 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1271 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1272 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1273 |
<inVariable localId="6" executionOrderId="0" height="32" width="48" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1274 |
<position x="120" y="296"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1275 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1276 |
<relPosition x="48" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1277 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1278 |
<expression>TRUE</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1279 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1280 |
<block localId="8" typeName="LOGGER" instanceName="LOGGER0" executionOrderId="0" height="112" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1281 |
<position x="848" y="304"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1282 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1283 |
<variable formalParameter="TRIG"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1284 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1285 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1286 |
<connection refLocalId="4" formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1287 |
<position x="848" y="336"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1288 |
<position x="760" y="336"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1289 |
<position x="760" y="312"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1290 |
<position x="456" y="312"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1291 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1292 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1293 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1294 |
<variable formalParameter="MSG"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1295 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1296 |
<relPosition x="0" y="64"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1297 |
<connection refLocalId="11" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1298 |
<position x="848" y="368"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1299 |
<position x="736" y="368"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1300 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1301 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1302 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1303 |
<variable formalParameter="LEVEL"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1304 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1305 |
<relPosition x="0" y="96"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1306 |
<connection refLocalId="10"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1307 |
<position x="848" y="400"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1308 |
<position x="816" y="400"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1309 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1310 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1311 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1312 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1313 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1314 |
<outputVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1315 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1316 |
<inVariable localId="9" executionOrderId="0" height="32" width="128" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1317 |
<position x="512" y="352"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1318 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1319 |
<relPosition x="128" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1320 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1321 |
<expression>'CONVERSION: '</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1322 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1323 |
<inVariable localId="10" executionOrderId="0" height="32" width="56" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1324 |
<position x="760" y="384"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1325 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1326 |
<relPosition x="56" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1327 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1328 |
<expression>DEBUG</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1329 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1330 |
<block localId="11" typeName="CONCAT" executionOrderId="0" height="64" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1331 |
<position x="672" y="336"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1332 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1333 |
<variable formalParameter="IN1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1334 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1335 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1336 |
<connection refLocalId="9"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1337 |
<position x="672" y="368"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1338 |
<position x="640" y="368"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1339 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1340 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1341 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1342 |
<variable formalParameter="IN2"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1343 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1344 |
<relPosition x="0" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1345 |
<connection refLocalId="4" formalParameter="RESULT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1346 |
<position x="672" y="392"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1347 |
<position x="480" y="392"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1348 |
<position x="480" y="336"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1349 |
<position x="456" y="336"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1350 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1351 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1352 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1353 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1354 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1355 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1356 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1357 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1358 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1359 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1360 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1361 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1362 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1363 |
<comment localId="12" height="40" width="248"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1364 |
<position x="88" y="216"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1365 |
<content> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1366 |
<xhtml:p><![CDATA[Execute only on first cycle]]></xhtml:p> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1367 |
</content> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1368 |
</comment> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1369 |
<comment localId="1" height="40" width="248"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1370 |
<position x="576" y="216"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1371 |
<content> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1372 |
<xhtml:p><![CDATA[Log when just executed]]></xhtml:p> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1373 |
</content> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1374 |
</comment> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1375 |
<block localId="13" typeName="TEMPO_TEST" instanceName="TEMPO_TEST0" executionOrderId="0" height="64" width="96"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1376 |
<position x="336" y="600"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1377 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1378 |
<variable formalParameter="RUN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1379 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1380 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1381 |
<connection refLocalId="16"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1382 |
<position x="336" y="632"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1383 |
<position x="248" y="632"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1384 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1385 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1386 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1387 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1388 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1389 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1390 |
<variable formalParameter="VALID"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1391 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1392 |
<relPosition x="96" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1393 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1394 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1395 |
<variable formalParameter="RESULT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1396 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1397 |
<relPosition x="96" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1398 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1399 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1400 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1401 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1402 |
<block localId="2" typeName="LOGGER" instanceName="LOGGER1" executionOrderId="0" height="112" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1403 |
<position x="824" y="624"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1404 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1405 |
<variable formalParameter="TRIG"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1406 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1407 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1408 |
<connection refLocalId="13" formalParameter="VALID"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1409 |
<position x="824" y="656"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1410 |
<position x="736" y="656"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1411 |
<position x="736" y="632"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1412 |
<position x="432" y="632"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1413 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1414 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1415 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1416 |
<variable formalParameter="MSG"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1417 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1418 |
<relPosition x="0" y="64"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1419 |
<connection refLocalId="14" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1420 |
<position x="824" y="688"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1421 |
<position x="712" y="688"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1422 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1423 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1424 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1425 |
<variable formalParameter="LEVEL"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1426 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1427 |
<relPosition x="0" y="96"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1428 |
<connection refLocalId="7"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1429 |
<position x="824" y="720"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1430 |
<position x="792" y="720"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1431 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1432 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1433 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1434 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1435 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1436 |
<outputVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1437 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1438 |
<inVariable localId="3" executionOrderId="0" height="32" width="128" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1439 |
<position x="488" y="672"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1440 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1441 |
<relPosition x="128" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1442 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1443 |
<expression>'TEMPO: '</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1444 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1445 |
<inVariable localId="7" executionOrderId="0" height="32" width="56" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1446 |
<position x="736" y="704"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1447 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1448 |
<relPosition x="56" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1449 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1450 |
<expression>DEBUG</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1451 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1452 |
<block localId="14" typeName="CONCAT" executionOrderId="0" height="64" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1453 |
<position x="648" y="656"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1454 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1455 |
<variable formalParameter="IN1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1456 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1457 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1458 |
<connection refLocalId="3"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1459 |
<position x="648" y="688"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1460 |
<position x="616" y="688"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1461 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1462 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1463 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1464 |
<variable formalParameter="IN2"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1465 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1466 |
<relPosition x="0" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1467 |
<connection refLocalId="13" formalParameter="RESULT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1468 |
<position x="648" y="712"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1469 |
<position x="464" y="712"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1470 |
<position x="464" y="656"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1471 |
<position x="432" y="656"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1472 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1473 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1474 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1475 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1476 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1477 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1478 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1479 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1480 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1481 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1482 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1483 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1484 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1485 |
<comment localId="15" height="40" width="248"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1486 |
<position x="536" y="536"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1487 |
<content> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1488 |
<xhtml:p><![CDATA[Log when valid]]></xhtml:p> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1489 |
</content> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1490 |
</comment> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1491 |
<inVariable localId="16" executionOrderId="0" height="32" width="48" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1492 |
<position x="200" y="616"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1493 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1494 |
<relPosition x="48" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1495 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1496 |
<expression>TRUE</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1497 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1498 |
<block localId="17" typeName="AND" executionOrderId="0" height="64" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1499 |
<position x="1016" y="568"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1500 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1501 |
<variable formalParameter="IN1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1502 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1503 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1504 |
<connection refLocalId="13" formalParameter="VALID"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1505 |
<position x="1016" y="600"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1506 |
<position x="736" y="600"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1507 |
<position x="736" y="632"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1508 |
<position x="432" y="632"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1509 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1510 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1511 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1512 |
<variable formalParameter="IN2"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1513 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1514 |
<relPosition x="0" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1515 |
<connection refLocalId="18" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1516 |
<position x="1016" y="624"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1517 |
<position x="990" y="624"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1518 |
<position x="990" y="752"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1519 |
<position x="976" y="752"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1520 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1521 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1522 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1523 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1524 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1525 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1526 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1527 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1528 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1529 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1530 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1531 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1532 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1533 |
<block localId="18" typeName="EQ" executionOrderId="0" height="64" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1534 |
<position x="912" y="720"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1535 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1536 |
<variable formalParameter="IN1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1537 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1538 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1539 |
<connection refLocalId="13" formalParameter="RESULT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1540 |
<position x="912" y="752"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1541 |
<position x="464" y="752"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1542 |
<position x="464" y="656"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1543 |
<position x="432" y="656"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1544 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1545 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1546 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1547 |
<variable formalParameter="IN2"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1548 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1549 |
<relPosition x="0" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1550 |
<connection refLocalId="19"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1551 |
<position x="912" y="776"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1552 |
<position x="864" y="776"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1553 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1554 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1555 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1556 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1557 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1558 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1559 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1560 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1561 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1562 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1563 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1564 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1565 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1566 |
<inVariable localId="19" executionOrderId="0" height="32" width="48" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1567 |
<position x="816" y="760"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1568 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1569 |
<relPosition x="48" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1570 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1571 |
<expression>'OK'</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1572 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1573 |
<block localId="20" typeName="SR" instanceName="SR0" executionOrderId="0" height="64" width="48"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1574 |
<position x="1120" y="568"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1575 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1576 |
<variable formalParameter="S1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1577 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1578 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1579 |
<connection refLocalId="17" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1580 |
<position x="1120" y="600"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1581 |
<position x="1080" y="600"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1582 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1583 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1584 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1585 |
<variable formalParameter="R"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1586 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1587 |
<relPosition x="0" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1588 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1589 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1590 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1591 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1592 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1593 |
<variable formalParameter="Q1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1594 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1595 |
<relPosition x="48" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1596 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1597 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1598 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1599 |
</block> |
4047
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1600 |
<block localId="21" typeName="AND" executionOrderId="0" height="80" width="64"> |
3749
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1601 |
<position x="1296" y="496"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1602 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1603 |
<variable formalParameter="IN1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1604 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1605 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1606 |
<connection refLocalId="23" formalParameter="Q1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1607 |
<position x="1296" y="528"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1608 |
<position x="1256" y="528"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1609 |
<position x="1256" y="272"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1610 |
<position x="1192" y="272"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1611 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1612 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1613 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1614 |
<variable formalParameter="IN2"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1615 |
<connectionPointIn> |
4047
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1616 |
<relPosition x="0" y="48"/> |
3749
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1617 |
<connection refLocalId="20" formalParameter="Q1"> |
4047
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1618 |
<position x="1296" y="544"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1619 |
<position x="1232" y="544"/> |
3749
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1620 |
<position x="1232" y="600"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1621 |
<position x="1168" y="600"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1622 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1623 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1624 |
</variable> |
4047
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1625 |
<variable formalParameter="IN3"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1626 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1627 |
<relPosition x="0" y="72"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1628 |
<connection refLocalId="37" formalParameter="Q1"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1629 |
<position x="1296" y="568"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1630 |
<position x="1280" y="568"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1631 |
<position x="1280" y="920"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1632 |
<position x="1264" y="920"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1633 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1634 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1635 |
</variable> |
3749
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1636 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1637 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1638 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1639 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1640 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1641 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1642 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1643 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1644 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1645 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1646 |
<block localId="22" typeName="AND" executionOrderId="0" height="64" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1647 |
<position x="1040" y="240"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1648 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1649 |
<variable formalParameter="IN1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1650 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1651 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1652 |
<connection refLocalId="4" formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1653 |
<position x="1040" y="272"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1654 |
<position x="760" y="272"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1655 |
<position x="760" y="312"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1656 |
<position x="456" y="312"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1657 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1658 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1659 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1660 |
<variable formalParameter="IN2"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1661 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1662 |
<relPosition x="0" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1663 |
<connection refLocalId="24" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1664 |
<position x="1040" y="296"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1665 |
<position x="1014" y="296"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1666 |
<position x="1014" y="424"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1667 |
<position x="1000" y="424"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1668 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1669 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1670 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1671 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1672 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1673 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1674 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1675 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1676 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1677 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1678 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1679 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1680 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1681 |
<block localId="23" typeName="SR" instanceName="SR1" executionOrderId="0" height="64" width="48"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1682 |
<position x="1144" y="240"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1683 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1684 |
<variable formalParameter="S1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1685 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1686 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1687 |
<connection refLocalId="22" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1688 |
<position x="1144" y="272"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1689 |
<position x="1104" y="272"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1690 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1691 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1692 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1693 |
<variable formalParameter="R"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1694 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1695 |
<relPosition x="0" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1696 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1697 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1698 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1699 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1700 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1701 |
<variable formalParameter="Q1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1702 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1703 |
<relPosition x="48" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1704 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1705 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1706 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1707 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1708 |
<block localId="24" typeName="EQ" executionOrderId="0" height="64" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1709 |
<position x="936" y="392"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1710 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1711 |
<variable formalParameter="IN1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1712 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1713 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1714 |
<connection refLocalId="4" formalParameter="RESULT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1715 |
<position x="936" y="424"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1716 |
<position x="480" y="424"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1717 |
<position x="480" y="336"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1718 |
<position x="456" y="336"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1719 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1720 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1721 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1722 |
<variable formalParameter="IN2"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1723 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1724 |
<relPosition x="0" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1725 |
<connection refLocalId="25"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1726 |
<position x="936" y="448"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1727 |
<position x="888" y="448"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1728 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1729 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1730 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1731 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1732 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1733 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1734 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1735 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1736 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1737 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1738 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1739 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1740 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1741 |
<inVariable localId="25" executionOrderId="0" height="32" width="48" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1742 |
<position x="840" y="432"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1743 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1744 |
<relPosition x="48" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1745 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1746 |
<expression>'OK'</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1747 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1748 |
<inVariable localId="26" executionOrderId="0" height="32" width="56" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1749 |
<position x="1464" y="576"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1750 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1751 |
<relPosition x="56" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1752 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1753 |
<expression>DEBUG</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1754 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1755 |
<block localId="27" typeName="LOGGER" instanceName="LOGGER2" executionOrderId="0" height="112" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1756 |
<position x="1552" y="496"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1757 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1758 |
<variable formalParameter="TRIG"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1759 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1760 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1761 |
<connection refLocalId="21" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1762 |
<position x="1552" y="528"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1763 |
<position x="1360" y="528"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1764 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1765 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1766 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1767 |
<variable formalParameter="MSG"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1768 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1769 |
<relPosition x="0" y="64"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1770 |
<connection refLocalId="28"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1771 |
<position x="1552" y="560"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1772 |
<position x="1512" y="560"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1773 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1774 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1775 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1776 |
<variable formalParameter="LEVEL"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1777 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1778 |
<relPosition x="0" y="96"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1779 |
<connection refLocalId="26"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1780 |
<position x="1552" y="592"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1781 |
<position x="1520" y="592"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1782 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1783 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1784 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1785 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1786 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1787 |
<outputVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1788 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1789 |
<inVariable localId="28" executionOrderId="0" height="32" width="128" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1790 |
<position x="1384" y="544"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1791 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1792 |
<relPosition x="128" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1793 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1794 |
<expression>'ALL TESTS OK'</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1795 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1796 |
<comment localId="29" height="144" width="504"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1797 |
<position x="80" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1798 |
<content> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1799 |
<xhtml:p><![CDATA[This tests some IEC-61131 languages and standard library. |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1800 |
|
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1801 |
BEREMIZ_TEST_CYCLES CFLAG is used here. |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1802 |
- pre-defined PLC cycles all run with no pause |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1803 |
- time is emulated]]></xhtml:p> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1804 |
</content> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1805 |
</comment> |
4047
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1806 |
<block localId="30" typeName="FLOW_CONTROL_TEST" instanceName="FLOW_CONTROL_TEST0" executionOrderId="0" height="72" width="152"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1807 |
<position x="392" y="928"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1808 |
<inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1809 |
<variable formalParameter="EN"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1810 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1811 |
<relPosition x="0" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1812 |
<connection refLocalId="31" formalParameter="Q"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1813 |
<position x="392" y="960"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1814 |
<position x="336" y="960"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1815 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1816 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1817 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1818 |
</inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1819 |
<inOutVariables/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1820 |
<outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1821 |
<variable formalParameter="ENO"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1822 |
<connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1823 |
<relPosition x="152" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1824 |
</connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1825 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1826 |
<variable formalParameter="RESULT"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1827 |
<connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1828 |
<relPosition x="152" y="56"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1829 |
</connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1830 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1831 |
</outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1832 |
</block> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1833 |
<block localId="31" typeName="R_TRIG" instanceName="R_TRIG1" executionOrderId="0" height="48" width="64"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1834 |
<position x="272" y="928"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1835 |
<inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1836 |
<variable formalParameter="CLK"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1837 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1838 |
<relPosition x="0" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1839 |
<connection refLocalId="32"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1840 |
<position x="272" y="960"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1841 |
<position x="240" y="960"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1842 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1843 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1844 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1845 |
</inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1846 |
<inOutVariables/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1847 |
<outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1848 |
<variable formalParameter="Q"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1849 |
<connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1850 |
<relPosition x="64" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1851 |
</connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1852 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1853 |
</outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1854 |
</block> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1855 |
<inVariable localId="32" executionOrderId="0" height="32" width="48" negated="false"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1856 |
<position x="192" y="944"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1857 |
<connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1858 |
<relPosition x="48" y="16"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1859 |
</connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1860 |
<expression>TRUE</expression> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1861 |
</inVariable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1862 |
<block localId="33" typeName="LOGGER" instanceName="LOGGER3" executionOrderId="0" height="112" width="64"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1863 |
<position x="920" y="952"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1864 |
<inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1865 |
<variable formalParameter="TRIG"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1866 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1867 |
<relPosition x="0" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1868 |
<connection refLocalId="30" formalParameter="ENO"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1869 |
<position x="920" y="984"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1870 |
<position x="832" y="984"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1871 |
<position x="832" y="960"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1872 |
<position x="544" y="960"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1873 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1874 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1875 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1876 |
<variable formalParameter="MSG"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1877 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1878 |
<relPosition x="0" y="64"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1879 |
<connection refLocalId="34" formalParameter="OUT"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1880 |
<position x="920" y="1016"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1881 |
<position x="808" y="1016"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1882 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1883 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1884 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1885 |
<variable formalParameter="LEVEL"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1886 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1887 |
<relPosition x="0" y="96"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1888 |
<connection refLocalId="36"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1889 |
<position x="920" y="1048"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1890 |
<position x="888" y="1048"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1891 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1892 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1893 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1894 |
</inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1895 |
<inOutVariables/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1896 |
<outputVariables/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1897 |
</block> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1898 |
<block localId="34" typeName="CONCAT" executionOrderId="0" height="64" width="64"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1899 |
<position x="744" y="984"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1900 |
<inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1901 |
<variable formalParameter="IN1"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1902 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1903 |
<relPosition x="0" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1904 |
<connection refLocalId="35"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1905 |
<position x="744" y="1016"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1906 |
<position x="712" y="1016"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1907 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1908 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1909 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1910 |
<variable formalParameter="IN2"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1911 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1912 |
<relPosition x="0" y="56"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1913 |
<connection refLocalId="30" formalParameter="RESULT"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1914 |
<position x="744" y="1040"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1915 |
<position x="554" y="1040"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1916 |
<position x="554" y="984"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1917 |
<position x="544" y="984"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1918 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1919 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1920 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1921 |
</inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1922 |
<inOutVariables/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1923 |
<outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1924 |
<variable formalParameter="OUT"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1925 |
<connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1926 |
<relPosition x="64" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1927 |
</connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1928 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1929 |
</outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1930 |
</block> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1931 |
<inVariable localId="35" executionOrderId="0" height="32" width="144" negated="false"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1932 |
<position x="584" y="1000"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1933 |
<connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1934 |
<relPosition x="144" y="16"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1935 |
</connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1936 |
<expression>'FLOW CONTROL: '</expression> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1937 |
</inVariable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1938 |
<inVariable localId="36" executionOrderId="0" height="32" width="56" negated="false"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1939 |
<position x="832" y="1032"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1940 |
<connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1941 |
<relPosition x="56" y="16"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1942 |
</connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1943 |
<expression>DEBUG</expression> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1944 |
</inVariable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1945 |
<block localId="37" typeName="SR" instanceName="SR2" executionOrderId="0" height="64" width="48"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1946 |
<position x="1216" y="888"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1947 |
<inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1948 |
<variable formalParameter="S1"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1949 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1950 |
<relPosition x="0" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1951 |
<connection refLocalId="38" formalParameter="OUT"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1952 |
<position x="1216" y="920"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1953 |
<position x="1176" y="920"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1954 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1955 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1956 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1957 |
<variable formalParameter="R"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1958 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1959 |
<relPosition x="0" y="56"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1960 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1961 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1962 |
</inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1963 |
<inOutVariables/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1964 |
<outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1965 |
<variable formalParameter="Q1"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1966 |
<connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1967 |
<relPosition x="48" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1968 |
</connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1969 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1970 |
</outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1971 |
</block> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1972 |
<block localId="38" typeName="AND" executionOrderId="0" height="64" width="64"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1973 |
<position x="1112" y="888"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1974 |
<inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1975 |
<variable formalParameter="IN1"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1976 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1977 |
<relPosition x="0" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1978 |
<connection refLocalId="30" formalParameter="ENO"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1979 |
<position x="1112" y="920"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1980 |
<position x="832" y="920"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1981 |
<position x="832" y="960"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1982 |
<position x="544" y="960"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1983 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1984 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1985 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1986 |
<variable formalParameter="IN2"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1987 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1988 |
<relPosition x="0" y="56"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1989 |
<connection refLocalId="39" formalParameter="OUT"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1990 |
<position x="1112" y="944"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1991 |
<position x="1086" y="944"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1992 |
<position x="1086" y="1072"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1993 |
<position x="1072" y="1072"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1994 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1995 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1996 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1997 |
</inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1998 |
<inOutVariables/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
1999 |
<outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2000 |
<variable formalParameter="OUT"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2001 |
<connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2002 |
<relPosition x="64" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2003 |
</connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2004 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2005 |
</outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2006 |
</block> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2007 |
<block localId="39" typeName="EQ" executionOrderId="0" height="64" width="64"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2008 |
<position x="1008" y="1040"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2009 |
<inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2010 |
<variable formalParameter="IN1"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2011 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2012 |
<relPosition x="0" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2013 |
<connection refLocalId="30" formalParameter="RESULT"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2014 |
<position x="1008" y="1072"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2015 |
<position x="554" y="1072"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2016 |
<position x="554" y="984"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2017 |
<position x="544" y="984"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2018 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2019 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2020 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2021 |
<variable formalParameter="IN2"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2022 |
<connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2023 |
<relPosition x="0" y="56"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2024 |
<connection refLocalId="40"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2025 |
<position x="1008" y="1096"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2026 |
<position x="960" y="1096"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2027 |
</connection> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2028 |
</connectionPointIn> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2029 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2030 |
</inputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2031 |
<inOutVariables/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2032 |
<outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2033 |
<variable formalParameter="OUT"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2034 |
<connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2035 |
<relPosition x="64" y="32"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2036 |
</connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2037 |
</variable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2038 |
</outputVariables> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2039 |
</block> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2040 |
<inVariable localId="40" executionOrderId="0" height="32" width="48" negated="false"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2041 |
<position x="912" y="1080"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2042 |
<connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2043 |
<relPosition x="48" y="16"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2044 |
</connectionPointOut> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2045 |
<expression>'OK'</expression> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2046 |
</inVariable> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2047 |
<comment localId="41" height="40" width="248"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2048 |
<position x="160" y="864"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2049 |
<content> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2050 |
<xhtml:p><![CDATA[Execute only on first cycle]]></xhtml:p> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2051 |
</content> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2052 |
</comment> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2053 |
<comment localId="42" height="40" width="248"> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2054 |
<position x="648" y="864"/> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2055 |
<content> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2056 |
<xhtml:p><![CDATA[Log when just executed]]></xhtml:p> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2057 |
</content> |
5234d06f62ee
Tests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr>
parents:
3749
diff
changeset
|
2058 |
</comment> |
3749
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2059 |
</FBD> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2060 |
</body> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2061 |
</pou> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2062 |
<pou name="TEMPO_TEST" pouType="functionBlock"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2063 |
<interface> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2064 |
<inputVars> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2065 |
<variable name="RUN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2066 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2067 |
<BOOL/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2068 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2069 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2070 |
</inputVars> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2071 |
<outputVars> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2072 |
<variable name="VALID"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2073 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2074 |
<BOOL/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2075 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2076 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2077 |
<variable name="RESULT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2078 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2079 |
<string/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2080 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2081 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2082 |
</outputVars> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2083 |
<localVars> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2084 |
<variable name="TON0"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2085 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2086 |
<derived name="TON"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2087 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2088 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2089 |
<variable name="R_TRIG0"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2090 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2091 |
<derived name="R_TRIG"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2092 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2093 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2094 |
<variable name="R_TRIG1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2095 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2096 |
<derived name="R_TRIG"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2097 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2098 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2099 |
<variable name="RTC1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2100 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2101 |
<derived name="RTC"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2102 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2103 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2104 |
<variable name="START_TIME"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2105 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2106 |
<DT/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2107 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2108 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2109 |
<variable name="MEASURED_DURATION"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2110 |
<type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2111 |
<TIME/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2112 |
</type> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2113 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2114 |
</localVars> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2115 |
</interface> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2116 |
<body> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2117 |
<FBD> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2118 |
<block localId="2" typeName="TON" instanceName="TON0" executionOrderId="0" height="64" width="48"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2119 |
<position x="296" y="440"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2120 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2121 |
<variable formalParameter="IN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2122 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2123 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2124 |
<connection refLocalId="9"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2125 |
<position x="296" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2126 |
<position x="256" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2127 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2128 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2129 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2130 |
<variable formalParameter="PT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2131 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2132 |
<relPosition x="0" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2133 |
<connection refLocalId="17"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2134 |
<position x="296" y="496"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2135 |
<position x="208" y="496"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2136 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2137 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2138 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2139 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2140 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2141 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2142 |
<variable formalParameter="Q"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2143 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2144 |
<relPosition x="48" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2145 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2146 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2147 |
<variable formalParameter="ET"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2148 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2149 |
<relPosition x="48" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2150 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2151 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2152 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2153 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2154 |
<block localId="3" typeName="R_TRIG" instanceName="R_TRIG0" executionOrderId="0" height="48" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2155 |
<position x="152" y="288"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2156 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2157 |
<variable formalParameter="CLK"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2158 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2159 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2160 |
<connection refLocalId="8"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2161 |
<position x="152" y="320"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2162 |
<position x="120" y="320"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2163 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2164 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2165 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2166 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2167 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2168 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2169 |
<variable formalParameter="Q"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2170 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2171 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2172 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2173 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2174 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2175 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2176 |
<block localId="4" typeName="R_TRIG" instanceName="R_TRIG1" executionOrderId="0" height="48" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2177 |
<position x="384" y="440"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2178 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2179 |
<variable formalParameter="CLK"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2180 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2181 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2182 |
<connection refLocalId="2" formalParameter="Q"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2183 |
<position x="384" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2184 |
<position x="344" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2185 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2186 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2187 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2188 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2189 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2190 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2191 |
<variable formalParameter="Q"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2192 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2193 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2194 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2195 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2196 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2197 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2198 |
<block localId="5" typeName="RTC" instanceName="RTC1" executionOrderId="0" height="64" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2199 |
<position x="80" y="184"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2200 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2201 |
<variable formalParameter="IN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2202 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2203 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2204 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2205 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2206 |
<variable formalParameter="PDT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2207 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2208 |
<relPosition x="0" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2209 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2210 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2211 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2212 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2213 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2214 |
<variable formalParameter="Q"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2215 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2216 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2217 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2218 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2219 |
<variable formalParameter="CDT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2220 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2221 |
<relPosition x="64" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2222 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2223 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2224 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2225 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2226 |
<connector name="now" localId="7" height="32" width="72"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2227 |
<position x="176" y="224"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2228 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2229 |
<relPosition x="0" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2230 |
<connection refLocalId="5" formalParameter="CDT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2231 |
<position x="176" y="240"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2232 |
<position x="144" y="240"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2233 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2234 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2235 |
</connector> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2236 |
<continuation name="now" localId="1" height="32" width="72"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2237 |
<position x="496" y="488"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2238 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2239 |
<relPosition x="72" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2240 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2241 |
</continuation> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2242 |
<inVariable localId="8" executionOrderId="0" height="32" width="40" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2243 |
<position x="80" y="304"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2244 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2245 |
<relPosition x="40" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2246 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2247 |
<expression>RUN</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2248 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2249 |
<inVariable localId="9" executionOrderId="0" height="32" width="40" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2250 |
<position x="216" y="456"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2251 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2252 |
<relPosition x="40" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2253 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2254 |
<expression>RUN</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2255 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2256 |
<inVariable localId="10" executionOrderId="0" height="32" width="80" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2257 |
<position x="344" y="184"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2258 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2259 |
<relPosition x="80" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2260 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2261 |
<expression>TIME#10s</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2262 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2263 |
<continuation name="now" localId="11" height="32" width="72"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2264 |
<position x="232" y="328"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2265 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2266 |
<relPosition x="72" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2267 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2268 |
</continuation> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2269 |
<block localId="12" typeName="MOVE" executionOrderId="0" height="64" width="56"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2270 |
<position x="360" y="288"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2271 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2272 |
<variable formalParameter="EN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2273 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2274 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2275 |
<connection refLocalId="3" formalParameter="Q"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2276 |
<position x="360" y="320"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2277 |
<position x="216" y="320"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2278 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2279 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2280 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2281 |
<variable formalParameter="IN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2282 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2283 |
<relPosition x="0" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2284 |
<connection refLocalId="11"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2285 |
<position x="360" y="344"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2286 |
<position x="304" y="344"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2287 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2288 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2289 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2290 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2291 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2292 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2293 |
<variable formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2294 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2295 |
<relPosition x="56" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2296 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2297 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2298 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2299 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2300 |
<relPosition x="56" y="56"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2301 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2302 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2303 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2304 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2305 |
<outVariable localId="14" executionOrderId="0" height="32" width="96" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2306 |
<position x="464" y="328"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2307 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2308 |
<relPosition x="0" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2309 |
<connection refLocalId="12" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2310 |
<position x="464" y="344"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2311 |
<position x="416" y="344"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2312 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2313 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2314 |
<expression>START_TIME</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2315 |
</outVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2316 |
<block localId="15" typeName="SUB" executionOrderId="0" height="112" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2317 |
<position x="616" y="440"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2318 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2319 |
<variable formalParameter="EN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2320 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2321 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2322 |
<connection refLocalId="4" formalParameter="Q"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2323 |
<position x="616" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2324 |
<position x="448" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2325 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2326 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2327 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2328 |
<variable formalParameter="IN1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2329 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2330 |
<relPosition x="0" y="64"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2331 |
<connection refLocalId="1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2332 |
<position x="616" y="504"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2333 |
<position x="568" y="504"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2334 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2335 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2336 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2337 |
<variable formalParameter="IN2"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2338 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2339 |
<relPosition x="0" y="96"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2340 |
<connection refLocalId="6"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2341 |
<position x="616" y="536"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2342 |
<position x="568" y="536"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2343 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2344 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2345 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2346 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2347 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2348 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2349 |
<variable formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2350 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2351 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2352 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2353 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2354 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2355 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2356 |
<relPosition x="64" y="64"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2357 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2358 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2359 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2360 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2361 |
<inVariable localId="6" executionOrderId="0" height="32" width="96" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2362 |
<position x="472" y="520"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2363 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2364 |
<relPosition x="96" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2365 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2366 |
<expression>START_TIME</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2367 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2368 |
<comment localId="21" height="120" width="552"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2369 |
<position x="96" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2370 |
<content> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2371 |
<xhtml:p><![CDATA[Test that TON and TOFF work as expected]]></xhtml:p> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2372 |
</content> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2373 |
</comment> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2374 |
<outVariable localId="22" executionOrderId="0" height="32" width="56" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2375 |
<position x="1384" y="456"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2376 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2377 |
<relPosition x="0" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2378 |
<connection refLocalId="26" formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2379 |
<position x="1384" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2380 |
<position x="1328" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2381 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2382 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2383 |
<expression>VALID</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2384 |
</outVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2385 |
<block localId="13" typeName="SUB" executionOrderId="0" height="112" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2386 |
<position x="856" y="440"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2387 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2388 |
<variable formalParameter="EN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2389 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2390 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2391 |
<connection refLocalId="15" formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2392 |
<position x="856" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2393 |
<position x="680" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2394 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2395 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2396 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2397 |
<variable formalParameter="IN1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2398 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2399 |
<relPosition x="0" y="64"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2400 |
<connection refLocalId="15" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2401 |
<position x="856" y="504"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2402 |
<position x="680" y="504"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2403 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2404 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2405 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2406 |
<variable formalParameter="IN2"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2407 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2408 |
<relPosition x="0" y="96"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2409 |
<connection refLocalId="18"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2410 |
<position x="856" y="536"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2411 |
<position x="816" y="536"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2412 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2413 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2414 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2415 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2416 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2417 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2418 |
<variable formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2419 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2420 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2421 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2422 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2423 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2424 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2425 |
<relPosition x="64" y="64"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2426 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2427 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2428 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2429 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2430 |
<connector name="duration" localId="23" height="32" width="104"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2431 |
<position x="496" y="184"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2432 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2433 |
<relPosition x="0" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2434 |
<connection refLocalId="10"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2435 |
<position x="496" y="200"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2436 |
<position x="424" y="200"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2437 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2438 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2439 |
</connector> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2440 |
<continuation name="duration" localId="17" height="32" width="104"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2441 |
<position x="104" y="480"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2442 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2443 |
<relPosition x="104" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2444 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2445 |
</continuation> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2446 |
<continuation name="duration" localId="18" height="32" width="104"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2447 |
<position x="712" y="520"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2448 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2449 |
<relPosition x="104" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2450 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2451 |
</continuation> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2452 |
<block localId="24" typeName="LT" executionOrderId="0" height="104" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2453 |
<position x="1048" y="440"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2454 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2455 |
<variable formalParameter="EN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2456 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2457 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2458 |
<connection refLocalId="13" formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2459 |
<position x="1048" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2460 |
<position x="920" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2461 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2462 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2463 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2464 |
<variable formalParameter="IN1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2465 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2466 |
<relPosition x="0" y="64"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2467 |
<connection refLocalId="13" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2468 |
<position x="1048" y="504"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2469 |
<position x="920" y="504"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2470 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2471 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2472 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2473 |
<variable formalParameter="IN2"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2474 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2475 |
<relPosition x="0" y="88"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2476 |
<connection refLocalId="19"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2477 |
<position x="1048" y="528"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2478 |
<position x="1016" y="528"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2479 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2480 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2481 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2482 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2483 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2484 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2485 |
<variable formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2486 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2487 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2488 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2489 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2490 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2491 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2492 |
<relPosition x="64" y="64"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2493 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2494 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2495 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2496 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2497 |
<inVariable localId="19" executionOrderId="0" height="32" width="80" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2498 |
<position x="936" y="512"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2499 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2500 |
<relPosition x="80" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2501 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2502 |
<expression>TIME#1s</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2503 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2504 |
<block localId="26" typeName="SEL" executionOrderId="0" height="144" width="64"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2505 |
<position x="1264" y="440"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2506 |
<inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2507 |
<variable formalParameter="EN"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2508 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2509 |
<relPosition x="0" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2510 |
<connection refLocalId="24" formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2511 |
<position x="1264" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2512 |
<position x="1112" y="472"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2513 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2514 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2515 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2516 |
<variable formalParameter="G"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2517 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2518 |
<relPosition x="0" y="64"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2519 |
<connection refLocalId="24" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2520 |
<position x="1264" y="504"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2521 |
<position x="1112" y="504"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2522 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2523 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2524 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2525 |
<variable formalParameter="IN0"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2526 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2527 |
<relPosition x="0" y="96"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2528 |
<connection refLocalId="28"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2529 |
<position x="1264" y="536"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2530 |
<position x="1208" y="536"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2531 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2532 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2533 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2534 |
<variable formalParameter="IN1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2535 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2536 |
<relPosition x="0" y="128"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2537 |
<connection refLocalId="27"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2538 |
<position x="1264" y="568"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2539 |
<position x="1208" y="568"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2540 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2541 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2542 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2543 |
</inputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2544 |
<inOutVariables/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2545 |
<outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2546 |
<variable formalParameter="ENO"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2547 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2548 |
<relPosition x="64" y="32"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2549 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2550 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2551 |
<variable formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2552 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2553 |
<relPosition x="64" y="64"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2554 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2555 |
</variable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2556 |
</outputVariables> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2557 |
</block> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2558 |
<inVariable localId="27" executionOrderId="0" height="32" width="56" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2559 |
<position x="1152" y="552"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2560 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2561 |
<relPosition x="56" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2562 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2563 |
<expression>'OK'</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2564 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2565 |
<inVariable localId="28" executionOrderId="0" height="32" width="56" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2566 |
<position x="1152" y="520"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2567 |
<connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2568 |
<relPosition x="56" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2569 |
</connectionPointOut> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2570 |
<expression>'BAD'</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2571 |
</inVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2572 |
<outVariable localId="29" executionOrderId="0" height="32" width="64" negated="false"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2573 |
<position x="1384" y="488"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2574 |
<connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2575 |
<relPosition x="0" y="16"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2576 |
<connection refLocalId="26" formalParameter="OUT"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2577 |
<position x="1384" y="504"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2578 |
<position x="1328" y="504"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2579 |
</connection> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2580 |
</connectionPointIn> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2581 |
<expression>RESULT</expression> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2582 |
</outVariable> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2583 |
</FBD> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2584 |
</body> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2585 |
</pou> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2586 |
</pous> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2587 |
</types> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2588 |
<instances> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2589 |
<configurations> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2590 |
<configuration name="config"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2591 |
<resource name="resource1"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2592 |
<task name="task0" priority="0" interval="T#20ms"> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2593 |
<pouInstance name="instance0" typeName="main_test"/> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2594 |
</task> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2595 |
</resource> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2596 |
</configuration> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2597 |
</configurations> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2598 |
</instances> |
fda6c1a37662
Tests: Add preliminary IEC-61131 language test, to be continued.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2599 |
</project> |