|
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 http://www.plcopen.org/xml/tc6.xsd"> |
|
6 <fileHeader companyName="lolitech" |
|
7 productName="beremiz" |
|
8 productVersion="1" |
|
9 creationDateTime="2008-06-24 18:44:00"/> |
|
10 <contentHeader name="test_slave" |
|
11 modificationDateTime="2008-06-24 19:15:12" |
|
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="testvar"> |
|
32 <type> |
|
33 <INT/> |
|
34 </type> |
|
35 </variable> |
|
36 </localVars> |
|
37 </interface> |
|
38 <body> |
|
39 <FBD> |
|
40 <outVariable localId="1" height="29" width="80"> |
|
41 <position x="362" y="140"/> |
|
42 <connectionPointIn> |
|
43 <relPosition x="0" y="14"/> |
|
44 <connection refLocalId="4" formalParameter="OUT"> |
|
45 <position x="362" y="154"/> |
|
46 <position x="330" y="154"/> |
|
47 <position x="330" y="153"/> |
|
48 <position x="299" y="153"/> |
|
49 </connection> |
|
50 </connectionPointIn> |
|
51 <expression>testvar</expression> |
|
52 </outVariable> |
|
53 <inVariable localId="2" height="29" width="20"> |
|
54 <position x="123" y="110"/> |
|
55 <connectionPointOut> |
|
56 <relPosition x="20" y="14"/> |
|
57 </connectionPointOut> |
|
58 <expression>1</expression> |
|
59 </inVariable> |
|
60 <inVariable localId="3" height="29" width="20"> |
|
61 <position x="122" y="173"/> |
|
62 <connectionPointOut> |
|
63 <relPosition x="20" y="14"/> |
|
64 </connectionPointOut> |
|
65 <expression>2</expression> |
|
66 </inVariable> |
|
67 <block localId="4" width="75" height="60" typeName="ADD"> |
|
68 <position x="224" y="123"/> |
|
69 <inputVariables> |
|
70 <variable formalParameter="IN1"> |
|
71 <connectionPointIn> |
|
72 <relPosition x="0" y="30"/> |
|
73 <connection refLocalId="2"> |
|
74 <position x="224" y="153"/> |
|
75 <position x="183" y="153"/> |
|
76 <position x="183" y="124"/> |
|
77 <position x="143" y="124"/> |
|
78 </connection> |
|
79 </connectionPointIn> |
|
80 </variable> |
|
81 <variable formalParameter="IN2"> |
|
82 <connectionPointIn> |
|
83 <relPosition x="0" y="50"/> |
|
84 <connection refLocalId="3"> |
|
85 <position x="224" y="173"/> |
|
86 <position x="183" y="173"/> |
|
87 <position x="183" y="187"/> |
|
88 <position x="142" y="187"/> |
|
89 </connection> |
|
90 </connectionPointIn> |
|
91 </variable> |
|
92 </inputVariables> |
|
93 <inOutVariables/> |
|
94 <outputVariables> |
|
95 <variable formalParameter="OUT"> |
|
96 <connectionPointOut> |
|
97 <relPosition x="75" y="30"/> |
|
98 </connectionPointOut> |
|
99 </variable> |
|
100 </outputVariables> |
|
101 </block> |
|
102 </FBD> |
|
103 </body> |
|
104 </pou> |
|
105 </pous> |
|
106 </types> |
|
107 <instances> |
|
108 <configurations> |
|
109 <configuration name="conf"> |
|
110 <resource name="res"> |
|
111 <task name="tache" interval="00:00:00.100000" priority="0"> |
|
112 <pouInstance name="toto" type="test_main"/> |
|
113 </task> |
|
114 </resource> |
|
115 </configuration> |
|
116 </configurations> |
|
117 </instances> |
|
118 </project> |