node-opcua-nodeset-machine-tool 2.133.0 → 2.137.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 (45) hide show
  1. package/LICENSE +1 -0
  2. package/dist/enum_channel_mode.d.ts +1 -1
  3. package/dist/enum_channel_mode.js +1 -1
  4. package/dist/enum_channel_state.d.ts +1 -1
  5. package/dist/enum_channel_state.js +1 -1
  6. package/dist/enum_edm_generator_state.d.ts +1 -1
  7. package/dist/enum_edm_generator_state.js +1 -1
  8. package/dist/enum_laser_state.d.ts +1 -1
  9. package/dist/enum_laser_state.js +1 -1
  10. package/dist/enum_machine_operation_mode.d.ts +1 -1
  11. package/dist/enum_machine_operation_mode.js +1 -1
  12. package/dist/enum_part_quality.d.ts +1 -1
  13. package/dist/enum_part_quality.js +1 -1
  14. package/dist/enum_process_irregularity.d.ts +1 -1
  15. package/dist/enum_process_irregularity.js +1 -1
  16. package/dist/enum_tool_life_indication.d.ts +1 -1
  17. package/dist/enum_tool_life_indication.js +1 -1
  18. package/dist/enum_tool_locked.d.ts +1 -1
  19. package/dist/enum_tool_locked.js +1 -1
  20. package/dist/enum_tool_management.d.ts +1 -1
  21. package/dist/enum_tool_management.js +1 -1
  22. package/dist/ua_machine_operation_monitoring.d.ts +30 -3
  23. package/dist/ua_machine_tool.d.ts +14 -1
  24. package/dist/ua_production_part.d.ts +2 -18
  25. package/dist/ua_production_state_machine.d.ts +4 -4
  26. package/dist/ua_tool_life.d.ts +2 -1
  27. package/package.json +12 -10
  28. package/source/enum_channel_mode.ts +1 -1
  29. package/source/enum_channel_state.ts +1 -1
  30. package/source/enum_edm_generator_state.ts +1 -1
  31. package/source/enum_laser_state.ts +1 -1
  32. package/source/enum_machine_operation_mode.ts +1 -1
  33. package/source/enum_part_quality.ts +1 -1
  34. package/source/enum_process_irregularity.ts +1 -1
  35. package/source/enum_tool_life_indication.ts +1 -1
  36. package/source/enum_tool_locked.ts +1 -1
  37. package/source/enum_tool_management.ts +1 -1
  38. package/source/ua_channel_monitoring.ts +1 -1
  39. package/source/ua_machine_operation_monitoring.ts +30 -3
  40. package/source/ua_machine_tool.ts +20 -3
  41. package/source/ua_multi_tool.ts +1 -1
  42. package/source/ua_production_job_list.ts +1 -1
  43. package/source/ua_production_part.ts +2 -18
  44. package/source/ua_production_state_machine.ts +4 -4
  45. package/source/ua_tool_life.ts +3 -2
package/LICENSE CHANGED
@@ -1,3 +1,4 @@
1
+
1
2
  The MIT License (MIT)
2
3
 
3
4
  Copyright (c) 2022-2024 Sterfive SAS - 833264583 RCS ORLEANS - France (https://www.sterfive.com)
@@ -3,7 +3,7 @@
3
3
  * |-----------|------------------------------------------------------------|
4
4
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
5
5
  * | nodeClass |DataType |
6
- * | name |10:ChannelMode |
6
+ * | name |ChannelMode |
7
7
  * | isAbstract|false |
8
8
  */
9
9
  export declare enum EnumChannelMode {
@@ -7,7 +7,7 @@ exports.EnumChannelMode = void 0;
7
7
  * |-----------|------------------------------------------------------------|
8
8
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
9
9
  * | nodeClass |DataType |
10
- * | name |10:ChannelMode |
10
+ * | name |ChannelMode |
11
11
  * | isAbstract|false |
12
12
  */
13
13
  var EnumChannelMode;
@@ -3,7 +3,7 @@
3
3
  * |-----------|------------------------------------------------------------|
4
4
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
5
5
  * | nodeClass |DataType |
6
- * | name |10:ChannelState |
6
+ * | name |ChannelState |
7
7
  * | isAbstract|false |
8
8
  */
9
9
  export declare enum EnumChannelState {
@@ -7,7 +7,7 @@ exports.EnumChannelState = void 0;
7
7
  * |-----------|------------------------------------------------------------|
8
8
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
9
9
  * | nodeClass |DataType |
10
- * | name |10:ChannelState |
10
+ * | name |ChannelState |
11
11
  * | isAbstract|false |
12
12
  */
13
13
  var EnumChannelState;
@@ -3,7 +3,7 @@
3
3
  * |-----------|------------------------------------------------------------|
4
4
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
5
5
  * | nodeClass |DataType |
6
- * | name |10:EDMGeneratorState |
6
+ * | name |EDMGeneratorState |
7
7
  * | isAbstract|false |
8
8
  */
9
9
  export declare enum EnumEDMGeneratorState {
@@ -7,7 +7,7 @@ exports.EnumEDMGeneratorState = void 0;
7
7
  * |-----------|------------------------------------------------------------|
8
8
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
9
9
  * | nodeClass |DataType |
10
- * | name |10:EDMGeneratorState |
10
+ * | name |EDMGeneratorState |
11
11
  * | isAbstract|false |
12
12
  */
13
13
  var EnumEDMGeneratorState;
@@ -3,7 +3,7 @@
3
3
  * |-----------|------------------------------------------------------------|
4
4
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
5
5
  * | nodeClass |DataType |
6
- * | name |10:LaserState |
6
+ * | name |LaserState |
7
7
  * | isAbstract|false |
8
8
  */
9
9
  export declare enum EnumLaserState {
@@ -7,7 +7,7 @@ exports.EnumLaserState = void 0;
7
7
  * |-----------|------------------------------------------------------------|
8
8
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
9
9
  * | nodeClass |DataType |
10
- * | name |10:LaserState |
10
+ * | name |LaserState |
11
11
  * | isAbstract|false |
12
12
  */
13
13
  var EnumLaserState;
@@ -3,7 +3,7 @@
3
3
  * |-----------|------------------------------------------------------------|
4
4
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
5
5
  * | nodeClass |DataType |
6
- * | name |10:MachineOperationMode |
6
+ * | name |MachineOperationMode |
7
7
  * | isAbstract|false |
8
8
  */
9
9
  export declare enum EnumMachineOperationMode {
@@ -7,7 +7,7 @@ exports.EnumMachineOperationMode = void 0;
7
7
  * |-----------|------------------------------------------------------------|
8
8
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
9
9
  * | nodeClass |DataType |
10
- * | name |10:MachineOperationMode |
10
+ * | name |MachineOperationMode |
11
11
  * | isAbstract|false |
12
12
  */
13
13
  var EnumMachineOperationMode;
@@ -3,7 +3,7 @@
3
3
  * |-----------|------------------------------------------------------------|
4
4
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
5
5
  * | nodeClass |DataType |
6
- * | name |10:PartQuality |
6
+ * | name |PartQuality |
7
7
  * | isAbstract|false |
8
8
  */
9
9
  export declare enum EnumPartQuality {
@@ -7,7 +7,7 @@ exports.EnumPartQuality = void 0;
7
7
  * |-----------|------------------------------------------------------------|
8
8
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
9
9
  * | nodeClass |DataType |
10
- * | name |10:PartQuality |
10
+ * | name |PartQuality |
11
11
  * | isAbstract|false |
12
12
  */
13
13
  var EnumPartQuality;
@@ -3,7 +3,7 @@
3
3
  * |-----------|------------------------------------------------------------|
4
4
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
5
5
  * | nodeClass |DataType |
6
- * | name |10:ProcessIrregularity |
6
+ * | name |ProcessIrregularity |
7
7
  * | isAbstract|false |
8
8
  */
9
9
  export declare enum EnumProcessIrregularity {
@@ -7,7 +7,7 @@ exports.EnumProcessIrregularity = void 0;
7
7
  * |-----------|------------------------------------------------------------|
8
8
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
9
9
  * | nodeClass |DataType |
10
- * | name |10:ProcessIrregularity |
10
+ * | name |ProcessIrregularity |
11
11
  * | isAbstract|false |
12
12
  */
13
13
  var EnumProcessIrregularity;
@@ -3,7 +3,7 @@
3
3
  * |-----------|------------------------------------------------------------|
4
4
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
5
5
  * | nodeClass |DataType |
6
- * | name |10:ToolLifeIndication |
6
+ * | name |ToolLifeIndication |
7
7
  * | isAbstract|false |
8
8
  */
9
9
  export declare enum EnumToolLifeIndication {
@@ -7,7 +7,7 @@ exports.EnumToolLifeIndication = void 0;
7
7
  * |-----------|------------------------------------------------------------|
8
8
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
9
9
  * | nodeClass |DataType |
10
- * | name |10:ToolLifeIndication |
10
+ * | name |ToolLifeIndication |
11
11
  * | isAbstract|false |
12
12
  */
13
13
  var EnumToolLifeIndication;
@@ -3,7 +3,7 @@
3
3
  * |-----------|------------------------------------------------------------|
4
4
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
5
5
  * | nodeClass |DataType |
6
- * | name |10:ToolLocked |
6
+ * | name |ToolLocked |
7
7
  * | isAbstract|false |
8
8
  */
9
9
  export declare enum EnumToolLocked {
@@ -7,7 +7,7 @@ exports.EnumToolLocked = void 0;
7
7
  * |-----------|------------------------------------------------------------|
8
8
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
9
9
  * | nodeClass |DataType |
10
- * | name |10:ToolLocked |
10
+ * | name |ToolLocked |
11
11
  * | isAbstract|false |
12
12
  */
13
13
  var EnumToolLocked;
@@ -3,7 +3,7 @@
3
3
  * |-----------|------------------------------------------------------------|
4
4
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
5
5
  * | nodeClass |DataType |
6
- * | name |10:ToolManagement |
6
+ * | name |ToolManagement |
7
7
  * | isAbstract|false |
8
8
  */
9
9
  export declare enum EnumToolManagement {
@@ -7,7 +7,7 @@ exports.EnumToolManagement = void 0;
7
7
  * |-----------|------------------------------------------------------------|
8
8
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
9
9
  * | nodeClass |DataType |
10
- * | name |10:ToolManagement |
10
+ * | name |ToolManagement |
11
11
  * | isAbstract|false |
12
12
  */
13
13
  var EnumToolManagement;
@@ -1,12 +1,38 @@
1
- import { UAObject } from "node-opcua-address-space-base";
1
+ import { UAObject, UAProperty } from "node-opcua-address-space-base";
2
2
  import { DataType } from "node-opcua-variant";
3
- import { UInt32 } from "node-opcua-basic-types";
4
- import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range";
3
+ import { UInt64, UInt32 } from "node-opcua-basic-types";
5
4
  import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
5
+ import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range";
6
+ import { UAMachineryOperationCounter } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_counter";
6
7
  import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine";
7
8
  import { EnumMachineOperationMode } from "./enum_machine_operation_mode";
8
9
  import { UAMachineOperationModeStateMachine } from "./ua_machine_operation_mode_state_machine";
9
10
  import { UAObligation } from "./ua_obligation";
11
+ export interface UAMachineOperationMonitoring_operationCounters extends Omit<UAMachineryOperationCounter, "powerOnDuration"> {
12
+ partsProducedInLifetime?: UABaseDataVariable<UInt64, DataType.UInt64>;
13
+ /**
14
+ * powerOnDuration
15
+ * PowerOnDuration is the duration the MachineryItem
16
+ * has been powered. The main purpose is to
17
+ * determine the time in which degradation of the
18
+ * MachineryItem occurred. The details, when the
19
+ * time is counted, is implementation-specific.
20
+ * Companion specifications might define specific
21
+ * rules. Typically, when the MachineryItem has
22
+ * supply voltage and the main CPU is running, the
23
+ * time is counted. This may include any kind of
24
+ * sleep mode, but may not include pure Wake on LAN.
25
+ * This value shall only increase during the
26
+ * lifetime of the MachineryItem and shall not be
27
+ * reset when it is restarted. The PowerOnDuration
28
+ * is provided as Duration, i.e., in milliseconds or
29
+ * even fractions of a millisecond. However, the
30
+ * Server is not expected to update the value in
31
+ * such a high frequency, but maybe once a minute or
32
+ * once an hour, depending on the application.
33
+ */
34
+ powerOnDuration: UAProperty<number, DataType.Double>;
35
+ }
10
36
  /**
11
37
  * | | |
12
38
  * |----------------|------------------------------------------------------------|
@@ -21,6 +47,7 @@ export interface UAMachineOperationMonitoring_Base {
21
47
  machineryItemState?: UAMachineryItemState_StateMachine;
22
48
  machineryOperationMode?: UAMachineOperationModeStateMachine;
23
49
  obligation?: UAObligation;
50
+ operationCounters?: UAMachineOperationMonitoring_operationCounters;
24
51
  operationMode: UABaseDataVariable<EnumMachineOperationMode, DataType.Int32>;
25
52
  powerOnDuration?: UABaseDataVariable<UInt32, DataType.UInt32>;
26
53
  }
@@ -1,6 +1,9 @@
1
- import { UAObject } from "node-opcua-address-space-base";
1
+ import { UAObject, UAMethod } from "node-opcua-address-space-base";
2
+ import { UAFileDirectory } from "node-opcua-nodeset-ua/source/ua_file_directory";
2
3
  import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder";
4
+ import { UAJobManagement } from "node-opcua-nodeset-machinery-jobs/source/ua_job_management";
3
5
  import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine";
6
+ import { UAMachineryOperationCounter } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_counter";
4
7
  import { UAMachineComponents } from "node-opcua-nodeset-machinery/source/ua_machine_components";
5
8
  import { UAMachineOperationModeStateMachine } from "./ua_machine_operation_mode_state_machine";
6
9
  import { UAEquipment } from "./ua_equipment";
@@ -8,9 +11,18 @@ import { UAMachineToolIdentification } from "./ua_machine_tool_identification";
8
11
  import { UAMonitoring } from "./ua_monitoring";
9
12
  import { UANotification } from "./ua_notification";
10
13
  import { UAProduction } from "./ua_production";
14
+ export interface UAMachineTool_fileSystem extends Omit<UAFileDirectory, "createDirectory" | "createFile" | "delete" | "moveOrCopy"> {
15
+ createDirectory: UAMethod;
16
+ createFile: UAMethod;
17
+ delete: UAMethod;
18
+ moveOrCopy: UAMethod;
19
+ workMasters?: UAFileDirectory;
20
+ }
11
21
  export interface UAMachineTool_machineryBuildingBlocks extends UAFolder {
22
+ jobManagement?: UAJobManagement;
12
23
  machineryItemState?: UAMachineryItemState_StateMachine;
13
24
  machineryOperationMode?: UAMachineOperationModeStateMachine;
25
+ operationCounters?: UAMachineryOperationCounter;
14
26
  }
15
27
  /**
16
28
  * | | |
@@ -23,6 +35,7 @@ export interface UAMachineTool_machineryBuildingBlocks extends UAFolder {
23
35
  export interface UAMachineTool_Base {
24
36
  components?: UAMachineComponents;
25
37
  equipment: UAEquipment;
38
+ fileSystem?: UAMachineTool_fileSystem;
26
39
  identification: UAMachineToolIdentification;
27
40
  machineryBuildingBlocks?: UAMachineTool_machineryBuildingBlocks;
28
41
  monitoring: UAMonitoring;
@@ -1,26 +1,10 @@
1
1
  import { UAObject, UAProperty } from "node-opcua-address-space-base";
2
2
  import { DataType } from "node-opcua-variant";
3
- import { LocalizedText } from "node-opcua-data-model";
4
3
  import { UAString } from "node-opcua-basic-types";
5
- import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition";
6
- import { UAFiniteStateVariable } from "node-opcua-nodeset-ua/source/ua_finite_state_variable";
7
4
  import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
8
- import { UAProductionPartStateMachine } from "./ua_production_part_state_machine";
9
5
  import { EnumPartQuality } from "./enum_part_quality";
10
6
  import { EnumProcessIrregularity } from "./enum_process_irregularity";
11
- export interface UAProductionPart_state extends Omit<UAProductionPartStateMachine, "abortedToInitializing" | "currentState" | "endedToInitializing" | "initializingToAborted" | "initializingToRunning" | "interruptedToAborted" | "interruptedToRunning" | "runningToAborted" | "runningToEnded" | "runningToInterrupted" | "runningToRunning"> {
12
- abortedToInitializing: UATransition;
13
- currentState: UAFiniteStateVariable<LocalizedText>;
14
- endedToInitializing: UATransition;
15
- initializingToAborted: UATransition;
16
- initializingToRunning: UATransition;
17
- interruptedToAborted: UATransition;
18
- interruptedToRunning: UATransition;
19
- runningToAborted: UATransition;
20
- runningToEnded: UATransition;
21
- runningToInterrupted: UATransition;
22
- runningToRunning: UATransition;
23
- }
7
+ import { UAProductionPartStateMachine } from "./ua_production_part_state_machine";
24
8
  /**
25
9
  * | | |
26
10
  * |----------------|------------------------------------------------------------|
@@ -35,7 +19,7 @@ export interface UAProductionPart_Base {
35
19
  name: UAProperty<UAString, DataType.String>;
36
20
  partQuality: UABaseDataVariable<EnumPartQuality, DataType.Int32>;
37
21
  processIrregularity: UABaseDataVariable<EnumProcessIrregularity, DataType.Int32>;
38
- state?: UAProductionPart_state;
22
+ state?: UAProductionPartStateMachine;
39
23
  }
40
24
  export interface UAProductionPart extends UAObject, UAProductionPart_Base {
41
25
  }
@@ -3,17 +3,17 @@ import { DataType } from "node-opcua-variant";
3
3
  import { LocalizedText } from "node-opcua-data-model";
4
4
  import { NodeId } from "node-opcua-nodeid";
5
5
  import { UInt32 } from "node-opcua-basic-types";
6
- import { UAStateVariable } from "node-opcua-nodeset-ua/source/ua_state_variable";
7
- import { UATransitionVariable } from "node-opcua-nodeset-ua/source/ua_transition_variable";
6
+ import { UAFiniteStateVariable } from "node-opcua-nodeset-ua/source/ua_finite_state_variable";
7
+ import { UAFiniteTransitionVariable } from "node-opcua-nodeset-ua/source/ua_finite_transition_variable";
8
8
  import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/source/ua_finite_state_machine";
9
9
  import { UAState } from "node-opcua-nodeset-ua/source/ua_state";
10
10
  import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition";
11
11
  import { UAInitialState } from "node-opcua-nodeset-ua/source/ua_initial_state";
12
- export interface UAProductionStateMachine_currentState<T extends LocalizedText> extends Omit<UAStateVariable<T>, "id" | "number"> {
12
+ export interface UAProductionStateMachine_currentState<T extends LocalizedText> extends Omit<UAFiniteStateVariable<T>, "id" | "number"> {
13
13
  id: UAProperty<NodeId, DataType.NodeId>;
14
14
  number: UAProperty<UInt32, DataType.UInt32>;
15
15
  }
16
- export interface UAProductionStateMachine_lastTransition<T extends LocalizedText> extends Omit<UATransitionVariable<T>, "id" | "number"> {
16
+ export interface UAProductionStateMachine_lastTransition<T extends LocalizedText> extends Omit<UAFiniteTransitionVariable<T>, "id" | "number"> {
17
17
  id: UAProperty<NodeId, DataType.NodeId>;
18
18
  number: UAProperty<UInt32, DataType.UInt32>;
19
19
  }
@@ -10,7 +10,8 @@ import { EnumToolLifeIndication } from "./enum_tool_life_indication";
10
10
  * |nodeClass |VariableType |
11
11
  * |typedDefinition |ToolLifeType i=61 |
12
12
  * |dataType |Variant |
13
- * |dataType Name |Variant i=26 |
13
+ * |dataType Name |number i=26 |
14
+ * |value rank |-1 |
14
15
  * |isAbstract |false |
15
16
  */
16
17
  export interface UAToolLife_Base<T, DT extends DataType> extends UABaseDataVariable_Base<T, DT> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-nodeset-machine-tool",
3
- "version": "2.133.0",
3
+ "version": "2.137.0",
4
4
  "description": "pure nodejs OPCUA SDK - module node-opcua-nodeset-machine-tool",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,16 +10,18 @@
10
10
  "author": "Etienne Rossignon <etienne.rossignon@sterfive.com>",
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
- "node-opcua-address-space-base": "2.133.0",
14
- "node-opcua-basic-types": "2.133.0",
15
- "node-opcua-data-access": "2.133.0",
16
- "node-opcua-data-model": "2.133.0",
13
+ "node-opcua-address-space-base": "2.137.0",
14
+ "node-opcua-basic-types": "2.134.0",
15
+ "node-opcua-data-access": "2.137.0",
16
+ "node-opcua-data-model": "2.137.0",
17
17
  "node-opcua-nodeid": "2.133.0",
18
- "node-opcua-nodeset-ia": "2.133.0",
19
- "node-opcua-nodeset-machinery": "2.133.0",
20
- "node-opcua-nodeset-ua": "2.133.0",
18
+ "node-opcua-nodeset-ia": "2.137.0",
19
+ "node-opcua-nodeset-isa-95-jobcontrol-v-2": "2.137.0",
20
+ "node-opcua-nodeset-machinery": "2.137.0",
21
+ "node-opcua-nodeset-machinery-jobs": "2.137.0",
22
+ "node-opcua-nodeset-ua": "2.137.0",
21
23
  "node-opcua-status-code": "2.133.0",
22
- "node-opcua-variant": "2.133.0"
24
+ "node-opcua-variant": "2.137.0"
23
25
  },
24
26
  "files": [
25
27
  "dist",
@@ -38,5 +40,5 @@
38
40
  "internet of things"
39
41
  ],
40
42
  "homepage": "http://node-opcua.github.io/",
41
- "gitHead": "921bb04f2e7ce3109dd051ff27a2210edf700344"
43
+ "gitHead": "e88e4f20d5436dd68084d2a6d447f170330b373d"
42
44
  }
@@ -5,7 +5,7 @@
5
5
  * |-----------|------------------------------------------------------------|
6
6
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
7
7
  * | nodeClass |DataType |
8
- * | name |10:ChannelMode |
8
+ * | name |ChannelMode |
9
9
  * | isAbstract|false |
10
10
  */
11
11
  export enum EnumChannelMode {
@@ -5,7 +5,7 @@
5
5
  * |-----------|------------------------------------------------------------|
6
6
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
7
7
  * | nodeClass |DataType |
8
- * | name |10:ChannelState |
8
+ * | name |ChannelState |
9
9
  * | isAbstract|false |
10
10
  */
11
11
  export enum EnumChannelState {
@@ -5,7 +5,7 @@
5
5
  * |-----------|------------------------------------------------------------|
6
6
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
7
7
  * | nodeClass |DataType |
8
- * | name |10:EDMGeneratorState |
8
+ * | name |EDMGeneratorState |
9
9
  * | isAbstract|false |
10
10
  */
11
11
  export enum EnumEDMGeneratorState {
@@ -5,7 +5,7 @@
5
5
  * |-----------|------------------------------------------------------------|
6
6
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
7
7
  * | nodeClass |DataType |
8
- * | name |10:LaserState |
8
+ * | name |LaserState |
9
9
  * | isAbstract|false |
10
10
  */
11
11
  export enum EnumLaserState {
@@ -5,7 +5,7 @@
5
5
  * |-----------|------------------------------------------------------------|
6
6
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
7
7
  * | nodeClass |DataType |
8
- * | name |10:MachineOperationMode |
8
+ * | name |MachineOperationMode |
9
9
  * | isAbstract|false |
10
10
  */
11
11
  export enum EnumMachineOperationMode {
@@ -5,7 +5,7 @@
5
5
  * |-----------|------------------------------------------------------------|
6
6
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
7
7
  * | nodeClass |DataType |
8
- * | name |10:PartQuality |
8
+ * | name |PartQuality |
9
9
  * | isAbstract|false |
10
10
  */
11
11
  export enum EnumPartQuality {
@@ -5,7 +5,7 @@
5
5
  * |-----------|------------------------------------------------------------|
6
6
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
7
7
  * | nodeClass |DataType |
8
- * | name |10:ProcessIrregularity |
8
+ * | name |ProcessIrregularity |
9
9
  * | isAbstract|false |
10
10
  */
11
11
  export enum EnumProcessIrregularity {
@@ -5,7 +5,7 @@
5
5
  * |-----------|------------------------------------------------------------|
6
6
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
7
7
  * | nodeClass |DataType |
8
- * | name |10:ToolLifeIndication |
8
+ * | name |ToolLifeIndication |
9
9
  * | isAbstract|false |
10
10
  */
11
11
  export enum EnumToolLifeIndication {
@@ -5,7 +5,7 @@
5
5
  * |-----------|------------------------------------------------------------|
6
6
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
7
7
  * | nodeClass |DataType |
8
- * | name |10:ToolLocked |
8
+ * | name |ToolLocked |
9
9
  * | isAbstract|false |
10
10
  */
11
11
  export enum EnumToolLocked {
@@ -5,7 +5,7 @@
5
5
  * |-----------|------------------------------------------------------------|
6
6
  * | namespace |http://opcfoundation.org/UA/MachineTool/ |
7
7
  * | nodeClass |DataType |
8
- * | name |10:ToolManagement |
8
+ * | name |ToolManagement |
9
9
  * | isAbstract|false |
10
10
  */
11
11
  export enum EnumToolManagement {
@@ -1,5 +1,5 @@
1
1
  // ----- this file has been automatically generated - do not edit
2
- import { DataType, Variant, VariantOptions } from "node-opcua-variant"
2
+ import { DataType, VariantOptions } from "node-opcua-variant"
3
3
  import { EUInformation } from "node-opcua-data-access"
4
4
  import { UAString } from "node-opcua-basic-types"
5
5
  import { DTRange } from "node-opcua-nodeset-ua/source/dt_range"
@@ -1,16 +1,42 @@
1
1
  // ----- this file has been automatically generated - do not edit
2
- import { UAObject } from "node-opcua-address-space-base"
2
+ import { UAObject, UAProperty } from "node-opcua-address-space-base"
3
3
  import { DataType } from "node-opcua-variant"
4
4
  import { LocalizedText, QualifiedName } from "node-opcua-data-model"
5
5
  import { EUInformation } from "node-opcua-data-access"
6
- import { UInt32 } from "node-opcua-basic-types"
6
+ import { UInt64, UInt32 } from "node-opcua-basic-types"
7
7
  import { DTRange } from "node-opcua-nodeset-ua/source/dt_range"
8
- import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range"
9
8
  import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
9
+ import { UAAnalogUnitRange } from "node-opcua-nodeset-ua/source/ua_analog_unit_range"
10
+ import { UAMachineryOperationCounter } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_counter"
10
11
  import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine"
11
12
  import { EnumMachineOperationMode } from "./enum_machine_operation_mode"
12
13
  import { UAMachineOperationModeStateMachine } from "./ua_machine_operation_mode_state_machine"
13
14
  import { UAObligation } from "./ua_obligation"
15
+ export interface UAMachineOperationMonitoring_operationCounters extends Omit<UAMachineryOperationCounter, "powerOnDuration"> { // Object
16
+ partsProducedInLifetime?: UABaseDataVariable<UInt64, DataType.UInt64>;
17
+ /**
18
+ * powerOnDuration
19
+ * PowerOnDuration is the duration the MachineryItem
20
+ * has been powered. The main purpose is to
21
+ * determine the time in which degradation of the
22
+ * MachineryItem occurred. The details, when the
23
+ * time is counted, is implementation-specific.
24
+ * Companion specifications might define specific
25
+ * rules. Typically, when the MachineryItem has
26
+ * supply voltage and the main CPU is running, the
27
+ * time is counted. This may include any kind of
28
+ * sleep mode, but may not include pure Wake on LAN.
29
+ * This value shall only increase during the
30
+ * lifetime of the MachineryItem and shall not be
31
+ * reset when it is restarted. The PowerOnDuration
32
+ * is provided as Duration, i.e., in milliseconds or
33
+ * even fractions of a millisecond. However, the
34
+ * Server is not expected to update the value in
35
+ * such a high frequency, but maybe once a minute or
36
+ * once an hour, depending on the application.
37
+ */
38
+ powerOnDuration: UAProperty<number, DataType.Double>;
39
+ }
14
40
  /**
15
41
  * | | |
16
42
  * |----------------|------------------------------------------------------------|
@@ -25,6 +51,7 @@ export interface UAMachineOperationMonitoring_Base {
25
51
  machineryItemState?: UAMachineryItemState_StateMachine;
26
52
  machineryOperationMode?: UAMachineOperationModeStateMachine;
27
53
  obligation?: UAObligation;
54
+ operationCounters?: UAMachineOperationMonitoring_operationCounters;
28
55
  operationMode: UABaseDataVariable<EnumMachineOperationMode, DataType.Int32>;
29
56
  powerOnDuration?: UABaseDataVariable<UInt32, DataType.UInt32>;
30
57
  }
@@ -1,12 +1,19 @@
1
1
  // ----- this file has been automatically generated - do not edit
2
- import { UAObject } from "node-opcua-address-space-base"
3
- import { DataType, Variant } from "node-opcua-variant"
2
+ import { UAObject, UAMethod } from "node-opcua-address-space-base"
3
+ import { DataType } from "node-opcua-variant"
4
4
  import { LocalizedText, QualifiedName } from "node-opcua-data-model"
5
5
  import { NodeId } from "node-opcua-nodeid"
6
- import { UInt32, UInt16, UAString } from "node-opcua-basic-types"
6
+ import { UInt64, UInt32, UInt16, UAString } from "node-opcua-basic-types"
7
+ import { DTArgument } from "node-opcua-nodeset-ua/source/dt_argument"
7
8
  import { DTRange } from "node-opcua-nodeset-ua/source/dt_range"
9
+ import { UAFileDirectory } from "node-opcua-nodeset-ua/source/ua_file_directory"
8
10
  import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder"
11
+ import { DTISA95JobOrderAndState } from "node-opcua-nodeset-isa-95-jobcontrol-v-2/source/dt_isa_95_job_order_and_state"
12
+ import { DTISA95WorkMaster } from "node-opcua-nodeset-isa-95-jobcontrol-v-2/source/dt_isa_95_work_master"
13
+ import { DTISA95JobResponse } from "node-opcua-nodeset-isa-95-jobcontrol-v-2/source/dt_isa_95_job_response"
14
+ import { UAJobManagement } from "node-opcua-nodeset-machinery-jobs/source/ua_job_management"
9
15
  import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/source/ua_machinery_item_state_state_machine"
16
+ import { UAMachineryOperationCounter } from "node-opcua-nodeset-machinery/source/ua_machinery_operation_counter"
10
17
  import { UAMachineComponents } from "node-opcua-nodeset-machinery/source/ua_machine_components"
11
18
  import { EnumLevelDisplayMode } from "node-opcua-nodeset-ia/source/enum_level_display_mode"
12
19
  import { EnumStacklightOperationMode } from "node-opcua-nodeset-ia/source/enum_stacklight_operation_mode"
@@ -17,9 +24,18 @@ import { UAMachineToolIdentification } from "./ua_machine_tool_identification"
17
24
  import { UAMonitoring } from "./ua_monitoring"
18
25
  import { UANotification } from "./ua_notification"
19
26
  import { UAProduction } from "./ua_production"
27
+ export interface UAMachineTool_fileSystem extends Omit<UAFileDirectory, "createDirectory"|"createFile"|"delete"|"moveOrCopy"> { // Object
28
+ createDirectory: UAMethod;
29
+ createFile: UAMethod;
30
+ delete: UAMethod;
31
+ moveOrCopy: UAMethod;
32
+ workMasters?: UAFileDirectory;
33
+ }
20
34
  export interface UAMachineTool_machineryBuildingBlocks extends UAFolder { // Object
35
+ jobManagement?: UAJobManagement;
21
36
  machineryItemState?: UAMachineryItemState_StateMachine;
22
37
  machineryOperationMode?: UAMachineOperationModeStateMachine;
38
+ operationCounters?: UAMachineryOperationCounter;
23
39
  }
24
40
  /**
25
41
  * | | |
@@ -32,6 +48,7 @@ export interface UAMachineTool_machineryBuildingBlocks extends UAFolder { // Obj
32
48
  export interface UAMachineTool_Base {
33
49
  components?: UAMachineComponents;
34
50
  equipment: UAEquipment;
51
+ fileSystem?: UAMachineTool_fileSystem;
35
52
  identification: UAMachineToolIdentification;
36
53
  machineryBuildingBlocks?: UAMachineTool_machineryBuildingBlocks;
37
54
  monitoring: UAMonitoring;
@@ -1,5 +1,5 @@
1
1
  // ----- this file has been automatically generated - do not edit
2
- import { DataType, Variant } from "node-opcua-variant"
2
+ import { DataType } from "node-opcua-variant"
3
3
  import { EUInformation } from "node-opcua-data-access"
4
4
  import { UInt32 } from "node-opcua-basic-types"
5
5
  import { EnumToolManagement } from "./enum_tool_management"
@@ -1,5 +1,5 @@
1
1
  // ----- this file has been automatically generated - do not edit
2
- import { DataType, Variant } from "node-opcua-variant"
2
+ import { DataType } from "node-opcua-variant"
3
3
  import { LocalizedText } from "node-opcua-data-model"
4
4
  import { UInt32, UInt16, UAString } from "node-opcua-basic-types"
5
5
  import { UAOrderedList, UAOrderedList_Base } from "node-opcua-nodeset-ua/source/ua_ordered_list"
@@ -1,27 +1,11 @@
1
1
  // ----- this file has been automatically generated - do not edit
2
2
  import { UAObject, UAProperty } from "node-opcua-address-space-base"
3
3
  import { DataType } from "node-opcua-variant"
4
- import { LocalizedText } from "node-opcua-data-model"
5
4
  import { UAString } from "node-opcua-basic-types"
6
- import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition"
7
- import { UAFiniteStateVariable } from "node-opcua-nodeset-ua/source/ua_finite_state_variable"
8
5
  import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
9
- import { UAProductionPartStateMachine } from "./ua_production_part_state_machine"
10
6
  import { EnumPartQuality } from "./enum_part_quality"
11
7
  import { EnumProcessIrregularity } from "./enum_process_irregularity"
12
- export interface UAProductionPart_state extends Omit<UAProductionPartStateMachine, "abortedToInitializing"|"currentState"|"endedToInitializing"|"initializingToAborted"|"initializingToRunning"|"interruptedToAborted"|"interruptedToRunning"|"runningToAborted"|"runningToEnded"|"runningToInterrupted"|"runningToRunning"> { // Object
13
- abortedToInitializing: UATransition;
14
- currentState: UAFiniteStateVariable<LocalizedText>;
15
- endedToInitializing: UATransition;
16
- initializingToAborted: UATransition;
17
- initializingToRunning: UATransition;
18
- interruptedToAborted: UATransition;
19
- interruptedToRunning: UATransition;
20
- runningToAborted: UATransition;
21
- runningToEnded: UATransition;
22
- runningToInterrupted: UATransition;
23
- runningToRunning: UATransition;
24
- }
8
+ import { UAProductionPartStateMachine } from "./ua_production_part_state_machine"
25
9
  /**
26
10
  * | | |
27
11
  * |----------------|------------------------------------------------------------|
@@ -36,7 +20,7 @@ export interface UAProductionPart_Base {
36
20
  name: UAProperty<UAString, DataType.String>;
37
21
  partQuality: UABaseDataVariable<EnumPartQuality, DataType.Int32>;
38
22
  processIrregularity: UABaseDataVariable<EnumProcessIrregularity, DataType.Int32>;
39
- state?: UAProductionPart_state;
23
+ state?: UAProductionPartStateMachine;
40
24
  }
41
25
  export interface UAProductionPart extends UAObject, UAProductionPart_Base {
42
26
  }
@@ -4,17 +4,17 @@ import { DataType, VariantOptions } from "node-opcua-variant"
4
4
  import { LocalizedText } from "node-opcua-data-model"
5
5
  import { NodeId } from "node-opcua-nodeid"
6
6
  import { UInt32 } from "node-opcua-basic-types"
7
- import { UAStateVariable } from "node-opcua-nodeset-ua/source/ua_state_variable"
8
- import { UATransitionVariable } from "node-opcua-nodeset-ua/source/ua_transition_variable"
7
+ import { UAFiniteStateVariable } from "node-opcua-nodeset-ua/source/ua_finite_state_variable"
8
+ import { UAFiniteTransitionVariable } from "node-opcua-nodeset-ua/source/ua_finite_transition_variable"
9
9
  import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/source/ua_finite_state_machine"
10
10
  import { UAState } from "node-opcua-nodeset-ua/source/ua_state"
11
11
  import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition"
12
12
  import { UAInitialState } from "node-opcua-nodeset-ua/source/ua_initial_state"
13
- export interface UAProductionStateMachine_currentState<T extends LocalizedText> extends Omit<UAStateVariable<T>, "id"|"number"> { // Variable
13
+ export interface UAProductionStateMachine_currentState<T extends LocalizedText> extends Omit<UAFiniteStateVariable<T>, "id"|"number"> { // Variable
14
14
  id: UAProperty<NodeId, DataType.NodeId>;
15
15
  number: UAProperty<UInt32, DataType.UInt32>;
16
16
  }
17
- export interface UAProductionStateMachine_lastTransition<T extends LocalizedText> extends Omit<UATransitionVariable<T>, "id"|"number"> { // Variable
17
+ export interface UAProductionStateMachine_lastTransition<T extends LocalizedText> extends Omit<UAFiniteTransitionVariable<T>, "id"|"number"> { // Variable
18
18
  id: UAProperty<NodeId, DataType.NodeId>;
19
19
  number: UAProperty<UInt32, DataType.UInt32>;
20
20
  }
@@ -1,6 +1,6 @@
1
1
  // ----- this file has been automatically generated - do not edit
2
2
  import { UAProperty } from "node-opcua-address-space-base"
3
- import { DataType, Variant } from "node-opcua-variant"
3
+ import { DataType } from "node-opcua-variant"
4
4
  import { EUInformation } from "node-opcua-data-access"
5
5
  import { UABaseDataVariable, UABaseDataVariable_Base } from "node-opcua-nodeset-ua/source/ua_base_data_variable"
6
6
  import { EnumToolLifeIndication } from "./enum_tool_life_indication"
@@ -11,7 +11,8 @@ import { EnumToolLifeIndication } from "./enum_tool_life_indication"
11
11
  * |nodeClass |VariableType |
12
12
  * |typedDefinition |ToolLifeType i=61 |
13
13
  * |dataType |Variant |
14
- * |dataType Name |Variant i=26 |
14
+ * |dataType Name |number i=26 |
15
+ * |value rank |-1 |
15
16
  * |isAbstract |false |
16
17
  */
17
18
  export interface UAToolLife_Base<T, DT extends DataType> extends UABaseDataVariable_Base<T, DT> {