node-opcua-nodeset-cnc 2.52.0 → 2.56.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.
Files changed (64) hide show
  1. package/LICENSE +20 -20
  2. package/dist/dt_cnc_position.d.ts +19 -0
  3. package/dist/dt_cnc_position.js +3 -0
  4. package/dist/dt_cnc_position.js.map +1 -0
  5. package/dist/enum_cnc_axis_status.d.ts +24 -0
  6. package/dist/enum_cnc_axis_status.js +30 -0
  7. package/dist/enum_cnc_axis_status.js.map +1 -0
  8. package/dist/enum_cnc_channel_program_status.d.ts +32 -0
  9. package/dist/enum_cnc_channel_program_status.js +38 -0
  10. package/dist/enum_cnc_channel_program_status.js.map +1 -0
  11. package/dist/enum_cnc_channel_status.d.ts +24 -0
  12. package/dist/enum_cnc_channel_status.js +30 -0
  13. package/dist/enum_cnc_channel_status.js.map +1 -0
  14. package/dist/enum_cnc_operation_mode.d.ts +15 -0
  15. package/dist/enum_cnc_operation_mode.js +21 -0
  16. package/dist/enum_cnc_operation_mode.js.map +1 -0
  17. package/dist/enum_cnc_spindle_status.d.ts +32 -0
  18. package/dist/enum_cnc_spindle_status.js +38 -0
  19. package/dist/enum_cnc_spindle_status.js.map +1 -0
  20. package/dist/enum_cnc_spindle_turn_direction.d.ts +24 -0
  21. package/dist/enum_cnc_spindle_turn_direction.js +30 -0
  22. package/dist/enum_cnc_spindle_turn_direction.js.map +1 -0
  23. package/dist/index.d.ts +19 -0
  24. package/dist/index.js +32 -0
  25. package/dist/index.js.map +1 -0
  26. package/dist/ua_cnc_alarm.d.ts +36 -0
  27. package/dist/ua_cnc_alarm.js +3 -0
  28. package/dist/ua_cnc_alarm.js.map +1 -0
  29. package/dist/ua_cnc_axis.d.ts +61 -0
  30. package/dist/ua_cnc_axis.js +3 -0
  31. package/dist/ua_cnc_axis.js.map +1 -0
  32. package/dist/ua_cnc_axis_list.d.ts +15 -0
  33. package/dist/ua_cnc_axis_list.js +3 -0
  34. package/dist/ua_cnc_axis_list.js.map +1 -0
  35. package/dist/ua_cnc_channel.d.ts +0 -0
  36. package/dist/ua_cnc_channel.js +3 -0
  37. package/dist/ua_cnc_channel.js.map +1 -0
  38. package/dist/ua_cnc_channel_list.d.ts +15 -0
  39. package/dist/ua_cnc_channel_list.js +3 -0
  40. package/dist/ua_cnc_channel_list.js.map +1 -0
  41. package/dist/ua_cnc_component.d.ts +16 -0
  42. package/dist/ua_cnc_component.js +3 -0
  43. package/dist/ua_cnc_component.js.map +1 -0
  44. package/dist/ua_cnc_drive.d.ts +0 -0
  45. package/dist/ua_cnc_drive.js +3 -0
  46. package/dist/ua_cnc_drive.js.map +1 -0
  47. package/dist/ua_cnc_interface.d.ts +60 -0
  48. package/dist/ua_cnc_interface.js +3 -0
  49. package/dist/ua_cnc_interface.js.map +1 -0
  50. package/dist/ua_cnc_message.d.ts +15 -0
  51. package/dist/ua_cnc_message.js +3 -0
  52. package/dist/ua_cnc_message.js.map +1 -0
  53. package/dist/ua_cnc_position_variable.d.ts +39 -0
  54. package/dist/ua_cnc_position_variable.js +3 -0
  55. package/dist/ua_cnc_position_variable.js.map +1 -0
  56. package/dist/ua_cnc_spindle.d.ts +80 -0
  57. package/dist/ua_cnc_spindle.js +3 -0
  58. package/dist/ua_cnc_spindle.js.map +1 -0
  59. package/dist/ua_cnc_spindle_list.d.ts +0 -0
  60. package/dist/ua_cnc_spindle_list.js +3 -0
  61. package/dist/ua_cnc_spindle_list.js.map +1 -0
  62. package/package.json +10 -10
  63. package/pnpm-lock.yaml +8 -8
  64. package/tsconfig.tsbuildinfo +1 -0
package/LICENSE CHANGED
@@ -1,20 +1,20 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2014-2021 Etienne Rossignon
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of
6
- this software and associated documentation files (the "Software"), to deal in
7
- the Software without restriction, including without limitation the rights to
8
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
- the Software, and to permit persons to whom the Software is furnished to do so,
10
- subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014-2021 Etienne Rossignon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,19 @@
1
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
+ /**
3
+ * Structure of position elements.
4
+ *
5
+ * | | |
6
+ * |-----------|--------------------------------------------------|
7
+ * | namespace |http://opcfoundation.org/UA/CNC |
8
+ * | nodeClass |DataType |
9
+ * | name |11:CncPositionDataType |
10
+ * | isAbstract|false |
11
+ */
12
+ export interface DTCncPosition extends DTStructure {
13
+ /** Position current value.*/
14
+ actPos: number;
15
+ /** Position setpoint value.*/
16
+ cmdPos: number;
17
+ /** Remaining distance.*/
18
+ remDist: number;
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_cnc_position.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_cnc_position.js","sourceRoot":"","sources":["../source/dt_cnc_position.ts"],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Status of a CNC axis.
3
+ *
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/CNC |
7
+ * | nodeClass |DataType |
8
+ * | name |11:CncAxisStatus |
9
+ * | isAbstract|false |
10
+ */
11
+ export declare enum EnumCncAxisStatus {
12
+ /**
13
+ * Axis reached commanded position
14
+ */
15
+ InPosition = 0,
16
+ /**
17
+ * Axis is moving to reach commanded position
18
+ */
19
+ Moving = 1,
20
+ /**
21
+ * Axis is configured but not active
22
+ */
23
+ Parked = 2
24
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ // ----- this file has been automatically generated - do not edit
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.EnumCncAxisStatus = void 0;
5
+ /**
6
+ * Status of a CNC axis.
7
+ *
8
+ * | | |
9
+ * |-----------|--------------------------------------------------|
10
+ * | namespace |http://opcfoundation.org/UA/CNC |
11
+ * | nodeClass |DataType |
12
+ * | name |11:CncAxisStatus |
13
+ * | isAbstract|false |
14
+ */
15
+ var EnumCncAxisStatus;
16
+ (function (EnumCncAxisStatus) {
17
+ /**
18
+ * Axis reached commanded position
19
+ */
20
+ EnumCncAxisStatus[EnumCncAxisStatus["InPosition"] = 0] = "InPosition";
21
+ /**
22
+ * Axis is moving to reach commanded position
23
+ */
24
+ EnumCncAxisStatus[EnumCncAxisStatus["Moving"] = 1] = "Moving";
25
+ /**
26
+ * Axis is configured but not active
27
+ */
28
+ EnumCncAxisStatus[EnumCncAxisStatus["Parked"] = 2] = "Parked";
29
+ })(EnumCncAxisStatus = exports.EnumCncAxisStatus || (exports.EnumCncAxisStatus = {}));
30
+ //# sourceMappingURL=enum_cnc_axis_status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum_cnc_axis_status.js","sourceRoot":"","sources":["../source/enum_cnc_axis_status.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;;;GASG;AACH,IAAY,iBAaX;AAbD,WAAY,iBAAiB;IAC3B;;OAEG;IACH,qEAAc,CAAA;IACd;;OAEG;IACH,6DAAU,CAAA;IACV;;OAEG;IACH,6DAAU,CAAA;AACZ,CAAC,EAbW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAa5B"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Status of program execution within a channel.
3
+ *
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/CNC |
7
+ * | nodeClass |DataType |
8
+ * | name |11:CncChannelProgramStatus |
9
+ * | isAbstract|false |
10
+ */
11
+ export declare enum EnumCncChannelProgramStatus {
12
+ /**
13
+ * Channel program stopped
14
+ */
15
+ Stopped = 0,
16
+ /**
17
+ * Channel program running
18
+ */
19
+ Running = 1,
20
+ /**
21
+ * Channel program in waiting state
22
+ */
23
+ Waiting = 2,
24
+ /**
25
+ * Channel program interrupted
26
+ */
27
+ Interrupted = 3,
28
+ /**
29
+ * Channel program canceled
30
+ */
31
+ Canceled = 4
32
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ // ----- this file has been automatically generated - do not edit
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.EnumCncChannelProgramStatus = void 0;
5
+ /**
6
+ * Status of program execution within a channel.
7
+ *
8
+ * | | |
9
+ * |-----------|--------------------------------------------------|
10
+ * | namespace |http://opcfoundation.org/UA/CNC |
11
+ * | nodeClass |DataType |
12
+ * | name |11:CncChannelProgramStatus |
13
+ * | isAbstract|false |
14
+ */
15
+ var EnumCncChannelProgramStatus;
16
+ (function (EnumCncChannelProgramStatus) {
17
+ /**
18
+ * Channel program stopped
19
+ */
20
+ EnumCncChannelProgramStatus[EnumCncChannelProgramStatus["Stopped"] = 0] = "Stopped";
21
+ /**
22
+ * Channel program running
23
+ */
24
+ EnumCncChannelProgramStatus[EnumCncChannelProgramStatus["Running"] = 1] = "Running";
25
+ /**
26
+ * Channel program in waiting state
27
+ */
28
+ EnumCncChannelProgramStatus[EnumCncChannelProgramStatus["Waiting"] = 2] = "Waiting";
29
+ /**
30
+ * Channel program interrupted
31
+ */
32
+ EnumCncChannelProgramStatus[EnumCncChannelProgramStatus["Interrupted"] = 3] = "Interrupted";
33
+ /**
34
+ * Channel program canceled
35
+ */
36
+ EnumCncChannelProgramStatus[EnumCncChannelProgramStatus["Canceled"] = 4] = "Canceled";
37
+ })(EnumCncChannelProgramStatus = exports.EnumCncChannelProgramStatus || (exports.EnumCncChannelProgramStatus = {}));
38
+ //# sourceMappingURL=enum_cnc_channel_program_status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum_cnc_channel_program_status.js","sourceRoot":"","sources":["../source/enum_cnc_channel_program_status.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;;;GASG;AACH,IAAY,2BAqBX;AArBD,WAAY,2BAA2B;IACrC;;OAEG;IACH,mFAAW,CAAA;IACX;;OAEG;IACH,mFAAW,CAAA;IACX;;OAEG;IACH,mFAAW,CAAA;IACX;;OAEG;IACH,2FAAe,CAAA;IACf;;OAEG;IACH,qFAAY,CAAA;AACd,CAAC,EArBW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAqBtC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Status of a CNC channel.
3
+ *
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/CNC |
7
+ * | nodeClass |DataType |
8
+ * | name |11:CncChannelStatus |
9
+ * | isAbstract|false |
10
+ */
11
+ export declare enum EnumCncChannelStatus {
12
+ /**
13
+ * Channel active
14
+ */
15
+ Active = 0,
16
+ /**
17
+ * Channel interrupted
18
+ */
19
+ Interrupted = 1,
20
+ /**
21
+ * Channel resetting
22
+ */
23
+ Reset = 2
24
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ // ----- this file has been automatically generated - do not edit
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.EnumCncChannelStatus = void 0;
5
+ /**
6
+ * Status of a CNC channel.
7
+ *
8
+ * | | |
9
+ * |-----------|--------------------------------------------------|
10
+ * | namespace |http://opcfoundation.org/UA/CNC |
11
+ * | nodeClass |DataType |
12
+ * | name |11:CncChannelStatus |
13
+ * | isAbstract|false |
14
+ */
15
+ var EnumCncChannelStatus;
16
+ (function (EnumCncChannelStatus) {
17
+ /**
18
+ * Channel active
19
+ */
20
+ EnumCncChannelStatus[EnumCncChannelStatus["Active"] = 0] = "Active";
21
+ /**
22
+ * Channel interrupted
23
+ */
24
+ EnumCncChannelStatus[EnumCncChannelStatus["Interrupted"] = 1] = "Interrupted";
25
+ /**
26
+ * Channel resetting
27
+ */
28
+ EnumCncChannelStatus[EnumCncChannelStatus["Reset"] = 2] = "Reset";
29
+ })(EnumCncChannelStatus = exports.EnumCncChannelStatus || (exports.EnumCncChannelStatus = {}));
30
+ //# sourceMappingURL=enum_cnc_channel_status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum_cnc_channel_status.js","sourceRoot":"","sources":["../source/enum_cnc_channel_status.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;;;GASG;AACH,IAAY,oBAaX;AAbD,WAAY,oBAAoB;IAC9B;;OAEG;IACH,mEAAU,CAAA;IACV;;OAEG;IACH,6EAAe,CAAA;IACf;;OAEG;IACH,iEAAS,CAAA;AACX,CAAC,EAbW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAa/B"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Modes of operation.
3
+ *
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/CNC |
7
+ * | nodeClass |DataType |
8
+ * | name |11:CncOperationMode |
9
+ * | isAbstract|false |
10
+ */
11
+ export declare enum EnumCncOperationMode {
12
+ Manual = 0,
13
+ MDA = 1,
14
+ Automatic = 2
15
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // ----- this file has been automatically generated - do not edit
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.EnumCncOperationMode = void 0;
5
+ /**
6
+ * Modes of operation.
7
+ *
8
+ * | | |
9
+ * |-----------|--------------------------------------------------|
10
+ * | namespace |http://opcfoundation.org/UA/CNC |
11
+ * | nodeClass |DataType |
12
+ * | name |11:CncOperationMode |
13
+ * | isAbstract|false |
14
+ */
15
+ var EnumCncOperationMode;
16
+ (function (EnumCncOperationMode) {
17
+ EnumCncOperationMode[EnumCncOperationMode["Manual"] = 0] = "Manual";
18
+ EnumCncOperationMode[EnumCncOperationMode["MDA"] = 1] = "MDA";
19
+ EnumCncOperationMode[EnumCncOperationMode["Automatic"] = 2] = "Automatic";
20
+ })(EnumCncOperationMode = exports.EnumCncOperationMode || (exports.EnumCncOperationMode = {}));
21
+ //# sourceMappingURL=enum_cnc_operation_mode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum_cnc_operation_mode.js","sourceRoot":"","sources":["../source/enum_cnc_operation_mode.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;;;GASG;AACH,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,mEAAU,CAAA;IACV,6DAAO,CAAA;IACP,yEAAa,CAAA;AACf,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Status of a CNC spindle.
3
+ *
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/CNC |
7
+ * | nodeClass |DataType |
8
+ * | name |11:CncSpindleStatus |
9
+ * | isAbstract|false |
10
+ */
11
+ export declare enum EnumCncSpindleStatus {
12
+ /**
13
+ * Spindle stopped
14
+ */
15
+ Stopped = 0,
16
+ /**
17
+ * Spindle reached commanded velocity
18
+ */
19
+ InTargetArea = 1,
20
+ /**
21
+ * Spindle accelerating
22
+ */
23
+ Accelerating = 2,
24
+ /**
25
+ * Spindle decelerating
26
+ */
27
+ Decelerating = 3,
28
+ /**
29
+ * Spindle configured but not active
30
+ */
31
+ Parked = 4
32
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ // ----- this file has been automatically generated - do not edit
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.EnumCncSpindleStatus = void 0;
5
+ /**
6
+ * Status of a CNC spindle.
7
+ *
8
+ * | | |
9
+ * |-----------|--------------------------------------------------|
10
+ * | namespace |http://opcfoundation.org/UA/CNC |
11
+ * | nodeClass |DataType |
12
+ * | name |11:CncSpindleStatus |
13
+ * | isAbstract|false |
14
+ */
15
+ var EnumCncSpindleStatus;
16
+ (function (EnumCncSpindleStatus) {
17
+ /**
18
+ * Spindle stopped
19
+ */
20
+ EnumCncSpindleStatus[EnumCncSpindleStatus["Stopped"] = 0] = "Stopped";
21
+ /**
22
+ * Spindle reached commanded velocity
23
+ */
24
+ EnumCncSpindleStatus[EnumCncSpindleStatus["InTargetArea"] = 1] = "InTargetArea";
25
+ /**
26
+ * Spindle accelerating
27
+ */
28
+ EnumCncSpindleStatus[EnumCncSpindleStatus["Accelerating"] = 2] = "Accelerating";
29
+ /**
30
+ * Spindle decelerating
31
+ */
32
+ EnumCncSpindleStatus[EnumCncSpindleStatus["Decelerating"] = 3] = "Decelerating";
33
+ /**
34
+ * Spindle configured but not active
35
+ */
36
+ EnumCncSpindleStatus[EnumCncSpindleStatus["Parked"] = 4] = "Parked";
37
+ })(EnumCncSpindleStatus = exports.EnumCncSpindleStatus || (exports.EnumCncSpindleStatus = {}));
38
+ //# sourceMappingURL=enum_cnc_spindle_status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum_cnc_spindle_status.js","sourceRoot":"","sources":["../source/enum_cnc_spindle_status.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;;;GASG;AACH,IAAY,oBAqBX;AArBD,WAAY,oBAAoB;IAC9B;;OAEG;IACH,qEAAW,CAAA;IACX;;OAEG;IACH,+EAAgB,CAAA;IAChB;;OAEG;IACH,+EAAgB,CAAA;IAChB;;OAEG;IACH,+EAAgB,CAAA;IAChB;;OAEG;IACH,mEAAU,CAAA;AACZ,CAAC,EArBW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAqB/B"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Turn direction of a CNC spindle.
3
+ *
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/CNC |
7
+ * | nodeClass |DataType |
8
+ * | name |11:CncSpindleTurnDirection |
9
+ * | isAbstract|false |
10
+ */
11
+ export declare enum EnumCncSpindleTurnDirection {
12
+ /**
13
+ * No rotation
14
+ */
15
+ None = 0,
16
+ /**
17
+ * Clockwise
18
+ */
19
+ CW = 1,
20
+ /**
21
+ * Counter Clockwise
22
+ */
23
+ CCW = 2
24
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ // ----- this file has been automatically generated - do not edit
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.EnumCncSpindleTurnDirection = void 0;
5
+ /**
6
+ * Turn direction of a CNC spindle.
7
+ *
8
+ * | | |
9
+ * |-----------|--------------------------------------------------|
10
+ * | namespace |http://opcfoundation.org/UA/CNC |
11
+ * | nodeClass |DataType |
12
+ * | name |11:CncSpindleTurnDirection |
13
+ * | isAbstract|false |
14
+ */
15
+ var EnumCncSpindleTurnDirection;
16
+ (function (EnumCncSpindleTurnDirection) {
17
+ /**
18
+ * No rotation
19
+ */
20
+ EnumCncSpindleTurnDirection[EnumCncSpindleTurnDirection["None"] = 0] = "None";
21
+ /**
22
+ * Clockwise
23
+ */
24
+ EnumCncSpindleTurnDirection[EnumCncSpindleTurnDirection["CW"] = 1] = "CW";
25
+ /**
26
+ * Counter Clockwise
27
+ */
28
+ EnumCncSpindleTurnDirection[EnumCncSpindleTurnDirection["CCW"] = 2] = "CCW";
29
+ })(EnumCncSpindleTurnDirection = exports.EnumCncSpindleTurnDirection || (exports.EnumCncSpindleTurnDirection = {}));
30
+ //# sourceMappingURL=enum_cnc_spindle_turn_direction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum_cnc_spindle_turn_direction.js","sourceRoot":"","sources":["../source/enum_cnc_spindle_turn_direction.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;;;GASG;AACH,IAAY,2BAaX;AAbD,WAAY,2BAA2B;IACrC;;OAEG;IACH,6EAAQ,CAAA;IACR;;OAEG;IACH,yEAAM,CAAA;IACN;;OAEG;IACH,2EAAO,CAAA;AACT,CAAC,EAbW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAatC"}
@@ -0,0 +1,19 @@
1
+ export * from "./dt_cnc_position";
2
+ export * from "./enum_cnc_axis_status";
3
+ export * from "./enum_cnc_channel_program_status";
4
+ export * from "./enum_cnc_channel_status";
5
+ export * from "./enum_cnc_operation_mode";
6
+ export * from "./enum_cnc_spindle_status";
7
+ export * from "./enum_cnc_spindle_turn_direction";
8
+ export * from "./ua_cnc_alarm";
9
+ export * from "./ua_cnc_axis";
10
+ export * from "./ua_cnc_axis_list";
11
+ export * from "./ua_cnc_channel";
12
+ export * from "./ua_cnc_channel_list";
13
+ export * from "./ua_cnc_component";
14
+ export * from "./ua_cnc_drive";
15
+ export * from "./ua_cnc_interface";
16
+ export * from "./ua_cnc_message";
17
+ export * from "./ua_cnc_position_variable";
18
+ export * from "./ua_cnc_spindle";
19
+ export * from "./ua_cnc_spindle_list";
package/dist/index.js ADDED
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./dt_cnc_position"), exports);
14
+ __exportStar(require("./enum_cnc_axis_status"), exports);
15
+ __exportStar(require("./enum_cnc_channel_program_status"), exports);
16
+ __exportStar(require("./enum_cnc_channel_status"), exports);
17
+ __exportStar(require("./enum_cnc_operation_mode"), exports);
18
+ __exportStar(require("./enum_cnc_spindle_status"), exports);
19
+ __exportStar(require("./enum_cnc_spindle_turn_direction"), exports);
20
+ __exportStar(require("./ua_cnc_alarm"), exports);
21
+ __exportStar(require("./ua_cnc_axis"), exports);
22
+ __exportStar(require("./ua_cnc_axis_list"), exports);
23
+ __exportStar(require("./ua_cnc_channel"), exports);
24
+ __exportStar(require("./ua_cnc_channel_list"), exports);
25
+ __exportStar(require("./ua_cnc_component"), exports);
26
+ __exportStar(require("./ua_cnc_drive"), exports);
27
+ __exportStar(require("./ua_cnc_interface"), exports);
28
+ __exportStar(require("./ua_cnc_message"), exports);
29
+ __exportStar(require("./ua_cnc_position_variable"), exports);
30
+ __exportStar(require("./ua_cnc_spindle"), exports);
31
+ __exportStar(require("./ua_cnc_spindle_list"), exports);
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAkC;AAClC,yDAAuC;AACvC,oEAAkD;AAClD,4DAA0C;AAC1C,4DAA0C;AAC1C,4DAA0C;AAC1C,oEAAkD;AAClD,iDAA+B;AAC/B,gDAA8B;AAC9B,qDAAmC;AACnC,mDAAiC;AACjC,wDAAsC;AACtC,qDAAmC;AACnC,iDAA+B;AAC/B,qDAAmC;AACnC,mDAAiC;AACjC,6DAA2C;AAC3C,mDAAiC;AACjC,wDAAsC"}
@@ -0,0 +1,36 @@
1
+ import { UAProperty } from "node-opcua-address-space-base";
2
+ import { DataType } from "node-opcua-variant";
3
+ import { UAString } from "node-opcua-basic-types";
4
+ import { UADiscreteAlarm, UADiscreteAlarm_Base } from "node-opcua-nodeset-ua/source/ua_discrete_alarm";
5
+ /**
6
+ * Event transmitting Alarms within a CNC system.
7
+ *
8
+ * | | |
9
+ * |----------------|--------------------------------------------------|
10
+ * |namespace |http://opcfoundation.org/UA/CNC |
11
+ * |nodeClass |ObjectType |
12
+ * |typedDefinition |11:CncAlarmType ns=11;i=1006 |
13
+ * |isAbstract |false |
14
+ */
15
+ export interface UACncAlarm_Base extends UADiscreteAlarm_Base {
16
+ /**
17
+ * alarmIdentifier
18
+ * Unique alarm number.
19
+ */
20
+ alarmIdentifier: UAProperty<UAString, /*z*/ DataType.String>;
21
+ /**
22
+ * auxParameters
23
+ * Array of auxiliary parameter for additional alarm
24
+ * description.
25
+ */
26
+ auxParameters?: UAProperty<UAString[], /*z*/ DataType.String>;
27
+ /**
28
+ * helpSource
29
+ * Additional information to message giving
30
+ * information on how to solve problem that caused
31
+ * the alarm.
32
+ */
33
+ helpSource?: UAProperty<UAString, /*z*/ DataType.String>;
34
+ }
35
+ export interface UACncAlarm extends UADiscreteAlarm, UACncAlarm_Base {
36
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_cnc_alarm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_cnc_alarm.js","sourceRoot":"","sources":["../source/ua_cnc_alarm.ts"],"names":[],"mappings":""}
@@ -0,0 +1,61 @@
1
+ import { UAProperty } from "node-opcua-address-space-base";
2
+ import { DataType } from "node-opcua-variant";
3
+ import { EUInformation } from "node-opcua-data-access";
4
+ import { UAAnalogItem } from "node-opcua-nodeset-ua/source/ua_analog_item";
5
+ import { DTRange } from "node-opcua-nodeset-ua/source/dt_range";
6
+ import { UADataItem } from "node-opcua-nodeset-ua/source/ua_data_item";
7
+ import { UACncDrive, UACncDrive_Base } from "./ua_cnc_drive";
8
+ import { DTCncPosition } from "./dt_cnc_position";
9
+ import { UACncPositionVariable } from "./ua_cnc_position_variable";
10
+ export interface UACncAxis_zeroOffset<T, DT extends DataType> extends Omit<UAAnalogItem<T, /*b*/ DT>, "engineeringUnits" | "euRange"> {
11
+ engineeringUnits: UAProperty<EUInformation, /*z*/ DataType.ExtensionObject>;
12
+ euRange: UAProperty<DTRange, /*z*/ DataType.ExtensionObject>;
13
+ }
14
+ /**
15
+ * CNC axis component.
16
+ *
17
+ * | | |
18
+ * |----------------|--------------------------------------------------|
19
+ * |namespace |http://opcfoundation.org/UA/CNC |
20
+ * |nodeClass |ObjectType |
21
+ * |typedDefinition |11:CncAxisType ns=11;i=1004 |
22
+ * |isAbstract |false |
23
+ */
24
+ export interface UACncAxis_Base extends UACncDrive_Base {
25
+ /**
26
+ * actStatus
27
+ * Actual axis state.
28
+ */
29
+ actStatus: UADataItem<any, any>;
30
+ /**
31
+ * isReferenced
32
+ * Axis reference state (true in case of
33
+ * successfully refereneced axis, else false).
34
+ */
35
+ isReferenced: UADataItem<boolean, /*z*/ DataType.Boolean>;
36
+ /**
37
+ * isRotational
38
+ * Axis type (true in case of rotational axis, in
39
+ * case of linear type or other false).
40
+ */
41
+ isRotational: UADataItem<boolean, /*z*/ DataType.Boolean>;
42
+ /**
43
+ * posDirect
44
+ * Position actual value referring to axis' direct
45
+ * measurement system.
46
+ */
47
+ posDirect: UACncPositionVariable<DTCncPosition>;
48
+ /**
49
+ * posIndirect
50
+ * Position actual value referring to axis' indirect
51
+ * measurement system.
52
+ */
53
+ posIndirect: UACncPositionVariable<DTCncPosition>;
54
+ /**
55
+ * zeroOffset
56
+ * Active axis zero offset.
57
+ */
58
+ zeroOffset: UACncAxis_zeroOffset<number, /*z*/ DataType.Double>;
59
+ }
60
+ export interface UACncAxis extends UACncDrive, UACncAxis_Base {
61
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_cnc_axis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_cnc_axis.js","sourceRoot":"","sources":["../source/ua_cnc_axis.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import { UAObject } from "node-opcua-address-space-base";
2
+ /**
3
+ * List of CNC axis objects.
4
+ *
5
+ * | | |
6
+ * |----------------|--------------------------------------------------|
7
+ * |namespace |http://opcfoundation.org/UA/CNC |
8
+ * |nodeClass |ObjectType |
9
+ * |typedDefinition |11:CncAxisListType ns=11;i=1008 |
10
+ * |isAbstract |false |
11
+ */
12
+ export interface UACncAxisList_Base {
13
+ }
14
+ export interface UACncAxisList extends UAObject, UACncAxisList_Base {
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_cnc_axis_list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_cnc_axis_list.js","sourceRoot":"","sources":["../source/ua_cnc_axis_list.ts"],"names":[],"mappings":""}
Binary file