-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOpcTestModel.xml
320 lines (301 loc) · 13.5 KB
/
OpcTestModel.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<?xml version="1.0" encoding="utf-8"?>
<opc:ModelDesign
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:opc="http://opcfoundation.org/UA/ModelDesign.xsd"
xmlns:ua="http://opcfoundation.org/UA/"
xmlns:uax="http://opcfoundation.org/UA/2008/02/Types.xsd"
xmlns="http://www.entidi.com/UA/OpcTestModel"
TargetNamespace="http://www.entidi.com/UA/OpcTestModel">
<opc:Namespaces>
<opc:Namespace Name="OpcUa" Prefix="Opc.Ua" XmlNamespace="http://opcfoundation.org/UA/2008/02/Types.xsd">http://opcfoundation.org/UA/</opc:Namespace>
<opc:Namespace Name="OpcTestModel" Prefix="OpcTestModel">http://www.entidi.com/UA/OpcTestModel</opc:Namespace>
</opc:Namespaces>
<opc:ObjectType SymbolicName="GenericSensorType" BaseType="ua:BaseObjectType">
<opc:Description>A generic sensor that read a process value.</opc:Description>
<opc:Children>
<opc:Variable SymbolicName="Output" DataType="ua:Double" ValueRank="Scalar" TypeDefinition="ua:AnalogItemType"/>
<opc:Property SymbolicName="Units" DataType="ua:String" ValueRank="Scalar" AccessLevel="ReadWrite"/>
</opc:Children>
</opc:ObjectType>
<opc:ObjectType SymbolicName="GenericActuatorType" BaseType="ua:BaseObjectType">
<opc:Description>Represents a piece of equipment that causes some action to occur.</opc:Description>
<opc:Children>
<opc:Variable SymbolicName="Input" DataType="ua:Double" ValueRank="Scalar" TypeDefinition="ua:AnalogItemType" AccessLevel="ReadWrite"/>
<opc:Variable SymbolicName="Output" DataType="ua:Double" ValueRank="Scalar" TypeDefinition="ua:AnalogItemType" AccessLevel="ReadWrite"/>
</opc:Children>
</opc:ObjectType>
<opc:ObjectType SymbolicName="GenericMotorType" BaseType="ua:BaseObjectType">
<opc:Description>A generic motor.</opc:Description>
<opc:Children>
<opc:Variable SymbolicName="Speed" DataType="ua:Double" ValueRank="Scalar" TypeDefinition="ua:AnalogItemType" AccessLevel="ReadWrite"/>
</opc:Children>
</opc:ObjectType>
<opc:ObjectType SymbolicName="LevelIndicatorType" BaseType="GenericSensorType">
<opc:Description>A sensor that reports the level of material in a container.</opc:Description>
</opc:ObjectType>
<opc:ObjectType SymbolicName="LoadcellTransmitterType" BaseType="GenericSensorType">
<opc:Description>A sensor that reports the weight of an object.</opc:Description>
<opc:Children>
<opc:Variable SymbolicName="ExcitationVoltage" DataType="ua:Double" ValueRank="Scalar" TypeDefinition="ua:AnalogItemType" AccessLevel="ReadWrite"/>
</opc:Children>
</opc:ObjectType>
<opc:ObjectType SymbolicName="ValveType" BaseType="GenericActuatorType">
<opc:Description>An actuator that controls the flow of material.</opc:Description>
</opc:ObjectType>
<opc:ObjectType SymbolicName="MixerMotorType" BaseType="GenericMotorType">
<opc:Description>A motor for mixing materials.</opc:Description>
</opc:ObjectType>
<opc:ObjectType SymbolicName="ConveyorMotorType" BaseType="GenericMotorType">
<opc:Description>A motor for moving finished product.</opc:Description>
</opc:ObjectType>
<opc:ObjectType SymbolicName="Silo1Type" BaseType="ua:FolderType">
<opc:Children>
<opc:Object SymbolicName="Silo1LevelIndicator" TypeDefinition="LevelIndicatorType" SupportsEvents="true">
<opc:BrowseName>LI001</opc:BrowseName>
</opc:Object>
<opc:Object SymbolicName="Silo1DischargeValve" TypeDefinition="ValveType" SupportsEvents="true">
<opc:BrowseName>Valve001</opc:BrowseName>
</opc:Object>
</opc:Children>
<opc:References>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>Silo1Type_Silo1LevelIndicator</opc:TargetId>
</opc:Reference>
</opc:References>
</opc:ObjectType>
<opc:ObjectType SymbolicName="Silo2Type" BaseType="ua:FolderType">
<opc:Children>
<opc:Object SymbolicName="Silo2LevelIndicator" TypeDefinition="LevelIndicatorType" SupportsEvents="true">
<opc:BrowseName>LI002</opc:BrowseName>
</opc:Object>
<opc:Object SymbolicName="Silo2DischargeValve" TypeDefinition="ValveType" SupportsEvents="true">
<opc:BrowseName>Valve002</opc:BrowseName>
</opc:Object>
</opc:Children>
<opc:References>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>Silo2Type_Silo2LevelIndicator</opc:TargetId>
</opc:Reference>
</opc:References>
</opc:ObjectType>
<opc:ObjectType SymbolicName="Silo3Type" BaseType="ua:FolderType">
<opc:Children>
<opc:Object SymbolicName="Silo3LevelIndicator" TypeDefinition="LevelIndicatorType" SupportsEvents="true">
<opc:BrowseName>LI003</opc:BrowseName>
</opc:Object>
<opc:Object SymbolicName="Silo3DischargeValve" TypeDefinition="ValveType" SupportsEvents="true">
<opc:BrowseName>Valve003</opc:BrowseName>
</opc:Object>
</opc:Children>
<opc:References>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>Silo3Type_Silo3LevelIndicator</opc:TargetId>
</opc:Reference>
</opc:References>
</opc:ObjectType>
<opc:ObjectType SymbolicName="MixerType" BaseType="ua:FolderType">
<opc:Children>
<opc:Object SymbolicName="LoadcellTransmitter" TypeDefinition="LoadcellTransmitterType" SupportsEvents="true">
<opc:BrowseName>LT001</opc:BrowseName>
</opc:Object>
<opc:Object SymbolicName="MixerMotor" TypeDefinition="MixerMotorType" SupportsEvents="true">
<opc:BrowseName>Motor01</opc:BrowseName>
</opc:Object>
<opc:Object SymbolicName="MixerDischargeValve" TypeDefinition="ValveType" SupportsEvents="true">
<opc:BrowseName>Valve004</opc:BrowseName>
</opc:Object>
</opc:Children>
<opc:References>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>MixerType_LoadcellTransmitter</opc:TargetId>
</opc:Reference>
</opc:References>
</opc:ObjectType>
<opc:ObjectType SymbolicName="PackagingUnitType" BaseType="ua:FolderType">
<opc:Children>
<opc:Object SymbolicName="PackagingUnitLevelIndicator" TypeDefinition="LevelIndicatorType" SupportsEvents="true">
<opc:BrowseName>LI004</opc:BrowseName>
</opc:Object>
</opc:Children>
<opc:References>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>PackagingUnitType_PackagingUnitLevelIndicator</opc:TargetId>
</opc:Reference>
</opc:References>
</opc:ObjectType>
<opc:ObjectType SymbolicName="ConveyorType" BaseType="ua:FolderType">
<opc:Children>
<opc:Object SymbolicName="ConveyorMotor" TypeDefinition="ConveyorMotorType" SupportsEvents="true">
<opc:BrowseName>Motor02</opc:BrowseName>
</opc:Object>
</opc:Children>
<opc:References>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>ConveyorType_ConveyorMotor</opc:TargetId>
</opc:Reference>
</opc:References>
</opc:ObjectType>
<opc:ObjectType SymbolicName="BatchPlantType" BaseType="ua:BaseObjectType" SupportsEvents="true">
<opc:Description>A production batch plant.</opc:Description>
<opc:Children>
<opc:Object SymbolicName="Silo1" TypeDefinition="Silo1Type" SupportsEvents="true">
<opc:BrowseName>SiloX001</opc:BrowseName>
<opc:Children>
<opc:Object SymbolicName="Silo1LevelIndicator">
<opc:Children>
<opc:Variable SymbolicName="Output"/>
<opc:Variable SymbolicName="Units"/>
</opc:Children>
</opc:Object>
<opc:Object SymbolicName="DischargeValve">
<opc:Children>
<opc:Variable SymbolicName="Input"/>
<opc:Variable SymbolicName="Output"/>
</opc:Children>
</opc:Object>
</opc:Children>
</opc:Object>
<opc:Object SymbolicName="Silo2" TypeDefinition="Silo2Type" SupportsEvents="true">
<opc:BrowseName>SiloX002</opc:BrowseName>
<opc:Children>
<opc:Object SymbolicName="Silo2LevelIndicator">
<opc:Children>
<opc:Variable SymbolicName="Output"/>
<opc:Variable SymbolicName="Units"/>
</opc:Children>
</opc:Object>
<opc:Object SymbolicName="DischargeValve">
<opc:Children>
<opc:Variable SymbolicName="Input"/>
<opc:Variable SymbolicName="Output"/>
</opc:Children>
</opc:Object>
</opc:Children>
</opc:Object>
<opc:Object SymbolicName="Silo3" TypeDefinition="Silo3Type" SupportsEvents="true">
<opc:BrowseName>SiloX003</opc:BrowseName>
<opc:Children>
<opc:Object SymbolicName="Silo3LevelIndicator">
<opc:Children>
<opc:Variable SymbolicName="Output"/>
<opc:Variable SymbolicName="Units"/>
</opc:Children>
</opc:Object>
<opc:Object SymbolicName="DischargeValve">
<opc:Children>
<opc:Variable SymbolicName="Input"/>
<opc:Variable SymbolicName="Output"/>
</opc:Children>
</opc:Object>
</opc:Children>
</opc:Object>
<opc:Object SymbolicName="Mixer" TypeDefinition="MixerType" SupportsEvents="true">
<opc:BrowseName>MixerX001</opc:BrowseName>
<opc:Children>
<opc:Object SymbolicName="LoadcellTransmitter">
<opc:Children>
<opc:Variable SymbolicName="Output"/>
<opc:Variable SymbolicName="Units"/>
</opc:Children>
</opc:Object>
<opc:Object SymbolicName="MixerMotor">
<opc:Children>
<opc:Variable SymbolicName="Speed"/>
</opc:Children>
</opc:Object>
<opc:Object SymbolicName="DischargeValve">
<opc:Children>
<opc:Variable SymbolicName="Input"/>
<opc:Variable SymbolicName="Output"/>
</opc:Children>
</opc:Object>
</opc:Children>
</opc:Object>
<opc:Object SymbolicName="PackagingUnit" TypeDefinition="PackagingUnitType" SupportsEvents="true">
<opc:BrowseName>PackagingUnitX001</opc:BrowseName>
<opc:Children>
<opc:Object SymbolicName="PackagingUnitLevelIndicator">
<opc:Children>
<opc:Variable SymbolicName="Output"/>
<opc:Variable SymbolicName="Units"/>
</opc:Children>
</opc:Object>
</opc:Children>
</opc:Object>
<opc:Object SymbolicName="Conveyor" TypeDefinition="ConveyorType" SupportsEvents="true">
<opc:BrowseName>ConveyorX001</opc:BrowseName>
<opc:Children>
<opc:Object SymbolicName="ConveyorMotor">
<opc:Children>
<opc:Variable SymbolicName="Speed"/>
</opc:Children>
</opc:Object>
</opc:Children>
</opc:Object>
<opc:Method SymbolicName="StartProcess" ModellingRule="Mandatory"/>
<opc:Method SymbolicName="StopProcess" ModellingRule="Mandatory"/>
</opc:Children>
<opc:References>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>BatchPlantType_Silo1</opc:TargetId>
</opc:Reference>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>BatchPlantType_Silo2</opc:TargetId>
</opc:Reference>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>BatchPlantType_Silo3</opc:TargetId>
</opc:Reference>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>BatchPlantType_Mixer</opc:TargetId>
</opc:Reference>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>BatchPlantType_PackagingUnit</opc:TargetId>
</opc:Reference>
<opc:Reference>
<opc:ReferenceType>ua:HasNotifier</opc:ReferenceType>
<opc:TargetId>BatchPlantType_Conveyor</opc:TargetId>
</opc:Reference>
</opc:References>
</opc:ObjectType>
<opc:Object SymbolicName="BatchPlant1" TypeDefinition="BatchPlantType" SupportsEvents="true">
<opc:BrowseName>Batch Plant #1</opc:BrowseName>
<opc:Children>
<opc:Object SymbolicName="Silo1" TypeDefinition="Silo1Type" SupportsEvents="true">
<opc:DisplayName>SiloX001</opc:DisplayName>
</opc:Object>
<opc:Object SymbolicName="Silo2" TypeDefinition="Silo2Type" SupportsEvents="true">
<opc:DisplayName>SiloX002</opc:DisplayName>
</opc:Object>
<opc:Object SymbolicName="Silo3" TypeDefinition="Silo3Type" SupportsEvents="true">
<opc:DisplayName>SiloX003</opc:DisplayName>
</opc:Object>
<opc:Object SymbolicName="Mixer" TypeDefinition="MixerType" SupportsEvents="true">
<opc:DisplayName>MixerX001</opc:DisplayName>
</opc:Object>
<opc:Object SymbolicName="PackagingUnit" TypeDefinition="PackagingUnitType" SupportsEvents="true">
<opc:DisplayName>PackagingUnitX001</opc:DisplayName>
</opc:Object>
<opc:Object SymbolicName="Conveyor" TypeDefinition="ConveyorType" SupportsEvents="true">
<opc:DisplayName>ConveyorX001</opc:DisplayName>
</opc:Object>
</opc:Children>
<opc:References>
<opc:Reference IsInverse="true">
<opc:ReferenceType>ua:Organizes</opc:ReferenceType>
<opc:TargetId>ua:ObjectsFolder</opc:TargetId>
</opc:Reference>
</opc:References>
</opc:Object>
</opc:ModelDesign>