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