author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Fri, 10 Jul 2020 11:15:41 +0200 | |
branch | svghmi |
changeset 2992 | d48ad9c3ec91 |
parent 2346 | ac16bad593cf |
permissions | -rw-r--r-- |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
1 |
<?xml version='1.0' encoding='utf-8'?> |
3145dcffc6ed
Add BACnet example
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"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
3 |
<fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2018-07-28T02:24:08"/> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
4 |
<contentHeader name="BACnet" modificationDateTime="2018-09-26T14:00:21"> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
5 |
<coordinateInfo> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
6 |
<fbd> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
7 |
<scaling x="0" y="0"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
8 |
</fbd> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
9 |
<ld> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
10 |
<scaling x="0" y="0"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
11 |
</ld> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
12 |
<sfc> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
13 |
<scaling x="0" y="0"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
14 |
</sfc> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
15 |
</coordinateInfo> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
16 |
</contentHeader> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
17 |
<types> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
18 |
<dataTypes/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
19 |
<pous> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
20 |
<pou name="program0" pouType="program"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
21 |
<interface> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
22 |
<localVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
23 |
<variable name="EnergyCounter" address="%MD0.2.0"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
24 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
25 |
<REAL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
26 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
27 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
28 |
<variable name="Temperature" address="%ID0.0.0"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
29 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
30 |
<REAL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
31 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
32 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
33 |
<variable name="Humidity" address="%ID0.0.1"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
34 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
35 |
<REAL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
36 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
37 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
38 |
</localVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
39 |
<localVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
40 |
<variable name="TempSimulation"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
41 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
42 |
<derived name="Simulator"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
43 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
44 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
45 |
<variable name="HumiditySimulation"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
46 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
47 |
<derived name="Simulator"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
48 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
49 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
50 |
</localVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
51 |
<localVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
52 |
<variable name="TemperatureSetPoint" address="%QD0.1.0"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
53 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
54 |
<REAL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
55 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
56 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
57 |
<variable name="ControlDisable" address="%QX0.4.2"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
58 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
59 |
<BOOL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
60 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
61 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
62 |
<variable name="Heater" address="%IX0.3.0"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
63 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
64 |
<BOOL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
65 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
66 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
67 |
<variable name="Cooler" address="%IX0.3.1"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
68 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
69 |
<BOOL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
70 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
71 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
72 |
</localVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
73 |
</interface> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
74 |
<body> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
75 |
<FBD> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
76 |
<inVariable localId="1" executionOrderId="0" height="30" width="114" negated="false"> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
77 |
<position x="299" y="521"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
78 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
79 |
<relPosition x="114" y="15"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
80 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
81 |
<expression>EnergyCounter</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
82 |
</inVariable> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
83 |
<outVariable localId="2" executionOrderId="0" height="30" width="114" negated="false"> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
84 |
<position x="654" y="521"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
85 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
86 |
<relPosition x="0" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
87 |
<connection refLocalId="3" formalParameter="OUT"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
88 |
<position x="654" y="536"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
89 |
<position x="533" y="536"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
90 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
91 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
92 |
<expression>EnergyCounter</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
93 |
</outVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
94 |
<block localId="3" typeName="ADD" executionOrderId="0" height="60" width="67"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
95 |
<position x="466" y="506"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
96 |
<inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
97 |
<variable formalParameter="IN1"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
98 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
99 |
<relPosition x="0" y="30"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
100 |
<connection refLocalId="1"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
101 |
<position x="466" y="536"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
102 |
<position x="404" y="536"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
103 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
104 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
105 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
106 |
<variable formalParameter="IN2"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
107 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
108 |
<relPosition x="0" y="50"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
109 |
<connection refLocalId="4"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
110 |
<position x="466" y="556"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
111 |
<position x="436" y="556"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
112 |
<position x="436" y="585"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
113 |
<position x="401" y="585"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
114 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
115 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
116 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
117 |
</inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
118 |
<inOutVariables/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
119 |
<outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
120 |
<variable formalParameter="OUT"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
121 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
122 |
<relPosition x="67" y="30"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
123 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
124 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
125 |
</outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
126 |
</block> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
127 |
<inVariable localId="4" executionOrderId="0" height="30" width="105" negated="false"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
128 |
<position x="296" y="570"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
129 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
130 |
<relPosition x="105" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
131 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
132 |
<expression>0.00131</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
133 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
134 |
<comment localId="5" height="67" width="229"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
135 |
<position x="27" y="525"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
136 |
<content> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
137 |
<xhtml:p><![CDATA[Always consume some energy]]></xhtml:p> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
138 |
</content> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
139 |
</comment> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
140 |
<block localId="6" typeName="Simulator" instanceName="TempSimulation" executionOrderId="0" height="128" width="143"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
141 |
<position x="188" y="648"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
142 |
<inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
143 |
<variable formalParameter="MinVal"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
144 |
<connectionPointIn> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
145 |
<relPosition x="0" y="38"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
146 |
<connection refLocalId="8"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
147 |
<position x="188" y="686"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
148 |
<position x="138" y="686"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
149 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
150 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
151 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
152 |
<variable formalParameter="MaxVal"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
153 |
<connectionPointIn> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
154 |
<relPosition x="0" y="74"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
155 |
<connection refLocalId="9"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
156 |
<position x="188" y="722"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
157 |
<position x="138" y="722"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
158 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
159 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
160 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
161 |
<variable formalParameter="PeriodSeconds"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
162 |
<connectionPointIn> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
163 |
<relPosition x="0" y="110"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
164 |
<connection refLocalId="10"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
165 |
<position x="188" y="758"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
166 |
<position x="138" y="758"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
167 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
168 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
169 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
170 |
</inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
171 |
<inOutVariables/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
172 |
<outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
173 |
<variable formalParameter="Out"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
174 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
175 |
<relPosition x="143" y="38"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
176 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
177 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
178 |
</outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
179 |
</block> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
180 |
<outVariable localId="7" executionOrderId="0" height="30" width="98" negated="false"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
181 |
<position x="421" y="671"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
182 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
183 |
<relPosition x="0" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
184 |
<connection refLocalId="6" formalParameter="Out"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
185 |
<position x="421" y="686"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
186 |
<position x="331" y="686"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
187 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
188 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
189 |
<expression>Temperature</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
190 |
</outVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
191 |
<inVariable localId="8" executionOrderId="0" height="30" width="105" negated="false"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
192 |
<position x="33" y="671"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
193 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
194 |
<relPosition x="105" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
195 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
196 |
<expression>18.0</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
197 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
198 |
<inVariable localId="9" executionOrderId="0" height="30" width="105" negated="false"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
199 |
<position x="33" y="707"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
200 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
201 |
<relPosition x="105" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
202 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
203 |
<expression>30.0</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
204 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
205 |
<inVariable localId="10" executionOrderId="0" height="30" width="105" negated="false"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
206 |
<position x="33" y="743"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
207 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
208 |
<relPosition x="105" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
209 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
210 |
<expression>120</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
211 |
</inVariable> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
212 |
<block localId="11" typeName="Simulator" instanceName="HumiditySimulation" executionOrderId="0" height="137" width="143"> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
213 |
<position x="185" y="803"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
214 |
<inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
215 |
<variable formalParameter="MinVal"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
216 |
<connectionPointIn> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
217 |
<relPosition x="0" y="39"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
218 |
<connection refLocalId="13"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
219 |
<position x="185" y="842"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
220 |
<position x="135" y="842"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
221 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
222 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
223 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
224 |
<variable formalParameter="MaxVal"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
225 |
<connectionPointIn> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
226 |
<relPosition x="0" y="78"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
227 |
<connection refLocalId="14"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
228 |
<position x="185" y="881"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
229 |
<position x="135" y="881"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
230 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
231 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
232 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
233 |
<variable formalParameter="PeriodSeconds"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
234 |
<connectionPointIn> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
235 |
<relPosition x="0" y="117"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
236 |
<connection refLocalId="15"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
237 |
<position x="185" y="920"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
238 |
<position x="135" y="920"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
239 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
240 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
241 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
242 |
</inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
243 |
<inOutVariables/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
244 |
<outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
245 |
<variable formalParameter="Out"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
246 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
247 |
<relPosition x="143" y="39"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
248 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
249 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
250 |
</outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
251 |
</block> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
252 |
<outVariable localId="12" executionOrderId="0" height="30" width="111" negated="false"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
253 |
<position x="418" y="827"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
254 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
255 |
<relPosition x="0" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
256 |
<connection refLocalId="11" formalParameter="Out"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
257 |
<position x="418" y="842"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
258 |
<position x="328" y="842"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
259 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
260 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
261 |
<expression>Humidity</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
262 |
</outVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
263 |
<inVariable localId="13" executionOrderId="0" height="30" width="105" negated="false"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
264 |
<position x="30" y="827"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
265 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
266 |
<relPosition x="105" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
267 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
268 |
<expression>55.0</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
269 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
270 |
<inVariable localId="14" executionOrderId="0" height="30" width="105" negated="false"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
271 |
<position x="30" y="866"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
272 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
273 |
<relPosition x="105" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
274 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
275 |
<expression>78.0</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
276 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
277 |
<inVariable localId="15" executionOrderId="0" height="30" width="105" negated="false"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
278 |
<position x="30" y="905"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
279 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
280 |
<relPosition x="105" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
281 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
282 |
<expression>58</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
283 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
284 |
<block localId="16" typeName="GT" executionOrderId="0" height="60" width="67"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
285 |
<position x="231" y="1103"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
286 |
<inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
287 |
<variable formalParameter="IN1"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
288 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
289 |
<relPosition x="0" y="30"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
290 |
<connection refLocalId="18"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
291 |
<position x="231" y="1133"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
292 |
<position x="132" y="1133"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
293 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
294 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
295 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
296 |
<variable formalParameter="IN2"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
297 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
298 |
<relPosition x="0" y="50"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
299 |
<connection refLocalId="22"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
300 |
<position x="231" y="1153"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
301 |
<position x="208" y="1153"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
302 |
<position x="208" y="1169"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
303 |
<position x="185" y="1169"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
304 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
305 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
306 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
307 |
</inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
308 |
<inOutVariables/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
309 |
<outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
310 |
<variable formalParameter="OUT"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
311 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
312 |
<relPosition x="67" y="30"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
313 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
314 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
315 |
</outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
316 |
</block> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
317 |
<inVariable localId="18" executionOrderId="0" height="30" width="98" negated="false"> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
318 |
<position x="40" y="1118"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
319 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
320 |
<relPosition x="98" y="15"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
321 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
322 |
<expression>Temperature</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
323 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
324 |
<block localId="19" typeName="AND" executionOrderId="0" height="60" width="67"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
325 |
<position x="347" y="1059"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
326 |
<inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
327 |
<variable formalParameter="IN1" negated="true"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
328 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
329 |
<relPosition x="0" y="30"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
330 |
<connection refLocalId="20"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
331 |
<position x="347" y="1089"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
332 |
<position x="263" y="1089"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
333 |
<position x="263" y="1074"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
334 |
<position x="145" y="1074"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
335 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
336 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
337 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
338 |
<variable formalParameter="IN2"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
339 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
340 |
<relPosition x="0" y="50"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
341 |
<connection refLocalId="16" formalParameter="OUT"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
342 |
<position x="347" y="1109"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
343 |
<position x="337" y="1109"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
344 |
<position x="337" y="1133"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
345 |
<position x="298" y="1133"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
346 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
347 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
348 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
349 |
</inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
350 |
<inOutVariables/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
351 |
<outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
352 |
<variable formalParameter="OUT"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
353 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
354 |
<relPosition x="67" y="30"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
355 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
356 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
357 |
</outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
358 |
</block> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
359 |
<inVariable localId="20" executionOrderId="0" height="30" width="122" negated="false"> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
360 |
<position x="41" y="1059"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
361 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
362 |
<relPosition x="122" y="15"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
363 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
364 |
<expression>ControlDisable</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
365 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
366 |
<outVariable localId="21" executionOrderId="0" height="30" width="92" negated="false"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
367 |
<position x="468" y="1074"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
368 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
369 |
<relPosition x="0" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
370 |
<connection refLocalId="19" formalParameter="OUT"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
371 |
<position x="468" y="1089"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
372 |
<position x="414" y="1089"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
373 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
374 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
375 |
<expression>Cooler</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
376 |
</outVariable> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
377 |
<inVariable localId="22" executionOrderId="0" height="30" width="162" negated="false"> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
378 |
<position x="39" y="1154"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
379 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
380 |
<relPosition x="162" y="15"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
381 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
382 |
<expression>TemperatureSetPoint</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
383 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
384 |
<block localId="17" typeName="LT" executionOrderId="0" height="60" width="67"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
385 |
<position x="228" y="1278"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
386 |
<inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
387 |
<variable formalParameter="IN1"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
388 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
389 |
<relPosition x="0" y="30"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
390 |
<connection refLocalId="23"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
391 |
<position x="228" y="1308"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
392 |
<position x="129" y="1308"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
393 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
394 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
395 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
396 |
<variable formalParameter="IN2"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
397 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
398 |
<relPosition x="0" y="50"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
399 |
<connection refLocalId="27"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
400 |
<position x="228" y="1328"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
401 |
<position x="205" y="1328"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
402 |
<position x="205" y="1344"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
403 |
<position x="182" y="1344"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
404 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
405 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
406 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
407 |
</inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
408 |
<inOutVariables/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
409 |
<outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
410 |
<variable formalParameter="OUT"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
411 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
412 |
<relPosition x="67" y="30"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
413 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
414 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
415 |
</outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
416 |
</block> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
417 |
<inVariable localId="23" executionOrderId="0" height="30" width="98" negated="false"> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
418 |
<position x="37" y="1293"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
419 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
420 |
<relPosition x="98" y="15"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
421 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
422 |
<expression>Temperature</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
423 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
424 |
<block localId="24" typeName="AND" executionOrderId="0" height="60" width="67"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
425 |
<position x="344" y="1234"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
426 |
<inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
427 |
<variable formalParameter="IN1" negated="true"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
428 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
429 |
<relPosition x="0" y="30"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
430 |
<connection refLocalId="25"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
431 |
<position x="344" y="1264"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
432 |
<position x="260" y="1264"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
433 |
<position x="260" y="1249"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
434 |
<position x="142" y="1249"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
435 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
436 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
437 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
438 |
<variable formalParameter="IN2"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
439 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
440 |
<relPosition x="0" y="50"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
441 |
<connection refLocalId="17" formalParameter="OUT"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
442 |
<position x="344" y="1284"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
443 |
<position x="334" y="1284"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
444 |
<position x="334" y="1308"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
445 |
<position x="295" y="1308"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
446 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
447 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
448 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
449 |
</inputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
450 |
<inOutVariables/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
451 |
<outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
452 |
<variable formalParameter="OUT"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
453 |
<connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
454 |
<relPosition x="67" y="30"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
455 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
456 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
457 |
</outputVariables> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
458 |
</block> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
459 |
<inVariable localId="25" executionOrderId="0" height="30" width="122" negated="false"> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
460 |
<position x="38" y="1234"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
461 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
462 |
<relPosition x="122" y="15"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
463 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
464 |
<expression>ControlDisable</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
465 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
466 |
<outVariable localId="26" executionOrderId="0" height="30" width="92" negated="false"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
467 |
<position x="465" y="1249"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
468 |
<connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
469 |
<relPosition x="0" y="15"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
470 |
<connection refLocalId="24" formalParameter="OUT"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
471 |
<position x="465" y="1264"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
472 |
<position x="411" y="1264"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
473 |
</connection> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
474 |
</connectionPointIn> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
475 |
<expression>Heater</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
476 |
</outVariable> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
477 |
<inVariable localId="27" executionOrderId="0" height="30" width="162" negated="false"> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
478 |
<position x="36" y="1329"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
479 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2254
diff
changeset
|
480 |
<relPosition x="162" y="15"/> |
2254
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
481 |
</connectionPointOut> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
482 |
<expression>TemperatureSetPoint</expression> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
483 |
</inVariable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
484 |
<comment localId="28" height="67" width="229"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
485 |
<position x="343" y="734"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
486 |
<content> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
487 |
<xhtml:p><![CDATA[Simple sensor simulation]]></xhtml:p> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
488 |
</content> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
489 |
</comment> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
490 |
<comment localId="29" height="67" width="229"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
491 |
<position x="37" y="978"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
492 |
<content> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
493 |
<xhtml:p><![CDATA[Climate control]]></xhtml:p> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
494 |
</content> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
495 |
</comment> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
496 |
<comment localId="30" height="464" width="773"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
497 |
<position x="14" y="16"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
498 |
<content> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
499 |
<xhtml:p><![CDATA[This examples shows how to work with BACnet extension. |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
500 |
|
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
501 |
Extensions requires native BACnet stack to be installed nearby Beremiz. |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
502 |
Following directory structure is expected: |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
503 |
<Parent directory> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
504 |
"beremiz" |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
505 |
"BACnet" |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
506 |
|
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
507 |
If library is installed elsewhere, then place corresponding paths |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
508 |
in CFLAGS/LDFLAGS in project settings. |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
509 |
|
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
510 |
For GNU/Linux to install BACnet library in parent directory run following commands: |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
511 |
$ svn checkout https://svn.code.sf.net/p/bacnet/code/trunk/bacnet-stack/ BACnet |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
512 |
$ cd BACnet |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
513 |
$ make |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
514 |
|
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
515 |
After that BACnet extension is ready to be used in Beremiz projects. |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
516 |
BACnet stack implementation contains a lot of test tools. They could be useful during |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
517 |
debugging and BACnet investigation. See "BACnet/bin/readme.txt" for more information about them.]]></xhtml:p> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
518 |
</content> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
519 |
</comment> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
520 |
</FBD> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
521 |
</body> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
522 |
</pou> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
523 |
<pou name="Simulator" pouType="functionBlock"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
524 |
<interface> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
525 |
<outputVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
526 |
<variable name="Out"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
527 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
528 |
<REAL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
529 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
530 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
531 |
</outputVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
532 |
<inputVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
533 |
<variable name="MinVal"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
534 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
535 |
<REAL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
536 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
537 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
538 |
<variable name="MaxVal"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
539 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
540 |
<REAL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
541 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
542 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
543 |
<variable name="PeriodSeconds"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
544 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
545 |
<INT/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
546 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
547 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
548 |
</inputVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
549 |
<localVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
550 |
<variable name="TON0"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
551 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
552 |
<derived name="TON"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
553 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
554 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
555 |
<variable name="seconds"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
556 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
557 |
<INT/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
558 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
559 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
560 |
<variable name="BaseVal"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
561 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
562 |
<REAL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
563 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
564 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
565 |
<variable name="VarVal"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
566 |
<type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
567 |
<REAL/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
568 |
</type> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
569 |
</variable> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
570 |
</localVars> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
571 |
</interface> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
572 |
<body> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
573 |
<ST> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
574 |
<xhtml:p><![CDATA[(* pseudo-random variations *) |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
575 |
TON0(IN := TRUE, PT := T#3120s); |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
576 |
IF TON0.Q THEN |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
577 |
TON0(IN := FALSE); |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
578 |
END_IF; |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
579 |
seconds := TIME_TO_INT(TON0.ET); |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
580 |
|
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
581 |
BaseVal := (MaxVal + MinVal)/2.0; |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
582 |
VarVal := (MaxVal-MinVal)*INT_TO_REAL((seconds MOD PeriodSeconds) - (PeriodSeconds/2))/INT_TO_REAL(PeriodSeconds); |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
583 |
|
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
584 |
Out := BaseVal + VarVal;]]></xhtml:p> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
585 |
</ST> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
586 |
</body> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
587 |
</pou> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
588 |
</pous> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
589 |
</types> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
590 |
<instances> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
591 |
<configurations> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
592 |
<configuration name="config"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
593 |
<resource name="resource1"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
594 |
<task name="task0" priority="0" interval="T#20ms"> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
595 |
<pouInstance name="instance0" typeName="program0"/> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
596 |
</task> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
597 |
</resource> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
598 |
</configuration> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
599 |
</configurations> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
600 |
</instances> |
3145dcffc6ed
Add BACnet example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
601 |
</project> |