tallakt-plcutil 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,442 @@
1
+ ---
2
+ ":IOReal":
3
+ :colnames:
4
+ - ":IOReal"
5
+ - Group
6
+ - Comment
7
+ - Logged
8
+ - EventLogged
9
+ - EventLoggingPriority
10
+ - RetentiveValue
11
+ - RetentiveAlarmParameters
12
+ - AlarmValueDeadband
13
+ - AlarmDevDeadband
14
+ - EngUnits
15
+ - InitialValue
16
+ - MinEU
17
+ - MaxEU
18
+ - Deadband
19
+ - LogDeadband
20
+ - LoLoAlarmState
21
+ - LoLoAlarmValue
22
+ - LoLoAlarmPri
23
+ - LoAlarmState
24
+ - LoAlarmValue
25
+ - LoAlarmPri
26
+ - HiAlarmState
27
+ - HiAlarmValue
28
+ - HiAlarmPri
29
+ - HiHiAlarmState
30
+ - HiHiAlarmValue
31
+ - HiHiAlarmPri
32
+ - MinorDevAlarmState
33
+ - MinorDevAlarmValue
34
+ - MinorDevAlarmPri
35
+ - MajorDevAlarmState
36
+ - MajorDevAlarmValue
37
+ - MajorDevAlarmPri
38
+ - DevTarget
39
+ - ROCAlarmState
40
+ - ROCAlarmValue
41
+ - ROCAlarmPri
42
+ - ROCTimeBase
43
+ - MinRaw
44
+ - MaxRaw
45
+ - Conversion
46
+ - AccessName
47
+ - ItemUseTagname
48
+ - ItemName
49
+ - ReadOnly
50
+ - AlarmComment
51
+ - AlarmAckModel
52
+ - LoLoAlarmDisable
53
+ - LoAlarmDisable
54
+ - HiAlarmDisable
55
+ - HiHiAlarmDisable
56
+ - MinDevAlarmDisable
57
+ - MajDevAlarmDisable
58
+ - RocAlarmDisable
59
+ - LoLoAlarmInhibitor
60
+ - LoAlarmInhibitor
61
+ - HiAlarmInhibitor
62
+ - HiHiAlarmInhibitor
63
+ - MinDevAlarmInhibitor
64
+ - MajDevAlarmInhibitor
65
+ - RocAlarmInhibitor
66
+ - SymbolicName
67
+ :name: ":IOReal"
68
+ :rows: []
69
+
70
+ ":IODisc":
71
+ :colnames:
72
+ - ":IODisc"
73
+ - Group
74
+ - Comment
75
+ - Logged
76
+ - EventLogged
77
+ - EventLoggingPriority
78
+ - RetentiveValue
79
+ - InitialDisc
80
+ - OffMsg
81
+ - OnMsg
82
+ - AlarmState
83
+ - AlarmPri
84
+ - DConversion
85
+ - AccessName
86
+ - ItemUseTagname
87
+ - ItemName
88
+ - ReadOnly
89
+ - AlarmComment
90
+ - AlarmAckModel
91
+ - DSCAlarmDisable
92
+ - DSCAlarmInhibitor
93
+ - SymbolicName
94
+ :name: ":IODisc"
95
+ :rows: []
96
+
97
+ ":IndirectAnalog":
98
+ :colnames:
99
+ - ":IndirectAnalog"
100
+ - Group
101
+ - Comment
102
+ - EventLogged
103
+ - EventLoggingPriority
104
+ - RetentiveValue
105
+ - SymbolicName
106
+ :name: ":IndirectAnalog"
107
+ :rows: []
108
+
109
+ ":HistoryTrend":
110
+ :colnames:
111
+ - ":HistoryTrend"
112
+ - Group
113
+ - Comment
114
+ - SymbolicName
115
+ :name: ":HistoryTrend"
116
+ :rows: []
117
+
118
+ ":MemoryReal":
119
+ :colnames:
120
+ - ":MemoryReal"
121
+ - Group
122
+ - Comment
123
+ - Logged
124
+ - EventLogged
125
+ - EventLoggingPriority
126
+ - RetentiveValue
127
+ - RetentiveAlarmParameters
128
+ - AlarmValueDeadband
129
+ - AlarmDevDeadband
130
+ - EngUnits
131
+ - InitialValue
132
+ - MinValue
133
+ - MaxValue
134
+ - Deadband
135
+ - LogDeadband
136
+ - LoLoAlarmState
137
+ - LoLoAlarmValue
138
+ - LoLoAlarmPri
139
+ - LoAlarmState
140
+ - LoAlarmValue
141
+ - LoAlarmPri
142
+ - HiAlarmState
143
+ - HiAlarmValue
144
+ - HiAlarmPri
145
+ - HiHiAlarmState
146
+ - HiHiAlarmValue
147
+ - HiHiAlarmPri
148
+ - MinorDevAlarmState
149
+ - MinorDevAlarmValue
150
+ - MinorDevAlarmPri
151
+ - MajorDevAlarmState
152
+ - MajorDevAlarmValue
153
+ - MajorDevAlarmPri
154
+ - DevTarget
155
+ - ROCAlarmState
156
+ - ROCAlarmValue
157
+ - ROCAlarmPri
158
+ - ROCTimeBase
159
+ - AlarmComment
160
+ - AlarmAckModel
161
+ - LoLoAlarmDisable
162
+ - LoAlarmDisable
163
+ - HiAlarmDisable
164
+ - HiHiAlarmDisable
165
+ - MinDevAlarmDisable
166
+ - MajDevAlarmDisable
167
+ - RocAlarmDisable
168
+ - LoLoAlarmInhibitor
169
+ - LoAlarmInhibitor
170
+ - HiAlarmInhibitor
171
+ - HiHiAlarmInhibitor
172
+ - MinDevAlarmInhibitor
173
+ - MajDevAlarmInhibitor
174
+ - RocAlarmInhibitor
175
+ - SymbolicName
176
+ :name: ":MemoryReal"
177
+ :rows: []
178
+
179
+ ":GroupVar":
180
+ :colnames:
181
+ - ":GroupVar"
182
+ - Group
183
+ - Comment
184
+ - SymbolicName
185
+ :name: ":GroupVar"
186
+ :rows: []
187
+
188
+ ":IndirectMsg":
189
+ :colnames:
190
+ - ":IndirectMsg"
191
+ - Group
192
+ - Comment
193
+ - EventLogged
194
+ - EventLoggingPriority
195
+ - RetentiveValue
196
+ - SymbolicName
197
+ :name: ":IndirectMsg"
198
+ :rows: []
199
+
200
+ ":TagID":
201
+ :colnames:
202
+ - ":TagID"
203
+ - Group
204
+ - Comment
205
+ :name: ":TagID"
206
+ :rows: []
207
+
208
+ ":IOMsg":
209
+ :colnames:
210
+ - ":IOMsg"
211
+ - Group
212
+ - Comment
213
+ - Logged
214
+ - EventLogged
215
+ - EventLoggingPriority
216
+ - RetentiveValue
217
+ - MaxLength
218
+ - InitialMessage
219
+ - AccessName
220
+ - ItemUseTagname
221
+ - ItemName
222
+ - ReadOnly
223
+ - AlarmComment
224
+ - SymbolicName
225
+ :name: ":IOMsg"
226
+ :rows: []
227
+
228
+ ":MemoryMsg":
229
+ :colnames:
230
+ - ":MemoryMsg"
231
+ - Group
232
+ - Comment
233
+ - Logged
234
+ - EventLogged
235
+ - EventLoggingPriority
236
+ - RetentiveValue
237
+ - MaxLength
238
+ - InitialMessage
239
+ - AlarmComment
240
+ - SymbolicName
241
+ :name: ":MemoryMsg"
242
+ :rows: []
243
+
244
+ ":IndirectDisc":
245
+ :colnames:
246
+ - ":IndirectDisc"
247
+ - Group
248
+ - Comment
249
+ - EventLogged
250
+ - EventLoggingPriority
251
+ - RetentiveValue
252
+ - SymbolicName
253
+ :name: ":IndirectDisc"
254
+ :rows: []
255
+
256
+ ":MemoryDisc":
257
+ :colnames:
258
+ - ":MemoryDisc"
259
+ - Group
260
+ - Comment
261
+ - Logged
262
+ - EventLogged
263
+ - EventLoggingPriority
264
+ - RetentiveValue
265
+ - InitialDisc
266
+ - OffMsg
267
+ - OnMsg
268
+ - AlarmState
269
+ - AlarmPri
270
+ - AlarmComment
271
+ - AlarmAckModel
272
+ - DSCAlarmDisable
273
+ - DSCAlarmInhibitor
274
+ - SymbolicName
275
+ :name: ":MemoryDisc"
276
+ :rows: []
277
+
278
+ ":IOInt":
279
+ :colnames:
280
+ - ":IOInt"
281
+ - Group
282
+ - Comment
283
+ - Logged
284
+ - EventLogged
285
+ - EventLoggingPriority
286
+ - RetentiveValue
287
+ - RetentiveAlarmParameters
288
+ - AlarmValueDeadband
289
+ - AlarmDevDeadband
290
+ - EngUnits
291
+ - InitialValue
292
+ - MinEU
293
+ - MaxEU
294
+ - Deadband
295
+ - LogDeadband
296
+ - LoLoAlarmState
297
+ - LoLoAlarmValue
298
+ - LoLoAlarmPri
299
+ - LoAlarmState
300
+ - LoAlarmValue
301
+ - LoAlarmPri
302
+ - HiAlarmState
303
+ - HiAlarmValue
304
+ - HiAlarmPri
305
+ - HiHiAlarmState
306
+ - HiHiAlarmValue
307
+ - HiHiAlarmPri
308
+ - MinorDevAlarmState
309
+ - MinorDevAlarmValue
310
+ - MinorDevAlarmPri
311
+ - MajorDevAlarmState
312
+ - MajorDevAlarmValue
313
+ - MajorDevAlarmPri
314
+ - DevTarget
315
+ - ROCAlarmState
316
+ - ROCAlarmValue
317
+ - ROCAlarmPri
318
+ - ROCTimeBase
319
+ - MinRaw
320
+ - MaxRaw
321
+ - Conversion
322
+ - AccessName
323
+ - ItemUseTagname
324
+ - ItemName
325
+ - ReadOnly
326
+ - AlarmComment
327
+ - AlarmAckModel
328
+ - LoLoAlarmDisable
329
+ - LoAlarmDisable
330
+ - HiAlarmDisable
331
+ - HiHiAlarmDisable
332
+ - MinDevAlarmDisable
333
+ - MajDevAlarmDisable
334
+ - RocAlarmDisable
335
+ - LoLoAlarmInhibitor
336
+ - LoAlarmInhibitor
337
+ - HiAlarmInhibitor
338
+ - HiHiAlarmInhibitor
339
+ - MinDevAlarmInhibitor
340
+ - MajDevAlarmInhibitor
341
+ - RocAlarmInhibitor
342
+ - SymbolicName
343
+ :name: ":IOInt"
344
+ :rows: []
345
+
346
+ ":MemoryInt":
347
+ :colnames:
348
+ - ":MemoryInt"
349
+ - Group
350
+ - Comment
351
+ - Logged
352
+ - EventLogged
353
+ - EventLoggingPriority
354
+ - RetentiveValue
355
+ - RetentiveAlarmParameters
356
+ - AlarmValueDeadband
357
+ - AlarmDevDeadband
358
+ - EngUnits
359
+ - InitialValue
360
+ - MinValue
361
+ - MaxValue
362
+ - Deadband
363
+ - LogDeadband
364
+ - LoLoAlarmState
365
+ - LoLoAlarmValue
366
+ - LoLoAlarmPri
367
+ - LoAlarmState
368
+ - LoAlarmValue
369
+ - LoAlarmPri
370
+ - HiAlarmState
371
+ - HiAlarmValue
372
+ - HiAlarmPri
373
+ - HiHiAlarmState
374
+ - HiHiAlarmValue
375
+ - HiHiAlarmPri
376
+ - MinorDevAlarmState
377
+ - MinorDevAlarmValue
378
+ - MinorDevAlarmPri
379
+ - MajorDevAlarmState
380
+ - MajorDevAlarmValue
381
+ - MajorDevAlarmPri
382
+ - DevTarget
383
+ - ROCAlarmState
384
+ - ROCAlarmValue
385
+ - ROCAlarmPri
386
+ - ROCTimeBase
387
+ - AlarmComment
388
+ - AlarmAckModel
389
+ - LoLoAlarmDisable
390
+ - LoAlarmDisable
391
+ - HiAlarmDisable
392
+ - HiHiAlarmDisable
393
+ - MinDevAlarmDisable
394
+ - MajDevAlarmDisable
395
+ - RocAlarmDisable
396
+ - LoLoAlarmInhibitor
397
+ - LoAlarmInhibitor
398
+ - HiAlarmInhibitor
399
+ - HiHiAlarmInhibitor
400
+ - MinDevAlarmInhibitor
401
+ - MajDevAlarmInhibitor
402
+ - RocAlarmInhibitor
403
+ - SymbolicName
404
+ :name: ":MemoryInt"
405
+ :rows: []
406
+
407
+ ":AlarmGroup":
408
+ :colnames:
409
+ - ":AlarmGroup"
410
+ - Group
411
+ - Comment
412
+ - EventLogged
413
+ - EventLoggingPriority
414
+ - LoLoAlarmDisable
415
+ - LoAlarmDisable
416
+ - HiAlarmDisable
417
+ - HiHiAlarmDisable
418
+ - MinDevAlarmDisable
419
+ - MajDevAlarmDisable
420
+ - RocAlarmDisable
421
+ - DSCAlarmDisable
422
+ - LoLoAlarmInhibitor
423
+ - LoAlarmInhibitor
424
+ - HiAlarmInhibitor
425
+ - HiHiAlarmInhibitor
426
+ - MinDevAlarmInhibitor
427
+ - MajDevAlarmInhibitor
428
+ - RocAlarmInhibitor
429
+ - DSCAlarmInhibitor
430
+ :name: ":AlarmGroup"
431
+ :rows: []
432
+
433
+ ":IOAccess":
434
+ :colnames:
435
+ - ":IOAccess"
436
+ - Application
437
+ - Topic
438
+ - AdviseActive
439
+ - DDEProtocol
440
+ :name: ":IOAccess"
441
+ :rows: []
442
+
data/lib/plcutil.rb ADDED
@@ -0,0 +1,6 @@
1
+ $:.unshift(File.dirname(__FILE__)) unless
2
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
+
4
+ module Plcutil
5
+ VERSION = '0.0.1'
6
+ end
data/script/console ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+ # File: script/console
3
+ irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
+
5
+ libs = " -r irb/completion"
6
+ # Perhaps use a console_lib to store any extra methods I may want available in the cosole
7
+ # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
8
+ libs << " -r #{File.dirname(__FILE__) + '/../lib/plcutil.rb'}"
9
+ puts "Loading plcutil gem"
10
+ exec "#{irb} #{libs} --simple-prompt"
@@ -0,0 +1 @@
1
+ @ruby script/console %*
data/script/destroy ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/destroy'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Destroy.new.run(ARGV)
@@ -0,0 +1 @@
1
+ @ruby script/destroy %*
data/script/generate ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/generate'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Generate.new.run(ARGV)
@@ -0,0 +1 @@
1
+ @ruby script/generate %*
metadata ADDED
@@ -0,0 +1,95 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tallakt-plcutil
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Tallak Tveide
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-01-29 00:00:00 -08:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: newgem
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.2.3
23
+ version:
24
+ - !ruby/object:Gem::Dependency
25
+ name: hoe
26
+ version_requirement:
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 1.8.0
32
+ version:
33
+ description: A set of command line utilities and helper classes to convert between IO list files of different PLC types into different HMI types. Currently Siemens and Wonderware are supported, Schneider and Wonderware IAS support planned in the near future. This is still a quite rough version - pre alpha!!
34
+ email:
35
+ - tallak@tveide.net
36
+ executables:
37
+ - awlpp
38
+ - s7tointouch
39
+ extensions: []
40
+
41
+ extra_rdoc_files:
42
+ - History.txt
43
+ - Manifest.txt
44
+ - README.rdoc
45
+ files:
46
+ - History.txt
47
+ - LICENSE
48
+ - Manifest.txt
49
+ - README.rdoc
50
+ - Rakefile
51
+ - TODO
52
+ - bin/awlpp
53
+ - bin/s7tointouch
54
+ - lib/plcutil/siemens/awlfile.rb
55
+ - lib/plcutil/siemens/awlprettyprintrunner.rb
56
+ - lib/plcutil/siemens/step7tointouchrunner.rb
57
+ - lib/plcutil/wonderware/intouchfile.rb
58
+ - lib/plcutil/wonderware/intouchreader.rb
59
+ - lib/plcutil/wonderware/standard_sections.yaml
60
+ - lib/plcutil.rb
61
+ - script/console
62
+ - script/console.cmd
63
+ - script/destroy
64
+ - script/destroy.cmd
65
+ - script/generate
66
+ - script/generate.cmd
67
+ has_rdoc: true
68
+ homepage: http://github.com/tallakt/plcutil
69
+ post_install_message:
70
+ rdoc_options:
71
+ - --main
72
+ - README.rdoc
73
+ require_paths:
74
+ - lib
75
+ required_ruby_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: "0"
80
+ version:
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: "0"
86
+ version:
87
+ requirements: []
88
+
89
+ rubyforge_project: plcutil
90
+ rubygems_version: 1.2.0
91
+ signing_key:
92
+ specification_version: 2
93
+ summary: A set of command line utilities and helper classes to convert between IO list files of different PLC types into different HMI types
94
+ test_files: []
95
+