node-opcua-nodeset-robotics 2.161.0 → 2.163.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 (75) hide show
  1. package/dist/index.d.ts +10 -0
  2. package/dist/index.js +10 -0
  3. package/dist/index.js.map +1 -1
  4. package/dist/ua_auxiliary_component.d.ts +4 -3
  5. package/dist/ua_axis.d.ts +19 -17
  6. package/dist/ua_controller.d.ts +48 -41
  7. package/dist/ua_drive.d.ts +4 -3
  8. package/dist/ua_emergency_stop_function.d.ts +7 -7
  9. package/dist/ua_executing_substate_machine.d.ts +26 -0
  10. package/dist/ua_executing_substate_machine.js +3 -0
  11. package/dist/ua_executing_substate_machine.js.map +1 -0
  12. package/dist/ua_gear.d.ts +6 -5
  13. package/dist/ua_idle_substate_machine.d.ts +27 -0
  14. package/dist/ua_idle_substate_machine.js +3 -0
  15. package/dist/ua_idle_substate_machine.js.map +1 -0
  16. package/dist/ua_load.d.ts +7 -7
  17. package/dist/ua_motion_device.d.ts +39 -34
  18. package/dist/ua_motion_device_system.d.ts +11 -7
  19. package/dist/ua_motor.d.ts +11 -10
  20. package/dist/ua_multi_acknowledgeable_condition.d.ts +17 -0
  21. package/dist/ua_multi_acknowledgeable_condition.js +3 -0
  22. package/dist/ua_multi_acknowledgeable_condition.js.map +1 -0
  23. package/dist/ua_operation_state_machine.d.ts +74 -0
  24. package/dist/ua_operation_state_machine.js +3 -0
  25. package/dist/ua_operation_state_machine.js.map +1 -0
  26. package/dist/ua_power_train.d.ts +7 -2
  27. package/dist/ua_protective_stop_function.d.ts +11 -11
  28. package/dist/ua_ready_substate_machine.d.ts +28 -0
  29. package/dist/ua_ready_substate_machine.js +3 -0
  30. package/dist/ua_ready_substate_machine.js.map +1 -0
  31. package/dist/ua_safety_state.d.ts +18 -16
  32. package/dist/ua_system_operation.d.ts +20 -0
  33. package/dist/ua_system_operation.js +3 -0
  34. package/dist/ua_system_operation.js.map +1 -0
  35. package/dist/ua_system_operation_state_machine.d.ts +44 -0
  36. package/dist/ua_system_operation_state_machine.js +3 -0
  37. package/dist/ua_system_operation_state_machine.js.map +1 -0
  38. package/dist/ua_task_control.d.ts +17 -13
  39. package/dist/ua_task_control_operation.d.ts +20 -0
  40. package/dist/ua_task_control_operation.js +3 -0
  41. package/dist/ua_task_control_operation.js.map +1 -0
  42. package/dist/ua_task_control_state_machine.d.ts +45 -0
  43. package/dist/ua_task_control_state_machine.js +3 -0
  44. package/dist/ua_task_control_state_machine.js.map +1 -0
  45. package/dist/ua_task_module.d.ts +18 -0
  46. package/dist/ua_task_module.js +3 -0
  47. package/dist/ua_task_module.js.map +1 -0
  48. package/dist/ua_user.d.ts +3 -2
  49. package/package.json +10 -9
  50. package/source/index.ts +10 -0
  51. package/source/ua_auxiliary_component.ts +4 -3
  52. package/source/ua_axis.ts +19 -17
  53. package/source/ua_controller.ts +48 -41
  54. package/source/ua_drive.ts +4 -3
  55. package/source/ua_emergency_stop_function.ts +7 -7
  56. package/source/ua_executing_substate_machine.ts +27 -0
  57. package/source/ua_gear.ts +6 -5
  58. package/source/ua_idle_substate_machine.ts +28 -0
  59. package/source/ua_load.ts +7 -7
  60. package/source/ua_motion_device.ts +39 -34
  61. package/source/ua_motion_device_system.ts +11 -7
  62. package/source/ua_motor.ts +11 -10
  63. package/source/ua_multi_acknowledgeable_condition.ts +18 -0
  64. package/source/ua_operation_state_machine.ts +75 -0
  65. package/source/ua_power_train.ts +9 -2
  66. package/source/ua_protective_stop_function.ts +11 -11
  67. package/source/ua_ready_substate_machine.ts +29 -0
  68. package/source/ua_safety_state.ts +18 -16
  69. package/source/ua_system_operation.ts +21 -0
  70. package/source/ua_system_operation_state_machine.ts +45 -0
  71. package/source/ua_task_control.ts +17 -13
  72. package/source/ua_task_control_operation.ts +21 -0
  73. package/source/ua_task_control_state_machine.ts +46 -0
  74. package/source/ua_task_module.ts +19 -0
  75. package/source/ua_user.ts +3 -2
package/dist/index.d.ts CHANGED
@@ -7,13 +7,23 @@ export * from "./ua_axis";
7
7
  export * from "./ua_controller";
8
8
  export * from "./ua_drive";
9
9
  export * from "./ua_emergency_stop_function";
10
+ export * from "./ua_executing_substate_machine";
10
11
  export * from "./ua_gear";
12
+ export * from "./ua_idle_substate_machine";
11
13
  export * from "./ua_load";
12
14
  export * from "./ua_motion_device";
13
15
  export * from "./ua_motion_device_system";
14
16
  export * from "./ua_motor";
17
+ export * from "./ua_multi_acknowledgeable_condition";
18
+ export * from "./ua_operation_state_machine";
15
19
  export * from "./ua_power_train";
16
20
  export * from "./ua_protective_stop_function";
21
+ export * from "./ua_ready_substate_machine";
17
22
  export * from "./ua_safety_state";
23
+ export * from "./ua_system_operation";
24
+ export * from "./ua_system_operation_state_machine";
18
25
  export * from "./ua_task_control";
26
+ export * from "./ua_task_control_operation";
27
+ export * from "./ua_task_control_state_machine";
28
+ export * from "./ua_task_module";
19
29
  export * from "./ua_user";
package/dist/index.js CHANGED
@@ -23,14 +23,24 @@ __exportStar(require("./ua_axis"), exports);
23
23
  __exportStar(require("./ua_controller"), exports);
24
24
  __exportStar(require("./ua_drive"), exports);
25
25
  __exportStar(require("./ua_emergency_stop_function"), exports);
26
+ __exportStar(require("./ua_executing_substate_machine"), exports);
26
27
  __exportStar(require("./ua_gear"), exports);
28
+ __exportStar(require("./ua_idle_substate_machine"), exports);
27
29
  __exportStar(require("./ua_load"), exports);
28
30
  __exportStar(require("./ua_motion_device"), exports);
29
31
  __exportStar(require("./ua_motion_device_system"), exports);
30
32
  __exportStar(require("./ua_motor"), exports);
33
+ __exportStar(require("./ua_multi_acknowledgeable_condition"), exports);
34
+ __exportStar(require("./ua_operation_state_machine"), exports);
31
35
  __exportStar(require("./ua_power_train"), exports);
32
36
  __exportStar(require("./ua_protective_stop_function"), exports);
37
+ __exportStar(require("./ua_ready_substate_machine"), exports);
33
38
  __exportStar(require("./ua_safety_state"), exports);
39
+ __exportStar(require("./ua_system_operation"), exports);
40
+ __exportStar(require("./ua_system_operation_state_machine"), exports);
34
41
  __exportStar(require("./ua_task_control"), exports);
42
+ __exportStar(require("./ua_task_control_operation"), exports);
43
+ __exportStar(require("./ua_task_control_state_machine"), exports);
44
+ __exportStar(require("./ua_task_module"), exports);
35
45
  __exportStar(require("./ua_user"), exports);
36
46
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,wDAAsC;AACtC,gEAA8C;AAC9C,0DAAwC;AACxC,2DAAyC;AACzC,4CAA0B;AAC1B,kDAAgC;AAChC,6CAA2B;AAC3B,+DAA6C;AAC7C,4CAA0B;AAC1B,4CAA0B;AAC1B,qDAAmC;AACnC,4DAA0C;AAC1C,6CAA2B;AAC3B,mDAAiC;AACjC,gEAA8C;AAC9C,oDAAkC;AAClC,oDAAkC;AAClC,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,wDAAsC;AACtC,gEAA8C;AAC9C,0DAAwC;AACxC,2DAAyC;AACzC,4CAA0B;AAC1B,kDAAgC;AAChC,6CAA2B;AAC3B,+DAA6C;AAC7C,kEAAgD;AAChD,4CAA0B;AAC1B,6DAA2C;AAC3C,4CAA0B;AAC1B,qDAAmC;AACnC,4DAA0C;AAC1C,6CAA2B;AAC3B,uEAAqD;AACrD,+DAA6C;AAC7C,mDAAiC;AACjC,gEAA8C;AAC9C,8DAA4C;AAC5C,oDAAkC;AAClC,wDAAsC;AACtC,sEAAoD;AACpD,oDAAkC;AAClC,8DAA4C;AAC5C,kEAAgD;AAChD,mDAAiC;AACjC,4CAA0B"}
@@ -1,7 +1,7 @@
1
1
  import { UAProperty } from "node-opcua-address-space-base";
2
2
  import { DataType } from "node-opcua-variant";
3
3
  import { UAString } from "node-opcua-basic-types";
4
- import { UADevice, UADevice_Base } from "node-opcua-nodeset-di/dist/ua_device";
4
+ import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_component";
5
5
  /**
6
6
  * Components mounted in a controller cabinet or a
7
7
  * motion device e.g. an IO-board or a power supply.
@@ -13,7 +13,8 @@ import { UADevice, UADevice_Base } from "node-opcua-nodeset-di/dist/ua_device";
13
13
  * |typedDefinition |AuxiliaryComponentType i=17725 |
14
14
  * |isAbstract |false |
15
15
  */
16
- export interface UAAuxiliaryComponent_Base extends UADevice_Base {
16
+ export interface UAAuxiliaryComponent_Base extends UAComponent_Base {
17
+ assetId?: UAProperty<UAString, DataType.String>;
17
18
  /**
18
19
  * productCode
19
20
  * The ProductCode property provides a unique
@@ -24,5 +25,5 @@ export interface UAAuxiliaryComponent_Base extends UADevice_Base {
24
25
  */
25
26
  productCode: UAProperty<UAString, DataType.String>;
26
27
  }
27
- export interface UAAuxiliaryComponent extends Omit<UADevice, "productCode">, UAAuxiliaryComponent_Base {
28
+ export interface UAAuxiliaryComponent extends Omit<UAComponent, "assetId" | "productCode">, UAAuxiliaryComponent_Base {
28
29
  }
package/dist/ua_axis.d.ts CHANGED
@@ -1,10 +1,19 @@
1
1
  import { UAObject, UAProperty } from "node-opcua-address-space-base";
2
2
  import { DataType } from "node-opcua-variant";
3
+ import { UAString } from "node-opcua-basic-types";
3
4
  import { UAAnalogUnit } from "node-opcua-nodeset-ua/dist/ua_analog_unit";
4
5
  import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_component";
5
6
  import { EnumAxisMotionProfile } from "./enum_axis_motion_profile";
6
7
  import { UALoad } from "./ua_load";
7
8
  export interface UAAxis_parameterSet extends UAObject {
9
+ /**
10
+ * actualAcceleration
11
+ * : The ActualAcceleration variable provides the
12
+ * axis acceleration. Applicable acceleration limits
13
+ * of the axis shall be provided by the EURange
14
+ * property of the AnalogUnitType.
15
+ */
16
+ actualAcceleration?: UAAnalogUnit<number, DataType.Double>;
8
17
  /**
9
18
  * actualPosition
10
19
  * The axis position inclusive Unit and
@@ -17,14 +26,6 @@ export interface UAAxis_parameterSet extends UAObject {
17
26
  * inclusive Unit.
18
27
  */
19
28
  actualSpeed?: UAAnalogUnit<number, DataType.Double>;
20
- /**
21
- * actualAcceleration
22
- * : The ActualAcceleration variable provides the
23
- * axis acceleration. Applicable acceleration limits
24
- * of the axis shall be provided by the EURange
25
- * property of the AnalogUnitType.
26
- */
27
- actualAcceleration?: UAAnalogUnit<number, DataType.Double>;
28
29
  }
29
30
  /**
30
31
  * The AxisType describes an axis of a motion device.
@@ -38,10 +39,13 @@ export interface UAAxis_parameterSet extends UAObject {
38
39
  */
39
40
  export interface UAAxis_Base extends UAComponent_Base {
40
41
  /**
41
- * parameterSet
42
- * Flat list of Parameters
42
+ * additionalLoad
43
+ * The additional load which is mounted on this
44
+ * axis. E.g. for process-need a transformer for
45
+ * welding.
43
46
  */
44
- parameterSet: UAAxis_parameterSet;
47
+ additionalLoad?: UALoad;
48
+ assetId?: UAProperty<UAString, DataType.String>;
45
49
  /**
46
50
  * motionProfile
47
51
  * The kind of axis motion as defined with the
@@ -49,12 +53,10 @@ export interface UAAxis_Base extends UAComponent_Base {
49
53
  */
50
54
  motionProfile: UAProperty<EnumAxisMotionProfile, DataType.Int32>;
51
55
  /**
52
- * additionalLoad
53
- * The additional load which is mounted on this
54
- * axis. E.g. for process-need a transformer for
55
- * welding.
56
+ * parameterSet
57
+ * Flat list of Parameters
56
58
  */
57
- additionalLoad?: UALoad;
59
+ parameterSet: UAAxis_parameterSet;
58
60
  }
59
- export interface UAAxis extends Omit<UAComponent, "parameterSet">, UAAxis_Base {
61
+ export interface UAAxis extends Omit<UAComponent, "assetId" | "parameterSet">, UAAxis_Base {
60
62
  }
@@ -2,37 +2,14 @@ import { UAObject, UAProperty } from "node-opcua-address-space-base";
2
2
  import { DataType } from "node-opcua-variant";
3
3
  import { LocalizedText } from "node-opcua-data-model";
4
4
  import { UAString } from "node-opcua-basic-types";
5
- import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
6
5
  import { UAAnalogUnit } from "node-opcua-nodeset-ua/dist/ua_analog_unit";
6
+ import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
7
7
  import { UAFolder } from "node-opcua-nodeset-ua/dist/ua_folder";
8
+ import { UAFileDirectory } from "node-opcua-nodeset-ua/dist/ua_file_directory";
8
9
  import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_component";
9
10
  import { UAUser } from "./ua_user";
11
+ import { UASystemOperation } from "./ua_system_operation";
10
12
  export interface UAController_parameterSet extends UAObject {
11
- /**
12
- * totalPowerOnTime
13
- * The total accumulated time the controller was
14
- * powered on.
15
- */
16
- totalPowerOnTime?: UABaseDataVariable<UAString, DataType.String>;
17
- /**
18
- * startUpTime
19
- * The date and time of the last start-up of the
20
- * controller.
21
- */
22
- startUpTime?: UABaseDataVariable<Date, DataType.DateTime>;
23
- /**
24
- * upsState
25
- * The vendor specific status of an integrated UPS
26
- * or accumulator system.
27
- */
28
- upsState?: UABaseDataVariable<UAString, DataType.String>;
29
- /**
30
- * totalEnergyConsumption
31
- * The total accumulated energy consumed by the
32
- * motion devices related with this controller
33
- * instance.
34
- */
35
- totalEnergyConsumption?: UAAnalogUnit<number, DataType.Double>;
36
13
  /**
37
14
  * cabinetFanSpeed
38
15
  * The speed of the cabinet fan.
@@ -51,12 +28,37 @@ export interface UAController_parameterSet extends UAObject {
51
28
  * the base type DataItemType shall be used.
52
29
  */
53
30
  inputVoltage?: UAAnalogUnit<number, DataType.Double>;
31
+ /**
32
+ * startUpTime
33
+ * The date and time of the last start-up of the
34
+ * controller.
35
+ */
36
+ startUpTime?: UABaseDataVariable<Date, DataType.DateTime>;
54
37
  /**
55
38
  * temperature
56
39
  * The controller temperature given by a temperature
57
40
  * sensor inside of the controller.
58
41
  */
59
42
  temperature?: UAAnalogUnit<number, DataType.Double>;
43
+ /**
44
+ * totalEnergyConsumption
45
+ * The total accumulated energy consumed by the
46
+ * motion devices related with this controller
47
+ * instance.
48
+ */
49
+ totalEnergyConsumption?: UAAnalogUnit<number, DataType.Double>;
50
+ /**
51
+ * totalPowerOnTime
52
+ * The total accumulated time the controller was
53
+ * powered on.
54
+ */
55
+ totalPowerOnTime?: UABaseDataVariable<UAString, DataType.String>;
56
+ /**
57
+ * upsState
58
+ * The vendor specific status of an integrated UPS
59
+ * or accumulator system.
60
+ */
61
+ upsState?: UABaseDataVariable<UAString, DataType.String>;
60
62
  }
61
63
  /**
62
64
  * The ControllerType describes the control unit of
@@ -71,20 +73,8 @@ export interface UAController_parameterSet extends UAObject {
71
73
  * |isAbstract |false |
72
74
  */
73
75
  export interface UAController_Base extends UAComponent_Base {
74
- /**
75
- * parameterSet
76
- * Flat list of Parameters
77
- */
78
- parameterSet?: UAController_parameterSet;
79
- manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
80
- model: UAProperty<LocalizedText, DataType.LocalizedText>;
81
- productCode: UAProperty<UAString, DataType.String>;
82
- serialNumber: UAProperty<UAString, DataType.String>;
83
- /**
84
- * currentUser
85
- * The given name of the device.
86
- */
87
- currentUser: UAUser;
76
+ assetId?: UAProperty<UAString, DataType.String>;
77
+ componentName?: UAProperty<LocalizedText, DataType.LocalizedText>;
88
78
  /**
89
79
  * components
90
80
  * Components is a container for one or more
@@ -95,12 +85,29 @@ export interface UAController_Base extends UAComponent_Base {
95
85
  * an electrical interface to the controller.
96
86
  */
97
87
  components?: UAFolder;
88
+ /**
89
+ * currentUser
90
+ * The current user of the system.
91
+ */
92
+ currentUser: UAUser;
93
+ deviceManual?: UAProperty<UAString, DataType.String>;
94
+ manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
95
+ model: UAProperty<LocalizedText, DataType.LocalizedText>;
96
+ /**
97
+ * parameterSet
98
+ * Flat list of Parameters
99
+ */
100
+ parameterSet?: UAController_parameterSet;
101
+ productCode: UAProperty<UAString, DataType.String>;
102
+ programs?: UAFileDirectory;
103
+ serialNumber: UAProperty<UAString, DataType.String>;
98
104
  /**
99
105
  * software
100
106
  * Software is a container for one or more instances
101
107
  * of SoftwareType defined in OPC UA DI.
102
108
  */
103
109
  software: UAFolder;
110
+ systemOperation?: UASystemOperation;
104
111
  /**
105
112
  * taskControls
106
113
  * TaskControls is a container for one or more
@@ -108,5 +115,5 @@ export interface UAController_Base extends UAComponent_Base {
108
115
  */
109
116
  taskControls: UAFolder;
110
117
  }
111
- export interface UAController extends Omit<UAComponent, "parameterSet" | "manufacturer" | "model" | "productCode" | "serialNumber">, UAController_Base {
118
+ export interface UAController extends Omit<UAComponent, "assetId" | "componentName" | "deviceManual" | "manufacturer" | "model" | "parameterSet" | "productCode" | "serialNumber">, UAController_Base {
112
119
  }
@@ -1,7 +1,7 @@
1
1
  import { UAProperty } from "node-opcua-address-space-base";
2
2
  import { DataType } from "node-opcua-variant";
3
3
  import { UAString } from "node-opcua-basic-types";
4
- import { UADevice, UADevice_Base } from "node-opcua-nodeset-di/dist/ua_device";
4
+ import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_component";
5
5
  /**
6
6
  * Drives (multi-slot or single-slot axis amplifier)
7
7
  * mounted in a controller cabinet or a motion
@@ -14,7 +14,8 @@ import { UADevice, UADevice_Base } from "node-opcua-nodeset-di/dist/ua_device";
14
14
  * |typedDefinition |DriveType i=17793 |
15
15
  * |isAbstract |false |
16
16
  */
17
- export interface UADrive_Base extends UADevice_Base {
17
+ export interface UADrive_Base extends UAComponent_Base {
18
+ assetId?: UAProperty<UAString, DataType.String>;
18
19
  /**
19
20
  * productCode
20
21
  * The ProductCode property provides a unique
@@ -25,5 +26,5 @@ export interface UADrive_Base extends UADevice_Base {
25
26
  */
26
27
  productCode: UAProperty<UAString, DataType.String>;
27
28
  }
28
- export interface UADrive extends Omit<UADevice, "productCode">, UADrive_Base {
29
+ export interface UADrive extends Omit<UAComponent, "assetId" | "productCode">, UADrive_Base {
29
30
  }
@@ -15,13 +15,6 @@ import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_vari
15
15
  * |isAbstract |false |
16
16
  */
17
17
  export interface UAEmergencyStopFunction_Base {
18
- /**
19
- * name
20
- * The Name of the EmergencyStopFunctionType
21
- * provides a manufacturer-specific emergency stop
22
- * function identifier within the safety system.
23
- */
24
- name: UAProperty<UAString, DataType.String>;
25
18
  /**
26
19
  * active
27
20
  * The Active variable is TRUE if this particular
@@ -29,6 +22,13 @@ export interface UAEmergencyStopFunction_Base {
29
22
  * emergency stop button is pressed, FALSE otherwise.
30
23
  */
31
24
  active: UABaseDataVariable<boolean, DataType.Boolean>;
25
+ /**
26
+ * name
27
+ * The Name of the EmergencyStopFunctionType
28
+ * provides a manufacturer-specific emergency stop
29
+ * function identifier within the safety system.
30
+ */
31
+ name: UAProperty<UAString, DataType.String>;
32
32
  }
33
33
  export interface UAEmergencyStopFunction extends UAObject, UAEmergencyStopFunction_Base {
34
34
  }
@@ -0,0 +1,26 @@
1
+ import { DataType } from "node-opcua-variant";
2
+ import { LocalizedText } from "node-opcua-data-model";
3
+ import { Int16 } from "node-opcua-basic-types";
4
+ import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/dist/ua_finite_state_machine";
5
+ import { UATransitionVariable } from "node-opcua-nodeset-ua/dist/ua_transition_variable";
6
+ import { UAMultiStateValueDiscrete } from "node-opcua-nodeset-ua/dist/ua_multi_state_value_discrete";
7
+ import { UAInitialState } from "node-opcua-nodeset-ua/dist/ua_initial_state";
8
+ import { UATransition } from "node-opcua-nodeset-ua/dist/ua_transition";
9
+ import { UAState } from "node-opcua-nodeset-ua/dist/ua_state";
10
+ /**
11
+ * | | |
12
+ * |----------------|------------------------------------------------------------|
13
+ * |namespace |http://opcfoundation.org/UA/Robotics/ |
14
+ * |nodeClass |ObjectType |
15
+ * |typedDefinition |ExecutingSubstateMachineType i=1007 |
16
+ * |isAbstract |false |
17
+ */
18
+ export interface UAExecutingSubstateMachine_Base extends UAFiniteStateMachine_Base {
19
+ lastTransition: UATransitionVariable<LocalizedText>;
20
+ lastTransitionReason: UAMultiStateValueDiscrete<Int16, DataType.Int16>;
21
+ running: UAInitialState;
22
+ runningToStopping: UATransition;
23
+ stopping: UAState;
24
+ }
25
+ export interface UAExecutingSubstateMachine extends Omit<UAFiniteStateMachine, "lastTransition">, UAExecutingSubstateMachine_Base {
26
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_executing_substate_machine.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_executing_substate_machine.js","sourceRoot":"","sources":["../source/ua_executing_substate_machine.ts"],"names":[],"mappings":""}
package/dist/ua_gear.d.ts CHANGED
@@ -18,10 +18,7 @@ import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_com
18
18
  * |isAbstract |false |
19
19
  */
20
20
  export interface UAGear_Base extends UAComponent_Base {
21
- manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
22
- model: UAProperty<LocalizedText, DataType.LocalizedText>;
23
- productCode: UAProperty<UAString, DataType.String>;
24
- serialNumber: UAProperty<UAString, DataType.String>;
21
+ assetId?: UAProperty<UAString, DataType.String>;
25
22
  /**
26
23
  * gearRatio
27
24
  * The transmission ratio of the gear expressed as a
@@ -29,6 +26,8 @@ export interface UAGear_Base extends UAComponent_Base {
29
26
  * velocity (load side).
30
27
  */
31
28
  gearRatio: UARationalNumber<DTRationalNumber>;
29
+ manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
30
+ model: UAProperty<LocalizedText, DataType.LocalizedText>;
32
31
  /**
33
32
  * pitch
34
33
  * Pitch describes the distance covered in
@@ -39,6 +38,8 @@ export interface UAGear_Base extends UAComponent_Base {
39
38
  * to output of the gear.
40
39
  */
41
40
  pitch?: UABaseDataVariable<number, DataType.Double>;
41
+ productCode: UAProperty<UAString, DataType.String>;
42
+ serialNumber: UAProperty<UAString, DataType.String>;
42
43
  }
43
- export interface UAGear extends Omit<UAComponent, "manufacturer" | "model" | "productCode" | "serialNumber">, UAGear_Base {
44
+ export interface UAGear extends Omit<UAComponent, "assetId" | "manufacturer" | "model" | "productCode" | "serialNumber">, UAGear_Base {
44
45
  }
@@ -0,0 +1,27 @@
1
+ import { DataType } from "node-opcua-variant";
2
+ import { LocalizedText } from "node-opcua-data-model";
3
+ import { Int16 } from "node-opcua-basic-types";
4
+ import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/dist/ua_finite_state_machine";
5
+ import { UAState } from "node-opcua-nodeset-ua/dist/ua_state";
6
+ import { UATransition } from "node-opcua-nodeset-ua/dist/ua_transition";
7
+ import { UATransitionVariable } from "node-opcua-nodeset-ua/dist/ua_transition_variable";
8
+ import { UAMultiStateValueDiscrete } from "node-opcua-nodeset-ua/dist/ua_multi_state_value_discrete";
9
+ import { UAInitialState } from "node-opcua-nodeset-ua/dist/ua_initial_state";
10
+ /**
11
+ * | | |
12
+ * |----------------|------------------------------------------------------------|
13
+ * |namespace |http://opcfoundation.org/UA/Robotics/ |
14
+ * |nodeClass |ObjectType |
15
+ * |typedDefinition |IdleSubstateMachineType i=1009 |
16
+ * |isAbstract |false |
17
+ */
18
+ export interface UAIdleSubstateMachine_Base extends UAFiniteStateMachine_Base {
19
+ gettingReady: UAState;
20
+ gettingReadyToStandBy: UATransition;
21
+ lastTransition: UATransitionVariable<LocalizedText>;
22
+ lastTransitionReason: UAMultiStateValueDiscrete<Int16, DataType.Int16>;
23
+ standBy: UAInitialState;
24
+ standByToGettingReady: UATransition;
25
+ }
26
+ export interface UAIdleSubstateMachine extends Omit<UAFiniteStateMachine, "lastTransition">, UAIdleSubstateMachine_Base {
27
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_idle_substate_machine.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_idle_substate_machine.js","sourceRoot":"","sources":["../source/ua_idle_substate_machine.ts"],"names":[],"mappings":""}
package/dist/ua_load.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { UAObject } from "node-opcua-address-space-base";
2
2
  import { DataType } from "node-opcua-variant";
3
- import { UAAnalogUnit } from "node-opcua-nodeset-ua/dist/ua_analog_unit";
4
3
  import { DT3DFrame } from "node-opcua-nodeset-ua/dist/dt_3_d_frame";
5
4
  import { UA3DFrame } from "node-opcua-nodeset-ua/dist/ua_3_d_frame";
6
5
  import { DT3DVector } from "node-opcua-nodeset-ua/dist/dt_3_d_vector";
7
6
  import { UA3DVector } from "node-opcua-nodeset-ua/dist/ua_3_d_vector";
7
+ import { UAAnalogUnit } from "node-opcua-nodeset-ua/dist/ua_analog_unit";
8
8
  /**
9
9
  * The LoadType is for describing loads mounted on
10
10
  * the motion device typically by an integrator or a
@@ -18,12 +18,6 @@ import { UA3DVector } from "node-opcua-nodeset-ua/dist/ua_3_d_vector";
18
18
  * |isAbstract |false |
19
19
  */
20
20
  export interface UALoad_Base {
21
- /**
22
- * mass
23
- * The weight of the load mounted on one mounting
24
- * point.
25
- */
26
- mass: UAAnalogUnit<number, DataType.Double>;
27
21
  /**
28
22
  * centerOfMass
29
23
  * The position and orientation of the center of the
@@ -47,6 +41,12 @@ export interface UALoad_Base {
47
41
  * as well.
48
42
  */
49
43
  inertia?: UA3DVector<DT3DVector>;
44
+ /**
45
+ * mass
46
+ * The weight of the load mounted on one mounting
47
+ * point.
48
+ */
49
+ mass: UAAnalogUnit<number, DataType.Double>;
50
50
  }
51
51
  export interface UALoad extends UAObject, UALoad_Base {
52
52
  }
@@ -1,13 +1,22 @@
1
1
  import { UAObject, UAProperty } from "node-opcua-address-space-base";
2
2
  import { DataType } from "node-opcua-variant";
3
3
  import { LocalizedText } from "node-opcua-data-model";
4
+ import { NodeId } from "node-opcua-nodeid";
4
5
  import { UAString } from "node-opcua-basic-types";
5
6
  import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
6
7
  import { UAFolder } from "node-opcua-nodeset-ua/dist/ua_folder";
7
8
  import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_component";
8
- import { EnumMotionDeviceCategory } from "./enum_motion_device_category";
9
9
  import { UALoad } from "./ua_load";
10
+ import { EnumMotionDeviceCategory } from "./enum_motion_device_category";
10
11
  export interface UAMotionDevice_parameterSet extends UAObject {
12
+ /**
13
+ * inControl
14
+ * InControl provides the information if the
15
+ * actuators (in most cases a motor) of the motion
16
+ * device are powered up and in control: "true". The
17
+ * motion device might be in a standstill.
18
+ */
19
+ inControl?: UABaseDataVariable<boolean, DataType.Boolean>;
11
20
  /**
12
21
  * onPath
13
22
  * OnPath is true if the motion device is on or near
@@ -19,14 +28,6 @@ export interface UAMotionDevice_parameterSet extends UAObject {
19
28
  * needs repositioning to continue program execution.
20
29
  */
21
30
  onPath?: UABaseDataVariable<boolean, DataType.Boolean>;
22
- /**
23
- * inControl
24
- * InControl provides the information if the
25
- * actuators (in most cases a motor) of the motion
26
- * device are powered up and in control: "true". The
27
- * motion device might be in a standstill.
28
- */
29
- inControl?: UABaseDataVariable<boolean, DataType.Boolean>;
30
31
  /**
31
32
  * speedOverride
32
33
  * SpeedOverride provides the current speed setting
@@ -49,14 +50,31 @@ export interface UAMotionDevice_parameterSet extends UAObject {
49
50
  */
50
51
  export interface UAMotionDevice_Base extends UAComponent_Base {
51
52
  /**
52
- * parameterSet
53
- * Flat list of Parameters
53
+ * additionalComponents
54
+ * AdditionalComponents is a container for one or
55
+ * more instances of subtypes of ComponentType
56
+ * defined in OPC UA DI. The listed components are
57
+ * installed at the motion device, e.g. an IO-board.
54
58
  */
55
- parameterSet: UAMotionDevice_parameterSet;
59
+ additionalComponents?: UAFolder;
60
+ assetId?: UAProperty<UAString, DataType.String>;
61
+ /**
62
+ * axes
63
+ * Axes is a container for one or more instances of
64
+ * the AxisType.
65
+ */
66
+ axes: UAFolder;
67
+ componentName?: UAProperty<LocalizedText, DataType.LocalizedText>;
68
+ deviceManual?: UAProperty<UAString, DataType.String>;
69
+ /**
70
+ * flangeLoad
71
+ * The FlangeLoad is the load on the flange or at
72
+ * the mounting point of the MotionDevice. This can
73
+ * be the maximum load of the MotionDevice.
74
+ */
75
+ flangeLoad?: UALoad;
56
76
  manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
57
77
  model: UAProperty<LocalizedText, DataType.LocalizedText>;
58
- productCode: UAProperty<UAString, DataType.String>;
59
- serialNumber: UAProperty<UAString, DataType.String>;
60
78
  /**
61
79
  * motionDeviceCategory
62
80
  * The variable MotionDeviceCategory provides the
@@ -65,32 +83,19 @@ export interface UAMotionDevice_Base extends UAComponent_Base {
65
83
  */
66
84
  motionDeviceCategory: UAProperty<EnumMotionDeviceCategory, DataType.Int32>;
67
85
  /**
68
- * axes
69
- * Axes is a container for one or more instances of
70
- * the AxisType.
86
+ * parameterSet
87
+ * Flat list of Parameters
71
88
  */
72
- axes: UAFolder;
89
+ parameterSet: UAMotionDevice_parameterSet;
73
90
  /**
74
91
  * powerTrains
75
92
  * PowerTrains is a container for one or more
76
93
  * instances of the PowerTrainType.
77
94
  */
78
95
  powerTrains: UAFolder;
79
- /**
80
- * flangeLoad
81
- * The FlangeLoad is the load on the flange or at
82
- * the mounting point of the MotionDevice. This can
83
- * be the maximum load of the MotionDevice.
84
- */
85
- flangeLoad?: UALoad;
86
- /**
87
- * additionalComponents
88
- * AdditionalComponents is a container for one or
89
- * more instances of subtypes of ComponentType
90
- * defined in OPC UA DI. The listed components are
91
- * installed at the motion device, e.g. an IO-board.
92
- */
93
- additionalComponents?: UAFolder;
96
+ productCode: UAProperty<UAString, DataType.String>;
97
+ serialNumber: UAProperty<UAString, DataType.String>;
98
+ taskControlReference?: UABaseDataVariable<NodeId, DataType.NodeId>;
94
99
  }
95
- export interface UAMotionDevice extends Omit<UAComponent, "parameterSet" | "manufacturer" | "model" | "productCode" | "serialNumber">, UAMotionDevice_Base {
100
+ export interface UAMotionDevice extends Omit<UAComponent, "assetId" | "componentName" | "deviceManual" | "manufacturer" | "model" | "parameterSet" | "productCode" | "serialNumber">, UAMotionDevice_Base {
96
101
  }
@@ -1,3 +1,6 @@
1
+ import { UAProperty } from "node-opcua-address-space-base";
2
+ import { DataType } from "node-opcua-variant";
3
+ import { LocalizedText } from "node-opcua-data-model";
1
4
  import { UAFolder } from "node-opcua-nodeset-ua/dist/ua_folder";
2
5
  import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_component";
3
6
  /**
@@ -12,18 +15,19 @@ import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_com
12
15
  * |isAbstract |false |
13
16
  */
14
17
  export interface UAMotionDeviceSystem_Base extends UAComponent_Base {
15
- /**
16
- * motionDevices
17
- * Contains any kinematic or motion device which is
18
- * part of the motion device system.
19
- */
20
- motionDevices: UAFolder;
18
+ componentName?: UAProperty<LocalizedText, DataType.LocalizedText>;
21
19
  /**
22
20
  * controllers
23
21
  * Contains the set of controllers in the motion
24
22
  * device system.
25
23
  */
26
24
  controllers: UAFolder;
25
+ /**
26
+ * motionDevices
27
+ * Contains any kinematic or motion device which is
28
+ * part of the motion device system.
29
+ */
30
+ motionDevices: UAFolder;
27
31
  /**
28
32
  * safetyStates
29
33
  * Contains safety-related data from motion device
@@ -31,5 +35,5 @@ export interface UAMotionDeviceSystem_Base extends UAComponent_Base {
31
35
  */
32
36
  safetyStates: UAFolder;
33
37
  }
34
- export interface UAMotionDeviceSystem extends UAComponent, UAMotionDeviceSystem_Base {
38
+ export interface UAMotionDeviceSystem extends Omit<UAComponent, "componentName">, UAMotionDeviceSystem_Base {
35
39
  }