node-opcua-nodeset-weihenstephan 2.177.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +23 -0
- package/dist/enum_ws_operating_mode_enumeration.d.ts +61 -0
- package/dist/enum_ws_operating_mode_enumeration.js +67 -0
- package/dist/enum_ws_operating_mode_enumeration.js.map +1 -0
- package/dist/enum_ws_program_enumeration.d.ts +75 -0
- package/dist/enum_ws_program_enumeration.js +81 -0
- package/dist/enum_ws_program_enumeration.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/ua_ws_alarm.d.ts +19 -0
- package/dist/ua_ws_alarm.js +3 -0
- package/dist/ua_ws_alarm.js.map +1 -0
- package/dist/ua_ws_analog_unit.d.ts +20 -0
- package/dist/ua_ws_analog_unit.js +3 -0
- package/dist/ua_ws_analog_unit.js.map +1 -0
- package/dist/ua_ws_base_data_variable.d.ts +20 -0
- package/dist/ua_ws_base_data_variable.js +3 -0
- package/dist/ua_ws_base_data_variable.js.map +1 -0
- package/dist/ua_ws_base_object.d.ts +16 -0
- package/dist/ua_ws_base_object.js +3 -0
- package/dist/ua_ws_base_object.js.map +1 -0
- package/dist/ua_ws_base_state_machine.d.ts +17 -0
- package/dist/ua_ws_base_state_machine.js +3 -0
- package/dist/ua_ws_base_state_machine.js.map +1 -0
- package/dist/ua_ws_execute_state_machine.d.ts +20 -0
- package/dist/ua_ws_execute_state_machine.js +3 -0
- package/dist/ua_ws_execute_state_machine.js.map +1 -0
- package/dist/ua_ws_held_state_machine.d.ts +16 -0
- package/dist/ua_ws_held_state_machine.js +3 -0
- package/dist/ua_ws_held_state_machine.js.map +1 -0
- package/dist/ua_ws_machine.d.ts +35 -0
- package/dist/ua_ws_machine.js +3 -0
- package/dist/ua_ws_machine.js.map +1 -0
- package/dist/ua_ws_suspended_state_machine.d.ts +19 -0
- package/dist/ua_ws_suspended_state_machine.js +3 -0
- package/dist/ua_ws_suspended_state_machine.js.map +1 -0
- package/dist/ua_ws_warning.d.ts +19 -0
- package/dist/ua_ws_warning.js +3 -0
- package/dist/ua_ws_warning.js.map +1 -0
- package/package.json +42 -0
- package/source/enum_ws_operating_mode_enumeration.ts +63 -0
- package/source/enum_ws_program_enumeration.ts +77 -0
- package/source/index.ts +12 -0
- package/source/ua_ws_alarm.ts +22 -0
- package/source/ua_ws_analog_unit.ts +22 -0
- package/source/ua_ws_base_data_variable.ts +22 -0
- package/source/ua_ws_base_object.ts +18 -0
- package/source/ua_ws_base_state_machine.ts +19 -0
- package/source/ua_ws_execute_state_machine.ts +23 -0
- package/source/ua_ws_held_state_machine.ts +18 -0
- package/source/ua_ws_machine.ts +37 -0
- package/source/ua_ws_suspended_state_machine.ts +21 -0
- package/source/ua_ws_warning.ts +22 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
The MIT License (MIT)
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2022-2026 Sterfive SAS - 833264583 RCS ORLEANS - France (https://www.sterfive.com)
|
|
5
|
+
|
|
6
|
+
Copyright (c) 2014-2022 Etienne Rossignon
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
9
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
10
|
+
the Software without restriction, including without limitation the rights to
|
|
11
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
12
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
13
|
+
subject to the following conditions:
|
|
14
|
+
|
|
15
|
+
The above copyright notice and this permission notice shall be included in all
|
|
16
|
+
copies or substantial portions of the Software.
|
|
17
|
+
|
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
20
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
21
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
22
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
23
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The operating mode provides information about the
|
|
3
|
+
* nature and extent of the intervention on the
|
|
4
|
+
* control equipment by the operators, and also via
|
|
5
|
+
* feedback from the equipment (DIN 19 237). This
|
|
6
|
+
* value must be coded in bit form or be documented
|
|
7
|
+
* as an integer for machines which are components
|
|
8
|
+
* of bottling systems:
|
|
9
|
+
*
|
|
10
|
+
* | | |
|
|
11
|
+
* |-----------|------------------------------------------------------------|
|
|
12
|
+
* | namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
13
|
+
* | nodeClass |DataType |
|
|
14
|
+
* | name |WSOperatingModeEnumerationType |
|
|
15
|
+
* | isAbstract|false |
|
|
16
|
+
*/
|
|
17
|
+
export declare enum EnumWSOperatingModeEnumeration {
|
|
18
|
+
/**
|
|
19
|
+
* The machine state (in the Weihenstephan Standards
|
|
20
|
+
* the machine state is understood to be the
|
|
21
|
+
* operating mode) provides information about
|
|
22
|
+
* whether the machine is off (Off: relevant bit = 1
|
|
23
|
+
* or identification by the documented integer
|
|
24
|
+
* number). If this bit is not set, then the machine
|
|
25
|
+
* is in operation and is in one of the following
|
|
26
|
+
* operating modes.
|
|
27
|
+
*/
|
|
28
|
+
Off = 1,
|
|
29
|
+
/**
|
|
30
|
+
* An operating mode in which the control units only
|
|
31
|
+
* operate with intervention by the operator and
|
|
32
|
+
* involve possible locking mechanisms (DIN 19237).
|
|
33
|
+
* As opposed to the DIN standard, in the context of
|
|
34
|
+
* the Weihenstephan Standards this term also
|
|
35
|
+
* includes the setup mode, the step setting mode
|
|
36
|
+
* and tipping mode.
|
|
37
|
+
*/
|
|
38
|
+
Manual = 2,
|
|
39
|
+
/**
|
|
40
|
+
* An operating mode in which only some of the
|
|
41
|
+
* controls or part of the program function without
|
|
42
|
+
* intervention by the operator (DIN 19 237). In the
|
|
43
|
+
* context of the Weihenstephan Standards, this term
|
|
44
|
+
* means that the machines of a bottling plant are
|
|
45
|
+
* not integrated into a control concept for the
|
|
46
|
+
* entire system and the set output is manually
|
|
47
|
+
* controlled on site.
|
|
48
|
+
*/
|
|
49
|
+
"Semi-automatic" = 4,
|
|
50
|
+
/**
|
|
51
|
+
* An operating mode in which the control unit
|
|
52
|
+
* operates without intervention by the operator
|
|
53
|
+
* following a set of control procedures (DIN 19
|
|
54
|
+
* 237). In the context of the Weihenstephan
|
|
55
|
+
* Standards this term means that the machines of a
|
|
56
|
+
* production plant are integrated into a control
|
|
57
|
+
* concept for the entire system and the set output
|
|
58
|
+
* is automatically controlled.
|
|
59
|
+
*/
|
|
60
|
+
Automatic = 8
|
|
61
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ----- this file has been automatically generated - do not edit
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.EnumWSOperatingModeEnumeration = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* The operating mode provides information about the
|
|
7
|
+
* nature and extent of the intervention on the
|
|
8
|
+
* control equipment by the operators, and also via
|
|
9
|
+
* feedback from the equipment (DIN 19 237). This
|
|
10
|
+
* value must be coded in bit form or be documented
|
|
11
|
+
* as an integer for machines which are components
|
|
12
|
+
* of bottling systems:
|
|
13
|
+
*
|
|
14
|
+
* | | |
|
|
15
|
+
* |-----------|------------------------------------------------------------|
|
|
16
|
+
* | namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
17
|
+
* | nodeClass |DataType |
|
|
18
|
+
* | name |WSOperatingModeEnumerationType |
|
|
19
|
+
* | isAbstract|false |
|
|
20
|
+
*/
|
|
21
|
+
var EnumWSOperatingModeEnumeration;
|
|
22
|
+
(function (EnumWSOperatingModeEnumeration) {
|
|
23
|
+
/**
|
|
24
|
+
* The machine state (in the Weihenstephan Standards
|
|
25
|
+
* the machine state is understood to be the
|
|
26
|
+
* operating mode) provides information about
|
|
27
|
+
* whether the machine is off (Off: relevant bit = 1
|
|
28
|
+
* or identification by the documented integer
|
|
29
|
+
* number). If this bit is not set, then the machine
|
|
30
|
+
* is in operation and is in one of the following
|
|
31
|
+
* operating modes.
|
|
32
|
+
*/
|
|
33
|
+
EnumWSOperatingModeEnumeration[EnumWSOperatingModeEnumeration["Off"] = 1] = "Off";
|
|
34
|
+
/**
|
|
35
|
+
* An operating mode in which the control units only
|
|
36
|
+
* operate with intervention by the operator and
|
|
37
|
+
* involve possible locking mechanisms (DIN 19237).
|
|
38
|
+
* As opposed to the DIN standard, in the context of
|
|
39
|
+
* the Weihenstephan Standards this term also
|
|
40
|
+
* includes the setup mode, the step setting mode
|
|
41
|
+
* and tipping mode.
|
|
42
|
+
*/
|
|
43
|
+
EnumWSOperatingModeEnumeration[EnumWSOperatingModeEnumeration["Manual"] = 2] = "Manual";
|
|
44
|
+
/**
|
|
45
|
+
* An operating mode in which only some of the
|
|
46
|
+
* controls or part of the program function without
|
|
47
|
+
* intervention by the operator (DIN 19 237). In the
|
|
48
|
+
* context of the Weihenstephan Standards, this term
|
|
49
|
+
* means that the machines of a bottling plant are
|
|
50
|
+
* not integrated into a control concept for the
|
|
51
|
+
* entire system and the set output is manually
|
|
52
|
+
* controlled on site.
|
|
53
|
+
*/
|
|
54
|
+
EnumWSOperatingModeEnumeration[EnumWSOperatingModeEnumeration["Semi-automatic"] = 4] = "Semi-automatic";
|
|
55
|
+
/**
|
|
56
|
+
* An operating mode in which the control unit
|
|
57
|
+
* operates without intervention by the operator
|
|
58
|
+
* following a set of control procedures (DIN 19
|
|
59
|
+
* 237). In the context of the Weihenstephan
|
|
60
|
+
* Standards this term means that the machines of a
|
|
61
|
+
* production plant are integrated into a control
|
|
62
|
+
* concept for the entire system and the set output
|
|
63
|
+
* is automatically controlled.
|
|
64
|
+
*/
|
|
65
|
+
EnumWSOperatingModeEnumeration[EnumWSOperatingModeEnumeration["Automatic"] = 8] = "Automatic";
|
|
66
|
+
})(EnumWSOperatingModeEnumeration || (exports.EnumWSOperatingModeEnumeration = EnumWSOperatingModeEnumeration = {}));
|
|
67
|
+
//# sourceMappingURL=enum_ws_operating_mode_enumeration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enum_ws_operating_mode_enumeration.js","sourceRoot":"","sources":["../source/enum_ws_operating_mode_enumeration.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;;;;;;;;;GAeG;AACH,IAAY,8BA4CX;AA5CD,WAAY,8BAA8B;IACxC;;;;;;;;;OASG;IACH,iFAAO,CAAA;IACP;;;;;;;;OAQG;IACH,uFAAU,CAAA;IACV;;;;;;;;;OASG;IACH,uGAAoB,CAAA;IACpB;;;;;;;;;OASG;IACH,6FAAa,CAAA;AACf,CAAC,EA5CW,8BAA8B,8CAA9B,8BAA8B,QA4CzC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The program is a consequent sequence of control
|
|
3
|
+
* instructions for a self-contained
|
|
4
|
+
* application-oriented function (DIN 19237). For
|
|
5
|
+
* bottling machines, bits or documented integer
|
|
6
|
+
* numbers must be used for machine operation with
|
|
7
|
+
* the following programs:
|
|
8
|
+
*
|
|
9
|
+
* | | |
|
|
10
|
+
* |-----------|------------------------------------------------------------|
|
|
11
|
+
* | namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
12
|
+
* | nodeClass |DataType |
|
|
13
|
+
* | name |WSProgramEnumerationType |
|
|
14
|
+
* | isAbstract|false |
|
|
15
|
+
*/
|
|
16
|
+
export declare enum EnumWSProgramEnumeration {
|
|
17
|
+
/**
|
|
18
|
+
* A machine was turned on, but no program for a
|
|
19
|
+
* special application function has been selected.
|
|
20
|
+
* „Undefined“ may also be used to provide the
|
|
21
|
+
* information that a machine is ready for action,
|
|
22
|
+
* but not required („No Order, No Activity“)
|
|
23
|
+
*/
|
|
24
|
+
"Undefined (No Program)" = 0,
|
|
25
|
+
/**
|
|
26
|
+
* The machine is functioning as designed by the
|
|
27
|
+
* manufacturer.
|
|
28
|
+
*/
|
|
29
|
+
Production = 1,
|
|
30
|
+
/**
|
|
31
|
+
* Although the machine is functioning as designed
|
|
32
|
+
* by the manufacturer, it is running a start-up
|
|
33
|
+
* pro-gram which ensures full production after a
|
|
34
|
+
* warm-up period as stipulated by regulations or
|
|
35
|
+
* for safe-ty considerations, or in conjunction
|
|
36
|
+
* with container buffering machines.
|
|
37
|
+
*/
|
|
38
|
+
"Start Up" = 2,
|
|
39
|
+
/**
|
|
40
|
+
* Although the machine is functioning as designed
|
|
41
|
+
* by the manufacturer, it is running a stop program
|
|
42
|
+
* which ensures production stop after a run-down
|
|
43
|
+
* period as stipulated by regulations or for safety
|
|
44
|
+
* considerations, or in conjunction with container
|
|
45
|
+
* buffering machines.
|
|
46
|
+
*/
|
|
47
|
+
"Run Down" = 4,
|
|
48
|
+
/**
|
|
49
|
+
* The machine is running the cleaning program. This
|
|
50
|
+
* program can consist of program steps which can be
|
|
51
|
+
* controlled independently of each another, for
|
|
52
|
+
* example the program step “flush” for the filling
|
|
53
|
+
* or closing machine, or the program step
|
|
54
|
+
* “headspace disinfection” for the cleaning machine.
|
|
55
|
+
*/
|
|
56
|
+
Clean = 8,
|
|
57
|
+
/**
|
|
58
|
+
* The machine is running the changeover program in
|
|
59
|
+
* which automatic machine adjustments are made
|
|
60
|
+
* depending on specific parameters.
|
|
61
|
+
*/
|
|
62
|
+
Changeover = 16,
|
|
63
|
+
/**
|
|
64
|
+
* The machine is running the maintenance program in
|
|
65
|
+
* which the maintenance and service work are
|
|
66
|
+
* carried out.
|
|
67
|
+
*/
|
|
68
|
+
Maintenance = 32,
|
|
69
|
+
/**
|
|
70
|
+
* The machine is running the break program. This
|
|
71
|
+
* ensures there is start up of the machine in
|
|
72
|
+
* accordance with regulations after a break.
|
|
73
|
+
*/
|
|
74
|
+
Break = 64
|
|
75
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ----- this file has been automatically generated - do not edit
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.EnumWSProgramEnumeration = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* The program is a consequent sequence of control
|
|
7
|
+
* instructions for a self-contained
|
|
8
|
+
* application-oriented function (DIN 19237). For
|
|
9
|
+
* bottling machines, bits or documented integer
|
|
10
|
+
* numbers must be used for machine operation with
|
|
11
|
+
* the following programs:
|
|
12
|
+
*
|
|
13
|
+
* | | |
|
|
14
|
+
* |-----------|------------------------------------------------------------|
|
|
15
|
+
* | namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
16
|
+
* | nodeClass |DataType |
|
|
17
|
+
* | name |WSProgramEnumerationType |
|
|
18
|
+
* | isAbstract|false |
|
|
19
|
+
*/
|
|
20
|
+
var EnumWSProgramEnumeration;
|
|
21
|
+
(function (EnumWSProgramEnumeration) {
|
|
22
|
+
/**
|
|
23
|
+
* A machine was turned on, but no program for a
|
|
24
|
+
* special application function has been selected.
|
|
25
|
+
* „Undefined“ may also be used to provide the
|
|
26
|
+
* information that a machine is ready for action,
|
|
27
|
+
* but not required („No Order, No Activity“)
|
|
28
|
+
*/
|
|
29
|
+
EnumWSProgramEnumeration[EnumWSProgramEnumeration["Undefined (No Program)"] = 0] = "Undefined (No Program)";
|
|
30
|
+
/**
|
|
31
|
+
* The machine is functioning as designed by the
|
|
32
|
+
* manufacturer.
|
|
33
|
+
*/
|
|
34
|
+
EnumWSProgramEnumeration[EnumWSProgramEnumeration["Production"] = 1] = "Production";
|
|
35
|
+
/**
|
|
36
|
+
* Although the machine is functioning as designed
|
|
37
|
+
* by the manufacturer, it is running a start-up
|
|
38
|
+
* pro-gram which ensures full production after a
|
|
39
|
+
* warm-up period as stipulated by regulations or
|
|
40
|
+
* for safe-ty considerations, or in conjunction
|
|
41
|
+
* with container buffering machines.
|
|
42
|
+
*/
|
|
43
|
+
EnumWSProgramEnumeration[EnumWSProgramEnumeration["Start Up"] = 2] = "Start Up";
|
|
44
|
+
/**
|
|
45
|
+
* Although the machine is functioning as designed
|
|
46
|
+
* by the manufacturer, it is running a stop program
|
|
47
|
+
* which ensures production stop after a run-down
|
|
48
|
+
* period as stipulated by regulations or for safety
|
|
49
|
+
* considerations, or in conjunction with container
|
|
50
|
+
* buffering machines.
|
|
51
|
+
*/
|
|
52
|
+
EnumWSProgramEnumeration[EnumWSProgramEnumeration["Run Down"] = 4] = "Run Down";
|
|
53
|
+
/**
|
|
54
|
+
* The machine is running the cleaning program. This
|
|
55
|
+
* program can consist of program steps which can be
|
|
56
|
+
* controlled independently of each another, for
|
|
57
|
+
* example the program step “flush” for the filling
|
|
58
|
+
* or closing machine, or the program step
|
|
59
|
+
* “headspace disinfection” for the cleaning machine.
|
|
60
|
+
*/
|
|
61
|
+
EnumWSProgramEnumeration[EnumWSProgramEnumeration["Clean"] = 8] = "Clean";
|
|
62
|
+
/**
|
|
63
|
+
* The machine is running the changeover program in
|
|
64
|
+
* which automatic machine adjustments are made
|
|
65
|
+
* depending on specific parameters.
|
|
66
|
+
*/
|
|
67
|
+
EnumWSProgramEnumeration[EnumWSProgramEnumeration["Changeover"] = 16] = "Changeover";
|
|
68
|
+
/**
|
|
69
|
+
* The machine is running the maintenance program in
|
|
70
|
+
* which the maintenance and service work are
|
|
71
|
+
* carried out.
|
|
72
|
+
*/
|
|
73
|
+
EnumWSProgramEnumeration[EnumWSProgramEnumeration["Maintenance"] = 32] = "Maintenance";
|
|
74
|
+
/**
|
|
75
|
+
* The machine is running the break program. This
|
|
76
|
+
* ensures there is start up of the machine in
|
|
77
|
+
* accordance with regulations after a break.
|
|
78
|
+
*/
|
|
79
|
+
EnumWSProgramEnumeration[EnumWSProgramEnumeration["Break"] = 64] = "Break";
|
|
80
|
+
})(EnumWSProgramEnumeration || (exports.EnumWSProgramEnumeration = EnumWSProgramEnumeration = {}));
|
|
81
|
+
//# sourceMappingURL=enum_ws_program_enumeration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enum_ws_program_enumeration.js","sourceRoot":"","sources":["../source/enum_ws_program_enumeration.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;;;;;;;;GAcG;AACH,IAAY,wBA2DX;AA3DD,WAAY,wBAAwB;IAClC;;;;;;OAMG;IACH,2GAA4B,CAAA;IAC5B;;;OAGG;IACH,mFAAc,CAAA;IACd;;;;;;;OAOG;IACH,+EAAc,CAAA;IACd;;;;;;;OAOG;IACH,+EAAc,CAAA;IACd;;;;;;;OAOG;IACH,yEAAS,CAAA;IACT;;;;OAIG;IACH,oFAAe,CAAA;IACf;;;;OAIG;IACH,sFAAgB,CAAA;IAChB;;;;OAIG;IACH,0EAAU,CAAA;AACZ,CAAC,EA3DW,wBAAwB,wCAAxB,wBAAwB,QA2DnC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "./enum_ws_operating_mode_enumeration";
|
|
2
|
+
export * from "./enum_ws_program_enumeration";
|
|
3
|
+
export * from "./ua_ws_alarm";
|
|
4
|
+
export * from "./ua_ws_analog_unit";
|
|
5
|
+
export * from "./ua_ws_base_data_variable";
|
|
6
|
+
export * from "./ua_ws_base_object";
|
|
7
|
+
export * from "./ua_ws_base_state_machine";
|
|
8
|
+
export * from "./ua_ws_execute_state_machine";
|
|
9
|
+
export * from "./ua_ws_held_state_machine";
|
|
10
|
+
export * from "./ua_ws_machine";
|
|
11
|
+
export * from "./ua_ws_suspended_state_machine";
|
|
12
|
+
export * from "./ua_ws_warning";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./enum_ws_operating_mode_enumeration"), exports);
|
|
18
|
+
__exportStar(require("./enum_ws_program_enumeration"), exports);
|
|
19
|
+
__exportStar(require("./ua_ws_alarm"), exports);
|
|
20
|
+
__exportStar(require("./ua_ws_analog_unit"), exports);
|
|
21
|
+
__exportStar(require("./ua_ws_base_data_variable"), exports);
|
|
22
|
+
__exportStar(require("./ua_ws_base_object"), exports);
|
|
23
|
+
__exportStar(require("./ua_ws_base_state_machine"), exports);
|
|
24
|
+
__exportStar(require("./ua_ws_execute_state_machine"), exports);
|
|
25
|
+
__exportStar(require("./ua_ws_held_state_machine"), exports);
|
|
26
|
+
__exportStar(require("./ua_ws_machine"), exports);
|
|
27
|
+
__exportStar(require("./ua_ws_suspended_state_machine"), exports);
|
|
28
|
+
__exportStar(require("./ua_ws_warning"), exports);
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD;AACrD,gEAA8C;AAC9C,gDAA8B;AAC9B,sDAAoC;AACpC,6DAA2C;AAC3C,sDAAoC;AACpC,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,kDAAgC;AAChC,kEAAgD;AAChD,kDAAgC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { UInt32 } from "node-opcua-basic-types";
|
|
2
|
+
import type { LocalizedText } from "node-opcua-data-model";
|
|
3
|
+
import type { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
|
|
4
|
+
import type { DataType } from "node-opcua-variant";
|
|
5
|
+
import type { UAWSBaseObject, UAWSBaseObject_Base } from "./ua_ws_base_object";
|
|
6
|
+
/**
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|------------------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |WSAlarmType i=1002 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
export interface UAWSAlarm_Base extends UAWSBaseObject_Base {
|
|
15
|
+
wsAlarmCode: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
16
|
+
wsAlarmMessage?: UABaseDataVariable<LocalizedText, DataType.LocalizedText>;
|
|
17
|
+
}
|
|
18
|
+
export interface UAWSAlarm extends UAWSBaseObject, UAWSAlarm_Base {
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_ws_alarm.js","sourceRoot":"","sources":["../source/ua_ws_alarm.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import type { UInt16 } from "node-opcua-basic-types";
|
|
3
|
+
import type { UAAnalogUnit, UAAnalogUnit_Base } from "node-opcua-nodeset-ua/dist/ua_analog_unit";
|
|
4
|
+
import type { DataType } from "node-opcua-variant";
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |----------------|------------------------------------------------------------|
|
|
8
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
9
|
+
* |nodeClass |VariableType |
|
|
10
|
+
* |typedDefinition |WSAnalogUnitType i=2000 |
|
|
11
|
+
* |dataType |Null |
|
|
12
|
+
* |dataType Name |VariantOptions i=0 |
|
|
13
|
+
* |value rank |-1 |
|
|
14
|
+
* |isAbstract |false |
|
|
15
|
+
*/
|
|
16
|
+
export interface UAWSAnalogUnit_Base<T, DT extends DataType> extends UAAnalogUnit_Base<T, DT> {
|
|
17
|
+
wsTagNumber?: UAProperty<UInt16, DataType.UInt16>;
|
|
18
|
+
}
|
|
19
|
+
export interface UAWSAnalogUnit<T, DT extends DataType> extends UAAnalogUnit<T, DT>, UAWSAnalogUnit_Base<T, DT> {
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_ws_analog_unit.js","sourceRoot":"","sources":["../source/ua_ws_analog_unit.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import type { UInt16 } from "node-opcua-basic-types";
|
|
3
|
+
import type { UABaseDataVariable, UABaseDataVariable_Base } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
|
|
4
|
+
import type { DataType } from "node-opcua-variant";
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |----------------|------------------------------------------------------------|
|
|
8
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
9
|
+
* |nodeClass |VariableType |
|
|
10
|
+
* |typedDefinition |WSBaseDataVariableType i=2001 |
|
|
11
|
+
* |dataType |Null |
|
|
12
|
+
* |dataType Name |VariantOptions i=0 |
|
|
13
|
+
* |value rank |-1 |
|
|
14
|
+
* |isAbstract |false |
|
|
15
|
+
*/
|
|
16
|
+
export interface UAWSBaseDataVariable_Base<T, DT extends DataType> extends UABaseDataVariable_Base<T, DT> {
|
|
17
|
+
wsTagNumber?: UAProperty<(UInt16 | UInt16[]), DataType.UInt16>;
|
|
18
|
+
}
|
|
19
|
+
export interface UAWSBaseDataVariable<T, DT extends DataType> extends UABaseDataVariable<T, DT>, UAWSBaseDataVariable_Base<T, DT> {
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_ws_base_data_variable.js","sourceRoot":"","sources":["../source/ua_ws_base_data_variable.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { UAObject, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import type { UInt16 } from "node-opcua-basic-types";
|
|
3
|
+
import type { DataType } from "node-opcua-variant";
|
|
4
|
+
/**
|
|
5
|
+
* | | |
|
|
6
|
+
* |----------------|------------------------------------------------------------|
|
|
7
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
8
|
+
* |nodeClass |ObjectType |
|
|
9
|
+
* |typedDefinition |WSBaseObjectType i=1001 |
|
|
10
|
+
* |isAbstract |false |
|
|
11
|
+
*/
|
|
12
|
+
export interface UAWSBaseObject_Base {
|
|
13
|
+
wsTagNumber?: UAProperty<UInt16, DataType.UInt16>;
|
|
14
|
+
}
|
|
15
|
+
export interface UAWSBaseObject extends UAObject, UAWSBaseObject_Base {
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_ws_base_object.js","sourceRoot":"","sources":["../source/ua_ws_base_object.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import type { UInt16 } from "node-opcua-basic-types";
|
|
3
|
+
import type { UAPackMLBaseStateMachine, UAPackMLBaseStateMachine_Base } from "node-opcua-nodeset-pack-ml/dist/ua_pack_ml_base_state_machine";
|
|
4
|
+
import type { DataType } from "node-opcua-variant";
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |----------------|------------------------------------------------------------|
|
|
8
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
9
|
+
* |nodeClass |ObjectType |
|
|
10
|
+
* |typedDefinition |WSBaseStateMachineType i=1004 |
|
|
11
|
+
* |isAbstract |false |
|
|
12
|
+
*/
|
|
13
|
+
export interface UAWSBaseStateMachine_Base extends UAPackMLBaseStateMachine_Base {
|
|
14
|
+
wsTagNumber?: UAProperty<UInt16, DataType.UInt16>;
|
|
15
|
+
}
|
|
16
|
+
export interface UAWSBaseStateMachine extends UAPackMLBaseStateMachine, UAWSBaseStateMachine_Base {
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_ws_base_state_machine.js","sourceRoot":"","sources":["../source/ua_ws_base_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { UAPackMLExecuteStateMachine, UAPackMLExecuteStateMachine_Base } from "node-opcua-nodeset-pack-ml/dist/ua_pack_ml_execute_state_machine";
|
|
2
|
+
import type { UAState } from "node-opcua-nodeset-ua/dist/ua_state";
|
|
3
|
+
import type { UAWSHeldStateMachine } from "./ua_ws_held_state_machine";
|
|
4
|
+
import type { UAWSSuspendedStateMachine } from "./ua_ws_suspended_state_machine";
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |----------------|------------------------------------------------------------|
|
|
8
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
9
|
+
* |nodeClass |ObjectType |
|
|
10
|
+
* |typedDefinition |WSExecuteStateMachineType i=1005 |
|
|
11
|
+
* |isAbstract |false |
|
|
12
|
+
*/
|
|
13
|
+
export interface UAWSExecuteStateMachine_Base extends UAPackMLExecuteStateMachine_Base {
|
|
14
|
+
heldState: UAWSHeldStateMachine;
|
|
15
|
+
suspendedState: UAWSSuspendedStateMachine;
|
|
16
|
+
held: UAState;
|
|
17
|
+
suspended: UAState;
|
|
18
|
+
}
|
|
19
|
+
export interface UAWSExecuteStateMachine extends Omit<UAPackMLExecuteStateMachine, "held" | "suspended">, UAWSExecuteStateMachine_Base {
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_ws_execute_state_machine.js","sourceRoot":"","sources":["../source/ua_ws_execute_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/dist/ua_finite_state_machine";
|
|
2
|
+
import type { UAState } from "node-opcua-nodeset-ua/dist/ua_state";
|
|
3
|
+
/**
|
|
4
|
+
* | | |
|
|
5
|
+
* |----------------|------------------------------------------------------------|
|
|
6
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
7
|
+
* |nodeClass |ObjectType |
|
|
8
|
+
* |typedDefinition |WSHeldStateMachineType i=1006 |
|
|
9
|
+
* |isAbstract |false |
|
|
10
|
+
*/
|
|
11
|
+
export interface UAWSHeldStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
12
|
+
equipmentFailure: UAState;
|
|
13
|
+
externalFailure: UAState;
|
|
14
|
+
}
|
|
15
|
+
export interface UAWSHeldStateMachine extends UAFiniteStateMachine, UAWSHeldStateMachine_Base {
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_ws_held_state_machine.js","sourceRoot":"","sources":["../source/ua_ws_held_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { UAObject, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import type { UAString } from "node-opcua-basic-types";
|
|
3
|
+
import type { UAFunctionalGroup } from "node-opcua-nodeset-di/dist/ua_functional_group";
|
|
4
|
+
import type { UAMachineIdentification } from "node-opcua-nodeset-machinery/dist/ua_machine_identification";
|
|
5
|
+
import type { DataType } from "node-opcua-variant";
|
|
6
|
+
/**
|
|
7
|
+
* Definition of a machine according to the
|
|
8
|
+
* Weihenstephan standards
|
|
9
|
+
*
|
|
10
|
+
* | | |
|
|
11
|
+
* |----------------|------------------------------------------------------------|
|
|
12
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
13
|
+
* |nodeClass |ObjectType |
|
|
14
|
+
* |typedDefinition |WSMachineType i=1000 |
|
|
15
|
+
* |isAbstract |false |
|
|
16
|
+
*/
|
|
17
|
+
export interface UAWSMachine_Base {
|
|
18
|
+
wsVersionVendor?: UAProperty<UAString, DataType.String>;
|
|
19
|
+
wsVersionProject?: UAProperty<UAString, DataType.String>;
|
|
20
|
+
counters?: UAFunctionalGroup;
|
|
21
|
+
batchAndArticleTracing?: UAFunctionalGroup;
|
|
22
|
+
operatingModes?: UAFunctionalGroup;
|
|
23
|
+
operatingStates?: UAFunctionalGroup;
|
|
24
|
+
programs?: UAFunctionalGroup;
|
|
25
|
+
alarms?: UAFunctionalGroup;
|
|
26
|
+
measuredValues?: UAFunctionalGroup;
|
|
27
|
+
parameters?: UAFunctionalGroup;
|
|
28
|
+
warnings?: UAFunctionalGroup;
|
|
29
|
+
wsVersion: UAProperty<UAString, DataType.String>;
|
|
30
|
+
identification: UAMachineIdentification;
|
|
31
|
+
wsMachineProfile: UAProperty<UAString, DataType.String>;
|
|
32
|
+
computedValues?: UAFunctionalGroup;
|
|
33
|
+
}
|
|
34
|
+
export interface UAWSMachine extends UAObject, UAWSMachine_Base {
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_ws_machine.js","sourceRoot":"","sources":["../source/ua_ws_machine.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/dist/ua_finite_state_machine";
|
|
2
|
+
import type { UAState } from "node-opcua-nodeset-ua/dist/ua_state";
|
|
3
|
+
/**
|
|
4
|
+
* | | |
|
|
5
|
+
* |----------------|------------------------------------------------------------|
|
|
6
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
7
|
+
* |nodeClass |ObjectType |
|
|
8
|
+
* |typedDefinition |WSSuspendedStateMachineType i=1007 |
|
|
9
|
+
* |isAbstract |false |
|
|
10
|
+
*/
|
|
11
|
+
export interface UAWSSuspendedStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
12
|
+
lack: UAState;
|
|
13
|
+
lackBranchLine: UAState;
|
|
14
|
+
prepared: UAState;
|
|
15
|
+
tailback: UAState;
|
|
16
|
+
tailbackBranchLine: UAState;
|
|
17
|
+
}
|
|
18
|
+
export interface UAWSSuspendedStateMachine extends UAFiniteStateMachine, UAWSSuspendedStateMachine_Base {
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_ws_suspended_state_machine.js","sourceRoot":"","sources":["../source/ua_ws_suspended_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { UInt32 } from "node-opcua-basic-types";
|
|
2
|
+
import type { LocalizedText } from "node-opcua-data-model";
|
|
3
|
+
import type { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
|
|
4
|
+
import type { DataType } from "node-opcua-variant";
|
|
5
|
+
import type { UAWSBaseObject, UAWSBaseObject_Base } from "./ua_ws_base_object";
|
|
6
|
+
/**
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|------------------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |WSWarningType i=1003 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
export interface UAWSWarning_Base extends UAWSBaseObject_Base {
|
|
15
|
+
wsWarningCode: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
16
|
+
wsWarningMessage?: UABaseDataVariable<LocalizedText, DataType.LocalizedText>;
|
|
17
|
+
}
|
|
18
|
+
export interface UAWSWarning extends UAWSBaseObject, UAWSWarning_Base {
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_ws_warning.js","sourceRoot":"","sources":["../source/ua_ws_warning.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "node-opcua-nodeset-weihenstephan",
|
|
3
|
+
"version": "2.177.0",
|
|
4
|
+
"description": "pure nodejs OPCUA SDK - module node-opcua-nodeset-weihenstephan",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"clean": "npx rimraf -g dist *.tsbuildinfo",
|
|
9
|
+
"build": "tsc -b"
|
|
10
|
+
},
|
|
11
|
+
"author": "Etienne Rossignon <etienne.rossignon@sterfive.com>",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"node-opcua-address-space-base": "2.177.0",
|
|
15
|
+
"node-opcua-basic-types": "2.177.0",
|
|
16
|
+
"node-opcua-data-access": "2.177.0",
|
|
17
|
+
"node-opcua-data-model": "2.177.0",
|
|
18
|
+
"node-opcua-nodeid": "2.177.0",
|
|
19
|
+
"node-opcua-nodeset-di": "2.177.0",
|
|
20
|
+
"node-opcua-nodeset-machinery": "2.177.0",
|
|
21
|
+
"node-opcua-nodeset-pack-ml": "2.177.0",
|
|
22
|
+
"node-opcua-nodeset-ua": "2.177.0",
|
|
23
|
+
"node-opcua-variant": "2.177.0"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"source"
|
|
28
|
+
],
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git://github.com/node-opcua/node-opcua.git"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"OPCUA",
|
|
35
|
+
"opcua",
|
|
36
|
+
"m2m",
|
|
37
|
+
"iot",
|
|
38
|
+
"opc ua",
|
|
39
|
+
"internet of things"
|
|
40
|
+
],
|
|
41
|
+
"homepage": "http://node-opcua.github.io/"
|
|
42
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The operating mode provides information about the
|
|
5
|
+
* nature and extent of the intervention on the
|
|
6
|
+
* control equipment by the operators, and also via
|
|
7
|
+
* feedback from the equipment (DIN 19 237). This
|
|
8
|
+
* value must be coded in bit form or be documented
|
|
9
|
+
* as an integer for machines which are components
|
|
10
|
+
* of bottling systems:
|
|
11
|
+
*
|
|
12
|
+
* | | |
|
|
13
|
+
* |-----------|------------------------------------------------------------|
|
|
14
|
+
* | namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
15
|
+
* | nodeClass |DataType |
|
|
16
|
+
* | name |WSOperatingModeEnumerationType |
|
|
17
|
+
* | isAbstract|false |
|
|
18
|
+
*/
|
|
19
|
+
export enum EnumWSOperatingModeEnumeration {
|
|
20
|
+
/**
|
|
21
|
+
* The machine state (in the Weihenstephan Standards
|
|
22
|
+
* the machine state is understood to be the
|
|
23
|
+
* operating mode) provides information about
|
|
24
|
+
* whether the machine is off (Off: relevant bit = 1
|
|
25
|
+
* or identification by the documented integer
|
|
26
|
+
* number). If this bit is not set, then the machine
|
|
27
|
+
* is in operation and is in one of the following
|
|
28
|
+
* operating modes.
|
|
29
|
+
*/
|
|
30
|
+
Off = 1,
|
|
31
|
+
/**
|
|
32
|
+
* An operating mode in which the control units only
|
|
33
|
+
* operate with intervention by the operator and
|
|
34
|
+
* involve possible locking mechanisms (DIN 19237).
|
|
35
|
+
* As opposed to the DIN standard, in the context of
|
|
36
|
+
* the Weihenstephan Standards this term also
|
|
37
|
+
* includes the setup mode, the step setting mode
|
|
38
|
+
* and tipping mode.
|
|
39
|
+
*/
|
|
40
|
+
Manual = 2,
|
|
41
|
+
/**
|
|
42
|
+
* An operating mode in which only some of the
|
|
43
|
+
* controls or part of the program function without
|
|
44
|
+
* intervention by the operator (DIN 19 237). In the
|
|
45
|
+
* context of the Weihenstephan Standards, this term
|
|
46
|
+
* means that the machines of a bottling plant are
|
|
47
|
+
* not integrated into a control concept for the
|
|
48
|
+
* entire system and the set output is manually
|
|
49
|
+
* controlled on site.
|
|
50
|
+
*/
|
|
51
|
+
"Semi-automatic" = 4,
|
|
52
|
+
/**
|
|
53
|
+
* An operating mode in which the control unit
|
|
54
|
+
* operates without intervention by the operator
|
|
55
|
+
* following a set of control procedures (DIN 19
|
|
56
|
+
* 237). In the context of the Weihenstephan
|
|
57
|
+
* Standards this term means that the machines of a
|
|
58
|
+
* production plant are integrated into a control
|
|
59
|
+
* concept for the entire system and the set output
|
|
60
|
+
* is automatically controlled.
|
|
61
|
+
*/
|
|
62
|
+
Automatic = 8,
|
|
63
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The program is a consequent sequence of control
|
|
5
|
+
* instructions for a self-contained
|
|
6
|
+
* application-oriented function (DIN 19237). For
|
|
7
|
+
* bottling machines, bits or documented integer
|
|
8
|
+
* numbers must be used for machine operation with
|
|
9
|
+
* the following programs:
|
|
10
|
+
*
|
|
11
|
+
* | | |
|
|
12
|
+
* |-----------|------------------------------------------------------------|
|
|
13
|
+
* | namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
14
|
+
* | nodeClass |DataType |
|
|
15
|
+
* | name |WSProgramEnumerationType |
|
|
16
|
+
* | isAbstract|false |
|
|
17
|
+
*/
|
|
18
|
+
export enum EnumWSProgramEnumeration {
|
|
19
|
+
/**
|
|
20
|
+
* A machine was turned on, but no program for a
|
|
21
|
+
* special application function has been selected.
|
|
22
|
+
* „Undefined“ may also be used to provide the
|
|
23
|
+
* information that a machine is ready for action,
|
|
24
|
+
* but not required („No Order, No Activity“)
|
|
25
|
+
*/
|
|
26
|
+
"Undefined (No Program)" = 0,
|
|
27
|
+
/**
|
|
28
|
+
* The machine is functioning as designed by the
|
|
29
|
+
* manufacturer.
|
|
30
|
+
*/
|
|
31
|
+
Production = 1,
|
|
32
|
+
/**
|
|
33
|
+
* Although the machine is functioning as designed
|
|
34
|
+
* by the manufacturer, it is running a start-up
|
|
35
|
+
* pro-gram which ensures full production after a
|
|
36
|
+
* warm-up period as stipulated by regulations or
|
|
37
|
+
* for safe-ty considerations, or in conjunction
|
|
38
|
+
* with container buffering machines.
|
|
39
|
+
*/
|
|
40
|
+
"Start Up" = 2,
|
|
41
|
+
/**
|
|
42
|
+
* Although the machine is functioning as designed
|
|
43
|
+
* by the manufacturer, it is running a stop program
|
|
44
|
+
* which ensures production stop after a run-down
|
|
45
|
+
* period as stipulated by regulations or for safety
|
|
46
|
+
* considerations, or in conjunction with container
|
|
47
|
+
* buffering machines.
|
|
48
|
+
*/
|
|
49
|
+
"Run Down" = 4,
|
|
50
|
+
/**
|
|
51
|
+
* The machine is running the cleaning program. This
|
|
52
|
+
* program can consist of program steps which can be
|
|
53
|
+
* controlled independently of each another, for
|
|
54
|
+
* example the program step “flush” for the filling
|
|
55
|
+
* or closing machine, or the program step
|
|
56
|
+
* “headspace disinfection” for the cleaning machine.
|
|
57
|
+
*/
|
|
58
|
+
Clean = 8,
|
|
59
|
+
/**
|
|
60
|
+
* The machine is running the changeover program in
|
|
61
|
+
* which automatic machine adjustments are made
|
|
62
|
+
* depending on specific parameters.
|
|
63
|
+
*/
|
|
64
|
+
Changeover = 16,
|
|
65
|
+
/**
|
|
66
|
+
* The machine is running the maintenance program in
|
|
67
|
+
* which the maintenance and service work are
|
|
68
|
+
* carried out.
|
|
69
|
+
*/
|
|
70
|
+
Maintenance = 32,
|
|
71
|
+
/**
|
|
72
|
+
* The machine is running the break program. This
|
|
73
|
+
* ensures there is start up of the machine in
|
|
74
|
+
* accordance with regulations after a break.
|
|
75
|
+
*/
|
|
76
|
+
Break = 64,
|
|
77
|
+
}
|
package/source/index.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "./enum_ws_operating_mode_enumeration";
|
|
2
|
+
export * from "./enum_ws_program_enumeration";
|
|
3
|
+
export * from "./ua_ws_alarm";
|
|
4
|
+
export * from "./ua_ws_analog_unit";
|
|
5
|
+
export * from "./ua_ws_base_data_variable";
|
|
6
|
+
export * from "./ua_ws_base_object";
|
|
7
|
+
export * from "./ua_ws_base_state_machine";
|
|
8
|
+
export * from "./ua_ws_execute_state_machine";
|
|
9
|
+
export * from "./ua_ws_held_state_machine";
|
|
10
|
+
export * from "./ua_ws_machine";
|
|
11
|
+
export * from "./ua_ws_suspended_state_machine";
|
|
12
|
+
export * from "./ua_ws_warning";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { UInt32 } from "node-opcua-basic-types";
|
|
2
|
+
import type { LocalizedText } from "node-opcua-data-model";
|
|
3
|
+
import type { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
|
|
4
|
+
import type { DataType } from "node-opcua-variant";
|
|
5
|
+
|
|
6
|
+
import type { UAWSBaseObject, UAWSBaseObject_Base } from "./ua_ws_base_object";
|
|
7
|
+
|
|
8
|
+
// ----- this file has been automatically generated - do not edit
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* | | |
|
|
12
|
+
* |----------------|------------------------------------------------------------|
|
|
13
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
14
|
+
* |nodeClass |ObjectType |
|
|
15
|
+
* |typedDefinition |WSAlarmType i=1002 |
|
|
16
|
+
* |isAbstract |false |
|
|
17
|
+
*/
|
|
18
|
+
export interface UAWSAlarm_Base extends UAWSBaseObject_Base {
|
|
19
|
+
wsAlarmCode: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
20
|
+
wsAlarmMessage?: UABaseDataVariable<LocalizedText, DataType.LocalizedText>;
|
|
21
|
+
}
|
|
22
|
+
export interface UAWSAlarm extends UAWSBaseObject, UAWSAlarm_Base {}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import type { UInt16 } from "node-opcua-basic-types";
|
|
3
|
+
import type { UAAnalogUnit, UAAnalogUnit_Base } from "node-opcua-nodeset-ua/dist/ua_analog_unit";
|
|
4
|
+
import type { DataType } from "node-opcua-variant";
|
|
5
|
+
|
|
6
|
+
// ----- this file has been automatically generated - do not edit
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* | | |
|
|
10
|
+
* |----------------|------------------------------------------------------------|
|
|
11
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
12
|
+
* |nodeClass |VariableType |
|
|
13
|
+
* |typedDefinition |WSAnalogUnitType i=2000 |
|
|
14
|
+
* |dataType |Null |
|
|
15
|
+
* |dataType Name |VariantOptions i=0 |
|
|
16
|
+
* |value rank |-1 |
|
|
17
|
+
* |isAbstract |false |
|
|
18
|
+
*/
|
|
19
|
+
export interface UAWSAnalogUnit_Base<T, DT extends DataType> extends UAAnalogUnit_Base<T, DT> {
|
|
20
|
+
wsTagNumber?: UAProperty<UInt16, DataType.UInt16>;
|
|
21
|
+
}
|
|
22
|
+
export interface UAWSAnalogUnit<T, DT extends DataType> extends UAAnalogUnit<T, DT>, UAWSAnalogUnit_Base<T, DT> {}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import type { UInt16 } from "node-opcua-basic-types";
|
|
3
|
+
import type { UABaseDataVariable, UABaseDataVariable_Base } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
|
|
4
|
+
import type { DataType } from "node-opcua-variant";
|
|
5
|
+
|
|
6
|
+
// ----- this file has been automatically generated - do not edit
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* | | |
|
|
10
|
+
* |----------------|------------------------------------------------------------|
|
|
11
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
12
|
+
* |nodeClass |VariableType |
|
|
13
|
+
* |typedDefinition |WSBaseDataVariableType i=2001 |
|
|
14
|
+
* |dataType |Null |
|
|
15
|
+
* |dataType Name |VariantOptions i=0 |
|
|
16
|
+
* |value rank |-1 |
|
|
17
|
+
* |isAbstract |false |
|
|
18
|
+
*/
|
|
19
|
+
export interface UAWSBaseDataVariable_Base<T, DT extends DataType> extends UABaseDataVariable_Base<T, DT> {
|
|
20
|
+
wsTagNumber?: UAProperty<(UInt16 | UInt16[]), DataType.UInt16>;
|
|
21
|
+
}
|
|
22
|
+
export interface UAWSBaseDataVariable<T, DT extends DataType> extends UABaseDataVariable<T, DT>, UAWSBaseDataVariable_Base<T, DT> {}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { UAObject, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import type { UInt16 } from "node-opcua-basic-types";
|
|
3
|
+
import type { DataType } from "node-opcua-variant";
|
|
4
|
+
|
|
5
|
+
// ----- this file has been automatically generated - do not edit
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* | | |
|
|
9
|
+
* |----------------|------------------------------------------------------------|
|
|
10
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
11
|
+
* |nodeClass |ObjectType |
|
|
12
|
+
* |typedDefinition |WSBaseObjectType i=1001 |
|
|
13
|
+
* |isAbstract |false |
|
|
14
|
+
*/
|
|
15
|
+
export interface UAWSBaseObject_Base {
|
|
16
|
+
wsTagNumber?: UAProperty<UInt16, DataType.UInt16>;
|
|
17
|
+
}
|
|
18
|
+
export interface UAWSBaseObject extends UAObject, UAWSBaseObject_Base {}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import type { UInt16 } from "node-opcua-basic-types";
|
|
3
|
+
import type { UAPackMLBaseStateMachine, UAPackMLBaseStateMachine_Base } from "node-opcua-nodeset-pack-ml/dist/ua_pack_ml_base_state_machine";
|
|
4
|
+
import type { DataType } from "node-opcua-variant";
|
|
5
|
+
|
|
6
|
+
// ----- this file has been automatically generated - do not edit
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* | | |
|
|
10
|
+
* |----------------|------------------------------------------------------------|
|
|
11
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
12
|
+
* |nodeClass |ObjectType |
|
|
13
|
+
* |typedDefinition |WSBaseStateMachineType i=1004 |
|
|
14
|
+
* |isAbstract |false |
|
|
15
|
+
*/
|
|
16
|
+
export interface UAWSBaseStateMachine_Base extends UAPackMLBaseStateMachine_Base {
|
|
17
|
+
wsTagNumber?: UAProperty<UInt16, DataType.UInt16>;
|
|
18
|
+
}
|
|
19
|
+
export interface UAWSBaseStateMachine extends UAPackMLBaseStateMachine, UAWSBaseStateMachine_Base {}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { UAPackMLExecuteStateMachine, UAPackMLExecuteStateMachine_Base } from "node-opcua-nodeset-pack-ml/dist/ua_pack_ml_execute_state_machine";
|
|
2
|
+
import type { UAState } from "node-opcua-nodeset-ua/dist/ua_state";
|
|
3
|
+
|
|
4
|
+
import type { UAWSHeldStateMachine } from "./ua_ws_held_state_machine";
|
|
5
|
+
import type { UAWSSuspendedStateMachine } from "./ua_ws_suspended_state_machine";
|
|
6
|
+
|
|
7
|
+
// ----- this file has been automatically generated - do not edit
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* | | |
|
|
11
|
+
* |----------------|------------------------------------------------------------|
|
|
12
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
13
|
+
* |nodeClass |ObjectType |
|
|
14
|
+
* |typedDefinition |WSExecuteStateMachineType i=1005 |
|
|
15
|
+
* |isAbstract |false |
|
|
16
|
+
*/
|
|
17
|
+
export interface UAWSExecuteStateMachine_Base extends UAPackMLExecuteStateMachine_Base {
|
|
18
|
+
heldState: UAWSHeldStateMachine;
|
|
19
|
+
suspendedState: UAWSSuspendedStateMachine;
|
|
20
|
+
held: UAState;
|
|
21
|
+
suspended: UAState;
|
|
22
|
+
}
|
|
23
|
+
export interface UAWSExecuteStateMachine extends Omit<UAPackMLExecuteStateMachine, "held"|"suspended">, UAWSExecuteStateMachine_Base {}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/dist/ua_finite_state_machine";
|
|
2
|
+
import type { UAState } from "node-opcua-nodeset-ua/dist/ua_state";
|
|
3
|
+
|
|
4
|
+
// ----- this file has been automatically generated - do not edit
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|------------------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |WSHeldStateMachineType i=1006 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
export interface UAWSHeldStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
15
|
+
equipmentFailure: UAState;
|
|
16
|
+
externalFailure: UAState;
|
|
17
|
+
}
|
|
18
|
+
export interface UAWSHeldStateMachine extends UAFiniteStateMachine, UAWSHeldStateMachine_Base {}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { UAObject, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import type { UAString } from "node-opcua-basic-types";
|
|
3
|
+
import type { UAFunctionalGroup } from "node-opcua-nodeset-di/dist/ua_functional_group";
|
|
4
|
+
import type { UAMachineIdentification } from "node-opcua-nodeset-machinery/dist/ua_machine_identification";
|
|
5
|
+
import type { DataType } from "node-opcua-variant";
|
|
6
|
+
|
|
7
|
+
// ----- this file has been automatically generated - do not edit
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Definition of a machine according to the
|
|
11
|
+
* Weihenstephan standards
|
|
12
|
+
*
|
|
13
|
+
* | | |
|
|
14
|
+
* |----------------|------------------------------------------------------------|
|
|
15
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
16
|
+
* |nodeClass |ObjectType |
|
|
17
|
+
* |typedDefinition |WSMachineType i=1000 |
|
|
18
|
+
* |isAbstract |false |
|
|
19
|
+
*/
|
|
20
|
+
export interface UAWSMachine_Base {
|
|
21
|
+
wsVersionVendor?: UAProperty<UAString, DataType.String>;
|
|
22
|
+
wsVersionProject?: UAProperty<UAString, DataType.String>;
|
|
23
|
+
counters?: UAFunctionalGroup;
|
|
24
|
+
batchAndArticleTracing?: UAFunctionalGroup;
|
|
25
|
+
operatingModes?: UAFunctionalGroup;
|
|
26
|
+
operatingStates?: UAFunctionalGroup;
|
|
27
|
+
programs?: UAFunctionalGroup;
|
|
28
|
+
alarms?: UAFunctionalGroup;
|
|
29
|
+
measuredValues?: UAFunctionalGroup;
|
|
30
|
+
parameters?: UAFunctionalGroup;
|
|
31
|
+
warnings?: UAFunctionalGroup;
|
|
32
|
+
wsVersion: UAProperty<UAString, DataType.String>;
|
|
33
|
+
identification: UAMachineIdentification;
|
|
34
|
+
wsMachineProfile: UAProperty<UAString, DataType.String>;
|
|
35
|
+
computedValues?: UAFunctionalGroup;
|
|
36
|
+
}
|
|
37
|
+
export interface UAWSMachine extends UAObject, UAWSMachine_Base {}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/dist/ua_finite_state_machine";
|
|
2
|
+
import type { UAState } from "node-opcua-nodeset-ua/dist/ua_state";
|
|
3
|
+
|
|
4
|
+
// ----- this file has been automatically generated - do not edit
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|------------------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |WSSuspendedStateMachineType i=1007 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
export interface UAWSSuspendedStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
15
|
+
lack: UAState;
|
|
16
|
+
lackBranchLine: UAState;
|
|
17
|
+
prepared: UAState;
|
|
18
|
+
tailback: UAState;
|
|
19
|
+
tailbackBranchLine: UAState;
|
|
20
|
+
}
|
|
21
|
+
export interface UAWSSuspendedStateMachine extends UAFiniteStateMachine, UAWSSuspendedStateMachine_Base {}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { UInt32 } from "node-opcua-basic-types";
|
|
2
|
+
import type { LocalizedText } from "node-opcua-data-model";
|
|
3
|
+
import type { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
|
|
4
|
+
import type { DataType } from "node-opcua-variant";
|
|
5
|
+
|
|
6
|
+
import type { UAWSBaseObject, UAWSBaseObject_Base } from "./ua_ws_base_object";
|
|
7
|
+
|
|
8
|
+
// ----- this file has been automatically generated - do not edit
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* | | |
|
|
12
|
+
* |----------------|------------------------------------------------------------|
|
|
13
|
+
* |namespace |http://opcfoundation.org/UA/Weihenstephan/ |
|
|
14
|
+
* |nodeClass |ObjectType |
|
|
15
|
+
* |typedDefinition |WSWarningType i=1003 |
|
|
16
|
+
* |isAbstract |false |
|
|
17
|
+
*/
|
|
18
|
+
export interface UAWSWarning_Base extends UAWSBaseObject_Base {
|
|
19
|
+
wsWarningCode: UABaseDataVariable<UInt32, DataType.UInt32>;
|
|
20
|
+
wsWarningMessage?: UABaseDataVariable<LocalizedText, DataType.LocalizedText>;
|
|
21
|
+
}
|
|
22
|
+
export interface UAWSWarning extends UAWSBaseObject, UAWSWarning_Base {}
|