node-opcua-nodeset-robotics 2.159.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.
- package/LICENSE +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/ua_auxiliary_component.d.ts +4 -3
- package/dist/ua_axis.d.ts +19 -17
- package/dist/ua_controller.d.ts +48 -41
- package/dist/ua_drive.d.ts +4 -3
- package/dist/ua_emergency_stop_function.d.ts +7 -7
- package/dist/ua_executing_substate_machine.d.ts +26 -0
- package/dist/ua_executing_substate_machine.js +3 -0
- package/dist/ua_executing_substate_machine.js.map +1 -0
- package/dist/ua_gear.d.ts +6 -5
- package/dist/ua_idle_substate_machine.d.ts +27 -0
- package/dist/ua_idle_substate_machine.js +3 -0
- package/dist/ua_idle_substate_machine.js.map +1 -0
- package/dist/ua_load.d.ts +7 -7
- package/dist/ua_motion_device.d.ts +39 -34
- package/dist/ua_motion_device_system.d.ts +11 -7
- package/dist/ua_motor.d.ts +11 -10
- package/dist/ua_multi_acknowledgeable_condition.d.ts +17 -0
- package/dist/ua_multi_acknowledgeable_condition.js +3 -0
- package/dist/ua_multi_acknowledgeable_condition.js.map +1 -0
- package/dist/ua_operation_state_machine.d.ts +74 -0
- package/dist/ua_operation_state_machine.js +3 -0
- package/dist/ua_operation_state_machine.js.map +1 -0
- package/dist/ua_power_train.d.ts +7 -2
- package/dist/ua_protective_stop_function.d.ts +11 -11
- package/dist/ua_ready_substate_machine.d.ts +28 -0
- package/dist/ua_ready_substate_machine.js +3 -0
- package/dist/ua_ready_substate_machine.js.map +1 -0
- package/dist/ua_safety_state.d.ts +18 -16
- package/dist/ua_system_operation.d.ts +20 -0
- package/dist/ua_system_operation.js +3 -0
- package/dist/ua_system_operation.js.map +1 -0
- package/dist/ua_system_operation_state_machine.d.ts +44 -0
- package/dist/ua_system_operation_state_machine.js +3 -0
- package/dist/ua_system_operation_state_machine.js.map +1 -0
- package/dist/ua_task_control.d.ts +17 -13
- package/dist/ua_task_control_operation.d.ts +20 -0
- package/dist/ua_task_control_operation.js +3 -0
- package/dist/ua_task_control_operation.js.map +1 -0
- package/dist/ua_task_control_state_machine.d.ts +45 -0
- package/dist/ua_task_control_state_machine.js +3 -0
- package/dist/ua_task_control_state_machine.js.map +1 -0
- package/dist/ua_task_module.d.ts +18 -0
- package/dist/ua_task_module.js +3 -0
- package/dist/ua_task_module.js.map +1 -0
- package/dist/ua_user.d.ts +3 -2
- package/package.json +10 -9
- package/source/index.ts +10 -0
- package/source/ua_auxiliary_component.ts +4 -3
- package/source/ua_axis.ts +19 -17
- package/source/ua_controller.ts +48 -41
- package/source/ua_drive.ts +4 -3
- package/source/ua_emergency_stop_function.ts +7 -7
- package/source/ua_executing_substate_machine.ts +27 -0
- package/source/ua_gear.ts +6 -5
- package/source/ua_idle_substate_machine.ts +28 -0
- package/source/ua_load.ts +7 -7
- package/source/ua_motion_device.ts +39 -34
- package/source/ua_motion_device_system.ts +11 -7
- package/source/ua_motor.ts +11 -10
- package/source/ua_multi_acknowledgeable_condition.ts +18 -0
- package/source/ua_operation_state_machine.ts +75 -0
- package/source/ua_power_train.ts +9 -2
- package/source/ua_protective_stop_function.ts +11 -11
- package/source/ua_ready_substate_machine.ts +29 -0
- package/source/ua_safety_state.ts +18 -16
- package/source/ua_system_operation.ts +21 -0
- package/source/ua_system_operation_state_machine.ts +45 -0
- package/source/ua_task_control.ts +17 -13
- package/source/ua_task_control_operation.ts +21 -0
- package/source/ua_task_control_state_machine.ts +46 -0
- package/source/ua_task_module.ts +19 -0
- package/source/ua_user.ts +3 -2
package/dist/ua_motor.d.ts
CHANGED
|
@@ -14,13 +14,6 @@ export interface UAMotor_parameterSet extends UAObject {
|
|
|
14
14
|
* shaft is locked by the brake.
|
|
15
15
|
*/
|
|
16
16
|
brakeReleased?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
17
|
-
/**
|
|
18
|
-
* motorTemperature
|
|
19
|
-
* The motor temperature provides the temperature of
|
|
20
|
-
* the motor. If there is no temperature sensor the
|
|
21
|
-
* value is set to \"null\".
|
|
22
|
-
*/
|
|
23
|
-
motorTemperature: UAAnalogUnit<number, DataType.Double>;
|
|
24
17
|
/**
|
|
25
18
|
* effectiveLoadRate
|
|
26
19
|
* EffectiveLoadRate is expressed as a percentage of
|
|
@@ -30,6 +23,13 @@ export interface UAMotor_parameterSet extends UAObject {
|
|
|
30
23
|
* vendor.
|
|
31
24
|
*/
|
|
32
25
|
effectiveLoadRate?: UABaseDataVariable<UInt16, DataType.UInt16>;
|
|
26
|
+
/**
|
|
27
|
+
* motorTemperature
|
|
28
|
+
* The motor temperature provides the temperature of
|
|
29
|
+
* the motor. If there is no temperature sensor the
|
|
30
|
+
* value is set to \"null\".
|
|
31
|
+
*/
|
|
32
|
+
motorTemperature: UAAnalogUnit<number, DataType.Double>;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* The MotorType is for representing instances of
|
|
@@ -43,15 +43,16 @@ export interface UAMotor_parameterSet extends UAObject {
|
|
|
43
43
|
* |isAbstract |false |
|
|
44
44
|
*/
|
|
45
45
|
export interface UAMotor_Base extends UAComponent_Base {
|
|
46
|
+
assetId?: UAProperty<UAString, DataType.String>;
|
|
47
|
+
manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
48
|
+
model: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
46
49
|
/**
|
|
47
50
|
* parameterSet
|
|
48
51
|
* Flat list of Parameters
|
|
49
52
|
*/
|
|
50
53
|
parameterSet: UAMotor_parameterSet;
|
|
51
|
-
manufacturer: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
52
|
-
model: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
53
54
|
productCode: UAProperty<UAString, DataType.String>;
|
|
54
55
|
serialNumber: UAProperty<UAString, DataType.String>;
|
|
55
56
|
}
|
|
56
|
-
export interface UAMotor extends Omit<UAComponent, "
|
|
57
|
+
export interface UAMotor extends Omit<UAComponent, "assetId" | "manufacturer" | "model" | "parameterSet" | "productCode" | "serialNumber">, UAMotor_Base {
|
|
57
58
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { LocalizedText } from "node-opcua-data-model";
|
|
4
|
+
import { UAAcknowledgeableCondition, UAAcknowledgeableCondition_Base } from "node-opcua-nodeset-ua/dist/ua_acknowledgeable_condition";
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |----------------|------------------------------------------------------------|
|
|
8
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
9
|
+
* |nodeClass |ObjectType |
|
|
10
|
+
* |typedDefinition |MultiAcknowledgeableConditionType i=1015 |
|
|
11
|
+
* |isAbstract |false |
|
|
12
|
+
*/
|
|
13
|
+
export interface UAMultiAcknowledgeableCondition_Base extends UAAcknowledgeableCondition_Base {
|
|
14
|
+
conditionDescriptions: UAProperty<LocalizedText[], DataType.LocalizedText>;
|
|
15
|
+
}
|
|
16
|
+
export interface UAMultiAcknowledgeableCondition extends UAAcknowledgeableCondition, UAMultiAcknowledgeableCondition_Base {
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_multi_acknowledgeable_condition.js","sourceRoot":"","sources":["../source/ua_multi_acknowledgeable_condition.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { UAMethod } from "node-opcua-address-space-base";
|
|
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 { DTEnumValue } from "node-opcua-nodeset-ua/dist/dt_enum_value";
|
|
6
|
+
import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/dist/ua_finite_state_machine";
|
|
7
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
|
|
8
|
+
import { UAState } from "node-opcua-nodeset-ua/dist/ua_state";
|
|
9
|
+
import { UATransition } from "node-opcua-nodeset-ua/dist/ua_transition";
|
|
10
|
+
import { UATransitionVariable } from "node-opcua-nodeset-ua/dist/ua_transition_variable";
|
|
11
|
+
import { UAMultiStateValueDiscrete } from "node-opcua-nodeset-ua/dist/ua_multi_state_value_discrete";
|
|
12
|
+
/**
|
|
13
|
+
* | | |
|
|
14
|
+
* |----------------|------------------------------------------------------------|
|
|
15
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
16
|
+
* |nodeClass |ObjectType |
|
|
17
|
+
* |typedDefinition |OperationStateMachineType i=1006 |
|
|
18
|
+
* |isAbstract |true |
|
|
19
|
+
*/
|
|
20
|
+
export interface UAOperationStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
21
|
+
configuredDefaultStopMode?: UABaseDataVariable<Int16, DataType.Int16>;
|
|
22
|
+
/**
|
|
23
|
+
* executing
|
|
24
|
+
* Entity is in a condition of execution.
|
|
25
|
+
*/
|
|
26
|
+
executing: UAState;
|
|
27
|
+
/**
|
|
28
|
+
* executingToIdle
|
|
29
|
+
* Changes from Executing to Idle
|
|
30
|
+
*/
|
|
31
|
+
executingToIdle: UATransition;
|
|
32
|
+
/**
|
|
33
|
+
* executingToReady
|
|
34
|
+
* Changes from Executing to Ready
|
|
35
|
+
*/
|
|
36
|
+
executingToReady: UATransition;
|
|
37
|
+
/**
|
|
38
|
+
* idle
|
|
39
|
+
* Entity is not in a condition to start execution.
|
|
40
|
+
*/
|
|
41
|
+
idle: UAState;
|
|
42
|
+
/**
|
|
43
|
+
* idleToIdle
|
|
44
|
+
* Changes from Idle to Idle.
|
|
45
|
+
*/
|
|
46
|
+
idleToIdle: UATransition;
|
|
47
|
+
/**
|
|
48
|
+
* idleToReady
|
|
49
|
+
* Changes from Idle to Ready
|
|
50
|
+
*/
|
|
51
|
+
idleToReady: UATransition;
|
|
52
|
+
lastTransition: UATransitionVariable<LocalizedText>;
|
|
53
|
+
lastTransitionReason: UAMultiStateValueDiscrete<Int16, DataType.Int16>;
|
|
54
|
+
possibleStopModes?: UABaseDataVariable<DTEnumValue[], DataType.ExtensionObject>;
|
|
55
|
+
/**
|
|
56
|
+
* ready
|
|
57
|
+
* Entity is in a condition to start execution.
|
|
58
|
+
*/
|
|
59
|
+
ready: UAState;
|
|
60
|
+
/**
|
|
61
|
+
* readyToExecuting
|
|
62
|
+
* Changes from Ready to Executing
|
|
63
|
+
*/
|
|
64
|
+
readyToExecuting: UATransition;
|
|
65
|
+
/**
|
|
66
|
+
* readyToIdle
|
|
67
|
+
* Changes from Ready to Idle
|
|
68
|
+
*/
|
|
69
|
+
readyToIdle: UATransition;
|
|
70
|
+
start?: UAMethod;
|
|
71
|
+
stop?: UAMethod;
|
|
72
|
+
}
|
|
73
|
+
export interface UAOperationStateMachine extends Omit<UAFiniteStateMachine, "lastTransition">, UAOperationStateMachine_Base {
|
|
74
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_operation_state_machine.js","sourceRoot":"","sources":["../source/ua_operation_state_machine.ts"],"names":[],"mappings":""}
|
package/dist/ua_power_train.d.ts
CHANGED
|
@@ -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 { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_component";
|
|
2
5
|
/**
|
|
3
6
|
* The PowerTrainType represents instances of
|
|
@@ -10,6 +13,8 @@ import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_com
|
|
|
10
13
|
* |typedDefinition |PowerTrainType i=16794 |
|
|
11
14
|
* |isAbstract |false |
|
|
12
15
|
*/
|
|
13
|
-
export
|
|
14
|
-
|
|
16
|
+
export interface UAPowerTrain_Base extends UAComponent_Base {
|
|
17
|
+
componentName?: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
18
|
+
}
|
|
19
|
+
export interface UAPowerTrain extends Omit<UAComponent, "componentName">, UAPowerTrain_Base {
|
|
15
20
|
}
|
|
@@ -17,12 +17,13 @@ import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_vari
|
|
|
17
17
|
*/
|
|
18
18
|
export interface UAProtectiveStopFunction_Base {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* The
|
|
22
|
-
*
|
|
23
|
-
*
|
|
20
|
+
* active
|
|
21
|
+
* – The Active variable is TRUE if this
|
|
22
|
+
* particular protective stop function is active,
|
|
23
|
+
* i.e. that a stop is initiated, FALSE otherwise.
|
|
24
|
+
* If Enabled is FALSE then Active shall be FALSE.
|
|
24
25
|
*/
|
|
25
|
-
|
|
26
|
+
active: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
26
27
|
/**
|
|
27
28
|
* enabled
|
|
28
29
|
* – The Enabled variable is TRUE if this
|
|
@@ -39,13 +40,12 @@ export interface UAProtectiveStopFunction_Base {
|
|
|
39
40
|
*/
|
|
40
41
|
enabled: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* If Enabled is FALSE then Active shall be FALSE.
|
|
43
|
+
* name
|
|
44
|
+
* The Name of the ProtectiveStopFunctionType
|
|
45
|
+
* provides a manufacturer-specific protective stop
|
|
46
|
+
* function identifier within the safety system.
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
name: UAProperty<UAString, DataType.String>;
|
|
49
49
|
}
|
|
50
50
|
export interface UAProtectiveStopFunction extends UAObject, UAProtectiveStopFunction_Base {
|
|
51
51
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UAMethod } from "node-opcua-address-space-base";
|
|
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 { 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 { UATransition } from "node-opcua-nodeset-ua/dist/ua_transition";
|
|
10
|
+
/**
|
|
11
|
+
* | | |
|
|
12
|
+
* |----------------|------------------------------------------------------------|
|
|
13
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
14
|
+
* |nodeClass |ObjectType |
|
|
15
|
+
* |typedDefinition |ReadySubstateMachineType i=1012 |
|
|
16
|
+
* |isAbstract |false |
|
|
17
|
+
*/
|
|
18
|
+
export interface UAReadySubstateMachine_Base extends UAFiniteStateMachine_Base {
|
|
19
|
+
atProgramStart: UAState;
|
|
20
|
+
lastTransition: UATransitionVariable<LocalizedText>;
|
|
21
|
+
lastTransitionReason: UAMultiStateValueDiscrete<Int16, DataType.Int16>;
|
|
22
|
+
programStartToSuspended: UATransition;
|
|
23
|
+
resetToProgramStart?: UAMethod;
|
|
24
|
+
suspended: UAState;
|
|
25
|
+
suspendedToProgramStart: UATransition;
|
|
26
|
+
}
|
|
27
|
+
export interface UAReadySubstateMachine extends Omit<UAFiniteStateMachine, "lastTransition">, UAReadySubstateMachine_Base {
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_ready_substate_machine.js","sourceRoot":"","sources":["../source/ua_ready_substate_machine.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +1,11 @@
|
|
|
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 { LocalizedText } from "node-opcua-data-model";
|
|
3
4
|
import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
|
|
4
5
|
import { UAFolder } from "node-opcua-nodeset-ua/dist/ua_folder";
|
|
5
6
|
import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_component";
|
|
6
7
|
import { EnumOperationalMode } from "./enum_operational_mode";
|
|
7
8
|
export interface UASafetyState_parameterSet extends UAObject {
|
|
8
|
-
/**
|
|
9
|
-
* operationalMode
|
|
10
|
-
* The OperationalMode variable provides information
|
|
11
|
-
* about the current operational mode. Allowed
|
|
12
|
-
* values are described in
|
|
13
|
-
* OperationalModeEnumeration, see ISO 10218-1:2011
|
|
14
|
-
* Ch.5.7 Operational Modes.
|
|
15
|
-
*/
|
|
16
|
-
operationalMode: UABaseDataVariable<EnumOperationalMode, DataType.Int32>;
|
|
17
9
|
/**
|
|
18
10
|
* emergencyStop
|
|
19
11
|
* The EmergencyStop variable is TRUE if one or more
|
|
@@ -24,6 +16,15 @@ export interface UASafetyState_parameterSet extends UAObject {
|
|
|
24
16
|
* of the listed emergency stop functions are active.
|
|
25
17
|
*/
|
|
26
18
|
emergencyStop: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
19
|
+
/**
|
|
20
|
+
* operationalMode
|
|
21
|
+
* The OperationalMode variable provides information
|
|
22
|
+
* about the current operational mode. Allowed
|
|
23
|
+
* values are described in
|
|
24
|
+
* OperationalModeEnumeration, see ISO 10218-1:2011
|
|
25
|
+
* Ch.5.7 Operational Modes.
|
|
26
|
+
*/
|
|
27
|
+
operationalMode: UABaseDataVariable<EnumOperationalMode, DataType.Int32>;
|
|
27
28
|
/**
|
|
28
29
|
* protectiveStop
|
|
29
30
|
* The ProtectiveStop variable is TRUE if one or
|
|
@@ -50,17 +51,18 @@ export interface UASafetyState_parameterSet extends UAObject {
|
|
|
50
51
|
* |isAbstract |false |
|
|
51
52
|
*/
|
|
52
53
|
export interface UASafetyState_Base extends UAComponent_Base {
|
|
53
|
-
|
|
54
|
-
* parameterSet
|
|
55
|
-
* Flat list of Parameters
|
|
56
|
-
*/
|
|
57
|
-
parameterSet: UASafetyState_parameterSet;
|
|
54
|
+
componentName?: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
58
55
|
/**
|
|
59
56
|
* emergencyStopFunctions
|
|
60
57
|
* EmergencyStopFunctions is a container for one or
|
|
61
58
|
* more instances of the EmergencyStopFunctionType.
|
|
62
59
|
*/
|
|
63
60
|
emergencyStopFunctions?: UAFolder;
|
|
61
|
+
/**
|
|
62
|
+
* parameterSet
|
|
63
|
+
* Flat list of Parameters
|
|
64
|
+
*/
|
|
65
|
+
parameterSet: UASafetyState_parameterSet;
|
|
64
66
|
/**
|
|
65
67
|
* protectiveStopFunctions
|
|
66
68
|
* ProtectiveStopFunctions is a container for one or
|
|
@@ -68,5 +70,5 @@ export interface UASafetyState_Base extends UAComponent_Base {
|
|
|
68
70
|
*/
|
|
69
71
|
protectiveStopFunctions?: UAFolder;
|
|
70
72
|
}
|
|
71
|
-
export interface UASafetyState extends Omit<UAComponent, "parameterSet">, UASafetyState_Base {
|
|
73
|
+
export interface UASafetyState extends Omit<UAComponent, "componentName" | "parameterSet">, UASafetyState_Base {
|
|
72
74
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UAObject, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { QualifiedName } from "node-opcua-data-model";
|
|
4
|
+
import { UAFolder } from "node-opcua-nodeset-ua/dist/ua_folder";
|
|
5
|
+
import { UASystemOperationStateMachine } from "./ua_system_operation_state_machine";
|
|
6
|
+
/**
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|------------------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |SystemOperationType i=1028 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
export interface UASystemOperation_Base {
|
|
15
|
+
conditions?: UAFolder;
|
|
16
|
+
defaultInstanceBrowseName: UAProperty<QualifiedName, DataType.QualifiedName>;
|
|
17
|
+
systemOperationStateMachine: UASystemOperationStateMachine;
|
|
18
|
+
}
|
|
19
|
+
export interface UASystemOperation extends UAObject, UASystemOperation_Base {
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_system_operation.js","sourceRoot":"","sources":["../source/ua_system_operation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { UAMethod } from "node-opcua-address-space-base";
|
|
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 { DTEnumValue } from "node-opcua-nodeset-ua/dist/dt_enum_value";
|
|
6
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
|
|
7
|
+
import { UAState } from "node-opcua-nodeset-ua/dist/ua_state";
|
|
8
|
+
import { UATransition } from "node-opcua-nodeset-ua/dist/ua_transition";
|
|
9
|
+
import { UATransitionVariable } from "node-opcua-nodeset-ua/dist/ua_transition_variable";
|
|
10
|
+
import { UAMultiStateValueDiscrete } from "node-opcua-nodeset-ua/dist/ua_multi_state_value_discrete";
|
|
11
|
+
import { UAOperationStateMachine, UAOperationStateMachine_Base } from "./ua_operation_state_machine";
|
|
12
|
+
import { UAExecutingSubstateMachine } from "./ua_executing_substate_machine";
|
|
13
|
+
import { UAIdleSubstateMachine } from "./ua_idle_substate_machine";
|
|
14
|
+
/**
|
|
15
|
+
* | | |
|
|
16
|
+
* |----------------|------------------------------------------------------------|
|
|
17
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
18
|
+
* |nodeClass |ObjectType |
|
|
19
|
+
* |typedDefinition |SystemOperationStateMachineType i=1021 |
|
|
20
|
+
* |isAbstract |false |
|
|
21
|
+
*/
|
|
22
|
+
export interface UASystemOperationStateMachine_Base extends UAOperationStateMachine_Base {
|
|
23
|
+
configuredDefaultStopMode?: UABaseDataVariable<Int16, DataType.Int16>;
|
|
24
|
+
executing: UAState;
|
|
25
|
+
executingSubstateMachine?: UAExecutingSubstateMachine;
|
|
26
|
+
executingToIdle: UATransition;
|
|
27
|
+
executingToReady: UATransition;
|
|
28
|
+
getReady?: UAMethod;
|
|
29
|
+
idle: UAState;
|
|
30
|
+
idleSubstateMachine?: UAIdleSubstateMachine;
|
|
31
|
+
idleToIdle: UATransition;
|
|
32
|
+
idleToReady: UATransition;
|
|
33
|
+
lastTransition: UATransitionVariable<LocalizedText>;
|
|
34
|
+
lastTransitionReason: UAMultiStateValueDiscrete<Int16, DataType.Int16>;
|
|
35
|
+
possibleStopModes?: UABaseDataVariable<DTEnumValue[], DataType.ExtensionObject>;
|
|
36
|
+
ready: UAState;
|
|
37
|
+
readyToExecuting: UATransition;
|
|
38
|
+
readyToIdle: UATransition;
|
|
39
|
+
standDown?: UAMethod;
|
|
40
|
+
start?: UAMethod;
|
|
41
|
+
stop?: UAMethod;
|
|
42
|
+
}
|
|
43
|
+
export interface UASystemOperationStateMachine extends Omit<UAOperationStateMachine, "configuredDefaultStopMode" | "executing" | "executingToIdle" | "executingToReady" | "idle" | "idleToIdle" | "idleToReady" | "lastTransition" | "lastTransitionReason" | "possibleStopModes" | "ready" | "readyToExecuting" | "readyToIdle" | "start" | "stop">, UASystemOperationStateMachine_Base {
|
|
44
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_system_operation_state_machine.js","sourceRoot":"","sources":["../source/ua_system_operation_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -3,14 +3,17 @@ 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
5
|
import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
|
|
6
|
+
import { UAFolder } from "node-opcua-nodeset-ua/dist/ua_folder";
|
|
6
7
|
import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_component";
|
|
7
8
|
import { EnumExecutionMode } from "./enum_execution_mode";
|
|
9
|
+
import { UATaskControlOperation } from "./ua_task_control_operation";
|
|
8
10
|
export interface UATaskControl_parameterSet extends UAObject {
|
|
9
11
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
+
* executionMode
|
|
13
|
+
* Execution mode of the task control (continuous or
|
|
14
|
+
* step-wise).
|
|
12
15
|
*/
|
|
13
|
-
|
|
16
|
+
executionMode?: UABaseDataVariable<EnumExecutionMode, DataType.Int32>;
|
|
14
17
|
/**
|
|
15
18
|
* taskProgramLoaded
|
|
16
19
|
* The TaskProgramLoaded variable is TRUE if a task
|
|
@@ -19,11 +22,10 @@ export interface UATaskControl_parameterSet extends UAObject {
|
|
|
19
22
|
*/
|
|
20
23
|
taskProgramLoaded: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
21
24
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* step-wise).
|
|
25
|
+
* taskProgramName
|
|
26
|
+
* A customer given identifier for the task program.
|
|
25
27
|
*/
|
|
26
|
-
|
|
28
|
+
taskProgramName: UABaseDataVariable<UAString, DataType.String>;
|
|
27
29
|
}
|
|
28
30
|
/**
|
|
29
31
|
* Represents a specific task control active on the
|
|
@@ -37,17 +39,19 @@ export interface UATaskControl_parameterSet extends UAObject {
|
|
|
37
39
|
* |isAbstract |false |
|
|
38
40
|
*/
|
|
39
41
|
export interface UATaskControl_Base extends UAComponent_Base {
|
|
40
|
-
/**
|
|
41
|
-
* parameterSet
|
|
42
|
-
* Flat list of Parameters
|
|
43
|
-
*/
|
|
44
|
-
parameterSet: UATaskControl_parameterSet;
|
|
45
42
|
/**
|
|
46
43
|
* componentName
|
|
47
44
|
* A user writable name provided by the vendor,
|
|
48
45
|
* integrator or user of the device.
|
|
49
46
|
*/
|
|
50
47
|
componentName: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
48
|
+
/**
|
|
49
|
+
* parameterSet
|
|
50
|
+
* Flat list of Parameters
|
|
51
|
+
*/
|
|
52
|
+
parameterSet: UATaskControl_parameterSet;
|
|
53
|
+
taskControlOperation?: UATaskControlOperation;
|
|
54
|
+
taskModules?: UAFolder;
|
|
51
55
|
}
|
|
52
|
-
export interface UATaskControl extends Omit<UAComponent, "
|
|
56
|
+
export interface UATaskControl extends Omit<UAComponent, "componentName" | "parameterSet">, UATaskControl_Base {
|
|
53
57
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UAObject, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { QualifiedName } from "node-opcua-data-model";
|
|
4
|
+
import { NodeId } from "node-opcua-nodeid";
|
|
5
|
+
import { UATaskControlStateMachine } from "./ua_task_control_state_machine";
|
|
6
|
+
/**
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|------------------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |TaskControlOperationType i=1008 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
export interface UATaskControlOperation_Base {
|
|
15
|
+
defaultInstanceBrowseName: UAProperty<QualifiedName, DataType.QualifiedName>;
|
|
16
|
+
motionDevicesUnderControl?: UAProperty<NodeId[], DataType.NodeId>;
|
|
17
|
+
taskControlStateMachine: UATaskControlStateMachine;
|
|
18
|
+
}
|
|
19
|
+
export interface UATaskControlOperation extends UAObject, UATaskControlOperation_Base {
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_task_control_operation.js","sourceRoot":"","sources":["../source/ua_task_control_operation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { UAMethod } from "node-opcua-address-space-base";
|
|
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 { DTEnumValue } from "node-opcua-nodeset-ua/dist/dt_enum_value";
|
|
6
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
|
|
7
|
+
import { UAState } from "node-opcua-nodeset-ua/dist/ua_state";
|
|
8
|
+
import { UATransition } from "node-opcua-nodeset-ua/dist/ua_transition";
|
|
9
|
+
import { UATransitionVariable } from "node-opcua-nodeset-ua/dist/ua_transition_variable";
|
|
10
|
+
import { UAMultiStateValueDiscrete } from "node-opcua-nodeset-ua/dist/ua_multi_state_value_discrete";
|
|
11
|
+
import { UAOperationStateMachine, UAOperationStateMachine_Base } from "./ua_operation_state_machine";
|
|
12
|
+
import { UAReadySubstateMachine } from "./ua_ready_substate_machine";
|
|
13
|
+
/**
|
|
14
|
+
* | | |
|
|
15
|
+
* |----------------|------------------------------------------------------------|
|
|
16
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
17
|
+
* |nodeClass |ObjectType |
|
|
18
|
+
* |typedDefinition |TaskControlStateMachineType i=1025 |
|
|
19
|
+
* |isAbstract |false |
|
|
20
|
+
*/
|
|
21
|
+
export interface UATaskControlStateMachine_Base extends UAOperationStateMachine_Base {
|
|
22
|
+
configuredDefaultStopMode?: UABaseDataVariable<Int16, DataType.Int16>;
|
|
23
|
+
executing: UAState;
|
|
24
|
+
executingToIdle: UATransition;
|
|
25
|
+
executingToReady: UATransition;
|
|
26
|
+
idle: UAState;
|
|
27
|
+
idleToIdle: UATransition;
|
|
28
|
+
idleToReady: UATransition;
|
|
29
|
+
lastTransition: UATransitionVariable<LocalizedText>;
|
|
30
|
+
lastTransitionReason: UAMultiStateValueDiscrete<Int16, DataType.Int16>;
|
|
31
|
+
loadByName?: UAMethod;
|
|
32
|
+
loadByNodeId?: UAMethod;
|
|
33
|
+
possibleStopModes?: UABaseDataVariable<DTEnumValue[], DataType.ExtensionObject>;
|
|
34
|
+
ready: UAState;
|
|
35
|
+
readySubstateMachine?: UAReadySubstateMachine;
|
|
36
|
+
readyToExecuting: UATransition;
|
|
37
|
+
readyToIdle: UATransition;
|
|
38
|
+
start?: UAMethod;
|
|
39
|
+
stop?: UAMethod;
|
|
40
|
+
unloadByName?: UAMethod;
|
|
41
|
+
unloadByNodeId?: UAMethod;
|
|
42
|
+
unloadProgram?: UAMethod;
|
|
43
|
+
}
|
|
44
|
+
export interface UATaskControlStateMachine extends Omit<UAOperationStateMachine, "configuredDefaultStopMode" | "executing" | "executingToIdle" | "executingToReady" | "idle" | "idleToIdle" | "idleToReady" | "lastTransition" | "lastTransitionReason" | "possibleStopModes" | "ready" | "readyToExecuting" | "readyToIdle" | "start" | "stop">, UATaskControlStateMachine_Base {
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_task_control_state_machine.js","sourceRoot":"","sources":["../source/ua_task_control_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UAObject, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { UAString } from "node-opcua-basic-types";
|
|
4
|
+
/**
|
|
5
|
+
* | | |
|
|
6
|
+
* |----------------|------------------------------------------------------------|
|
|
7
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
8
|
+
* |nodeClass |ObjectType |
|
|
9
|
+
* |typedDefinition |TaskModuleType i=1016 |
|
|
10
|
+
* |isAbstract |false |
|
|
11
|
+
*/
|
|
12
|
+
export interface UATaskModule_Base {
|
|
13
|
+
isReferenced?: UAProperty<boolean, DataType.Boolean>;
|
|
14
|
+
name: UAProperty<UAString, DataType.String>;
|
|
15
|
+
version?: UAProperty<UAString, DataType.String>;
|
|
16
|
+
}
|
|
17
|
+
export interface UATaskModule extends UAObject, UATaskModule_Base {
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_task_module.js","sourceRoot":"","sources":["../source/ua_task_module.ts"],"names":[],"mappings":""}
|
package/dist/ua_user.d.ts
CHANGED
|
@@ -16,8 +16,9 @@ import { UAString } from "node-opcua-basic-types";
|
|
|
16
16
|
export interface UAUser_Base {
|
|
17
17
|
/**
|
|
18
18
|
* level
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Provides information about the access rights and
|
|
20
|
+
* determines what can be viewed, updated, or
|
|
21
|
+
* deleted by a user
|
|
21
22
|
*/
|
|
22
23
|
level: UAProperty<UAString, DataType.String>;
|
|
23
24
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-nodeset-robotics",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.162.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module node-opcua-nodeset-robotics",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,14 +11,15 @@
|
|
|
11
11
|
"author": "Etienne Rossignon <etienne.rossignon@sterfive.com>",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"node-opcua-address-space-base": "2.
|
|
15
|
-
"node-opcua-basic-types": "2.
|
|
16
|
-
"node-opcua-data-access": "2.
|
|
17
|
-
"node-opcua-data-model": "2.
|
|
14
|
+
"node-opcua-address-space-base": "2.162.0",
|
|
15
|
+
"node-opcua-basic-types": "2.162.0",
|
|
16
|
+
"node-opcua-data-access": "2.162.0",
|
|
17
|
+
"node-opcua-data-model": "2.162.0",
|
|
18
18
|
"node-opcua-nodeid": "2.157.0",
|
|
19
|
-
"node-opcua-nodeset-di": "2.
|
|
20
|
-
"node-opcua-nodeset-ua": "2.
|
|
21
|
-
"node-opcua-
|
|
19
|
+
"node-opcua-nodeset-di": "2.162.0",
|
|
20
|
+
"node-opcua-nodeset-ua": "2.162.0",
|
|
21
|
+
"node-opcua-status-code": "2.162.0",
|
|
22
|
+
"node-opcua-variant": "2.162.0"
|
|
22
23
|
},
|
|
23
24
|
"files": [
|
|
24
25
|
"dist",
|
|
@@ -37,5 +38,5 @@
|
|
|
37
38
|
"internet of things"
|
|
38
39
|
],
|
|
39
40
|
"homepage": "http://node-opcua.github.io/",
|
|
40
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "78989e867fc6c2009002f6db4b7cbf8fb95161ae"
|
|
41
42
|
}
|