node-opcua-nodeset-machine-tool 2.62.7 → 2.63.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/dist/enum_laser_state.d.ts +6 -7
- package/dist/enum_laser_state.js +6 -7
- package/dist/enum_laser_state.js.map +1 -1
- package/dist/enum_machine_operation_mode.d.ts +0 -0
- package/dist/enum_machine_operation_mode.js +0 -0
- package/dist/enum_maintenance_mode.d.ts +31 -0
- package/dist/enum_maintenance_mode.js +37 -0
- package/dist/enum_maintenance_mode.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/ua_machine_operation_monitoring.d.ts +13 -1
- package/dist/ua_machine_tool.d.ts +10 -0
- package/dist/ua_obligation.d.ts +17 -0
- package/dist/ua_obligation.js +3 -0
- package/dist/ua_obligation.js.map +1 -0
- package/dist/ua_production_job.d.ts +2 -0
- package/package.json +12 -12
- package/source/enum_laser_state.ts +6 -7
- package/source/enum_machine_operation_mode.ts +0 -0
- package/source/enum_maintenance_mode.ts +33 -0
- package/source/index.ts +2 -0
- package/source/ua_machine_operation_monitoring.ts +13 -1
- package/source/ua_machine_tool.ts +11 -1
- package/source/ua_obligation.ts +18 -0
- package/source/ua_production_job.ts +2 -0
|
@@ -10,22 +10,21 @@ export declare enum EnumLaserState {
|
|
|
10
10
|
/**
|
|
11
11
|
* The laser state cannot be indicated, for example
|
|
12
12
|
* because the device does not provide this
|
|
13
|
-
* information
|
|
14
|
-
*
|
|
15
|
-
*
|
|
13
|
+
* information or because it is currently
|
|
14
|
+
* unavailable. This can be e.g. during the startup
|
|
15
|
+
* phase.
|
|
16
16
|
*/
|
|
17
17
|
Undefined = 0,
|
|
18
18
|
/**
|
|
19
19
|
* The laser is ready and laser programs can be
|
|
20
20
|
* started. No error state is active. In this state,
|
|
21
|
-
* laser
|
|
22
|
-
* emission is prohibited.
|
|
21
|
+
* laser emission is prohibited.
|
|
23
22
|
*/
|
|
24
23
|
Ready = 1,
|
|
25
24
|
/**
|
|
26
25
|
* In this state, safety clearances have to be set
|
|
27
|
-
* for processing and emission can be activated.
|
|
28
|
-
*
|
|
26
|
+
* for processing and emission can be activated. For
|
|
27
|
+
* devices that can run programs themselves it
|
|
29
28
|
* indicates that a program is running on the laser
|
|
30
29
|
* device.
|
|
31
30
|
*/
|
package/dist/enum_laser_state.js
CHANGED
|
@@ -15,22 +15,21 @@ var EnumLaserState;
|
|
|
15
15
|
/**
|
|
16
16
|
* The laser state cannot be indicated, for example
|
|
17
17
|
* because the device does not provide this
|
|
18
|
-
* information
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* information or because it is currently
|
|
19
|
+
* unavailable. This can be e.g. during the startup
|
|
20
|
+
* phase.
|
|
21
21
|
*/
|
|
22
22
|
EnumLaserState[EnumLaserState["Undefined"] = 0] = "Undefined";
|
|
23
23
|
/**
|
|
24
24
|
* The laser is ready and laser programs can be
|
|
25
25
|
* started. No error state is active. In this state,
|
|
26
|
-
* laser
|
|
27
|
-
* emission is prohibited.
|
|
26
|
+
* laser emission is prohibited.
|
|
28
27
|
*/
|
|
29
28
|
EnumLaserState[EnumLaserState["Ready"] = 1] = "Ready";
|
|
30
29
|
/**
|
|
31
30
|
* In this state, safety clearances have to be set
|
|
32
|
-
* for processing and emission can be activated.
|
|
33
|
-
*
|
|
31
|
+
* for processing and emission can be activated. For
|
|
32
|
+
* devices that can run programs themselves it
|
|
34
33
|
* indicates that a program is running on the laser
|
|
35
34
|
* device.
|
|
36
35
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum_laser_state.js","sourceRoot":"","sources":["../source/enum_laser_state.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;GAOG;AACH,IAAY,
|
|
1
|
+
{"version":3,"file":"enum_laser_state.js","sourceRoot":"","sources":["../source/enum_laser_state.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;GAOG;AACH,IAAY,cA2BX;AA3BD,WAAY,cAAc;IACxB;;;;;;OAMG;IACH,6DAAa,CAAA;IACb;;;;OAIG;IACH,qDAAS,CAAA;IACT;;;;;;OAMG;IACH,uDAAU,CAAA;IACV;;OAEG;IACH,qDAAS,CAAA;AACX,CAAC,EA3BW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA2BzB"}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | | |
|
|
3
|
+
* |-----------|--------------------------------------------------|
|
|
4
|
+
* | namespace |http://opcfoundation.org/UA/MachineTool/ |
|
|
5
|
+
* | nodeClass |DataType |
|
|
6
|
+
* | name |10:MaintenanceMode |
|
|
7
|
+
* | isAbstract|false |
|
|
8
|
+
*/
|
|
9
|
+
export declare enum EnumMaintenanceMode {
|
|
10
|
+
/**
|
|
11
|
+
* Machine is being serviced.
|
|
12
|
+
*/
|
|
13
|
+
Service = 0,
|
|
14
|
+
/**
|
|
15
|
+
* Machine is being inspected.
|
|
16
|
+
*/
|
|
17
|
+
Inspection = 1,
|
|
18
|
+
/**
|
|
19
|
+
* Machine is being repaired.
|
|
20
|
+
*/
|
|
21
|
+
Repair = 2,
|
|
22
|
+
/**
|
|
23
|
+
* Machine is being upgraded.
|
|
24
|
+
*/
|
|
25
|
+
Upgrade = 3,
|
|
26
|
+
/**
|
|
27
|
+
* The machine maintenance mode is different from
|
|
28
|
+
* the values defined in this enumeration.
|
|
29
|
+
*/
|
|
30
|
+
Other = 4
|
|
31
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ----- this file has been automatically generated - do not edit
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.EnumMaintenanceMode = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |-----------|--------------------------------------------------|
|
|
8
|
+
* | namespace |http://opcfoundation.org/UA/MachineTool/ |
|
|
9
|
+
* | nodeClass |DataType |
|
|
10
|
+
* | name |10:MaintenanceMode |
|
|
11
|
+
* | isAbstract|false |
|
|
12
|
+
*/
|
|
13
|
+
var EnumMaintenanceMode;
|
|
14
|
+
(function (EnumMaintenanceMode) {
|
|
15
|
+
/**
|
|
16
|
+
* Machine is being serviced.
|
|
17
|
+
*/
|
|
18
|
+
EnumMaintenanceMode[EnumMaintenanceMode["Service"] = 0] = "Service";
|
|
19
|
+
/**
|
|
20
|
+
* Machine is being inspected.
|
|
21
|
+
*/
|
|
22
|
+
EnumMaintenanceMode[EnumMaintenanceMode["Inspection"] = 1] = "Inspection";
|
|
23
|
+
/**
|
|
24
|
+
* Machine is being repaired.
|
|
25
|
+
*/
|
|
26
|
+
EnumMaintenanceMode[EnumMaintenanceMode["Repair"] = 2] = "Repair";
|
|
27
|
+
/**
|
|
28
|
+
* Machine is being upgraded.
|
|
29
|
+
*/
|
|
30
|
+
EnumMaintenanceMode[EnumMaintenanceMode["Upgrade"] = 3] = "Upgrade";
|
|
31
|
+
/**
|
|
32
|
+
* The machine maintenance mode is different from
|
|
33
|
+
* the values defined in this enumeration.
|
|
34
|
+
*/
|
|
35
|
+
EnumMaintenanceMode[EnumMaintenanceMode["Other"] = 4] = "Other";
|
|
36
|
+
})(EnumMaintenanceMode = exports.EnumMaintenanceMode || (exports.EnumMaintenanceMode = {}));
|
|
37
|
+
//# sourceMappingURL=enum_maintenance_mode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enum_maintenance_mode.js","sourceRoot":"","sources":["../source/enum_maintenance_mode.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;GAOG;AACH,IAAY,mBAsBX;AAtBD,WAAY,mBAAmB;IAC7B;;OAEG;IACH,mEAAW,CAAA;IACX;;OAEG;IACH,yEAAc,CAAA;IACd;;OAEG;IACH,iEAAU,CAAA;IACV;;OAEG;IACH,mEAAW,CAAA;IACX;;;OAGG;IACH,+DAAS,CAAA;AACX,CAAC,EAtBW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAsB9B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from "./enum_channel_state";
|
|
|
3
3
|
export * from "./enum_edm_generator_state";
|
|
4
4
|
export * from "./enum_laser_state";
|
|
5
5
|
export * from "./enum_machine_operation_mode";
|
|
6
|
+
export * from "./enum_maintenance_mode";
|
|
6
7
|
export * from "./enum_part_quality";
|
|
7
8
|
export * from "./enum_process_irregularity";
|
|
8
9
|
export * from "./enum_tool_life_indication";
|
|
@@ -31,6 +32,7 @@ export * from "./ua_monitoring";
|
|
|
31
32
|
export * from "./ua_multi_tool";
|
|
32
33
|
export * from "./ua_notification";
|
|
33
34
|
export * from "./ua_notification_event";
|
|
35
|
+
export * from "./ua_obligation";
|
|
34
36
|
export * from "./ua_operator_condition_class";
|
|
35
37
|
export * from "./ua_part_load_prognosis";
|
|
36
38
|
export * from "./ua_part_missing_condition_class";
|
package/dist/index.js
CHANGED
|
@@ -15,6 +15,7 @@ __exportStar(require("./enum_channel_state"), exports);
|
|
|
15
15
|
__exportStar(require("./enum_edm_generator_state"), exports);
|
|
16
16
|
__exportStar(require("./enum_laser_state"), exports);
|
|
17
17
|
__exportStar(require("./enum_machine_operation_mode"), exports);
|
|
18
|
+
__exportStar(require("./enum_maintenance_mode"), exports);
|
|
18
19
|
__exportStar(require("./enum_part_quality"), exports);
|
|
19
20
|
__exportStar(require("./enum_process_irregularity"), exports);
|
|
20
21
|
__exportStar(require("./enum_tool_life_indication"), exports);
|
|
@@ -43,6 +44,7 @@ __exportStar(require("./ua_monitoring"), exports);
|
|
|
43
44
|
__exportStar(require("./ua_multi_tool"), exports);
|
|
44
45
|
__exportStar(require("./ua_notification"), exports);
|
|
45
46
|
__exportStar(require("./ua_notification_event"), exports);
|
|
47
|
+
__exportStar(require("./ua_obligation"), exports);
|
|
46
48
|
__exportStar(require("./ua_operator_condition_class"), exports);
|
|
47
49
|
__exportStar(require("./ua_part_load_prognosis"), exports);
|
|
48
50
|
__exportStar(require("./ua_part_missing_condition_class"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAoC;AACpC,uDAAqC;AACrC,6DAA2C;AAC3C,qDAAmC;AACnC,gEAA8C;AAC9C,sDAAoC;AACpC,8DAA4C;AAC5C,8DAA4C;AAC5C,qDAAmC;AACnC,yDAAuC;AACvC,6CAA2B;AAC3B,iDAA+B;AAC/B,wDAAsC;AACtC,0DAAwC;AACxC,gEAA8C;AAC9C,mEAAiD;AACjD,gEAA8C;AAC9C,0DAAwC;AACxC,iDAA+B;AAC/B,8DAA4C;AAC5C,wDAAsC;AACtC,oEAAkD;AAClD,oDAAkC;AAClC,mEAAiD;AACjD,6DAA2C;AAC3C,iEAA+C;AAC/C,2EAAyD;AACzD,mEAAiD;AACjD,gDAA8B;AAC9B,kDAAgC;AAChC,kDAAgC;AAChC,oDAAkC;AAClC,0DAAwC;AACxC,gEAA8C;AAC9C,2DAAyC;AACzC,oEAAkD;AAClD,6DAA2C;AAC3C,oEAAkD;AAClD,4EAA0D;AAC1D,kDAAgC;AAChC,iEAA+C;AAC/C,sDAAoC;AACpC,oEAAkD;AAClD,2DAAyC;AACzC,oEAAkD;AAClD,uEAAqD;AACrD,uDAAqC;AACrC,2DAAyC;AACzC,qEAAmD;AACnD,wEAAsD;AACtD,0DAAwC;AACxC,wEAAsD;AACtD,2EAAyD;AACzD,gEAA8C;AAC9C,6DAA2C;AAC3C,iDAA+B;AAC/B,sDAAoC;AACpC,+DAA6C;AAC7C,0DAAwC;AACxC,4CAA0B;AAC1B,qEAAmD;AACnD,mEAAiD;AACjD,6DAA2C;AAC3C,iDAA+B;AAC/B,iDAA+B;AAC/B,2DAAyC;AACzC,6DAA2C;AAC3C,gEAA8C;AAC9C,+DAA6C;AAC7C,+DAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAoC;AACpC,uDAAqC;AACrC,6DAA2C;AAC3C,qDAAmC;AACnC,gEAA8C;AAC9C,0DAAwC;AACxC,sDAAoC;AACpC,8DAA4C;AAC5C,8DAA4C;AAC5C,qDAAmC;AACnC,yDAAuC;AACvC,6CAA2B;AAC3B,iDAA+B;AAC/B,wDAAsC;AACtC,0DAAwC;AACxC,gEAA8C;AAC9C,mEAAiD;AACjD,gEAA8C;AAC9C,0DAAwC;AACxC,iDAA+B;AAC/B,8DAA4C;AAC5C,wDAAsC;AACtC,oEAAkD;AAClD,oDAAkC;AAClC,mEAAiD;AACjD,6DAA2C;AAC3C,iEAA+C;AAC/C,2EAAyD;AACzD,mEAAiD;AACjD,gDAA8B;AAC9B,kDAAgC;AAChC,kDAAgC;AAChC,oDAAkC;AAClC,0DAAwC;AACxC,kDAAgC;AAChC,gEAA8C;AAC9C,2DAAyC;AACzC,oEAAkD;AAClD,6DAA2C;AAC3C,oEAAkD;AAClD,4EAA0D;AAC1D,kDAAgC;AAChC,iEAA+C;AAC/C,sDAAoC;AACpC,oEAAkD;AAClD,2DAAyC;AACzC,oEAAkD;AAClD,uEAAqD;AACrD,uDAAqC;AACrC,2DAAyC;AACzC,qEAAmD;AACnD,wEAAsD;AACtD,0DAAwC;AACxC,wEAAsD;AACtD,2EAAyD;AACzD,gEAA8C;AAC9C,6DAA2C;AAC3C,iDAA+B;AAC/B,sDAAoC;AACpC,+DAA6C;AAC7C,0DAAwC;AACxC,4CAA0B;AAC1B,qEAAmD;AACnD,mEAAiD;AACjD,6DAA2C;AAC3C,iDAA+B;AAC/B,iDAA+B;AAC/B,2DAAyC;AACzC,6DAA2C;AAC3C,gEAA8C;AAC9C,+DAA6C;AAC7C,+DAA6C"}
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { UAObject } from "node-opcua-address-space-base";
|
|
2
2
|
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { LocalizedText } from "node-opcua-data-model";
|
|
3
4
|
import { UInt32 } from "node-opcua-basic-types";
|
|
4
|
-
import {
|
|
5
|
+
import { UAFiniteStateVariable } from "node-opcua-nodeset-ua/source/ua_finite_state_variable";
|
|
5
6
|
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
7
|
+
import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range";
|
|
8
|
+
import { UAMachineryOperationModeStateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_mode_state_machine";
|
|
9
|
+
import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine";
|
|
10
|
+
import { UAObligation } from "./ua_obligation";
|
|
11
|
+
export interface UAMachineOperationMonitoring_machineryOperationMode extends Omit<UAMachineryOperationModeStateMachine, "currentState"> {
|
|
12
|
+
currentState: UAFiniteStateVariable<LocalizedText>;
|
|
13
|
+
maintenanceMode?: UABaseDataVariable<any, any>;
|
|
14
|
+
}
|
|
6
15
|
/**
|
|
7
16
|
* | | |
|
|
8
17
|
* |----------------|--------------------------------------------------|
|
|
@@ -14,6 +23,9 @@ import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_va
|
|
|
14
23
|
export interface UAMachineOperationMonitoring_Base {
|
|
15
24
|
feedOverride?: UAAnalogUnitRange<number, /*z*/ DataType.Double>;
|
|
16
25
|
isWarmUp?: UABaseDataVariable<boolean, /*z*/ DataType.Boolean>;
|
|
26
|
+
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
27
|
+
machineryOperationMode?: UAMachineOperationMonitoring_machineryOperationMode;
|
|
28
|
+
obligation?: UAObligation;
|
|
17
29
|
operationMode: UABaseDataVariable<any, any>;
|
|
18
30
|
powerOnDuration?: UABaseDataVariable<UInt32, /*z*/ DataType.UInt32>;
|
|
19
31
|
}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { UAObject } from "node-opcua-address-space-base";
|
|
2
|
+
import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder";
|
|
3
|
+
import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine";
|
|
4
|
+
import { UAMachineryOperationModeStateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_mode_state_machine";
|
|
5
|
+
import { UAMachineComponents } from "node-opcua-nodeset-machinery/source/ua_machine_components";
|
|
2
6
|
import { UAEquipment } from "./ua_equipment";
|
|
3
7
|
import { UAMachineToolIdentification } from "./ua_machine_tool_identification";
|
|
4
8
|
import { UAMonitoring } from "./ua_monitoring";
|
|
5
9
|
import { UANotification } from "./ua_notification";
|
|
6
10
|
import { UAProduction } from "./ua_production";
|
|
11
|
+
export interface UAMachineTool_machineryBuildingBlocks extends UAFolder {
|
|
12
|
+
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
13
|
+
machineryOperationMode?: UAMachineryOperationModeStateMachine;
|
|
14
|
+
}
|
|
7
15
|
/**
|
|
8
16
|
* | | |
|
|
9
17
|
* |----------------|--------------------------------------------------|
|
|
@@ -13,8 +21,10 @@ import { UAProduction } from "./ua_production";
|
|
|
13
21
|
* |isAbstract |false |
|
|
14
22
|
*/
|
|
15
23
|
export interface UAMachineTool_Base {
|
|
24
|
+
components?: UAMachineComponents;
|
|
16
25
|
equipment: UAEquipment;
|
|
17
26
|
identification: UAMachineToolIdentification;
|
|
27
|
+
machineryBuildingBlocks?: UAMachineTool_machineryBuildingBlocks;
|
|
18
28
|
monitoring: UAMonitoring;
|
|
19
29
|
notification: UANotification;
|
|
20
30
|
production: UAProduction;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UAObject } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
4
|
+
/**
|
|
5
|
+
* | | |
|
|
6
|
+
* |----------------|--------------------------------------------------|
|
|
7
|
+
* |namespace |http://opcfoundation.org/UA/MachineTool/ |
|
|
8
|
+
* |nodeClass |ObjectType |
|
|
9
|
+
* |typedDefinition |10:ObligationType ns=10;i=1002 |
|
|
10
|
+
* |isAbstract |false |
|
|
11
|
+
*/
|
|
12
|
+
export interface UAObligation_Base {
|
|
13
|
+
endUserObligated: UABaseDataVariable<boolean, /*z*/ DataType.Boolean>;
|
|
14
|
+
machineBuilderObligated: UABaseDataVariable<boolean, /*z*/ DataType.Boolean>;
|
|
15
|
+
}
|
|
16
|
+
export interface UAObligation extends UAObject, UAObligation_Base {
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_obligation.js","sourceRoot":"","sources":["../source/ua_obligation.ts"],"names":[],"mappings":""}
|
|
@@ -20,7 +20,9 @@ export interface UAProductionJob_Base {
|
|
|
20
20
|
identifier: UAProperty<UAString, /*z*/ DataType.String>;
|
|
21
21
|
numberInList: UAProperty<UInt16, /*z*/ DataType.UInt16>;
|
|
22
22
|
orderIdentifier?: UAProperty<UAString, /*z*/ DataType.String>;
|
|
23
|
+
partsCompleted?: UABaseDataVariable<UInt32, /*z*/ DataType.UInt32>;
|
|
23
24
|
partSets?: UAObject;
|
|
25
|
+
partsGood?: UABaseDataVariable<UInt32, /*z*/ DataType.UInt32>;
|
|
24
26
|
productionPrograms: UAOrderedList;
|
|
25
27
|
runsCompleted: UABaseDataVariable<UInt32, /*z*/ DataType.UInt32>;
|
|
26
28
|
runsPlanned: UAProductionJob_runsPlanned<UInt32, /*z*/ DataType.UInt32>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-nodeset-machine-tool",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.63.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
"author": "etienne.rossignon@sterfive.com",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"node-opcua-address-space-base": "2.
|
|
14
|
-
"node-opcua-basic-types": "2.
|
|
15
|
-
"node-opcua-data-access": "2.
|
|
16
|
-
"node-opcua-data-model": "2.
|
|
17
|
-
"node-opcua-nodeid": "2.
|
|
18
|
-
"node-opcua-nodeset-ia": "2.
|
|
19
|
-
"node-opcua-nodeset-machinery": "2.
|
|
20
|
-
"node-opcua-nodeset-ua": "2.
|
|
21
|
-
"node-opcua-status-code": "2.
|
|
22
|
-
"node-opcua-variant": "2.
|
|
13
|
+
"node-opcua-address-space-base": "2.63.0",
|
|
14
|
+
"node-opcua-basic-types": "2.63.0",
|
|
15
|
+
"node-opcua-data-access": "2.63.0",
|
|
16
|
+
"node-opcua-data-model": "2.63.0",
|
|
17
|
+
"node-opcua-nodeid": "2.63.0",
|
|
18
|
+
"node-opcua-nodeset-ia": "2.63.0",
|
|
19
|
+
"node-opcua-nodeset-machinery": "2.63.0",
|
|
20
|
+
"node-opcua-nodeset-ua": "2.63.0",
|
|
21
|
+
"node-opcua-status-code": "2.63.0",
|
|
22
|
+
"node-opcua-variant": "2.63.0"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "df4335584455009c6caa21ed6a2fa42caa9104ed"
|
|
25
25
|
}
|
|
@@ -12,22 +12,21 @@ export enum EnumLaserState {
|
|
|
12
12
|
/**
|
|
13
13
|
* The laser state cannot be indicated, for example
|
|
14
14
|
* because the device does not provide this
|
|
15
|
-
* information
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* information or because it is currently
|
|
16
|
+
* unavailable. This can be e.g. during the startup
|
|
17
|
+
* phase.
|
|
18
18
|
*/
|
|
19
19
|
Undefined = 0,
|
|
20
20
|
/**
|
|
21
21
|
* The laser is ready and laser programs can be
|
|
22
22
|
* started. No error state is active. In this state,
|
|
23
|
-
* laser
|
|
24
|
-
* emission is prohibited.
|
|
23
|
+
* laser emission is prohibited.
|
|
25
24
|
*/
|
|
26
25
|
Ready = 1,
|
|
27
26
|
/**
|
|
28
27
|
* In this state, safety clearances have to be set
|
|
29
|
-
* for processing and emission can be activated.
|
|
30
|
-
*
|
|
28
|
+
* for processing and emission can be activated. For
|
|
29
|
+
* devices that can run programs themselves it
|
|
31
30
|
* indicates that a program is running on the laser
|
|
32
31
|
* device.
|
|
33
32
|
*/
|
|
Binary file
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* | | |
|
|
5
|
+
* |-----------|--------------------------------------------------|
|
|
6
|
+
* | namespace |http://opcfoundation.org/UA/MachineTool/ |
|
|
7
|
+
* | nodeClass |DataType |
|
|
8
|
+
* | name |10:MaintenanceMode |
|
|
9
|
+
* | isAbstract|false |
|
|
10
|
+
*/
|
|
11
|
+
export enum EnumMaintenanceMode {
|
|
12
|
+
/**
|
|
13
|
+
* Machine is being serviced.
|
|
14
|
+
*/
|
|
15
|
+
Service = 0,
|
|
16
|
+
/**
|
|
17
|
+
* Machine is being inspected.
|
|
18
|
+
*/
|
|
19
|
+
Inspection = 1,
|
|
20
|
+
/**
|
|
21
|
+
* Machine is being repaired.
|
|
22
|
+
*/
|
|
23
|
+
Repair = 2,
|
|
24
|
+
/**
|
|
25
|
+
* Machine is being upgraded.
|
|
26
|
+
*/
|
|
27
|
+
Upgrade = 3,
|
|
28
|
+
/**
|
|
29
|
+
* The machine maintenance mode is different from
|
|
30
|
+
* the values defined in this enumeration.
|
|
31
|
+
*/
|
|
32
|
+
Other = 4,
|
|
33
|
+
}
|
package/source/index.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from "./enum_channel_state";
|
|
|
3
3
|
export * from "./enum_edm_generator_state";
|
|
4
4
|
export * from "./enum_laser_state";
|
|
5
5
|
export * from "./enum_machine_operation_mode";
|
|
6
|
+
export * from "./enum_maintenance_mode";
|
|
6
7
|
export * from "./enum_part_quality";
|
|
7
8
|
export * from "./enum_process_irregularity";
|
|
8
9
|
export * from "./enum_tool_life_indication";
|
|
@@ -31,6 +32,7 @@ export * from "./ua_monitoring";
|
|
|
31
32
|
export * from "./ua_multi_tool";
|
|
32
33
|
export * from "./ua_notification";
|
|
33
34
|
export * from "./ua_notification_event";
|
|
35
|
+
export * from "./ua_obligation";
|
|
34
36
|
export * from "./ua_operator_condition_class";
|
|
35
37
|
export * from "./ua_part_load_prognosis";
|
|
36
38
|
export * from "./ua_part_missing_condition_class";
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
// ----- this file has been automatically generated - do not edit
|
|
2
2
|
import { UAObject } from "node-opcua-address-space-base"
|
|
3
3
|
import { DataType, Variant } from "node-opcua-variant"
|
|
4
|
+
import { LocalizedText, QualifiedName } from "node-opcua-data-model"
|
|
4
5
|
import { EUInformation } from "node-opcua-data-access"
|
|
5
6
|
import { UInt32 } from "node-opcua-basic-types"
|
|
6
7
|
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range"
|
|
7
|
-
import {
|
|
8
|
+
import { UAFiniteStateVariable } from "node-opcua-nodeset-ua/source/ua_finite_state_variable"
|
|
8
9
|
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
|
|
10
|
+
import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range"
|
|
11
|
+
import { UAMachineryOperationModeStateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_mode_state_machine"
|
|
12
|
+
import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine"
|
|
13
|
+
import { UAObligation } from "./ua_obligation"
|
|
14
|
+
export interface UAMachineOperationMonitoring_machineryOperationMode extends Omit<UAMachineryOperationModeStateMachine, "currentState"> { // Object
|
|
15
|
+
currentState: UAFiniteStateVariable<LocalizedText>;
|
|
16
|
+
maintenanceMode?: UABaseDataVariable<any, any>;
|
|
17
|
+
}
|
|
9
18
|
/**
|
|
10
19
|
* | | |
|
|
11
20
|
* |----------------|--------------------------------------------------|
|
|
@@ -17,6 +26,9 @@ import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_va
|
|
|
17
26
|
export interface UAMachineOperationMonitoring_Base {
|
|
18
27
|
feedOverride?: UAAnalogUnitRange<number, /*z*/DataType.Double>;
|
|
19
28
|
isWarmUp?: UABaseDataVariable<boolean, /*z*/DataType.Boolean>;
|
|
29
|
+
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
30
|
+
machineryOperationMode?: UAMachineOperationMonitoring_machineryOperationMode;
|
|
31
|
+
obligation?: UAObligation;
|
|
20
32
|
operationMode: UABaseDataVariable<any, any>;
|
|
21
33
|
powerOnDuration?: UABaseDataVariable<UInt32, /*z*/DataType.UInt32>;
|
|
22
34
|
}
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
// ----- this file has been automatically generated - do not edit
|
|
2
2
|
import { UAObject } from "node-opcua-address-space-base"
|
|
3
3
|
import { DataType, Variant } from "node-opcua-variant"
|
|
4
|
-
import { LocalizedText } from "node-opcua-data-model"
|
|
4
|
+
import { LocalizedText, QualifiedName } from "node-opcua-data-model"
|
|
5
5
|
import { NodeId } from "node-opcua-nodeid"
|
|
6
6
|
import { UInt32, UInt16, UAString } from "node-opcua-basic-types"
|
|
7
7
|
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range"
|
|
8
|
+
import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder"
|
|
9
|
+
import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine"
|
|
10
|
+
import { UAMachineryOperationModeStateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_mode_state_machine"
|
|
11
|
+
import { UAMachineComponents } from "node-opcua-nodeset-machinery/source/ua_machine_components"
|
|
8
12
|
import { UAEquipment } from "./ua_equipment"
|
|
9
13
|
import { UAMachineToolIdentification } from "./ua_machine_tool_identification"
|
|
10
14
|
import { UAMonitoring } from "./ua_monitoring"
|
|
11
15
|
import { UANotification } from "./ua_notification"
|
|
12
16
|
import { UAProduction } from "./ua_production"
|
|
17
|
+
export interface UAMachineTool_machineryBuildingBlocks extends UAFolder { // Object
|
|
18
|
+
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
19
|
+
machineryOperationMode?: UAMachineryOperationModeStateMachine;
|
|
20
|
+
}
|
|
13
21
|
/**
|
|
14
22
|
* | | |
|
|
15
23
|
* |----------------|--------------------------------------------------|
|
|
@@ -19,8 +27,10 @@ import { UAProduction } from "./ua_production"
|
|
|
19
27
|
* |isAbstract |false |
|
|
20
28
|
*/
|
|
21
29
|
export interface UAMachineTool_Base {
|
|
30
|
+
components?: UAMachineComponents;
|
|
22
31
|
equipment: UAEquipment;
|
|
23
32
|
identification: UAMachineToolIdentification;
|
|
33
|
+
machineryBuildingBlocks?: UAMachineTool_machineryBuildingBlocks;
|
|
24
34
|
monitoring: UAMonitoring;
|
|
25
35
|
notification: UANotification;
|
|
26
36
|
production: UAProduction;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAObject } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |----------------|--------------------------------------------------|
|
|
8
|
+
* |namespace |http://opcfoundation.org/UA/MachineTool/ |
|
|
9
|
+
* |nodeClass |ObjectType |
|
|
10
|
+
* |typedDefinition |10:ObligationType ns=10;i=1002 |
|
|
11
|
+
* |isAbstract |false |
|
|
12
|
+
*/
|
|
13
|
+
export interface UAObligation_Base {
|
|
14
|
+
endUserObligated: UABaseDataVariable<boolean, /*z*/DataType.Boolean>;
|
|
15
|
+
machineBuilderObligated: UABaseDataVariable<boolean, /*z*/DataType.Boolean>;
|
|
16
|
+
}
|
|
17
|
+
export interface UAObligation extends UAObject, UAObligation_Base {
|
|
18
|
+
}
|
|
@@ -21,7 +21,9 @@ export interface UAProductionJob_Base {
|
|
|
21
21
|
identifier: UAProperty<UAString, /*z*/DataType.String>;
|
|
22
22
|
numberInList: UAProperty<UInt16, /*z*/DataType.UInt16>;
|
|
23
23
|
orderIdentifier?: UAProperty<UAString, /*z*/DataType.String>;
|
|
24
|
+
partsCompleted?: UABaseDataVariable<UInt32, /*z*/DataType.UInt32>;
|
|
24
25
|
partSets?: UAObject;
|
|
26
|
+
partsGood?: UABaseDataVariable<UInt32, /*z*/DataType.UInt32>;
|
|
25
27
|
productionPrograms: UAOrderedList;
|
|
26
28
|
runsCompleted: UABaseDataVariable<UInt32, /*z*/DataType.UInt32>;
|
|
27
29
|
runsPlanned: UAProductionJob_runsPlanned<UInt32, /*z*/DataType.UInt32>;
|