-
Notifications
You must be signed in to change notification settings - Fork 2
/
plc.xml
141 lines (141 loc) · 4.98 KB
/
plc.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?xml version='1.0' encoding='utf-8'?>
<project xmlns:ns1="http://www.plcopen.org/xml/tc6.xsd" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201">
<fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2020-11-22T15:15:06"/>
<contentHeader name="Unnamed" modificationDateTime="2020-11-22T15:26:33">
<coordinateInfo>
<fbd>
<scaling x="10" y="10"/>
</fbd>
<ld>
<scaling x="10" y="10"/>
</ld>
<sfc>
<scaling x="10" y="10"/>
</sfc>
</coordinateInfo>
</contentHeader>
<types>
<dataTypes/>
<pous>
<pou name="DNP3test" pouType="program">
<interface>
<localVars>
<variable name="PB1" address="%QX1.1">
<type>
<BOOL/>
</type>
</variable>
<variable name="PB2" address="%QX1.2">
<type>
<BOOL/>
</type>
</variable>
<variable name="LED" address="%QX1.0">
<type>
<BOOL/>
</type>
</variable>
</localVars>
</interface>
<body>
<LD>
<leftPowerRail localId="1" height="80" width="10">
<position x="80" y="50"/>
<connectionPointOut formalParameter="">
<relPosition x="10" y="20"/>
</connectionPointOut>
<connectionPointOut formalParameter="">
<relPosition x="10" y="60"/>
</connectionPointOut>
</leftPowerRail>
<coil localId="2" height="20" width="21" negated="false">
<position x="160" y="60"/>
<connectionPointIn>
<relPosition x="0" y="10"/>
<connection refLocalId="1">
<position x="160" y="70"/>
<position x="90" y="70"/>
</connection>
</connectionPointIn>
<connectionPointOut>
<relPosition x="21" y="10"/>
</connectionPointOut>
<variable>PB1</variable>
</coil>
<coil localId="3" height="20" width="21" negated="true">
<position x="310" y="60"/>
<connectionPointIn>
<relPosition x="0" y="10"/>
<connection refLocalId="2">
<position x="310" y="70"/>
<position x="181" y="70"/>
</connection>
<connection refLocalId="4">
<position x="310" y="70"/>
<position x="245" y="70"/>
<position x="245" y="110"/>
<position x="181" y="110"/>
</connection>
</connectionPointIn>
<connectionPointOut>
<relPosition x="21" y="10"/>
</connectionPointOut>
<variable>PB2</variable>
</coil>
<coil localId="4" height="20" width="21" negated="false">
<position x="160" y="100"/>
<connectionPointIn>
<relPosition x="0" y="10"/>
<connection refLocalId="1">
<position x="160" y="110"/>
<position x="90" y="110"/>
</connection>
</connectionPointIn>
<connectionPointOut>
<relPosition x="21" y="10"/>
</connectionPointOut>
<variable>LED</variable>
</coil>
<coil localId="5" height="20" width="21" negated="false">
<position x="440" y="60"/>
<connectionPointIn>
<relPosition x="0" y="10"/>
<connection refLocalId="3">
<position x="440" y="70"/>
<position x="331" y="70"/>
</connection>
</connectionPointIn>
<connectionPointOut>
<relPosition x="21" y="10"/>
</connectionPointOut>
<variable>LED</variable>
</coil>
<rightPowerRail localId="6" height="40" width="10">
<position x="530" y="80"/>
<connectionPointIn>
<relPosition x="0" y="20"/>
<connection refLocalId="5">
<position x="530" y="100"/>
<position x="495" y="100"/>
<position x="495" y="70"/>
<position x="460" y="70"/>
</connection>
</connectionPointIn>
</rightPowerRail>
</LD>
</body>
</pou>
</pous>
</types>
<instances>
<configurations>
<configuration name="Config0">
<resource name="Res0">
<task name="task0" priority="0" interval="T#20ms">
<pouInstance name="instance0" typeName="DNP3test"/>
</task>
</resource>
</configuration>
</configurations>
</instances>
</project>