266
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3 |
xmlns="http://www.plcopen.org/xml/tc6.xsd"
|
|
4 |
xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
|
5 |
xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd">
|
|
6 |
<fileHeader companyName="lolitech"
|
|
7 |
productName="beremiz"
|
|
8 |
productVersion="1"
|
|
9 |
creationDateTime="2008-06-24T18:44:00"/>
|
|
10 |
<contentHeader name="test_slave"
|
|
11 |
modificationDateTime="2008-10-27T09:42:54"
|
|
12 |
language="en-US">
|
|
13 |
<coordinateInfo>
|
|
14 |
<fbd>
|
|
15 |
<scaling x="0" y="0"/>
|
|
16 |
</fbd>
|
|
17 |
<ld>
|
|
18 |
<scaling x="0" y="0"/>
|
|
19 |
</ld>
|
|
20 |
<sfc>
|
|
21 |
<scaling x="0" y="0"/>
|
|
22 |
</sfc>
|
|
23 |
</coordinateInfo>
|
|
24 |
</contentHeader>
|
|
25 |
<types>
|
|
26 |
<dataTypes/>
|
|
27 |
<pous>
|
|
28 |
<pou name="test_main" pouType="program">
|
|
29 |
<interface>
|
|
30 |
<localVars>
|
|
31 |
<variable name="outvar" address="%QW0.0.8192.0">
|
|
32 |
<type>
|
|
33 |
<INT/>
|
|
34 |
</type>
|
|
35 |
</variable>
|
|
36 |
<variable name="invar" address="%IW0.0.8193.0">
|
|
37 |
<type>
|
|
38 |
<INT/>
|
|
39 |
</type>
|
|
40 |
</variable>
|
|
41 |
</localVars>
|
|
42 |
</interface>
|
|
43 |
<body>
|
|
44 |
<FBD>
|
|
45 |
<outVariable localId="1" height="29" width="80">
|
|
46 |
<position x="362" y="140"/>
|
|
47 |
<connectionPointIn>
|
|
48 |
<relPosition x="0" y="14"/>
|
|
49 |
<connection refLocalId="4" formalParameter="OUT">
|
|
50 |
<position x="362" y="154"/>
|
|
51 |
<position x="330" y="154"/>
|
|
52 |
<position x="330" y="153"/>
|
|
53 |
<position x="299" y="153"/>
|
|
54 |
</connection>
|
|
55 |
</connectionPointIn>
|
|
56 |
<expression>outvar</expression>
|
|
57 |
</outVariable>
|
|
58 |
<inVariable localId="2" height="29" width="20">
|
|
59 |
<position x="100" y="115"/>
|
|
60 |
<connectionPointOut>
|
|
61 |
<relPosition x="20" y="14"/>
|
|
62 |
</connectionPointOut>
|
|
63 |
<expression>1</expression>
|
|
64 |
</inVariable>
|
|
65 |
<block localId="4" width="75" height="60" typeName="ADD">
|
|
66 |
<position x="224" y="123"/>
|
|
67 |
<inputVariables>
|
|
68 |
<variable formalParameter="IN1">
|
|
69 |
<connectionPointIn>
|
|
70 |
<relPosition x="0" y="30"/>
|
|
71 |
<connection refLocalId="2">
|
|
72 |
<position x="224" y="153"/>
|
|
73 |
<position x="183" y="153"/>
|
|
74 |
<position x="183" y="129"/>
|
|
75 |
<position x="120" y="129"/>
|
|
76 |
</connection>
|
|
77 |
</connectionPointIn>
|
|
78 |
</variable>
|
|
79 |
<variable formalParameter="IN2">
|
|
80 |
<connectionPointIn>
|
|
81 |
<relPosition x="0" y="50"/>
|
|
82 |
<connection refLocalId="5">
|
|
83 |
<position x="224" y="173"/>
|
|
84 |
<position x="187" y="173"/>
|
|
85 |
<position x="187" y="187"/>
|
|
86 |
<position x="150" y="187"/>
|
|
87 |
</connection>
|
|
88 |
</connectionPointIn>
|
|
89 |
</variable>
|
|
90 |
</inputVariables>
|
|
91 |
<inOutVariables/>
|
|
92 |
<outputVariables>
|
|
93 |
<variable formalParameter="OUT">
|
|
94 |
<connectionPointOut>
|
|
95 |
<relPosition x="75" y="30"/>
|
|
96 |
</connectionPointOut>
|
|
97 |
</variable>
|
|
98 |
</outputVariables>
|
|
99 |
</block>
|
|
100 |
<inVariable localId="5" height="29" width="60">
|
|
101 |
<position x="90" y="173"/>
|
|
102 |
<connectionPointOut>
|
|
103 |
<relPosition x="60" y="14"/>
|
|
104 |
</connectionPointOut>
|
|
105 |
<expression>invar</expression>
|
|
106 |
</inVariable>
|
|
107 |
</FBD>
|
|
108 |
</body>
|
|
109 |
</pou>
|
|
110 |
</pous>
|
|
111 |
</types>
|
|
112 |
<instances>
|
|
113 |
<configurations>
|
|
114 |
<configuration name="conf">
|
|
115 |
<resource name="res">
|
|
116 |
<task name="tache" interval="00:00:00.010000" priority="0">
|
|
117 |
<pouInstance name="toto" type="test_main"/>
|
|
118 |
</task>
|
|
119 |
</resource>
|
|
120 |
</configuration>
|
|
121 |
</configurations>
|
|
122 |
</instances>
|
|
123 |
</project>
|