-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.L5X
536 lines (531 loc) · 22.5 KB
/
test.L5X
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
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RSLogix5000Content SchemaRevision="1.0" SoftwareRevision="30.00" TargetName="EXAMPLE_FACTORY" TargetType="Controller" ContainsContext="false" ExportDate="Thu Dec 10 12:45:25 2020" ExportOptions="NoRawData L5KData DecoratedData ForceProtectedEncoding AllProjDocTrans">
<Controller Use="Target" Name="EXAMPLE_FACTORY" ProcessorType="1769-L33ER" MajorRev="30" MinorRev="1" TimeSlice="20" ShareUnusedTimeSlice="1" ProjectCreationDate="Mon Apr 30 6:12:44 2004" LastModifiedDate="Mon Oct 5 16:36:36 2020" SFCExecutionControl="CurrentActive" SFCRestartPosition="MostRecent"
SFCLastScan="DontScan" ProjectSN="16#6096_bdb0" MatchProjectToController="false" CanUseRPIFromProducer="false" InhibitAutomaticFirmwareUpdate="0" PassThroughConfiguration="EnabledWithAppend" DownloadProjectDocumentationAndExtendedProperties="true" DownloadProjectCustomProperties="true" ReportMinorOverflow="false">
<RedundancyInfo Enabled="false" KeepTestEditsOnSwitchOver="false" IOMemoryPadPercentage="90" DataTablePadPercentage="50"/>
<Security Code="0" ChangesToDetect="16#ffff_ffff_ffff_ffff"/>
<SafetyInfo/>
<DataTypes>
<DataType Name="dow" Family="NoFamily" Class="User">
<Members>
<Member Name="DayOW" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Month" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="MonthCode" DataType="DINT" Dimension="13" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="DayOW1" DataType="REAL" Dimension="0" Radix="Float" Hidden="false" ExternalAccess="Read/Write"/>
</Members>
</DataType>
<DataType Name="datas_for_eating" Family="NoFamily" Class="User">
<Members>
<Member Name="TIMER" DataType="TIMER" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Timer with name TIMER to show embedding]]>
</Description>
</Member>
<Member Name="XprivateX_cleaning_c0" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
<Member Name="DEMAND" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="XprivateX_cleaning_c0" BitNumber="0" ExternalAccess="Read/Write">
<Description>
<![CDATA[How much eating is demanded?]]>
</Description>
</Member>
<Member Name="FOOD_TIMER" DataType="TIMER" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Timer tracking the food consumption]]>
</Description>
</Member>
<Member Name="MEAL_PREP_TIMER" DataType="TIMER" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Timer for amount of meal prep time]]>
</Description>
</Member>
<Member Name="BHAIG29GI" DataType="TIMER" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Timer
for the
BHAIG29GI]]>
</Description>
</Member>
<Member Name="COUNTDOWN_TO_DESSERT" DataType="TIMER" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Indicates when dessert is done]]>
</Description>
</Member>
<Member Name="STEPS_REQUIRED" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Steps required to burn enough calories]]>
</Description>
</Member>
<Member Name="soMuchData" DataType="big_data_type" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Example of embedded struct]]>
</Description>
</Member>
</Members>
</DataType>
<DataType Name="PackedBits" Family="NoFamily" Class="User">
<Description>
<![CDATA[Lots of bits all together]]>
</Description>
<Members>
<Member Name="STEP" DataType="BOOL" Dimension="64" Radix="Binary" Hidden="false" ExternalAccess="Read/Write"/>
</Members>
</DataType>
<DataType Name="big_data_type" Family="NoFamily" Class="User">
<Members>
<Member Name="XprivateX_cleaning_c0" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
<Member Name="CLEAN_RATE" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="XprivateX_cleaning_c0" BitNumber="0" ExternalAccess="Read/Write">
<Description>
<![CDATA[Rate at which cleaning occurs]]>
</Description>
</Member>
<Member Name="CLEAN_COMPLEXITY" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="XprivateX_cleaning_c0" BitNumber="1" ExternalAccess="Read/Write">
<Description>
<![CDATA[Complexity of cleaning job]]>
</Description>
</Member>
<Member Name="FUN_FACTOR" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="XprivateX_cleaning_c0" BitNumber="2" ExternalAccess="Read/Write">
<Description>
<![CDATA[Measure of how fun the job is]]>
</Description>
</Member>
<Member Name="PRODUCT_COST" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="XprivateX_cleaning_c0" BitNumber="3" ExternalAccess="Read/Write">
<Description>
<![CDATA[Accumulated cost of all products used]]>
</Description>
</Member>
<Member Name="AJIBSH_35" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="XprivateX_cleaning_c0" BitNumber="4" ExternalAccess="Read/Write">
<Description>
<![CDATA[Settings for the AJIBSH_35]]>
</Description>
</Member>
<Member Name="CLEAN_MODE" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Cleaning Mode 0=Constant, 1=Cyclic, 2=Up/Down, 3=None, 4=Lasers]]>
</Description>
</Member>
<Member Name="XprivateX_cleaning_c7" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
<Member Name="VALVE_ENABLE" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="XprivateX_cleaning_c7" BitNumber="0" ExternalAccess="Read/Write">
<Description>
<![CDATA[Valve Enable]]>
</Description>
</Member>
<Member Name="TIGER_SUBSYSTEM" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="XprivateX_cleaning_c7" BitNumber="1" ExternalAccess="Read/Write">
<Description>
<![CDATA[Enable the tiger system]]>
</Description>
</Member>
<Member Name="REVERSE_TIME_BUTTON" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="XprivateX_cleaning_c7" BitNumber="2" ExternalAccess="Read/Write">
<Description>
<![CDATA[Toggle status of the reverse time button]]>
</Description>
</Member>
</Members>
</DataType>
</DataTypes>
<Modules>
<Module Name="Local" CatalogNumber="1769-L33ER" Vendor="1" ProductType="14" ProductCode="107" Major="30" Minor="1" ParentModule="Local" ParentModPortId="1" Inhibited="false" MajorFault="true"
>
<EKey State="ExactMatch"/>
<Ports>
<Port Id="1" Address="0" Type="Compact" Upstream="false">
<Bus Size="99"/>
</Port>
<Port Id="2" Address="192.168.1.170" Type="Ethernet" Upstream="false">
<Bus/>
</Port>
</Ports>
</Module>
<Module Name="AI1" CatalogNumber="1769-IF4C/A" Vendor="1" ProductType="10" ProductCode="12" Major="1" Minor="1" ParentModule="Local" ParentModPortId="1" Inhibited="false" MajorFault="false"
>
<EKey State="CompatibleModule"/>
<Ports>
<Port Id="1" Address="1" Type="Compact" Upstream="true"/>
</Ports>
<Communications>
<ConfigTag ConfigSize="200" ExternalAccess="Read/Write">
<Data Format="L5K">
<![CDATA[[The analog input AI1 has some config which belongs here]]]>
</Data>
<Data Format="Decorated">
<Structure DataType="AB:1769_IF4:C:0">
<DataValueMember Name="RealTimeSample" DataType="INT" Radix="Decimal" Value="0"/>
<DataValueMember Name="TimestampEn" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch00Filter" DataType="SINT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch00AlarmLatchEn" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch00AlarmEn" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch00En" DataType="BOOL" Value="1"/>
<DataValueMember Name="Ch00RangeType" DataType="SINT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch00DataFormat" DataType="SINT" Radix="Decimal" Value="1"/>
<DataValueMember Name="Ch00HAlarmLimit" DataType="INT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch00LAlarmLimit" DataType="INT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch00AlarmDeadband" DataType="INT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch01Filter" DataType="SINT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch01AlarmLatchEn" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch01AlarmEn" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch01En" DataType="BOOL" Value="1"/>
<DataValueMember Name="Ch01RangeType" DataType="SINT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch01DataFormat" DataType="SINT" Radix="Decimal" Value="1"/>
<DataValueMember Name="Ch01HAlarmLimit" DataType="INT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch01LAlarmLimit" DataType="INT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch01AlarmDeadband" DataType="INT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch02Filter" DataType="SINT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch02AlarmLatchEn" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch02AlarmEn" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch02En" DataType="BOOL" Value="1"/>
<DataValueMember Name="Ch02RangeType" DataType="SINT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch02DataFormat" DataType="SINT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch02HAlarmLimit" DataType="INT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch02LAlarmLimit" DataType="INT" Radix="Decimal" Value="1"/>
<DataValueMember Name="Ch02AlarmDeadband" DataType="INT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch03Filter" DataType="SINT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch03AlarmLatchEn" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch03AlarmEn" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch03En" DataType="BOOL" Value="1"/>
<DataValueMember Name="Ch03RangeType" DataType="SINT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch03DataFormat" DataType="SINT" Radix="Decimal" Value="4"/>
<DataValueMember Name="Ch03HAlarmLimit" DataType="INT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch03LAlarmLimit" DataType="INT" Radix="Decimal" Value="0"/>
<DataValueMember Name="Ch03AlarmDeadband" DataType="INT" Radix="Decimal" Value="4"/>
</Structure>
</Data>
</ConfigTag>
<Connections>
<Connection Name="Output" RPI="64000" Type="Output" EventID="0" ProgrammaticallySendEventTrigger="false">
<InputTag ExternalAccess="Read/Write">
<Comments>
<Comment Operand=".CH00DATA">
<![CDATA[DX-15 Dance Cyclant]]>
</Comment>
<Comment Operand=".CH01DATA">
<![CDATA[GBY-5 Sound Level]]>
</Comment>
<Comment Operand=".CH02DATA">
<![CDATA[GG-46 Hurricaner]]>
</Comment>
<Comment Operand=".CH03DATA">
<![CDATA[OH-00 Firestorm]]>
</Comment>
</Comments>
<Data Format="Decorated">
<Structure DataType="AB:1769_IF4:I:0">
<DataValueMember Name="Fault" DataType="DINT" Radix="Binary" Value="2#0000_0000_0000_0000_0000_0000_0000_0000"/>
<DataValueMember Name="Ch00Data" DataType="INT" Radix="Decimal" Value="3457"/>
<DataValueMember Name="Ch01Data" DataType="INT" Radix="Decimal" Value="5234"/>
<DataValueMember Name="Ch02Data" DataType="INT" Radix="Decimal" Value="2722"/>
<DataValueMember Name="Ch03Data" DataType="INT" Radix="Decimal" Value="2622"/>
<DataValueMember Name="Timestamp" DataType="INT" Radix="Decimal" Value="4"/>
<DataValueMember Name="Ch00Status" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch01Status" DataType="BOOL" Value="1"/>
<DataValueMember Name="Ch02Status" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch03Status" DataType="BOOL" Value="1"/>
<DataValueMember Name="Ch00Overrange" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch00Underrange" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch00HAlarm" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch00LAlarm" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch01Overrange" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch01Underrange" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch01HAlarm" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch01LAlarm" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch02Overrange" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch02Underrange" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch02HAlarm" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch02LAlarm" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch03Overrange" DataType="BOOL" Value="1"/>
<DataValueMember Name="Ch03Underrange" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch03HAlarm" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch03LAlarm" DataType="BOOL" Value="0"/>
</Structure>
</Data>
</InputTag>
<OutputTag ExternalAccess="Read/Write">
<Data Format="L5K">
<![CDATA[[0,0]]]>
</Data>
<Data Format="Decorated">
<Structure DataType="AB:1769_IF4:O:0">
<DataValueMember Name="Ch00HAlarmUnlatch" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch00LAlarmUnlatch" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch01HAlarmUnlatch" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch01LAlarmUnlatch" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch02HAlarmUnlatch" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch02LAlarmUnlatch" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch03HAlarmUnlatch" DataType="BOOL" Value="0"/>
<DataValueMember Name="Ch03LAlarmUnlatch" DataType="BOOL" Value="0"/>
</Structure>
</Data>
</OutputTag>
</Connection>
</Connections>
</Communications>
<ExtendedProperties>
<public><ConfigID>100</ConfigID><CatNum>1769-IF4C</CatNum></public>
</ExtendedProperties>
</Module>
</Modules>
<AddOnInstructionDefinitions>
<AddOnInstructionDefinition Name="EVENT_TOT" Revision="1.0" RevisionExtension="0" Vendor="Cool Stuff" ExecutePrescan="false" ExecutePostscan="false" ExecuteEnableInFalse="false" CreatedDate="1987-05-12T15:21:28.170Z" CreatedBy="GESMAM\414206527" EditedDate="1987-05-12T15:25:19.828Z" EditedBy="GESMAM\414032557"
SoftwareRevision="v12.69">
<Description>
<![CDATA[Life Excitement]]>
</Description>
<Parameters>
<Parameter Name="EnableIn" TagType="Base" DataType="BOOL" Usage="Input" Radix="Decimal" Required="false" Visible="false" ExternalAccess="Read Only">
<Description>
<![CDATA[Enable Input - System Defined Parameter]]>
</Description>
</Parameter>
<Parameter Name="EnableOut" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="false" ExternalAccess="Read Only">
<Description>
<![CDATA[Enable Output - System Defined Parameter]]>
</Description>
</Parameter>
<Parameter Name="AlarmSP" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<Description>
<![CDATA[Excitement High Alarm Setpoint]]>
</Description>
<DefaultData Format="L5K">
<![CDATA[0]]>
</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
</Parameters>
<LocalTags>
<LocalTag Name="EarplugArray" DataType="INT" Dimensions="20" Radix="Decimal" ExternalAccess="Read/Write">
<Description>
<![CDATA[Earplug Array]]>
</Description>
<DefaultData Format="L5K">
<![CDATA[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]]>
</DefaultData>
<DefaultData Format="Decorated">
<Array DataType="INT" Dimensions="20" Radix="Decimal">
<Element Index="[0]" Value="0"/>
<Element Index="[1]" Value="0"/>
<Element Index="[2]" Value="0"/>
<Element Index="[3]" Value="0"/>
<Element Index="[4]" Value="0"/>
<Element Index="[5]" Value="0"/>
<Element Index="[6]" Value="0"/>
<Element Index="[7]" Value="0"/>
<Element Index="[8]" Value="0"/>
<Element Index="[9]" Value="0"/>
<Element Index="[10]" Value="0"/>
<Element Index="[11]" Value="0"/>
<Element Index="[12]" Value="0"/>
<Element Index="[13]" Value="0"/>
<Element Index="[14]" Value="0"/>
<Element Index="[15]" Value="0"/>
<Element Index="[16]" Value="0"/>
<Element Index="[17]" Value="0"/>
<Element Index="[18]" Value="0"/>
<Element Index="[19]" Value="0"/>
</Array>
</DefaultData>
</LocalTag>
</LocalTags>
<Routines>
<Routine Name="Logic" Type="RLL">
<RLLContent>
<Rung Number="0" Type="N">
<Text>
<![CDATA[[MOV(1,23) DO(92,TheThing)];]]>
</Text>
</Rung>
<Rung Number="1" Type="N">
<Text>
<![CDATA[[ACT(My) ,ACT(Oh) ACT(My) ][DOTHING(0,5,12,26,74)];]]>
</Text>
</Rung>
</RLLContent>
</Routine>
</Routines>
</AddOnInstructionDefinition>
</AddOnInstructionDefinitions>
<Tags>
<Tag Name="INFO_ABOUT" TagType="Base" DataType="INT" Dimensions="2" Radix="Decimal" Constant="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Info data]]>
</Description>
<Data Format="L5K">
<![CDATA[[-2925,1952]]]>
</Data>
<Data Format="Decorated">
<Array DataType="INT" Dimensions="2" Radix="Decimal">
<Element Index="[0]" Value="-2925"/>
<Element Index="[1]" Value="1952"/>
</Array>
</Data>
</Tag>
<Tag Name="bIGGD" TagType="Base" DataType="big_data_type" Constant="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Big Data Lots]]>
</Description>
<Data Format="L5K">
<![CDATA[[1,7,3]]]>
</Data>
<Data Format="Decorated">
<Structure DataType="big_data_type">
<DataValueMember Name="CLEAN_RATE" DataType="BOOL" Value="0"/>
<DataValueMember Name="CLEAN_COMPLEXITY" DataType="BOOL" Value="1"/>
<DataValueMember Name="FUN_FACTOR" DataType="BOOL" Value="0"/>
<DataValueMember Name="PRODUCT_COST" DataType="BOOL" Value="0"/>
<DataValueMember Name="AJIBSH_35" DataType="BOOL" Value="0"/>
<DataValueMember Name="CLEAN_MODE" DataType="INT" Radix="Decimal" Value="7"/>
<DataValueMember Name="VALVE_ENABLE" DataType="BOOL" Value="1"/>
<DataValueMember Name="TIGER_SUBSYSTEM" DataType="BOOL" Value="1"/>
<DataValueMember Name="REVERSE_TIME_BUTTON" DataType="BOOL" Value="0"/>
</Structure>
</Data>
</Tag>
</Tags>
<Programs>
<Program Name="dancer" TestEdits="false" MainRoutineName="MainRoutine" Disabled="false" UseAsFolder="false">
<Tags>
<Tag Name="DOW" TagType="Base" DataType="dow" Constant="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Day of the Week]]>
</Description>
<Data Format="L5K">
<![CDATA[[3,12,[0,5,2,7,5,0,2,5,1,4,6,3,4],6.2]]]>
</Data>
<Data Format="Decorated">
<Structure DataType="dow">
<DataValueMember Name="DayOW" DataType="INT" Radix="Decimal" Value="3"/>
<DataValueMember Name="Month" DataType="DINT" Radix="Decimal" Value="12"/>
<ArrayMember Name="MonthCode" DataType="DINT" Dimensions="13" Radix="Decimal">
<Element Index="[0]" Value="0"/>
<Element Index="[1]" Value="5"/>
<Element Index="[2]" Value="2"/>
<Element Index="[3]" Value="7"/>
<Element Index="[4]" Value="5"/>
<Element Index="[5]" Value="0"/>
<Element Index="[6]" Value="2"/>
<Element Index="[7]" Value="5"/>
<Element Index="[8]" Value="1"/>
<Element Index="[9]" Value="4"/>
<Element Index="[10]" Value="6"/>
<Element Index="[11]" Value="3"/>
<Element Index="[12]" Value="4"/>
</ArrayMember>
<DataValueMember Name="DayOW1" DataType="REAL" Radix="Float" Value="6.2"/>
</Structure>
</Data>
</Tag>
<Tag Name="EX_AOI" TagType="Base" DataType="EVENT_TOT" Constant="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Add-on instruction]]>
</Description>
<Data Format="L5K">
<![CDATA[[3,15]]]>
</Data>
<Data Format="Decorated">
<Structure DataType="AOI">
<DataValueMember Name="EnableIn" DataType="BOOL" Value="1"/>
<DataValueMember Name="EnableOut" DataType="BOOL" Value="1"/>
<DataValueMember Name="AlarmSP" DataType="INT" Value="15"/>
</Structure>
</Data>
</Tag>
<Tag Name="multiArray" TagType="Base" DataType="INT" Dimensions="2 4" Radix="Decimal" Constant="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Demo of multi-dimensional array]]>
</Description>
<Data Format="L5K">
<![CDATA[[5,10,20,99,12,26,74,194993]]]>
</Data>
<Data Format="Decorated">
<Array DataType="INT" Dimensions="2,4" Radix="Decimal">
<Element Index="[0,0]" Value="5"/>
<Element Index="[0,1]" Value="10"/>
<Element Index="[0,2]" Value="20"/>
<Element Index="[0,3]" Value="99"/>
<Element Index="[1,0]" Value="12"/>
<Element Index="[1,1]" Value="26"/>
<Element Index="[1,2]" Value="74"/>
<Element Index="[1,3]" Value="194993"/>
</Array>
</Data>
</Tag>
</Tags>
<Routines>
<Routine Name="INITIATE_DANCE_SEQUENCE" Type="RLL">
<Description>
<![CDATA[Code to Initiate the dance sequence]]>
</Description>
<RLLContent>
<Rung Number="0" Type="N">
<Comment>
<![CDATA[===================================================================================================================================================================================
INITIATE DANCE SEQUENCE - ver 0.1
ROUTINE FUNCTION
1. Turn on lights.
2. Turn on sprinklers.
3. Crank music up to 3.
CODE DETAILS
Rung 0 - Read all sensor data and save it.
Rung 1 - Be confused
Rung 2 - Admit complete ignorance of rungs
Rung 3 - Phone someone until it rings
Rung 4 - It has run
===================================================================================================================================================================================]]>
</Comment>
<Text>
<![CDATA[THING(Fancy code goes here);]]>
</Text>
</Rung>
<Rung Number="1" Type="N">
<Text>
<![CDATA[Beep() Beep() Bloop();]]>
</Text>
</Rung>
<Rung Number="2" Type="N">
<Text>
<![CDATA[[Computer(?,?,?);]]>
</Text>
</Rung>
<Rung Number="3" Type="N">
<Text>
<![CDATA[[Succeed();]]>
</Text>
</Rung>
<Rung Number="4" Type="N">
<Text>
<![CDATA[DONE[]];]]>
</Text>
</Rung>
</RLLContent>
</Routine>
</Routines>
</Program>
</Programs>
<Tasks>
<Task Name="MainTask" Type="CONTINUOUS" Priority="10" Watchdog="500" DisableUpdateOutputs="false" InhibitTask="false">
<ScheduledPrograms>
<ScheduledProgram Name="dancer"/>
</ScheduledPrograms>
</Task>
</Tasks>
<CST MasterID="0"/>
<WallClockTime LocalTimeAdjustment="0" TimeZone="0"/>
<Trends>
<Trend Name="tacos" SamplePeriod="500" NumberOfCaptures="1" CaptureSizeType="Samples" CaptureSize="340" StartTriggerType="No Trigger" StopTriggerType="No Trigger" TrendxVersion="8.1">
<Template>255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
</Template>
<Pens>
<Pen Name="pen_name" Color="16#00ff_aa33" Visible="true" Style="0" Type="Analog" Width="1" Marker="0" Min="0.0" Max="100.0"/>
</Pens>
</Trend>
</Trends>
<DataLogs/>
<TimeSynchronize Priority1="64" Priority2="64" PTPEnable="false"/>
<EthernetPorts>
<EthernetPort Port="1" Label="1" PortEnabled="true"/>
<EthernetPort Port="2" Label="2" PortEnabled="true"/>
</EthernetPorts>
<EthernetNetwork SupervisorModeEnabled="true" SupervisorPrecedence="5" BeaconInterval="200" BeaconTimeout="1864" VLANID="15"/>
</Controller>
</RSLogix5000Content>