opcua 0.19 → 0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +8 -2
- data/cert/cert.h +52 -52
- data/cert/cert_key.h +99 -99
- data/ext/opcua/client/client.c +1 -1
- data/ext/opcua/helpers/values.c +3 -1
- data/opcua.gemspec +1 -1
- metadata +3 -9
- data/example/server_browse.rb +0 -6
- data/example/test +0 -22
- data/example/test.mpf +0 -85
- data/example/test1 +0 -12
- data/example/tester.mpf +0 -85
- data/example/turm.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b563025f5af4ab20c27a4f6ff05e5e442dab0d44462c346bd7d32ac3ff58ad49
|
4
|
+
data.tar.gz: '059f6ae8d6a8ed02d7577e8c7fc55154f5574549cdb47628bb4e1ace0675a3eb'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4bcf7661e9be89ac2a6be22404e07274ee829b23ee1afde5647d7f7bd0cd6987d396542e802ae5e2303895888abcc8b6a68244f97b2010b677375a01e04835b
|
7
|
+
data.tar.gz: 1fe326883189de7b5395009677b0241f23bd539a7c31e2001e63ff6bcb4c1b1c8f8d4371eb3e8e48578dcc6e9fdac215145659673da335a2b173aa02a83a3bc2
|
data/README.md
CHANGED
@@ -38,7 +38,7 @@ apt install build-essential cmake-curses-gui libmbedtls-dev libxml2-dev libxslt-
|
|
38
38
|
dnf install @buildsys-build @development-tools cmake libxml2-devel libxslt-devel zlib-devel libicu-devel mbedtls-devel
|
39
39
|
```
|
40
40
|
|
41
|
-
Dependency: https://github.com/open62541/open62541 >
|
41
|
+
Dependency: https://github.com/open62541/open62541 > 1.1 (master branch as of 2020-06-04)
|
42
42
|
|
43
43
|
```sh
|
44
44
|
git clone https://github.com/open62541/open62541.git
|
data/Rakefile
CHANGED
@@ -28,10 +28,16 @@ Gem::PackageTask.new(spec) do |pkg|
|
|
28
28
|
FileUtils.ln_sf "#{pkg.name}.gem", "pkg/#{spec.name}.gem"
|
29
29
|
end
|
30
30
|
|
31
|
-
task :push => :gem do
|
31
|
+
task :push => :gem do
|
32
32
|
`gem push pkg/opcua.gem`
|
33
33
|
end
|
34
34
|
|
35
|
-
task :install => :gem do
|
35
|
+
task :install => :gem do
|
36
36
|
`gem install pkg/opcua.gem`
|
37
37
|
end
|
38
|
+
|
39
|
+
task :clean do
|
40
|
+
FileUtils.rm_rf(File.join(__dir__,'tmp'))
|
41
|
+
FileUtils.rm_rf(File.join(__dir__,'lib','opcua','client.so'))
|
42
|
+
FileUtils.rm_rf(File.join(__dir__,'lib','opcua','server.so'))
|
43
|
+
end
|
data/cert/cert.h
CHANGED
@@ -1,70 +1,70 @@
|
|
1
1
|
unsigned char cert_der[] = {
|
2
2
|
0x30, 0x82, 0x03, 0x18, 0x30, 0x82, 0x02, 0x00, 0xa0, 0x03, 0x02, 0x01,
|
3
|
-
0x02, 0x02, 0x14,
|
4
|
-
|
3
|
+
0x02, 0x02, 0x14, 0x7e, 0x53, 0x21, 0xef, 0xe9, 0x0b, 0x90, 0x45, 0x91,
|
4
|
+
0x50, 0x71, 0x15, 0x0a, 0xcb, 0x99, 0x5a, 0xe3, 0x98, 0xc0, 0xdd, 0x30,
|
5
5
|
0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b,
|
6
6
|
0x05, 0x00, 0x30, 0x15, 0x31, 0x13, 0x30, 0x11, 0x06, 0x03, 0x55, 0x04,
|
7
7
|
0x03, 0x0c, 0x0a, 0x72, 0x75, 0x62, 0x79, 0x2d, 0x6f, 0x70, 0x63, 0x75,
|
8
|
-
0x61, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x30,
|
9
|
-
0x34,
|
10
|
-
|
8
|
+
0x61, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x30, 0x37, 0x31, 0x30, 0x31,
|
9
|
+
0x34, 0x30, 0x36, 0x30, 0x32, 0x5a, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36,
|
10
|
+
0x33, 0x30, 0x31, 0x34, 0x30, 0x36, 0x30, 0x32, 0x5a, 0x30, 0x15, 0x31,
|
11
11
|
0x13, 0x30, 0x11, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x0a, 0x72, 0x75,
|
12
12
|
0x62, 0x79, 0x2d, 0x6f, 0x70, 0x63, 0x75, 0x61, 0x30, 0x82, 0x01, 0x22,
|
13
13
|
0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01,
|
14
14
|
0x01, 0x05, 0x00, 0x03, 0x82, 0x01, 0x0f, 0x00, 0x30, 0x82, 0x01, 0x0a,
|
15
|
-
0x02, 0x82, 0x01, 0x01, 0x00,
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
15
|
+
0x02, 0x82, 0x01, 0x01, 0x00, 0xbf, 0xcd, 0xca, 0x15, 0x60, 0x85, 0x47,
|
16
|
+
0xb7, 0x3d, 0x38, 0x00, 0xe2, 0x1f, 0xcc, 0xc9, 0x15, 0x7f, 0xb1, 0x58,
|
17
|
+
0xc8, 0x33, 0x8e, 0x74, 0x52, 0x1e, 0xcc, 0x5f, 0xe0, 0xa4, 0x11, 0x92,
|
18
|
+
0x47, 0x66, 0xb6, 0x33, 0x0c, 0xd0, 0xde, 0x39, 0xf6, 0xd0, 0x7b, 0x78,
|
19
|
+
0x6c, 0x13, 0xf8, 0xfd, 0x2b, 0xf0, 0x67, 0xbf, 0xd4, 0x54, 0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x8f, 0x56, 0x66, 0xd5, 0x8a,
|
34
|
+
0x08, 0x54, 0x6c, 0xad, 0xf8, 0x7c, 0x1a, 0x18, 0xdb, 0xc0, 0xf1, 0x5d,
|
35
|
+
0x4f, 0x68, 0xe5, 0x93, 0x52, 0x4a, 0x58, 0x67, 0x7d, 0x7c, 0x2c, 0xb7,
|
36
|
+
0x59, 0x16, 0x6e, 0x67, 0xab, 0x10, 0xe2, 0xab, 0x11, 0x02, 0x03, 0x01,
|
37
37
|
0x00, 0x01, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d,
|
38
|
-
0x0e, 0x04, 0x16, 0x04, 0x14,
|
39
|
-
|
40
|
-
|
38
|
+
0x0e, 0x04, 0x16, 0x04, 0x14, 0x23, 0x5a, 0xee, 0xbe, 0x0a, 0x8d, 0x60,
|
39
|
+
0xac, 0x7e, 0x6b, 0xaa, 0xc2, 0xd7, 0x15, 0x4d, 0x8d, 0xac, 0x48, 0x2a,
|
40
|
+
0x59, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04,
|
41
41
|
0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x1c, 0x06, 0x03, 0x55, 0x1d,
|
42
42
|
0x11, 0x04, 0x15, 0x30, 0x13, 0x86, 0x11, 0x72, 0x75, 0x62, 0x79, 0x2d,
|
43
43
|
0x6f, 0x70, 0x63, 0x75, 0x61, 0x3a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
44
44
|
0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04,
|
45
45
|
0x03, 0x02, 0x05, 0xa0, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
|
46
46
|
0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x03, 0x82, 0x01, 0x01, 0x00,
|
47
|
-
|
48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 0x12, 0xec, 0x45, 0xd2, 0x65, 0x12, 0x72,
|
59
|
+
0xf2, 0x27, 0xeb, 0x19, 0xcf, 0x1e, 0xa4, 0x5b, 0xdb, 0x48, 0x5d, 0x73,
|
60
|
+
0xc9, 0xd1, 0x38, 0x98, 0xc2, 0xb4, 0x57, 0x12, 0xb8, 0xc4, 0x9c, 0x8d,
|
61
|
+
0xad, 0xd9, 0x03, 0x01, 0x39, 0xa3, 0x90, 0x3c, 0xce, 0xcc, 0xc8, 0x38,
|
62
|
+
0x82, 0x20, 0x6a, 0x74, 0x25, 0xe5, 0x38, 0x8c, 0x70, 0xf0, 0xe4, 0x03,
|
63
|
+
0x54, 0x42, 0x12, 0xee, 0xc4, 0x9b, 0xc2, 0x7c, 0xd1, 0x70, 0xf0, 0x7f,
|
64
|
+
0xda, 0xb5, 0xa9, 0x1d, 0x4d, 0xc9, 0x7b, 0x0f, 0x94, 0xf6, 0x8a, 0xbe,
|
65
|
+
0xe1, 0xe8, 0x1b, 0xaa, 0x46, 0x84, 0x65, 0xfa, 0xd4, 0xef, 0x66, 0x4b,
|
66
|
+
0xdd, 0xb6, 0xa1, 0x17, 0xe0, 0x33, 0xd9, 0x87, 0xa1, 0xe3, 0xd0, 0x7a,
|
67
|
+
0x15, 0x44, 0xee, 0xb8, 0xab, 0x15, 0x1a, 0xd3, 0x84, 0x79, 0xaf, 0x15,
|
68
|
+
0xdd, 0x64, 0x13, 0x17
|
69
69
|
};
|
70
70
|
unsigned int cert_der_len = 796;
|
data/cert/cert_key.h
CHANGED
@@ -1,103 +1,103 @@
|
|
1
1
|
unsigned char cert_key_der[] = {
|
2
2
|
0x30, 0x82, 0x04, 0xa3, 0x02, 0x01, 0x00, 0x02, 0x82, 0x01, 0x01, 0x00,
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
0x00,
|
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
|
-
0x6e,
|
3
|
+
0xbf, 0xcd, 0xca, 0x15, 0x60, 0x85, 0x47, 0xb7, 0x3d, 0x38, 0x00, 0xe2,
|
4
|
+
0x1f, 0xcc, 0xc9, 0x15, 0x7f, 0xb1, 0x58, 0xc8, 0x33, 0x8e, 0x74, 0x52,
|
5
|
+
0x1e, 0xcc, 0x5f, 0xe0, 0xa4, 0x11, 0x92, 0x47, 0x66, 0xb6, 0x33, 0x0c,
|
6
|
+
0xd0, 0xde, 0x39, 0xf6, 0xd0, 0x7b, 0x78, 0x6c, 0x13, 0xf8, 0xfd, 0x2b,
|
7
|
+
0xf0, 0x67, 0xbf, 0xd4, 0x54, 0xb9,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 0x56, 0x66, 0xd5, 0x8a, 0x08, 0x54, 0x6c, 0xad, 0xf8,
|
22
|
+
0x7c, 0x1a, 0x18, 0xdb, 0xc0, 0xf1, 0x5d, 0x4f, 0x68, 0xe5, 0x93, 0x52,
|
23
|
+
0x4a, 0x58, 0x67, 0x7d, 0x7c, 0x2c, 0xb7, 0x59, 0x16, 0x6e, 0x67, 0xab,
|
24
|
+
0x10, 0xe2, 0xab, 0x11, 0x02, 0x03, 0x01, 0x00, 0x01, 0x02, 0x82, 0x01,
|
25
|
+
0x00, 0x15, 0x12, 0x66, 0xc1, 0x32, 0x79, 0x72, 0x07, 0x8f, 0x92, 0x37,
|
26
|
+
0x86, 0xa0, 0x37, 0xbf, 0x5f, 0xbd, 0x47, 0x9e, 0x99, 0x60, 0x10, 0xa6,
|
27
|
+
0x76, 0xdf, 0x2b, 0x54, 0xdd, 0x39, 0x29, 0x35, 0x08, 0xe3, 0x1f, 0xe1,
|
28
|
+
0x3b, 0xe7, 0x36, 0x82, 0xe7, 0xba, 0xbf, 0xd5, 0xdb, 0x09, 0xd6, 0xb0,
|
29
|
+
0xf9, 0xc2, 0xcf, 0xa3, 0x23, 0x90, 0xab, 0x44, 0x51, 0x71, 0x34, 0x48,
|
30
|
+
0x96, 0x22, 0x19, 0xfb, 0x50, 0xc3, 0x36, 0x44, 0x42, 0x66, 0xd9, 0x9b,
|
31
|
+
0xf7, 0x7a, 0x86, 0xb5, 0xb7, 0x35, 0x3a, 0x21, 0x7f, 0xbf, 0xf0, 0xc0,
|
32
|
+
0x4f, 0xa4, 0xa3, 0x20, 0x74, 0xd1, 0x38, 0x3c, 0xe9, 0x28, 0xad, 0x93,
|
33
|
+
0x82, 0xa6, 0x8a, 0x39, 0x16, 0x87, 0x98, 0x08, 0xd9, 0x4c, 0x41, 0x9b,
|
34
|
+
0xe0, 0x41, 0xef, 0xc3, 0x04, 0x26, 0xa4, 0xcf, 0x80, 0x6d, 0x7d, 0xa4,
|
35
|
+
0xb7, 0x7e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0x74, 0xd3, 0x02, 0x81, 0x80, 0x7b, 0xb4, 0xa2, 0x42, 0x72,
|
91
|
+
0xec, 0x25, 0x6a, 0x80, 0xdc, 0xbd, 0x45, 0x57, 0x6c, 0x28, 0xb9, 0x7b,
|
92
|
+
0x22, 0x70, 0x17, 0x04, 0x2d, 0x50, 0xf4, 0x74, 0x52, 0xd7, 0xc6, 0x90,
|
93
|
+
0x8a, 0x04, 0x5b, 0x0a, 0xf0, 0x21, 0x8d, 0x14, 0xe6, 0x06, 0x65, 0x1d,
|
94
|
+
0x65, 0xab, 0xee, 0xd2, 0x5a, 0x85, 0x2b, 0xde, 0xc7, 0x4a, 0x79, 0x77,
|
95
|
+
0x18, 0x1b, 0xd6, 0xe7, 0x64, 0xdb, 0xea, 0xfc, 0xc1, 0x34, 0xcc, 0xdc,
|
96
|
+
0xfa, 0xf1, 0x79, 0x95, 0xc3, 0x53, 0x40, 0x1f, 0xfe, 0x48, 0xf8, 0x13,
|
97
|
+
0x81, 0x41, 0xf2, 0x77, 0xcb, 0x0c, 0x88, 0xb4, 0xc1, 0xa8, 0xcf, 0x59,
|
98
|
+
0x1b, 0xba, 0xf3, 0x1a, 0x1d, 0xa2, 0xfc, 0x02, 0x00, 0xa2, 0xf7, 0x2a,
|
99
|
+
0x90, 0x3a, 0x02, 0xf0, 0x23, 0x13, 0xb8, 0xe7, 0xde, 0x58, 0x5d, 0xe1,
|
100
|
+
0x74, 0xbf, 0xdc, 0x62, 0xcf, 0xf4, 0x18, 0x78, 0x15, 0xbd, 0xd5, 0x4d,
|
101
|
+
0x6e, 0xfd, 0xbb
|
102
102
|
};
|
103
103
|
unsigned int cert_key_der_len = 1191;
|
data/ext/opcua/client/client.c
CHANGED
@@ -320,7 +320,7 @@ static VALUE client_init(VALUE self,VALUE url,VALUE user,VALUE pass) { //{{{
|
|
320
320
|
}
|
321
321
|
char *pstr = (char *)StringValuePtr(vpstr);
|
322
322
|
|
323
|
-
retval =
|
323
|
+
retval = UA_Client_connectUsername(pss->master, nstr, ustr, pstr);
|
324
324
|
}
|
325
325
|
if (retval != UA_STATUSCODE_GOOD) {
|
326
326
|
pss->started = false;
|
data/ext/opcua/helpers/values.c
CHANGED
@@ -157,8 +157,10 @@ bool value_to_variant(VALUE value, UA_Variant *variant, UA_UInt32 proposal) { //
|
|
157
157
|
if (proposal == UA_TYPES_STRING) {
|
158
158
|
UA_String tmp = UA_STRING(StringValuePtr(str));
|
159
159
|
UA_Variant_setScalarCopy(variant, &tmp, &UA_TYPES[UA_TYPES_STRING]);
|
160
|
+
} else if (proposal == UA_TYPES_NODEID) {
|
161
|
+
UA_NodeId tmp = UA_NODEID(StringValuePtr(str));
|
162
|
+
UA_Variant_setScalarCopy(variant, &tmp, &UA_TYPES[UA_TYPES_NODEID]);
|
160
163
|
} else if (proposal == UA_TYPES_BYTESTRING) {
|
161
|
-
printf("rrrrr\n");
|
162
164
|
UA_ByteString tmp = UA_BYTESTRING(StringValuePtr(str));
|
163
165
|
UA_Variant_setScalarCopy(variant, &tmp, &UA_TYPES[UA_TYPES_BYTESTRING]);
|
164
166
|
}
|
data/opcua.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "opcua"
|
3
|
-
s.version = "0.
|
3
|
+
s.version = "0.20"
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.license = "LGPL-3.0"
|
6
6
|
s.summary = "Preliminary release of opcua (open62541) ruby bindings. C performance, Ruby elegance, simplicity, and productivity."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opcua
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.20'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: tools
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-07-
|
12
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: daemonite
|
@@ -63,8 +63,8 @@ description: see https://github.com/etm/opcua-smart
|
|
63
63
|
email: juergen.mangler@gmail.com
|
64
64
|
executables: []
|
65
65
|
extensions:
|
66
|
-
- ext/opcua/client/extconf.rb
|
67
66
|
- ext/opcua/server/extconf.rb
|
67
|
+
- ext/opcua/client/extconf.rb
|
68
68
|
extra_rdoc_files:
|
69
69
|
- README.md
|
70
70
|
files:
|
@@ -82,16 +82,10 @@ files:
|
|
82
82
|
- example/client_subscription.rb
|
83
83
|
- example/kelch.KMT
|
84
84
|
- example/server.rb
|
85
|
-
- example/server_browse.rb
|
86
85
|
- example/server_deep.rb
|
87
86
|
- example/server_values.rb
|
88
87
|
- example/server_xml.rb
|
89
|
-
- example/test
|
90
|
-
- example/test.mpf
|
91
88
|
- example/test.rb
|
92
|
-
- example/test1
|
93
|
-
- example/tester.mpf
|
94
|
-
- example/turm.rb
|
95
89
|
- ext/opcua/client/client.c
|
96
90
|
- ext/opcua/client/client.h
|
97
91
|
- ext/opcua/client/extconf.rb
|
data/example/server_browse.rb
DELETED
data/example/test
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
class Types
|
2
|
-
NAME = [ :TYPES ]
|
3
|
-
def self::defined?
|
4
|
-
end
|
5
|
-
|
6
|
-
def self::const_missing(name)
|
7
|
-
kelf = self
|
8
|
-
c = Class.new(Types) do
|
9
|
-
const_set :NAME, kelf::NAME << name
|
10
|
-
end
|
11
|
-
c
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
|
16
|
-
1.upto 5000000 do |i|
|
17
|
-
a = Types::B::C::D
|
18
|
-
a::NAME
|
19
|
-
if i % 1000 == 0
|
20
|
-
GC::start
|
21
|
-
end
|
22
|
-
end
|
data/example/test.mpf
DELETED
@@ -1,85 +0,0 @@
|
|
1
|
-
F_HEAD(1120403455,25,0.2,,120,1,1,8.5,-8.2,390,200,0.4,4000,6000,71,0,43663,,60,,20,6,6,100,100,100,1,205.5,,8650751,16015,2,0,6,120,0,,-100,-80,6,100,100,100,10,10,0,0,,200,50,720);*RO*
|
2
|
-
MSG("JUERGEN43")
|
3
|
-
$MAS_SPINDLE_PARAMETER[1,AX6]=31.5
|
4
|
-
F_ROUGH("SCHRUPPER-A-L","",1,0.1,3,250,2,0,54273,5,25,90,0.5,90,-0.8,90,0,90,-0.8,90,0,90,0,0,0,0,0.8,0,0.1,0,90,90,0,0,0);*RO*
|
5
|
-
F_TS("FRAESER-10-AXHS",,1,1000,1,2,5,,,0,0,0,0);*RO*
|
6
|
-
F_DRILL("FRAESER-10-AXHS","",1,200,1,3500,1,0,40,0.5,90,-2.2,90,50,85,3,5,0,17,0,100);*RO*
|
7
|
-
F_CON("HS_BOHR",4,"E_LAB_A_HS_BOHR","E_LAB_E_HS_BOHR");*RO*
|
8
|
-
F_ROU_Z("BOHRSTANGE-10/12L","",1,0.12,3,200,2,0,0,,,,"202006301043360",,,,"202006301043361",321321,0.05,10,0.2,1.5,2,0.2,0.05,0.1,0,0,0,1,10,90,0.1,90,110,,,10,,,,2,2,,,,,0,,,,0,0,0,1,1,0,0.08);*RO*
|
9
|
-
F_CON("HS",4,"E_LAB_A_HS","E_LAB_E_HS");*RO*
|
10
|
-
F_ROU_Z("SCHRUPPER-A-L","",1,0.15,3,250,2,0,0,,,,"202006301047382",,,,"202006301047383",321111,0.1,10,0.2,2,2,4.711,0.2,0.1,0,0,0,1,25,90,0.1,90,110,,,10,,,,2,2,,,,,0,,,,0,0,0,1,1,0);*RO*
|
11
|
-
F_ROU_Z("SCHLICHTER-A-L","",1,0.15,3,250,2,10,0,,,,"202006301051164","202006301047383",,,"202006301051165",311111,0.05,0.2,0.07,1,6,4.711,0.1,0.1,0,0.2,0,1,0,91,0,91,31,,1,,-41.5,,,2,2,,,,,0,,,,0,0,0,1,1,0);*RO*
|
12
|
-
F_ROU_Z("EINSTI_2N-LR-HS","",1,0.1,3,200,2,12,0,,,,"2020063011000810","202006301051165",,,"2020063011000811",301111,0.08,0.1,0.1,0.8,6,0.2,1,0.1,0,0,0,1,0,91,0,91,30,,-8,,-5,,,2,2,1,30,,,0,,,,0,0,0,1,1,0);*RO*
|
13
|
-
F_ROU_Z("EINSTI_2N-LR-HS","",1,0.1,3,200,2,12,0,,,,"2020063011011512","2020063011000811",,,"2020063011011513",301211,0.08,0.1,0.1,1,6,0.2,0.5,0.1,0,0,0,1,0,91,0,91,31,,-41.1,,-46.9,,,2,2,1,30,,,0,,,,0,0,0,1,1,0);*RO*
|
14
|
-
F_ROU_Z("SCHLICHTER-A-L","",1,0.471,3,250,2,0,0,,,,"2020063011091716",,,,"2020063011091717",311211,0.1,10,0.2,1.5,2,0.2,0.2,0.1,0,0,0,1,25,90,0.1,90,31,,1,,-41.8,,,2,2,,,,,0,,,,0,0,0,1,1,0);*RO*
|
15
|
-
F_ROU_Z("SCHLICHTER-A-L","",1,0.471,3,250,2,0,0,,,,"2020063011113318",,,,"2020063011113319",311211,0.1,10,0.2,1.5,2,0.2,0.2,0.1,0,0,0,1,25,90,0.1,90,23,21,-46,,-53,,,2,2,,,,,0,,,,0,0,0,1,1,0);*RO*
|
16
|
-
F_TS("EINSTICH-ABSTICH3",,1,,0,1,5,,,0,0,0,0);*RO*
|
17
|
-
F_SUB_SP(11004,3,50,0,-29,1,90,1500,2000,2,-50,0,720,100,-50,,2,,0);*RO*
|
18
|
-
F_PARTOF("EINSTICH-ABSTICH3","",1,0.08,3,200,2,0,22,-50.1,1,90,0,90,0,1500,0.04,0.2,0,4000,0,0,0,1);*RO*
|
19
|
-
F_ROUGH("SCHLICHTER-A-R","",1,0.08,3,250,2,0,46082,5,22,90,0.2,90,-1,90,0,90,-1,90,0,90,0,0,0,0.4,0.2,0.1,0,1,90,90,0,0,0);*RO*
|
20
|
-
F_TS("SCHRUPPER-A-R",,1,,0,1,5,,,0,0,0,0);*RO*
|
21
|
-
M9
|
22
|
-
G0 D0 G53 X431.4;X431.4
|
23
|
-
G53 D0 Z601.5 C2=0;Z601.5
|
24
|
-
;M2=25 M9 ;M2=71
|
25
|
-
G04 F1
|
26
|
-
ENDE:M30
|
27
|
-
F_END(0,1,0);*RO*
|
28
|
-
M30 ;#SM;*RO*
|
29
|
-
E_LAB_A_HS: ;#SM Z:2
|
30
|
-
;#7__DlgK contour definition begin - Don't change!;*GP*;*RO*;*HD*
|
31
|
-
G18 G90 DIAM90;*GP*
|
32
|
-
G0 Z0 X16 ;*GP*
|
33
|
-
G1 X22 RND=.4 ;*GP*
|
34
|
-
Z-5.2 RND=.4 ;*GP*
|
35
|
-
G2 Z-24.8 K=AC(-15) I=AC(67.998) RND=.4 ;*GP*
|
36
|
-
G1 Z-30.67 RND=.4 ;*GP*
|
37
|
-
Z-35 X17 RND=.8 ;*GP*
|
38
|
-
Z-39.33 X22 RND=.4 ;*GP*
|
39
|
-
Z-41.5 RND=.04 ;*GP*
|
40
|
-
X16 RND=.4 ;*GP*
|
41
|
-
Z-46.5 RND=.4 ;*GP*
|
42
|
-
X22 RND=.4 ;*GP*
|
43
|
-
Z-53.3 ;*GP*
|
44
|
-
X25 ;*GP*
|
45
|
-
;CON,V64,2,0.0000,12,12,MST:3,2,AX:Z,X,K,I,TRANS:0;*GP*;*RO*;*HD*
|
46
|
-
;S,EX:0,EY:16,ASE:90;*GP*;*RO*;*HD*
|
47
|
-
;R,RROUND:0;*GP*;*RO*;*HD*
|
48
|
-
;LU,EY:22;*GP*;*RO*;*HD*
|
49
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
50
|
-
;LL,EX:-5.2;*GP*;*RO*;*HD*
|
51
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
52
|
-
;ACW,DIA:0/235,EX:-24.8,EY:22,RAD:25;*GP*;*RO*;*HD*
|
53
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
54
|
-
;LL,EX:-30.67;*GP*;*RO*;*HD*
|
55
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
56
|
-
;LA,EX:-35,EY:17;*GP*;*RO*;*HD*
|
57
|
-
;R,RROUND:.8;*GP*;*RO*;*HD*
|
58
|
-
;LA,EX:-39.33,EY:22;*GP*;*RO*;*HD*
|
59
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
60
|
-
;LL,EX:-41.5;*GP*;*RO*;*HD*
|
61
|
-
;R,RROUND:.04;*GP*;*RO*;*HD*
|
62
|
-
;LD,EY:16;*GP*;*RO*;*HD*
|
63
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
64
|
-
;LL,EX:-46.5;*GP*;*RO*;*HD*
|
65
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
66
|
-
;LU,EY:22;*GP*;*RO*;*HD*
|
67
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
68
|
-
;LL,EX:-53.3;*GP*;*RO*;*HD*
|
69
|
-
;LU,EY:25;*GP*;*RO*;*HD*
|
70
|
-
;#End contour definition end - Don't change!;*GP*;*RO*;*HD*
|
71
|
-
E_LAB_E_HS:
|
72
|
-
E_LAB_A_HS_BOHR: ;#SM Z:2
|
73
|
-
;#7__DlgK contour definition begin - Don't change!;*GP*;*RO*;*HD*
|
74
|
-
G18 G90 DIAM90;*GP*
|
75
|
-
G0 Z0 X17.8 ;*GP*
|
76
|
-
G1 X17 RND=.4 ;*GP*
|
77
|
-
Z-2 ;*GP*
|
78
|
-
X9 ;*GP*
|
79
|
-
;CON,V64,2,0.0000,2,2,MST:3,2,AX:Z,X,K,I,TRANS:0;*GP*;*RO*;*HD*
|
80
|
-
;S,EX:0,EY:17,ASE:270;*GP*;*RO*;*HD*
|
81
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
82
|
-
;LL,EX:-2;*GP*;*RO*;*HD*
|
83
|
-
;LD,EY:9;*GP*;*RO*;*HD*
|
84
|
-
;#End contour definition end - Don't change!;*GP*;*RO*;*HD*
|
85
|
-
E_LAB_E_HS_BOHR:
|
data/example/test1
DELETED
data/example/tester.mpf
DELETED
@@ -1,85 +0,0 @@
|
|
1
|
-
F_HEAD(1120403455,25,0.2,,120,1,1,8.5,-8.2,390,200,0.4,4000,6000,71,0,43663,,60,,20,6,6,100,100,100,1,205.5,,8650751,16015,2,0,6,120,0,,-100,-80,6,100,100,100,10,10,0,0,,200,50,720);*RO*
|
2
|
-
MSG("JUERGEN1")
|
3
|
-
$MAS_SPINDLE_PARAMETER[1,AX6]=31.5
|
4
|
-
F_ROUGH("SCHRUPPER-A-L","",1,0.1,3,250,2,0,54273,5,25,90,0.5,90,-0.8,90,0,90,-0.8,90,0,90,0,0,0,0,0.8,0,0.1,0,90,90,0,0,0);*RO*
|
5
|
-
F_TS("FRAESER-10-AXHS",,1,1000,1,2,5,,,0,0,0,0);*RO*
|
6
|
-
F_DRILL("FRAESER-10-AXHS","",1,200,1,3500,1,0,40,0.5,90,-2.2,90,50,85,3,5,0,17,0,100);*RO*
|
7
|
-
F_CON("HS_BOHR",4,"E_LAB_A_HS_BOHR","E_LAB_E_HS_BOHR");*RO*
|
8
|
-
F_ROU_Z("BOHRSTANGE-10/12L","",1,0.12,3,200,2,0,0,,,,"202006301043360",,,,"202006301043361",321321,0.05,10,0.2,1.5,2,0.2,0.05,0.1,0,0,0,1,10,90,0.1,90,110,,,10,,,,2,2,,,,,0,,,,0,0,0,1,1,0,0.08);*RO*
|
9
|
-
F_CON("HS",4,"E_LAB_A_HS","E_LAB_E_HS");*RO*
|
10
|
-
F_ROU_Z("SCHRUPPER-A-L","",1,0.15,3,250,2,0,0,,,,"202006301047382",,,,"202006301047383",321111,0.1,10,0.2,2,2,4.711,0.2,0.1,0,0,0,1,25,90,0.1,90,110,,,10,,,,2,2,,,,,0,,,,0,0,0,1,1,0);*RO*
|
11
|
-
F_ROU_Z("SCHLICHTER-A-L","",1,0.15,3,250,2,10,0,,,,"202006301051164","202006301047383",,,"202006301051165",311111,0.05,0.2,0.07,1,6,4.711,0.1,0.1,0,0.2,0,1,0,91,0,91,31,,1,,-41.5,,,2,2,,,,,0,,,,0,0,0,1,1,0);*RO*
|
12
|
-
F_ROU_Z("EINSTI_2N-LR-HS","",1,0.1,3,200,2,12,0,,,,"2020063011000810","202006301051165",,,"2020063011000811",301111,0.08,0.1,0.1,0.8,6,0.2,1,0.1,0,0,0,1,0,91,0,91,30,,-8,,-5,,,2,2,1,30,,,0,,,,0,0,0,1,1,0);*RO*
|
13
|
-
F_ROU_Z("EINSTI_2N-LR-HS","",1,0.1,3,200,2,12,0,,,,"2020063011011512","2020063011000811",,,"2020063011011513",301211,0.08,0.1,0.1,1,6,0.2,0.5,0.1,0,0,0,1,0,91,0,91,31,,-41.1,,-46.9,,,2,2,1,30,,,0,,,,0,0,0,1,1,0);*RO*
|
14
|
-
F_ROU_Z("SCHLICHTER-A-L","",1,0.471,3,250,2,0,0,,,,"2020063011091716",,,,"2020063011091717",311211,0.1,10,0.2,1.5,2,0.2,0.2,0.1,0,0,0,1,25,90,0.1,90,31,,1,,-41.8,,,2,2,,,,,0,,,,0,0,0,1,1,0);*RO*
|
15
|
-
F_ROU_Z("SCHLICHTER-A-L","",1,0.471,3,250,2,0,0,,,,"2020063011113318",,,,"2020063011113319",311211,0.1,10,0.2,1.5,2,0.2,0.2,0.1,0,0,0,1,25,90,0.1,90,23,21,-46,,-53,,,2,2,,,,,0,,,,0,0,0,1,1,0);*RO*
|
16
|
-
F_TS("EINSTICH-ABSTICH3",,1,,0,1,5,,,0,0,0,0);*RO*
|
17
|
-
F_SUB_SP(11004,3,50,0,-29,1,90,1500,2000,2,-50,0,720,100,-50,,2,,0);*RO*
|
18
|
-
F_PARTOF("EINSTICH-ABSTICH3","",1,0.08,3,200,2,0,22,-50.1,1,90,0,90,0,1500,0.04,0.2,0,4000,0,0,0,1);*RO*
|
19
|
-
F_ROUGH("SCHLICHTER-A-R","",1,0.08,3,250,2,0,46082,5,22,90,0.2,90,-1,90,0,90,-1,90,0,90,0,0,0,0.4,0.2,0.1,0,1,90,90,0,0,0);*RO*
|
20
|
-
F_TS("SCHRUPPER-A-R",,1,,0,1,5,,,0,0,0,0);*RO*
|
21
|
-
M9
|
22
|
-
G0 D0 G53 X431.4;X431.4
|
23
|
-
G53 D0 Z601.5 C2=0;Z601.5
|
24
|
-
;M2=25 M9 ;M2=71
|
25
|
-
G04 F1
|
26
|
-
ENDE:M30
|
27
|
-
F_END(0,1,0);*RO*
|
28
|
-
M30 ;#SM;*RO*
|
29
|
-
E_LAB_A_HS: ;#SM Z:2
|
30
|
-
;#7__DlgK contour definition begin - Don't change!;*GP*;*RO*;*HD*
|
31
|
-
G18 G90 DIAM90;*GP*
|
32
|
-
G0 Z0 X16 ;*GP*
|
33
|
-
G1 X22 RND=.4 ;*GP*
|
34
|
-
Z-5.2 RND=.4 ;*GP*
|
35
|
-
G2 Z-24.8 K=AC(-15) I=AC(67.998) RND=.4 ;*GP*
|
36
|
-
G1 Z-30.67 RND=.4 ;*GP*
|
37
|
-
Z-35 X17 RND=.8 ;*GP*
|
38
|
-
Z-39.33 X22 RND=.4 ;*GP*
|
39
|
-
Z-41.5 RND=.04 ;*GP*
|
40
|
-
X16 RND=.4 ;*GP*
|
41
|
-
Z-46.5 RND=.4 ;*GP*
|
42
|
-
X22 RND=.4 ;*GP*
|
43
|
-
Z-53.3 ;*GP*
|
44
|
-
X25 ;*GP*
|
45
|
-
;CON,V64,2,0.0000,12,12,MST:3,2,AX:Z,X,K,I,TRANS:0;*GP*;*RO*;*HD*
|
46
|
-
;S,EX:0,EY:16,ASE:90;*GP*;*RO*;*HD*
|
47
|
-
;R,RROUND:0;*GP*;*RO*;*HD*
|
48
|
-
;LU,EY:22;*GP*;*RO*;*HD*
|
49
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
50
|
-
;LL,EX:-5.2;*GP*;*RO*;*HD*
|
51
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
52
|
-
;ACW,DIA:0/235,EX:-24.8,EY:22,RAD:25;*GP*;*RO*;*HD*
|
53
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
54
|
-
;LL,EX:-30.67;*GP*;*RO*;*HD*
|
55
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
56
|
-
;LA,EX:-35,EY:17;*GP*;*RO*;*HD*
|
57
|
-
;R,RROUND:.8;*GP*;*RO*;*HD*
|
58
|
-
;LA,EX:-39.33,EY:22;*GP*;*RO*;*HD*
|
59
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
60
|
-
;LL,EX:-41.5;*GP*;*RO*;*HD*
|
61
|
-
;R,RROUND:.04;*GP*;*RO*;*HD*
|
62
|
-
;LD,EY:16;*GP*;*RO*;*HD*
|
63
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
64
|
-
;LL,EX:-46.5;*GP*;*RO*;*HD*
|
65
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
66
|
-
;LU,EY:22;*GP*;*RO*;*HD*
|
67
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
68
|
-
;LL,EX:-53.3;*GP*;*RO*;*HD*
|
69
|
-
;LU,EY:25;*GP*;*RO*;*HD*
|
70
|
-
;#End contour definition end - Don't change!;*GP*;*RO*;*HD*
|
71
|
-
E_LAB_E_HS:
|
72
|
-
E_LAB_A_HS_BOHR: ;#SM Z:2
|
73
|
-
;#7__DlgK contour definition begin - Don't change!;*GP*;*RO*;*HD*
|
74
|
-
G18 G90 DIAM90;*GP*
|
75
|
-
G0 Z0 X17.8 ;*GP*
|
76
|
-
G1 X17 RND=.4 ;*GP*
|
77
|
-
Z-2 ;*GP*
|
78
|
-
X9 ;*GP*
|
79
|
-
;CON,V64,2,0.0000,2,2,MST:3,2,AX:Z,X,K,I,TRANS:0;*GP*;*RO*;*HD*
|
80
|
-
;S,EX:0,EY:17,ASE:270;*GP*;*RO*;*HD*
|
81
|
-
;R,RROUND:.4;*GP*;*RO*;*HD*
|
82
|
-
;LL,EX:-2;*GP*;*RO*;*HD*
|
83
|
-
;LD,EY:9;*GP*;*RO*;*HD*
|
84
|
-
;#End contour definition end - Don't change!;*GP*;*RO*;*HD*
|
85
|
-
E_LAB_E_HS_BOHR:
|
data/example/turm.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
#!/usr/bin/ruby
|
2
|
-
require_relative '../lib/opcua/client'
|
3
|
-
#require 'opcua/client'
|
4
|
-
|
5
|
-
### username & pass in url (e.g. siemens)
|
6
|
-
client = OPCUA::Client.new("opc.tcp://OpcUaClient:SUNRISE1@localhost:4840")
|
7
|
-
|
8
|
-
#node = client.get 2, '/Methods/CopyFileToServer'
|
9
|
-
#prog = File.read('test.mpf')
|
10
|
-
#p node.call 'Sinumerik/FileSystem/Work Pieces/CDP/TURM_PSC.MPF', prog, true
|
11
|
-
|
12
|
-
node = client.get 2, '/Methods/CopyFileFromServer '
|
13
|
-
puts node.call 'Sinumerik/FileSystem/Work Pieces/CDP/TURM_PSC.MPF'
|