node-opcua-nodeset-cnc 2.51.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 (85) hide show
  1. package/LICENSE +20 -0
  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 +23 -0
  63. package/pnpm-lock.yaml +21 -0
  64. package/source/dt_cnc_position.ts +20 -0
  65. package/source/enum_cnc_axis_status.ts +26 -0
  66. package/source/enum_cnc_channel_program_status.ts +34 -0
  67. package/source/enum_cnc_channel_status.ts +26 -0
  68. package/source/enum_cnc_operation_mode.ts +17 -0
  69. package/source/enum_cnc_spindle_status.ts +34 -0
  70. package/source/enum_cnc_spindle_turn_direction.ts +26 -0
  71. package/source/index.ts +19 -0
  72. package/source/ua_cnc_alarm.ts +42 -0
  73. package/source/ua_cnc_axis.ts +62 -0
  74. package/source/ua_cnc_axis_list.ts +22 -0
  75. package/source/ua_cnc_channel.ts +0 -0
  76. package/source/ua_cnc_channel_list.ts +22 -0
  77. package/source/ua_cnc_component.ts +17 -0
  78. package/source/ua_cnc_drive.ts +0 -0
  79. package/source/ua_cnc_interface.ts +63 -0
  80. package/source/ua_cnc_message.ts +16 -0
  81. package/source/ua_cnc_position_variable.ts +40 -0
  82. package/source/ua_cnc_spindle.ts +81 -0
  83. package/source/ua_cnc_spindle_list.ts +0 -0
  84. package/tsconfig.json +25 -0
  85. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,15 @@
1
+ import { UAObject } from "node-opcua-address-space-base";
2
+ /**
3
+ * List of CNC channel objects.
4
+ *
5
+ * | | |
6
+ * |----------------|--------------------------------------------------|
7
+ * |namespace |http://opcfoundation.org/UA/CNC |
8
+ * |nodeClass |ObjectType |
9
+ * |typedDefinition |11:CncChannelListType ns=11;i=1010 |
10
+ * |isAbstract |false |
11
+ */
12
+ export interface UACncChannelList_Base {
13
+ }
14
+ export interface UACncChannelList extends UAObject, UACncChannelList_Base {
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_cnc_channel_list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_cnc_channel_list.js","sourceRoot":"","sources":["../source/ua_cnc_channel_list.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { UAObject } from "node-opcua-address-space-base";
2
+ /**
3
+ * Base component for soft- or hardware elements of
4
+ * a CNC system.
5
+ *
6
+ * | | |
7
+ * |----------------|--------------------------------------------------|
8
+ * |namespace |http://opcfoundation.org/UA/CNC |
9
+ * |nodeClass |ObjectType |
10
+ * |typedDefinition |11:CncComponentType ns=11;i=1001 |
11
+ * |isAbstract |true |
12
+ */
13
+ export interface UACncComponent_Base {
14
+ }
15
+ export interface UACncComponent extends UAObject, UACncComponent_Base {
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_cnc_component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_cnc_component.js","sourceRoot":"","sources":["../source/ua_cnc_component.ts"],"names":[],"mappings":""}
Binary file
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_cnc_drive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_cnc_drive.js","sourceRoot":"","sources":["../source/ua_cnc_drive.ts"],"names":[],"mappings":""}
@@ -0,0 +1,60 @@
1
+ import { UAObject, UAProperty } from "node-opcua-address-space-base";
2
+ import { DataType } from "node-opcua-variant";
3
+ import { UAString } from "node-opcua-basic-types";
4
+ import { UACncAxisList } from "./ua_cnc_axis_list";
5
+ import { UACncChannelList } from "./ua_cnc_channel_list";
6
+ import { UACncSpindleList } from "./ua_cnc_spindle_list";
7
+ /**
8
+ * Entry point to CNC data interface.
9
+ *
10
+ * | | |
11
+ * |----------------|--------------------------------------------------|
12
+ * |namespace |http://opcfoundation.org/UA/CNC |
13
+ * |nodeClass |ObjectType |
14
+ * |typedDefinition |11:CncInterfaceType ns=11;i=1007 |
15
+ * |isAbstract |false |
16
+ */
17
+ export interface UACncInterface_Base {
18
+ /**
19
+ * cncAxisList
20
+ * List of CNC axis objects.
21
+ */
22
+ cncAxisList: UACncAxisList;
23
+ /**
24
+ * cncChannelList
25
+ * List of CNC channel objects.
26
+ */
27
+ cncChannelList: UACncChannelList;
28
+ /**
29
+ * cncSpindleList
30
+ * List of CNC spindle objects.
31
+ */
32
+ cncSpindleList: UACncSpindleList;
33
+ cncTypeName?: UAProperty<UAString, /*z*/ DataType.String>;
34
+ /**
35
+ * fix
36
+ * Version of CNC interface considering changes in
37
+ * implementation (Bug Fix).
38
+ */
39
+ fix?: UAProperty<UAString, /*z*/ DataType.String>;
40
+ /**
41
+ * vendorName
42
+ * Name of CNC system vendor. Format and content may
43
+ * be chosen by vendor.
44
+ */
45
+ vendorName: UAProperty<UAString, /*z*/ DataType.String>;
46
+ /**
47
+ * vendorRevision
48
+ * Vendor revision of CNC interface. Format and
49
+ * content may be chosen by vendor.
50
+ */
51
+ vendorRevision: UAProperty<UAString, /*z*/ DataType.String>;
52
+ /**
53
+ * version
54
+ * Version of CNC interface - corresponds to version
55
+ * of OPC UA companion standard.
56
+ */
57
+ version: UAProperty<UAString, /*z*/ DataType.String>;
58
+ }
59
+ export interface UACncInterface extends UAObject, UACncInterface_Base {
60
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_cnc_interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_cnc_interface.js","sourceRoot":"","sources":["../source/ua_cnc_interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import { UABaseEvent, UABaseEvent_Base } from "node-opcua-nodeset-ua/source/ua_base_event";
2
+ /**
3
+ * Event transmitting simple information messages.
4
+ *
5
+ * | | |
6
+ * |----------------|--------------------------------------------------|
7
+ * |namespace |http://opcfoundation.org/UA/CNC |
8
+ * |nodeClass |ObjectType |
9
+ * |typedDefinition |11:CncMessageType ns=11;i=1011 |
10
+ * |isAbstract |false |
11
+ */
12
+ export interface UACncMessage_Base extends UABaseEvent_Base {
13
+ }
14
+ export interface UACncMessage extends UABaseEvent, UACncMessage_Base {
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_cnc_message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_cnc_message.js","sourceRoot":"","sources":["../source/ua_cnc_message.ts"],"names":[],"mappings":""}
@@ -0,0 +1,39 @@
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 { UABaseDataVariable, UABaseDataVariable_Base } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
5
+ import { DTRange } from "node-opcua-nodeset-ua/source/dt_range";
6
+ import { DTCncPosition } from "./dt_cnc_position";
7
+ /**
8
+ * Group of position values.
9
+ *
10
+ * | | |
11
+ * |----------------|--------------------------------------------------|
12
+ * |namespace |http://opcfoundation.org/UA/CNC |
13
+ * |nodeClass |VariableType |
14
+ * |typedDefinition |11:CncPositionVariableType ns=11;i=2001 |
15
+ * |dataType |ExtensionObject |
16
+ * |dataType Name |DTCncPosition ns=11;i=3007 |
17
+ * |isAbstract |false |
18
+ */
19
+ export interface UACncPositionVariable_Base<T extends DTCncPosition> extends UABaseDataVariable_Base<T, /*e*/ DataType.ExtensionObject> {
20
+ /**
21
+ * actPos
22
+ * Position current value.
23
+ */
24
+ actPos: UABaseDataVariable<number, /*z*/ DataType.Double>;
25
+ /**
26
+ * cmdPos
27
+ * Position setpoint value.
28
+ */
29
+ cmdPos: UABaseDataVariable<number, /*z*/ DataType.Double>;
30
+ engineeringUnits: UAProperty<EUInformation, /*z*/ DataType.ExtensionObject>;
31
+ euRange: UAProperty<DTRange, /*z*/ DataType.ExtensionObject>;
32
+ /**
33
+ * remDist
34
+ * Remaining distance to go.
35
+ */
36
+ remDist: UABaseDataVariable<number, /*z*/ DataType.Double>;
37
+ }
38
+ export interface UACncPositionVariable<T extends DTCncPosition> extends UABaseDataVariable<T, /*n*/ DataType.ExtensionObject>, UACncPositionVariable_Base<T> {
39
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_cnc_position_variable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_cnc_position_variable.js","sourceRoot":"","sources":["../source/ua_cnc_position_variable.ts"],"names":[],"mappings":""}
@@ -0,0 +1,80 @@
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 { UInt32 } from "node-opcua-basic-types";
5
+ import { UAAnalogItem } from "node-opcua-nodeset-ua/source/ua_analog_item";
6
+ import { DTRange } from "node-opcua-nodeset-ua/source/dt_range";
7
+ import { UADataItem } from "node-opcua-nodeset-ua/source/ua_data_item";
8
+ import { UACncDrive, UACncDrive_Base } from "./ua_cnc_drive";
9
+ import { DTCncPosition } from "./dt_cnc_position";
10
+ import { UACncPositionVariable } from "./ua_cnc_position_variable";
11
+ export interface UACncSpindle_actSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T, /*b*/ DT>, "engineeringUnits" | "euRange"> {
12
+ engineeringUnits: UAProperty<EUInformation, /*z*/ DataType.ExtensionObject>;
13
+ euRange: UAProperty<DTRange, /*z*/ DataType.ExtensionObject>;
14
+ }
15
+ export interface UACncSpindle_cmdSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T, /*b*/ DT>, "engineeringUnits" | "euRange"> {
16
+ engineeringUnits: UAProperty<EUInformation, /*z*/ DataType.ExtensionObject>;
17
+ euRange: UAProperty<DTRange, /*z*/ DataType.ExtensionObject>;
18
+ }
19
+ /**
20
+ * CNC spindle component.
21
+ *
22
+ * | | |
23
+ * |----------------|--------------------------------------------------|
24
+ * |namespace |http://opcfoundation.org/UA/CNC |
25
+ * |nodeClass |ObjectType |
26
+ * |typedDefinition |11:CncSpindleType ns=11;i=1005 |
27
+ * |isAbstract |false |
28
+ */
29
+ export interface UACncSpindle_Base extends UACncDrive_Base {
30
+ /**
31
+ * actGear
32
+ * Gear stage actual value.
33
+ */
34
+ actGear: UADataItem<UInt32, /*z*/ DataType.UInt32>;
35
+ /**
36
+ * actOverride
37
+ * Override actual value.
38
+ */
39
+ actOverride: UAAnalogItem<number, /*z*/ DataType.Double>;
40
+ /**
41
+ * actSpeed
42
+ * Speed actual value.
43
+ */
44
+ actSpeed: UACncSpindle_actSpeed<number, /*z*/ DataType.Double>;
45
+ /**
46
+ * actStatus
47
+ * Actual spindle state.
48
+ */
49
+ actStatus: UADataItem<any, any>;
50
+ /**
51
+ * actTurnDirection
52
+ * Turn direction actual value.
53
+ */
54
+ actTurnDirection: UADataItem<any, any>;
55
+ /**
56
+ * anglePos
57
+ * Spindle angular position values in case of
58
+ * interpolated (position controlled) spindle
59
+ * movement. Returns zeros in case of regular
60
+ * spindle operation (velocity controlled).
61
+ */
62
+ anglePos: UACncPositionVariable<DTCncPosition>;
63
+ /**
64
+ * cmdGear
65
+ * Gear stage setpoint value.
66
+ */
67
+ cmdGear: UADataItem<UInt32, /*z*/ DataType.UInt32>;
68
+ /**
69
+ * cmdOverride
70
+ * Override setpoint value.
71
+ */
72
+ cmdOverride: UAAnalogItem<number, /*z*/ DataType.Double>;
73
+ /**
74
+ * cmdSpeed
75
+ * Speed setpoint value.
76
+ */
77
+ cmdSpeed: UACncSpindle_cmdSpeed<number, /*z*/ DataType.Double>;
78
+ }
79
+ export interface UACncSpindle extends UACncDrive, UACncSpindle_Base {
80
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_cnc_spindle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_cnc_spindle.js","sourceRoot":"","sources":["../source/ua_cnc_spindle.ts"],"names":[],"mappings":""}
Binary file
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_cnc_spindle_list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_cnc_spindle_list.js","sourceRoot":"","sources":["../source/ua_cnc_spindle_list.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "node-opcua-nodeset-cnc",
3
+ "version": "2.51.0",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "tsc -b"
9
+ },
10
+ "author": "etienne.rossignon@sterfive.com",
11
+ "license": "MIT",
12
+ "dependencies": {
13
+ "node-opcua-address-space-base": "2.51.0",
14
+ "node-opcua-basic-types": "2.51.0",
15
+ "node-opcua-data-access": "2.51.0",
16
+ "node-opcua-data-model": "2.51.0",
17
+ "node-opcua-nodeid": "2.51.0",
18
+ "node-opcua-nodeset-ua": "2.51.0",
19
+ "node-opcua-status-code": "2.51.0",
20
+ "node-opcua-variant": "2.51.0"
21
+ },
22
+ "gitHead": "75feb111daf7ec65fa0111e4fa5beb8987fd4945"
23
+ }
package/pnpm-lock.yaml ADDED
@@ -0,0 +1,21 @@
1
+ lockfileVersion: 5.3
2
+
3
+ specifiers:
4
+ node-opcua-address-space-base: 2.50.0
5
+ node-opcua-basic-types: 2.47.0
6
+ node-opcua-data-access: 2.49.0
7
+ node-opcua-data-model: 2.49.0
8
+ node-opcua-nodeid: 2.45.0
9
+ node-opcua-nodeset-ua: 2.50.0
10
+ node-opcua-status-code: 2.42.0
11
+ node-opcua-variant: 2.49.0
12
+
13
+ dependencies:
14
+ node-opcua-address-space-base: link:../node-opcua-address-space-base
15
+ node-opcua-basic-types: link:../node-opcua-basic-types
16
+ node-opcua-data-access: link:../node-opcua-data-access
17
+ node-opcua-data-model: link:../node-opcua-data-model
18
+ node-opcua-nodeid: link:../node-opcua-nodeid
19
+ node-opcua-nodeset-ua: link:../node-opcua-nodeset-ua
20
+ node-opcua-status-code: link:../node-opcua-status-code
21
+ node-opcua-variant: link:../node-opcua-variant
@@ -0,0 +1,20 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure"
3
+ /**
4
+ * Structure of position elements.
5
+ *
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/CNC |
9
+ * | nodeClass |DataType |
10
+ * | name |11:CncPositionDataType |
11
+ * | isAbstract|false |
12
+ */
13
+ export interface DTCncPosition extends DTStructure {
14
+ /** Position current value.*/
15
+ actPos: number; // Double ns=0;i=11
16
+ /** Position setpoint value.*/
17
+ cmdPos: number; // Double ns=0;i=11
18
+ /** Remaining distance.*/
19
+ remDist: number; // Double ns=0;i=11
20
+ }
@@ -0,0 +1,26 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * Status of a CNC axis.
5
+ *
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/CNC |
9
+ * | nodeClass |DataType |
10
+ * | name |11:CncAxisStatus |
11
+ * | isAbstract|false |
12
+ */
13
+ export enum EnumCncAxisStatus {
14
+ /**
15
+ * Axis reached commanded position
16
+ */
17
+ InPosition = 0,
18
+ /**
19
+ * Axis is moving to reach commanded position
20
+ */
21
+ Moving = 1,
22
+ /**
23
+ * Axis is configured but not active
24
+ */
25
+ Parked = 2,
26
+ }
@@ -0,0 +1,34 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * Status of program execution within a channel.
5
+ *
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/CNC |
9
+ * | nodeClass |DataType |
10
+ * | name |11:CncChannelProgramStatus |
11
+ * | isAbstract|false |
12
+ */
13
+ export enum EnumCncChannelProgramStatus {
14
+ /**
15
+ * Channel program stopped
16
+ */
17
+ Stopped = 0,
18
+ /**
19
+ * Channel program running
20
+ */
21
+ Running = 1,
22
+ /**
23
+ * Channel program in waiting state
24
+ */
25
+ Waiting = 2,
26
+ /**
27
+ * Channel program interrupted
28
+ */
29
+ Interrupted = 3,
30
+ /**
31
+ * Channel program canceled
32
+ */
33
+ Canceled = 4,
34
+ }
@@ -0,0 +1,26 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * Status of a CNC channel.
5
+ *
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/CNC |
9
+ * | nodeClass |DataType |
10
+ * | name |11:CncChannelStatus |
11
+ * | isAbstract|false |
12
+ */
13
+ export enum EnumCncChannelStatus {
14
+ /**
15
+ * Channel active
16
+ */
17
+ Active = 0,
18
+ /**
19
+ * Channel interrupted
20
+ */
21
+ Interrupted = 1,
22
+ /**
23
+ * Channel resetting
24
+ */
25
+ Reset = 2,
26
+ }
@@ -0,0 +1,17 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * Modes of operation.
5
+ *
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/CNC |
9
+ * | nodeClass |DataType |
10
+ * | name |11:CncOperationMode |
11
+ * | isAbstract|false |
12
+ */
13
+ export enum EnumCncOperationMode {
14
+ Manual = 0,
15
+ MDA = 1,
16
+ Automatic = 2,
17
+ }
@@ -0,0 +1,34 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * Status of a CNC spindle.
5
+ *
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/CNC |
9
+ * | nodeClass |DataType |
10
+ * | name |11:CncSpindleStatus |
11
+ * | isAbstract|false |
12
+ */
13
+ export enum EnumCncSpindleStatus {
14
+ /**
15
+ * Spindle stopped
16
+ */
17
+ Stopped = 0,
18
+ /**
19
+ * Spindle reached commanded velocity
20
+ */
21
+ InTargetArea = 1,
22
+ /**
23
+ * Spindle accelerating
24
+ */
25
+ Accelerating = 2,
26
+ /**
27
+ * Spindle decelerating
28
+ */
29
+ Decelerating = 3,
30
+ /**
31
+ * Spindle configured but not active
32
+ */
33
+ Parked = 4,
34
+ }
@@ -0,0 +1,26 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * Turn direction of a CNC spindle.
5
+ *
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/CNC |
9
+ * | nodeClass |DataType |
10
+ * | name |11:CncSpindleTurnDirection |
11
+ * | isAbstract|false |
12
+ */
13
+ export enum EnumCncSpindleTurnDirection {
14
+ /**
15
+ * No rotation
16
+ */
17
+ None = 0,
18
+ /**
19
+ * Clockwise
20
+ */
21
+ CW = 1,
22
+ /**
23
+ * Counter Clockwise
24
+ */
25
+ CCW = 2,
26
+ }
@@ -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";
@@ -0,0 +1,42 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAProperty } from "node-opcua-address-space-base"
3
+ import { DataType } from "node-opcua-variant"
4
+ import { LocalizedText, QualifiedName } from "node-opcua-data-model"
5
+ import { NodeId } from "node-opcua-nodeid"
6
+ import { StatusCode } from "node-opcua-status-code"
7
+ import { UInt32, UInt16, Int16, UAString } from "node-opcua-basic-types"
8
+ import { DTTimeZone } from "node-opcua-nodeset-ua/source/dt_time_zone"
9
+ import { DTArgument } from "node-opcua-nodeset-ua/source/dt_argument"
10
+ import { UADiscreteAlarm, UADiscreteAlarm_Base } from "node-opcua-nodeset-ua/source/ua_discrete_alarm"
11
+ /**
12
+ * Event transmitting Alarms within a CNC system.
13
+ *
14
+ * | | |
15
+ * |----------------|--------------------------------------------------|
16
+ * |namespace |http://opcfoundation.org/UA/CNC |
17
+ * |nodeClass |ObjectType |
18
+ * |typedDefinition |11:CncAlarmType ns=11;i=1006 |
19
+ * |isAbstract |false |
20
+ */
21
+ export interface UACncAlarm_Base extends UADiscreteAlarm_Base {
22
+ /**
23
+ * alarmIdentifier
24
+ * Unique alarm number.
25
+ */
26
+ alarmIdentifier: UAProperty<UAString, /*z*/DataType.String>;
27
+ /**
28
+ * auxParameters
29
+ * Array of auxiliary parameter for additional alarm
30
+ * description.
31
+ */
32
+ auxParameters?: UAProperty<UAString[], /*z*/DataType.String>;
33
+ /**
34
+ * helpSource
35
+ * Additional information to message giving
36
+ * information on how to solve problem that caused
37
+ * the alarm.
38
+ */
39
+ helpSource?: UAProperty<UAString, /*z*/DataType.String>;
40
+ }
41
+ export interface UACncAlarm extends UADiscreteAlarm, UACncAlarm_Base {
42
+ }