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