author | Mario de Sousa <msousa@fe.up.pt> |
Fri, 24 Mar 2017 12:07:47 +0000 | |
changeset 1911 | c1298e7ffe3a |
parent 1552 | 9a59d1de198a |
child 2170 | ce5bd74ed552 |
permissions | -rw-r--r-- |
1552
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1 |
<?xml version='1.0' encoding='utf-8'?> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@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"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
3 |
<fileHeader companyName="Beremiz" productName="Beremiz" productVersion="1" creationDateTime="2016-10-24T18:09:22"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
4 |
<contentHeader name="First Steps" modificationDateTime="2016-10-26T20:18:02"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
5 |
<coordinateInfo> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
6 |
<fbd> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
7 |
<scaling x="0" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
8 |
</fbd> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
9 |
<ld> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
10 |
<scaling x="0" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
11 |
</ld> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
12 |
<sfc> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
13 |
<scaling x="0" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
14 |
</sfc> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
15 |
</coordinateInfo> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
16 |
</contentHeader> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
17 |
<types> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
18 |
<dataTypes/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
19 |
<pous> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
20 |
<pou name="plc_prg" pouType="program"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
21 |
<interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
22 |
<inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
23 |
<variable name="Reset"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
24 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
25 |
<BOOL/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
26 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
27 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
28 |
</inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
29 |
<outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
30 |
<variable name="Cnt1"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
31 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
32 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
33 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
34 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
35 |
<variable name="Cnt2"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
36 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
37 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
38 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
39 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
40 |
<variable name="Cnt3"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
41 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
42 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
43 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
44 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
45 |
<variable name="Cnt4"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
46 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
47 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
48 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
49 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
50 |
<variable name="Cnt5"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
51 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
52 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
53 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
54 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
55 |
</outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
56 |
<localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
57 |
<variable name="CounterST0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
58 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
59 |
<derived name="CounterST"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
60 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
61 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
62 |
<variable name="CounterFBD0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
63 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
64 |
<derived name="CounterFBD"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
65 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
66 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
67 |
<variable name="CounterSFC0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
68 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
69 |
<derived name="CounterSFC"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
70 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
71 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
72 |
<variable name="CounterIL0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
73 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
74 |
<derived name="CounterIL"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
75 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
76 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
77 |
<variable name="CounterLD0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
78 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
79 |
<derived name="CounterLD"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
80 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
81 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
82 |
</localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
83 |
</interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
84 |
<body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
85 |
<FBD> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
86 |
<block localId="1" typeName="CounterST" instanceName="CounterST0" executionOrderId="0" height="60" width="125"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
87 |
<position x="207" y="53"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
88 |
<inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
89 |
<variable formalParameter="Reset"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
90 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
91 |
<relPosition x="0" y="40"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
92 |
<connection refLocalId="2"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
93 |
<position x="207" y="93"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
94 |
<position x="114" y="93"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
95 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
96 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
97 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
98 |
</inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
99 |
<inOutVariables/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
100 |
<outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
101 |
<variable formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
102 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
103 |
<relPosition x="125" y="40"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
104 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
105 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
106 |
</outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
107 |
</block> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
108 |
<inVariable localId="2" executionOrderId="0" height="24" width="79" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
109 |
<position x="35" y="81"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
110 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
111 |
<relPosition x="79" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
112 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
113 |
<expression>Reset</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
114 |
</inVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
115 |
<outVariable localId="3" executionOrderId="0" height="24" width="106" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
116 |
<position x="424" y="81"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
117 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
118 |
<relPosition x="0" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
119 |
<connection refLocalId="1" formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
120 |
<position x="424" y="93"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
121 |
<position x="332" y="93"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
122 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
123 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
124 |
<expression>Cnt1</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
125 |
</outVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
126 |
<block localId="4" typeName="CounterFBD" instanceName="CounterFBD0" executionOrderId="0" height="54" width="121"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
127 |
<position x="211" y="145"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
128 |
<inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
129 |
<variable formalParameter="Reset"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
130 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
131 |
<relPosition x="0" y="37"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
132 |
<connection refLocalId="13"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
133 |
<position x="211" y="182"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
134 |
<position x="115" y="182"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
135 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
136 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
137 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
138 |
</inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
139 |
<inOutVariables/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
140 |
<outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
141 |
<variable formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
142 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
143 |
<relPosition x="121" y="37"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
144 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
145 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
146 |
</outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
147 |
</block> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
148 |
<outVariable localId="5" executionOrderId="0" height="24" width="103" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
149 |
<position x="426" y="170"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
150 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
151 |
<relPosition x="0" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
152 |
<connection refLocalId="4" formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
153 |
<position x="426" y="182"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
154 |
<position x="332" y="182"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
155 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
156 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
157 |
<expression>Cnt2</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
158 |
</outVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
159 |
<comment localId="6" height="264" width="417"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
160 |
<position x="569" y="55"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
161 |
<content> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
162 |
<xhtml:p><![CDATA[In this example function block with the same functionality |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
163 |
is created using all five IEC 61131-3 programing languages: |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
164 |
- IL; |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
165 |
- FBD; |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
166 |
- LD; |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
167 |
- ST; |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
168 |
- SFC. |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
169 |
|
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
170 |
|
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
171 |
|
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
172 |
|
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
173 |
Function block is a counter with reset control input. |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
174 |
If reset is True counter value is reset to the value defined by |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
175 |
global configuration constant ResetCounterValue. |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
176 |
If reset is False, counter is incremented every cycle. |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
177 |
]]></xhtml:p> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
178 |
</content> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
179 |
</comment> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
180 |
<block localId="7" typeName="CounterSFC" instanceName="CounterSFC0" executionOrderId="0" height="52" width="121"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
181 |
<position x="211" y="237"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
182 |
<inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
183 |
<variable formalParameter="Reset"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
184 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
185 |
<relPosition x="0" y="36"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
186 |
<connection refLocalId="12"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
187 |
<position x="211" y="273"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
188 |
<position x="103" y="273"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
189 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
190 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
191 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
192 |
</inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
193 |
<inOutVariables/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
194 |
<outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
195 |
<variable formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
196 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
197 |
<relPosition x="121" y="36"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
198 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
199 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
200 |
</outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
201 |
</block> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
202 |
<outVariable localId="8" executionOrderId="0" height="24" width="97" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
203 |
<position x="431" y="261"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
204 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
205 |
<relPosition x="0" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
206 |
<connection refLocalId="7" formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
207 |
<position x="431" y="273"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
208 |
<position x="332" y="273"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
209 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
210 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
211 |
<expression>Cnt3</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
212 |
</outVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
213 |
<block localId="9" typeName="CounterIL" instanceName="CounterIL0" executionOrderId="0" height="62" width="121"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
214 |
<position x="211" y="322"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
215 |
<inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
216 |
<variable formalParameter="Reset"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
217 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
218 |
<relPosition x="0" y="41"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
219 |
<connection refLocalId="10"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
220 |
<position x="211" y="363"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
221 |
<position x="101" y="363"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
222 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
223 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
224 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
225 |
</inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
226 |
<inOutVariables/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
227 |
<outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
228 |
<variable formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
229 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
230 |
<relPosition x="121" y="41"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
231 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
232 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
233 |
</outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
234 |
</block> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
235 |
<inVariable localId="10" executionOrderId="0" height="24" width="67" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
236 |
<position x="34" y="351"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
237 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
238 |
<relPosition x="67" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
239 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
240 |
<expression>Reset</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
241 |
</inVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
242 |
<outVariable localId="11" executionOrderId="0" height="24" width="91" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
243 |
<position x="434" y="351"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
244 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
245 |
<relPosition x="0" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
246 |
<connection refLocalId="9" formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
247 |
<position x="434" y="363"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
248 |
<position x="332" y="363"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
249 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
250 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
251 |
<expression>Cnt4</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
252 |
</outVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
253 |
<inVariable localId="12" executionOrderId="0" height="24" width="67" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
254 |
<position x="36" y="261"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
255 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
256 |
<relPosition x="67" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
257 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
258 |
<expression>Reset</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
259 |
</inVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
260 |
<inVariable localId="13" executionOrderId="0" height="24" width="79" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
261 |
<position x="36" y="170"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
262 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
263 |
<relPosition x="79" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
264 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
265 |
<expression>Reset</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
266 |
</inVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
267 |
<block localId="14" typeName="CounterLD" instanceName="CounterLD0" executionOrderId="0" height="62" width="124"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
268 |
<position x="210" y="411"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
269 |
<inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
270 |
<variable formalParameter="Reset"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
271 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
272 |
<relPosition x="0" y="41"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
273 |
<connection refLocalId="16"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
274 |
<position x="210" y="452"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
275 |
<position x="100" y="452"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
276 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
277 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
278 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
279 |
</inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
280 |
<inOutVariables/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
281 |
<outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
282 |
<variable formalParameter="Out"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
283 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
284 |
<relPosition x="124" y="41"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
285 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
286 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
287 |
</outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
288 |
</block> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
289 |
<outVariable localId="15" executionOrderId="0" height="24" width="88" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
290 |
<position x="437" y="440"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
291 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
292 |
<relPosition x="0" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
293 |
<connection refLocalId="14" formalParameter="Out"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
294 |
<position x="437" y="452"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
295 |
<position x="334" y="452"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
296 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
297 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
298 |
<expression>Cnt5</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
299 |
</outVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
300 |
<inVariable localId="16" executionOrderId="0" height="24" width="64" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
301 |
<position x="36" y="440"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
302 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
303 |
<relPosition x="64" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
304 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
305 |
<expression>Reset</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
306 |
</inVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
307 |
</FBD> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
308 |
</body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
309 |
</pou> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
310 |
<pou name="CounterST" pouType="functionBlock"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
311 |
<interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
312 |
<inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
313 |
<variable name="Reset"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
314 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
315 |
<BOOL/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
316 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
317 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
318 |
</inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
319 |
<localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
320 |
<variable name="Cnt"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
321 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
322 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
323 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
324 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
325 |
</localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
326 |
<outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
327 |
<variable name="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
328 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
329 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
330 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
331 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
332 |
</outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
333 |
<externalVars constant="true"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
334 |
<variable name="ResetCounterValue"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
335 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
336 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
337 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
338 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
339 |
</externalVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
340 |
</interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
341 |
<body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
342 |
<ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
343 |
<xhtml:p><![CDATA[IF Reset THEN |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
344 |
Cnt := ResetCounterValue; |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
345 |
ELSE |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
346 |
Cnt := Cnt + 1; |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
347 |
END_IF; |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
348 |
|
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
349 |
Out := Cnt;]]></xhtml:p> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
350 |
</ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
351 |
</body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
352 |
</pou> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
353 |
<pou name="CounterFBD" pouType="functionBlock"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
354 |
<interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
355 |
<inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
356 |
<variable name="Reset"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
357 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
358 |
<BOOL/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
359 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
360 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
361 |
</inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
362 |
<outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
363 |
<variable name="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
364 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
365 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
366 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
367 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
368 |
</outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
369 |
<localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
370 |
<variable name="Cnt"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
371 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
372 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
373 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
374 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
375 |
</localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
376 |
<externalVars constant="true"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
377 |
<variable name="ResetCounterValue"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
378 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
379 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
380 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
381 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
382 |
</externalVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
383 |
</interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
384 |
<body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
385 |
<FBD> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
386 |
<inVariable localId="1" executionOrderId="0" height="24" width="61" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
387 |
<position x="321" y="58"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
388 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
389 |
<relPosition x="61" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
390 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
391 |
<expression>Reset</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
392 |
</inVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
393 |
<outVariable localId="2" executionOrderId="0" height="24" width="34" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
394 |
<position x="675" y="137"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
395 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
396 |
<relPosition x="0" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
397 |
<connection refLocalId="3"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
398 |
<position x="675" y="149"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
399 |
<position x="586" y="149"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
400 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
401 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
402 |
<expression>OUT</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
403 |
</outVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
404 |
<inOutVariable localId="3" executionOrderId="0" height="24" width="29" negatedOut="false" negatedIn="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
405 |
<position x="557" y="137"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
406 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
407 |
<relPosition x="0" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
408 |
<connection refLocalId="7" formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
409 |
<position x="557" y="149"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
410 |
<position x="524" y="149"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
411 |
<position x="524" y="130"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
412 |
<position x="505" y="130"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
413 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
414 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
415 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
416 |
<relPosition x="29" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
417 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
418 |
<expression>Cnt</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
419 |
</inOutVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
420 |
<block localId="4" typeName="ADD" executionOrderId="0" height="80" width="57"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
421 |
<position x="328" y="115"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
422 |
<inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
423 |
<variable formalParameter="IN1"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
424 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
425 |
<relPosition x="0" y="35"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
426 |
<connection refLocalId="6"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
427 |
<position x="328" y="150"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
428 |
<position x="275" y="150"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
429 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
430 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
431 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
432 |
<variable formalParameter="IN2"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
433 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
434 |
<relPosition x="0" y="65"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
435 |
<connection refLocalId="3"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
436 |
<position x="328" y="180"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
437 |
<position x="317" y="180"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
438 |
<position x="317" y="213"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
439 |
<position x="596" y="213"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
440 |
<position x="596" y="149"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
441 |
<position x="586" y="149"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
442 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
443 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
444 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
445 |
</inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
446 |
<inOutVariables/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
447 |
<outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
448 |
<variable formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
449 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
450 |
<relPosition x="57" y="35"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
451 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
452 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
453 |
</outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
454 |
</block> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
455 |
<inVariable localId="5" executionOrderId="0" height="24" width="158" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
456 |
<position x="222" y="256"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
457 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
458 |
<relPosition x="158" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
459 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
460 |
<expression>ResetCounterValue</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
461 |
</inVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
462 |
<inVariable localId="6" executionOrderId="0" height="24" width="21" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
463 |
<position x="254" y="138"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
464 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
465 |
<relPosition x="21" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
466 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
467 |
<expression>1</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
468 |
</inVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
469 |
<block localId="7" typeName="SEL" executionOrderId="0" height="80" width="57"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
470 |
<position x="448" y="100"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
471 |
<inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
472 |
<variable formalParameter="G"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
473 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
474 |
<relPosition x="0" y="30"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
475 |
<connection refLocalId="1"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
476 |
<position x="448" y="130"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
477 |
<position x="415" y="130"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
478 |
<position x="415" y="70"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
479 |
<position x="382" y="70"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
480 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
481 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
482 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
483 |
<variable formalParameter="IN0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
484 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
485 |
<relPosition x="0" y="50"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
486 |
<connection refLocalId="4" formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
487 |
<position x="448" y="150"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
488 |
<position x="385" y="150"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
489 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
490 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
491 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
492 |
<variable formalParameter="IN1"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
493 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
494 |
<relPosition x="0" y="70"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
495 |
<connection refLocalId="5"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
496 |
<position x="448" y="170"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
497 |
<position x="414" y="170"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
498 |
<position x="414" y="268"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
499 |
<position x="380" y="268"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
500 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
501 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
502 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
503 |
</inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
504 |
<inOutVariables/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
505 |
<outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
506 |
<variable formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
507 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
508 |
<relPosition x="57" y="30"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
509 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
510 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
511 |
</outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
512 |
</block> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
513 |
</FBD> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
514 |
</body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
515 |
</pou> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
516 |
<pou name="CounterSFC" pouType="functionBlock"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
517 |
<interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
518 |
<inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
519 |
<variable name="Reset"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
520 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
521 |
<BOOL/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
522 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
523 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
524 |
</inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
525 |
<outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
526 |
<variable name="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
527 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
528 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
529 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
530 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
531 |
</outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
532 |
<localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
533 |
<variable name="Cnt"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
534 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
535 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
536 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
537 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
538 |
</localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
539 |
<externalVars constant="true"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
540 |
<variable name="ResetCounterValue"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
541 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
542 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
543 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
544 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
545 |
</externalVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
546 |
</interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
547 |
<actions/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
548 |
<body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
549 |
<SFC> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
550 |
<step localId="1" name="Start" initialStep="true" height="28" width="90"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
551 |
<position x="241" y="14"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
552 |
<connectionPointOut formalParameter=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
553 |
<relPosition x="45" y="28"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
554 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
555 |
</step> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
556 |
<selectionDivergence localId="2" height="1" width="431"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
557 |
<position x="70" y="86"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
558 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
559 |
<relPosition x="216" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
560 |
<connection refLocalId="1"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
561 |
<position x="286" y="86"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
562 |
<position x="286" y="42"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
563 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
564 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
565 |
<connectionPointOut formalParameter=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
566 |
<relPosition x="0" y="1"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
567 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
568 |
<connectionPointOut formalParameter=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
569 |
<relPosition x="431" y="1"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
570 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
571 |
</selectionDivergence> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
572 |
<transition localId="3" height="2" width="20"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
573 |
<position x="491" y="132"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
574 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
575 |
<relPosition x="10" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
576 |
<connection refLocalId="2"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
577 |
<position x="501" y="132"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
578 |
<position x="501" y="87"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
579 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
580 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
581 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
582 |
<relPosition x="10" y="2"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
583 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
584 |
<condition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
585 |
<inline name=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
586 |
<ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
587 |
<xhtml:p><![CDATA[Reset]]></xhtml:p> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
588 |
</ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
589 |
</inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
590 |
</condition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
591 |
</transition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
592 |
<transition localId="4" height="2" width="20" executionOrderId="0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
593 |
<position x="60" y="135"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
594 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
595 |
<relPosition x="10" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
596 |
<connection refLocalId="2"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
597 |
<position x="70" y="135"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
598 |
<position x="70" y="87"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
599 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
600 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
601 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
602 |
<relPosition x="10" y="2"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
603 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
604 |
<condition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
605 |
<inline name=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
606 |
<ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
607 |
<xhtml:p><![CDATA[NOT Reset]]></xhtml:p> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
608 |
</ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
609 |
</inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
610 |
</condition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
611 |
</transition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
612 |
<step localId="5" name="ResetCounter" initialStep="false" height="24" width="104"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
613 |
<position x="449" y="190"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
614 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
615 |
<relPosition x="52" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
616 |
<connection refLocalId="3"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
617 |
<position x="501" y="190"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
618 |
<position x="501" y="134"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
619 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
620 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
621 |
<connectionPointOut formalParameter=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
622 |
<relPosition x="52" y="24"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
623 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
624 |
<connectionPointOutAction formalParameter=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
625 |
<relPosition x="104" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
626 |
</connectionPointOutAction> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
627 |
</step> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
628 |
<actionBlock localId="6" height="63" width="222"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
629 |
<position x="600" y="187"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
630 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
631 |
<relPosition x="0" y="15"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
632 |
<connection refLocalId="5"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
633 |
<position x="600" y="202"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
634 |
<position x="553" y="202"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
635 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
636 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
637 |
<action localId="0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
638 |
<relPosition x="0" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
639 |
<inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
640 |
<ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
641 |
<xhtml:p><![CDATA[Cnt := ResetCounterValue;]]></xhtml:p> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
642 |
</ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
643 |
</inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
644 |
</action> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
645 |
<action localId="0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
646 |
<relPosition x="0" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
647 |
<inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
648 |
<ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
649 |
<xhtml:p><![CDATA[OUT := Cnt;]]></xhtml:p> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
650 |
</ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
651 |
</inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
652 |
</action> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
653 |
</actionBlock> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
654 |
<step localId="7" name="Count" initialStep="false" height="24" width="85" executionOrderId="0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
655 |
<position x="28" y="191"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
656 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
657 |
<relPosition x="42" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
658 |
<connection refLocalId="4"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
659 |
<position x="70" y="191"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
660 |
<position x="70" y="137"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
661 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
662 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
663 |
<connectionPointOut formalParameter=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
664 |
<relPosition x="42" y="24"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
665 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
666 |
<connectionPointOutAction formalParameter=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
667 |
<relPosition x="85" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
668 |
</connectionPointOutAction> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
669 |
</step> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
670 |
<actionBlock localId="8" height="52" width="148" executionOrderId="0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
671 |
<position x="135" y="188"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
672 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
673 |
<relPosition x="0" y="15"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
674 |
<connection refLocalId="7"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
675 |
<position x="135" y="203"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
676 |
<position x="113" y="203"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
677 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
678 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
679 |
<action localId="0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
680 |
<relPosition x="0" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
681 |
<inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
682 |
<ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
683 |
<xhtml:p><![CDATA[Cnt := Cnt + 1;]]></xhtml:p> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
684 |
</ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
685 |
</inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
686 |
</action> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
687 |
<action localId="0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
688 |
<relPosition x="0" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
689 |
<inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
690 |
<ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
691 |
<xhtml:p><![CDATA[OUT := Cnt;]]></xhtml:p> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
692 |
</ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
693 |
</inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
694 |
</action> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
695 |
</actionBlock> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
696 |
<selectionConvergence localId="10" height="1" width="431"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
697 |
<position x="70" y="273"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
698 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
699 |
<relPosition x="0" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
700 |
<connection refLocalId="13"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
701 |
<position x="70" y="273"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
702 |
<position x="70" y="244"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
703 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
704 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
705 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
706 |
<relPosition x="431" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
707 |
<connection refLocalId="14"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
708 |
<position x="501" y="273"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
709 |
<position x="501" y="250"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
710 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
711 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
712 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
713 |
<relPosition x="216" y="1"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
714 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
715 |
</selectionConvergence> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
716 |
<jumpStep localId="12" targetName="Start" height="13" width="12"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
717 |
<position x="280" y="317"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
718 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
719 |
<relPosition x="6" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
720 |
<connection refLocalId="10"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
721 |
<position x="286" y="317"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
722 |
<position x="286" y="274"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
723 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
724 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
725 |
</jumpStep> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
726 |
<transition localId="13" height="2" width="20" executionOrderId="0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
727 |
<position x="60" y="242"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
728 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
729 |
<relPosition x="10" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
730 |
<connection refLocalId="7"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
731 |
<position x="70" y="242"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
732 |
<position x="70" y="215"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
733 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
734 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
735 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
736 |
<relPosition x="10" y="2"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
737 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
738 |
<condition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
739 |
<inline name=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
740 |
<ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
741 |
<xhtml:p><![CDATA[Reset]]></xhtml:p> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
742 |
</ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
743 |
</inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
744 |
</condition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
745 |
</transition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
746 |
<transition localId="14" height="2" width="20" executionOrderId="0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
747 |
<position x="491" y="248"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
748 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
749 |
<relPosition x="10" y="0"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
750 |
<connection refLocalId="5"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
751 |
<position x="501" y="248"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
752 |
<position x="501" y="214"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
753 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
754 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
755 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
756 |
<relPosition x="10" y="2"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
757 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
758 |
<condition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
759 |
<inline name=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
760 |
<ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
761 |
<xhtml:p><![CDATA[NOT Reset]]></xhtml:p> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
762 |
</ST> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
763 |
</inline> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
764 |
</condition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
765 |
</transition> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
766 |
</SFC> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
767 |
</body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
768 |
</pou> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
769 |
<pou name="CounterIL" pouType="functionBlock"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
770 |
<interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
771 |
<localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
772 |
<variable name="Cnt"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
773 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
774 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
775 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
776 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
777 |
</localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
778 |
<inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
779 |
<variable name="Reset"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
780 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
781 |
<BOOL/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
782 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
783 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
784 |
</inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
785 |
<outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
786 |
<variable name="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
787 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
788 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
789 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
790 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
791 |
</outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
792 |
<externalVars constant="true"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
793 |
<variable name="ResetCounterValue"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
794 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
795 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
796 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
797 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
798 |
</externalVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
799 |
</interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
800 |
<body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
801 |
<IL> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
802 |
<xhtml:p><![CDATA[LD Reset |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
803 |
JMPC ResetCnt |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
804 |
|
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
805 |
(* increment counter *) |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
806 |
LD Cnt |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
807 |
ADD 1 |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
808 |
JMP QuitFb |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
809 |
|
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
810 |
ResetCnt: |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
811 |
(* reset counter *) |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
812 |
LD ResetCounterValue |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
813 |
|
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
814 |
QuitFb: |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
815 |
(* save results *) |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
816 |
ST Cnt |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
817 |
ST Out |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
818 |
]]></xhtml:p> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
819 |
</IL> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
820 |
</body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
821 |
</pou> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
822 |
<pou name="CounterLD" pouType="functionBlock"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
823 |
<interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
824 |
<inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
825 |
<variable name="Reset"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
826 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
827 |
<BOOL/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
828 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
829 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
830 |
</inputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
831 |
<outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
832 |
<variable name="Out"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
833 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
834 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
835 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
836 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
837 |
</outputVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
838 |
<localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
839 |
<variable name="Cnt"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
840 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
841 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
842 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
843 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
844 |
</localVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
845 |
<externalVars constant="true"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
846 |
<variable name="ResetCounterValue"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
847 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
848 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
849 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
850 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
851 |
</externalVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
852 |
</interface> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
853 |
<body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
854 |
<LD> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
855 |
<outVariable localId="2" executionOrderId="0" height="24" width="34" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
856 |
<position x="527" y="90"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
857 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
858 |
<relPosition x="0" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
859 |
<connection refLocalId="3"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
860 |
<position x="527" y="102"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
861 |
<position x="438" y="102"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
862 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
863 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
864 |
<expression>Out</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
865 |
</outVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
866 |
<inOutVariable localId="3" executionOrderId="0" height="24" width="29" negatedOut="false" negatedIn="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
867 |
<position x="409" y="90"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
868 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
869 |
<relPosition x="0" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
870 |
<connection refLocalId="7" formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
871 |
<position x="409" y="102"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
872 |
<position x="357" y="102"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
873 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
874 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
875 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
876 |
<relPosition x="29" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
877 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
878 |
<expression>Cnt</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
879 |
</inOutVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
880 |
<block localId="4" typeName="ADD" executionOrderId="0" height="80" width="57"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
881 |
<position x="180" y="87"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
882 |
<inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
883 |
<variable formalParameter="IN1"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
884 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
885 |
<relPosition x="0" y="35"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
886 |
<connection refLocalId="6"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
887 |
<position x="180" y="122"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
888 |
<position x="127" y="122"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
889 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
890 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
891 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
892 |
<variable formalParameter="IN2"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
893 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
894 |
<relPosition x="0" y="65"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
895 |
<connection refLocalId="3"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
896 |
<position x="180" y="152"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
897 |
<position x="169" y="152"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
898 |
<position x="169" y="185"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
899 |
<position x="448" y="185"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
900 |
<position x="448" y="102"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
901 |
<position x="438" y="102"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
902 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
903 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
904 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
905 |
</inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
906 |
<inOutVariables/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
907 |
<outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
908 |
<variable formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
909 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
910 |
<relPosition x="57" y="35"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
911 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
912 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
913 |
</outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
914 |
</block> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
915 |
<inVariable localId="5" executionOrderId="0" height="24" width="158" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
916 |
<position x="74" y="228"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
917 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
918 |
<relPosition x="158" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
919 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
920 |
<expression>ResetCounterValue</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
921 |
</inVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
922 |
<inVariable localId="6" executionOrderId="0" height="24" width="21" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
923 |
<position x="106" y="110"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
924 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
925 |
<relPosition x="21" y="12"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
926 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
927 |
<expression>1</expression> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
928 |
</inVariable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
929 |
<block localId="7" typeName="SEL" executionOrderId="0" height="80" width="57"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
930 |
<position x="300" y="72"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
931 |
<inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
932 |
<variable formalParameter="G"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
933 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
934 |
<relPosition x="0" y="30"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
935 |
<connection refLocalId="9"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
936 |
<position x="300" y="102"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
937 |
<position x="266" y="102"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
938 |
<position x="266" y="62"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
939 |
<position x="134" y="62"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
940 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
941 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
942 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
943 |
<variable formalParameter="IN0"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
944 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
945 |
<relPosition x="0" y="50"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
946 |
<connection refLocalId="4" formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
947 |
<position x="300" y="122"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
948 |
<position x="237" y="122"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
949 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
950 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
951 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
952 |
<variable formalParameter="IN1"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
953 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
954 |
<relPosition x="0" y="70"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
955 |
<connection refLocalId="5"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
956 |
<position x="300" y="142"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
957 |
<position x="266" y="142"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
958 |
<position x="266" y="240"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
959 |
<position x="232" y="240"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
960 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
961 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
962 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
963 |
</inputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
964 |
<inOutVariables/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
965 |
<outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
966 |
<variable formalParameter="OUT"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
967 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
968 |
<relPosition x="57" y="30"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
969 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
970 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
971 |
</outputVariables> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
972 |
</block> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
973 |
<leftPowerRail localId="8" height="40" width="3"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
974 |
<position x="46" y="42"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
975 |
<connectionPointOut formalParameter=""> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
976 |
<relPosition x="3" y="20"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
977 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
978 |
</leftPowerRail> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
979 |
<contact localId="9" height="15" width="21" negated="false"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
980 |
<position x="113" y="54"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
981 |
<connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
982 |
<relPosition x="0" y="8"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
983 |
<connection refLocalId="8"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
984 |
<position x="113" y="62"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
985 |
<position x="49" y="62"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
986 |
</connection> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
987 |
</connectionPointIn> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
988 |
<connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
989 |
<relPosition x="21" y="8"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
990 |
</connectionPointOut> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
991 |
<variable>Reset</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
992 |
</contact> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
993 |
</LD> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
994 |
</body> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
995 |
</pou> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
996 |
</pous> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
997 |
</types> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
998 |
<instances> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
999 |
<configurations> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1000 |
<configuration name="config"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1001 |
<resource name="resource1"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1002 |
<task name="plc_task" priority="1" interval="T#100ms"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1003 |
<pouInstance name="plc_task_instance" typeName="plc_prg"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1004 |
</task> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1005 |
</resource> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1006 |
<globalVars constant="true"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1007 |
<variable name="ResetCounterValue"> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1008 |
<type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1009 |
<INT/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1010 |
</type> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1011 |
<initialValue> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1012 |
<simpleValue value="17"/> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1013 |
</initialValue> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1014 |
</variable> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1015 |
</globalVars> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1016 |
</configuration> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1017 |
</configurations> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1018 |
</instances> |
9a59d1de198a
add first steps example, that shows how use all IEC 61131 languages
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1019 |
</project> |