node-opcua-nodeset-robotics 2.51.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 +20 -0
- package/dist/enum_axis_motion_profile.d.ts +43 -0
- package/dist/enum_axis_motion_profile.js +49 -0
- package/dist/enum_axis_motion_profile.js.map +1 -0
- package/dist/enum_execution_mode.d.ts +24 -0
- package/dist/enum_execution_mode.js +30 -0
- package/dist/enum_execution_mode.js.map +1 -0
- package/dist/enum_motion_device_category.d.ts +61 -0
- package/dist/enum_motion_device_category.js +67 -0
- package/dist/enum_motion_device_category.js.map +1 -0
- package/dist/enum_operational_mode.d.ts +35 -0
- package/dist/enum_operational_mode.js +41 -0
- package/dist/enum_operational_mode.js.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/dist/ua_auxiliary_component.d.ts +28 -0
- package/dist/ua_auxiliary_component.js +3 -0
- package/dist/ua_auxiliary_component.js.map +1 -0
- package/dist/ua_axis.d.ts +59 -0
- package/dist/ua_axis.js +3 -0
- package/dist/ua_axis.js.map +1 -0
- package/dist/ua_controller.d.ts +112 -0
- package/dist/ua_controller.js +3 -0
- package/dist/ua_controller.js.map +1 -0
- package/dist/ua_drive.d.ts +29 -0
- package/dist/ua_drive.js +3 -0
- package/dist/ua_drive.js.map +1 -0
- package/dist/ua_emergency_stop_function.d.ts +34 -0
- package/dist/ua_emergency_stop_function.js +3 -0
- package/dist/ua_emergency_stop_function.js.map +1 -0
- package/dist/ua_gear.d.ts +44 -0
- package/dist/ua_gear.js +3 -0
- package/dist/ua_gear.js.map +1 -0
- package/dist/ua_load.d.ts +52 -0
- package/dist/ua_load.js +3 -0
- package/dist/ua_load.js.map +1 -0
- package/dist/ua_motion_device.d.ts +95 -0
- package/dist/ua_motion_device.js +3 -0
- package/dist/ua_motion_device.js.map +1 -0
- package/dist/ua_motion_device_system.d.ts +35 -0
- package/dist/ua_motion_device_system.js +3 -0
- package/dist/ua_motion_device_system.js.map +1 -0
- package/dist/ua_motor.d.ts +57 -0
- package/dist/ua_motor.js +3 -0
- package/dist/ua_motor.js.map +1 -0
- package/dist/ua_power_train.d.ts +16 -0
- package/dist/ua_power_train.js +3 -0
- package/dist/ua_power_train.js.map +1 -0
- package/dist/ua_protective_stop_function.d.ts +0 -0
- package/dist/ua_protective_stop_function.js +3 -0
- package/dist/ua_protective_stop_function.js.map +1 -0
- package/dist/ua_safety_state.d.ts +71 -0
- package/dist/ua_safety_state.js +3 -0
- package/dist/ua_safety_state.js.map +1 -0
- package/dist/ua_task_control.d.ts +52 -0
- package/dist/ua_task_control.js +3 -0
- package/dist/ua_task_control.js.map +1 -0
- package/dist/ua_user.d.ts +31 -0
- package/dist/ua_user.js +3 -0
- package/dist/ua_user.js.map +1 -0
- package/package.json +23 -0
- package/pnpm-lock.yaml +21 -0
- package/source/enum_axis_motion_profile.ts +45 -0
- package/source/enum_execution_mode.ts +26 -0
- package/source/enum_motion_device_category.ts +63 -0
- package/source/enum_operational_mode.ts +37 -0
- package/source/index.ts +19 -0
- package/source/ua_auxiliary_component.ts +31 -0
- package/source/ua_axis.ts +60 -0
- package/source/ua_controller.ts +113 -0
- package/source/ua_drive.ts +30 -0
- package/source/ua_emergency_stop_function.ts +35 -0
- package/source/ua_gear.ts +45 -0
- package/source/ua_load.ts +53 -0
- package/source/ua_motion_device.ts +96 -0
- package/source/ua_motion_device_system.ts +51 -0
- package/source/ua_motor.ts +58 -0
- package/source/ua_power_train.ts +17 -0
- package/source/ua_protective_stop_function.ts +0 -0
- package/source/ua_safety_state.ts +72 -0
- package/source/ua_task_control.ts +53 -0
- package/source/ua_user.ts +32 -0
- package/tsconfig.json +25 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { UAObject, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { LocalizedText } from "node-opcua-data-model";
|
|
4
|
+
import { UAString } from "node-opcua-basic-types";
|
|
5
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
6
|
+
import { UAAnalogUnit } from "node-opcua-nodeset-ua/source/ua_analog_unit";
|
|
7
|
+
import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder";
|
|
8
|
+
import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/source/ua_component";
|
|
9
|
+
import { UAUser } from "./ua_user";
|
|
10
|
+
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, /*z*/ DataType.String>;
|
|
17
|
+
/**
|
|
18
|
+
* startUpTime
|
|
19
|
+
* The date and time of the last start-up of the
|
|
20
|
+
* controller.
|
|
21
|
+
*/
|
|
22
|
+
startUpTime?: UABaseDataVariable<Date, /*z*/ DataType.DateTime>;
|
|
23
|
+
/**
|
|
24
|
+
* upsState
|
|
25
|
+
* The vendor specific status of an integrated UPS
|
|
26
|
+
* or accumulator system.
|
|
27
|
+
*/
|
|
28
|
+
upsState?: UABaseDataVariable<UAString, /*z*/ 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, /*z*/ DataType.Double>;
|
|
36
|
+
/**
|
|
37
|
+
* cabinetFanSpeed
|
|
38
|
+
* The speed of the cabinet fan.
|
|
39
|
+
*/
|
|
40
|
+
cabinetFanSpeed?: UAAnalogUnit<number, /*z*/ DataType.Double>;
|
|
41
|
+
/**
|
|
42
|
+
* cpUFanSpeed
|
|
43
|
+
* The speed of the CPU fan.
|
|
44
|
+
*/
|
|
45
|
+
cpUFanSpeed?: UAAnalogUnit<number, /*z*/ DataType.Double>;
|
|
46
|
+
/**
|
|
47
|
+
* inputVoltage
|
|
48
|
+
* The input voltage of the controller which can be
|
|
49
|
+
* a configured value. To distinguish between an AC
|
|
50
|
+
* or DC supply the optional property Definition of
|
|
51
|
+
* the base type DataItemType shall be used.
|
|
52
|
+
*/
|
|
53
|
+
inputVoltage?: UAAnalogUnit<number, /*z*/ DataType.Double>;
|
|
54
|
+
/**
|
|
55
|
+
* temperature
|
|
56
|
+
* The controller temperature given by a temperature
|
|
57
|
+
* sensor inside of the controller.
|
|
58
|
+
*/
|
|
59
|
+
temperature?: UAAnalogUnit<number, /*z*/ DataType.Double>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The ControllerType describes the control unit of
|
|
63
|
+
* motion devices. One motion device system can have
|
|
64
|
+
* one or more instances of the ControllerType.
|
|
65
|
+
*
|
|
66
|
+
* | | |
|
|
67
|
+
* |----------------|--------------------------------------------------|
|
|
68
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
69
|
+
* |nodeClass |ObjectType |
|
|
70
|
+
* |typedDefinition |7:ControllerType ns=7;i=1003 |
|
|
71
|
+
* |isAbstract |false |
|
|
72
|
+
*/
|
|
73
|
+
export interface UAController_Base extends UAComponent_Base {
|
|
74
|
+
/**
|
|
75
|
+
* parameterSet
|
|
76
|
+
* Flat list of Parameters
|
|
77
|
+
*/
|
|
78
|
+
parameterSet?: UAController_parameterSet;
|
|
79
|
+
manufacturer: UAProperty<LocalizedText, /*z*/ DataType.LocalizedText>;
|
|
80
|
+
model: UAProperty<LocalizedText, /*z*/ DataType.LocalizedText>;
|
|
81
|
+
productCode: UAProperty<UAString, /*z*/ DataType.String>;
|
|
82
|
+
serialNumber: UAProperty<UAString, /*z*/ DataType.String>;
|
|
83
|
+
/**
|
|
84
|
+
* currentUser
|
|
85
|
+
* The given name of the device.
|
|
86
|
+
*/
|
|
87
|
+
currentUser: UAUser;
|
|
88
|
+
/**
|
|
89
|
+
* components
|
|
90
|
+
* Components is a container for one or more
|
|
91
|
+
* instances of subtypes of ComponentType defined in
|
|
92
|
+
* OPC UA DI. The listed components are installed in
|
|
93
|
+
* the motion device system, e.g. a processing-unit,
|
|
94
|
+
* a power-supply, an IO-board or a drive, and have
|
|
95
|
+
* an electrical interface to the controller.
|
|
96
|
+
*/
|
|
97
|
+
components?: UAFolder;
|
|
98
|
+
/**
|
|
99
|
+
* software
|
|
100
|
+
* Software is a container for one or more instances
|
|
101
|
+
* of SoftwareType defined in OPC UA DI.
|
|
102
|
+
*/
|
|
103
|
+
software: UAFolder;
|
|
104
|
+
/**
|
|
105
|
+
* taskControls
|
|
106
|
+
* TaskControls is a container for one or more
|
|
107
|
+
* instances of TaskControlType.
|
|
108
|
+
*/
|
|
109
|
+
taskControls: UAFolder;
|
|
110
|
+
}
|
|
111
|
+
export interface UAController extends Omit<UAComponent, "parameterSet" | "manufacturer" | "model" | "productCode" | "serialNumber">, UAController_Base {
|
|
112
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_controller.js","sourceRoot":"","sources":["../source/ua_controller.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { UAString } from "node-opcua-basic-types";
|
|
4
|
+
import { UADevice, UADevice_Base } from "node-opcua-nodeset-di/source/ua_device";
|
|
5
|
+
/**
|
|
6
|
+
* Drives (multi-slot or single-slot axis amplifier)
|
|
7
|
+
* mounted in a controller cabinet or a motion
|
|
8
|
+
* device.
|
|
9
|
+
*
|
|
10
|
+
* | | |
|
|
11
|
+
* |----------------|--------------------------------------------------|
|
|
12
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
13
|
+
* |nodeClass |ObjectType |
|
|
14
|
+
* |typedDefinition |7:DriveType ns=7;i=17793 |
|
|
15
|
+
* |isAbstract |false |
|
|
16
|
+
*/
|
|
17
|
+
export interface UADrive_Base extends UADevice_Base {
|
|
18
|
+
/**
|
|
19
|
+
* productCode
|
|
20
|
+
* The ProductCode property provides a unique
|
|
21
|
+
* combination of numbers and letters used to
|
|
22
|
+
* identify the product. It may be the order
|
|
23
|
+
* information displayed on type shields or in ERP
|
|
24
|
+
* systems.
|
|
25
|
+
*/
|
|
26
|
+
productCode: UAProperty<UAString, /*z*/ DataType.String>;
|
|
27
|
+
}
|
|
28
|
+
export interface UADrive extends Omit<UADevice, "productCode">, UADrive_Base {
|
|
29
|
+
}
|
package/dist/ua_drive.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_drive.js","sourceRoot":"","sources":["../source/ua_drive.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
5
|
+
/**
|
|
6
|
+
* According to ISO 10218-1:2011 Ch.5.5.2 Emergency
|
|
7
|
+
* stop the robot shall have one or more emergency
|
|
8
|
+
* stop functions.
|
|
9
|
+
*
|
|
10
|
+
* | | |
|
|
11
|
+
* |----------------|--------------------------------------------------|
|
|
12
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
13
|
+
* |nodeClass |ObjectType |
|
|
14
|
+
* |typedDefinition |7:EmergencyStopFunctionType ns=7;i=17230 |
|
|
15
|
+
* |isAbstract |false |
|
|
16
|
+
*/
|
|
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, /*z*/ DataType.String>;
|
|
25
|
+
/**
|
|
26
|
+
* active
|
|
27
|
+
* The Active variable is TRUE if this particular
|
|
28
|
+
* emergency stop function is active, e.g. that the
|
|
29
|
+
* emergency stop button is pressed, FALSE otherwise.
|
|
30
|
+
*/
|
|
31
|
+
active: UABaseDataVariable<boolean, /*z*/ DataType.Boolean>;
|
|
32
|
+
}
|
|
33
|
+
export interface UAEmergencyStopFunction extends UAObject, UAEmergencyStopFunction_Base {
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_emergency_stop_function.js","sourceRoot":"","sources":["../source/ua_emergency_stop_function.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { UAString } from "node-opcua-basic-types";
|
|
5
|
+
import { DTRationalNumber } from "node-opcua-nodeset-ua/source/dt_rational_number";
|
|
6
|
+
import { UARationalNumber } from "node-opcua-nodeset-ua/source/ua_rational_number";
|
|
7
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
8
|
+
import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/source/ua_component";
|
|
9
|
+
/**
|
|
10
|
+
* The GearType describes a gear in a powertrain,
|
|
11
|
+
* e.g. a gear box or a spindle.
|
|
12
|
+
*
|
|
13
|
+
* | | |
|
|
14
|
+
* |----------------|--------------------------------------------------|
|
|
15
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
16
|
+
* |nodeClass |ObjectType |
|
|
17
|
+
* |typedDefinition |7:GearType ns=7;i=1022 |
|
|
18
|
+
* |isAbstract |false |
|
|
19
|
+
*/
|
|
20
|
+
export interface UAGear_Base extends UAComponent_Base {
|
|
21
|
+
manufacturer: UAProperty<LocalizedText, /*z*/ DataType.LocalizedText>;
|
|
22
|
+
model: UAProperty<LocalizedText, /*z*/ DataType.LocalizedText>;
|
|
23
|
+
productCode: UAProperty<UAString, /*z*/ DataType.String>;
|
|
24
|
+
serialNumber: UAProperty<UAString, /*z*/ DataType.String>;
|
|
25
|
+
/**
|
|
26
|
+
* gearRatio
|
|
27
|
+
* The transmission ratio of the gear expressed as a
|
|
28
|
+
* fraction as input velocity (motor side) by output
|
|
29
|
+
* velocity (load side).
|
|
30
|
+
*/
|
|
31
|
+
gearRatio: UARationalNumber<DTRationalNumber>;
|
|
32
|
+
/**
|
|
33
|
+
* pitch
|
|
34
|
+
* Pitch describes the distance covered in
|
|
35
|
+
* millimeters (mm) for linear motion per one
|
|
36
|
+
* revolution of the output side of the driving
|
|
37
|
+
* unit. Pitch is used in combination with GearRatio
|
|
38
|
+
* to describe the overall transmission from input
|
|
39
|
+
* to output of the gear.
|
|
40
|
+
*/
|
|
41
|
+
pitch?: UABaseDataVariable<number, /*z*/ DataType.Double>;
|
|
42
|
+
}
|
|
43
|
+
export interface UAGear extends Omit<UAComponent, "manufacturer" | "model" | "productCode" | "serialNumber">, UAGear_Base {
|
|
44
|
+
}
|
package/dist/ua_gear.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_gear.js","sourceRoot":"","sources":["../source/ua_gear.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { UAObject } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { UAAnalogUnit } from "node-opcua-nodeset-ua/source/ua_analog_unit";
|
|
4
|
+
import { DT3DFrame } from "node-opcua-nodeset-ua/source/dt_3_d_frame";
|
|
5
|
+
import { UA3DFrame } from "node-opcua-nodeset-ua/source/ua_3_d_frame";
|
|
6
|
+
import { DT3DVector } from "node-opcua-nodeset-ua/source/dt_3_d_vector";
|
|
7
|
+
import { UA3DVector } from "node-opcua-nodeset-ua/source/ua_3_d_vector";
|
|
8
|
+
/**
|
|
9
|
+
* The LoadType is for describing loads mounted on
|
|
10
|
+
* the motion device typically by an integrator or a
|
|
11
|
+
* customer.
|
|
12
|
+
*
|
|
13
|
+
* | | |
|
|
14
|
+
* |----------------|--------------------------------------------------|
|
|
15
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
16
|
+
* |nodeClass |ObjectType |
|
|
17
|
+
* |typedDefinition |7:LoadType ns=7;i=1018 |
|
|
18
|
+
* |isAbstract |false |
|
|
19
|
+
*/
|
|
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, /*z*/ DataType.Double>;
|
|
27
|
+
/**
|
|
28
|
+
* centerOfMass
|
|
29
|
+
* The position and orientation of the center of the
|
|
30
|
+
* mass related to the mounting point using a
|
|
31
|
+
* FrameType. X, Y, Z define the position of the
|
|
32
|
+
* center of gravity relative to the mounting point
|
|
33
|
+
* coordinate system. A, B, C define the orientation
|
|
34
|
+
* of the principal axes of inertia relative to the
|
|
35
|
+
* mounting point coordinate system. Orientation A,
|
|
36
|
+
* B, C can be "0" for systems which do not need
|
|
37
|
+
* these values.
|
|
38
|
+
*/
|
|
39
|
+
centerOfMass?: UA3DFrame<DT3DFrame>;
|
|
40
|
+
/**
|
|
41
|
+
* inertia
|
|
42
|
+
* The Inertia uses the VectorType to describe the
|
|
43
|
+
* three values of the principal moments of inertia
|
|
44
|
+
* with respect to the mounting point coordinate
|
|
45
|
+
* system. If inertia values are provided for rotary
|
|
46
|
+
* axis the CenterOfMass shall be completely filled
|
|
47
|
+
* as well.
|
|
48
|
+
*/
|
|
49
|
+
inertia?: UA3DVector<DT3DVector>;
|
|
50
|
+
}
|
|
51
|
+
export interface UALoad extends UAObject, UALoad_Base {
|
|
52
|
+
}
|
package/dist/ua_load.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_load.js","sourceRoot":"","sources":["../source/ua_load.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { UAObject, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { LocalizedText } from "node-opcua-data-model";
|
|
4
|
+
import { UAString } from "node-opcua-basic-types";
|
|
5
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
6
|
+
import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder";
|
|
7
|
+
import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/source/ua_component";
|
|
8
|
+
import { UALoad } from "./ua_load";
|
|
9
|
+
export interface UAMotionDevice_parameterSet extends UAObject {
|
|
10
|
+
/**
|
|
11
|
+
* onPath
|
|
12
|
+
* OnPath is true if the motion device is on or near
|
|
13
|
+
* enough the planned program path such that program
|
|
14
|
+
* execution can continue. If the MotionDevice
|
|
15
|
+
* deviates too much from this path in case of
|
|
16
|
+
* errors or an emergency stop, this value becomes
|
|
17
|
+
* false. If OnPath is false, the motion device
|
|
18
|
+
* needs repositioning to continue program execution.
|
|
19
|
+
*/
|
|
20
|
+
onPath?: UABaseDataVariable<boolean, /*z*/ DataType.Boolean>;
|
|
21
|
+
/**
|
|
22
|
+
* inControl
|
|
23
|
+
* InControl provides the information if the
|
|
24
|
+
* actuators (in most cases a motor) of the motion
|
|
25
|
+
* device are powered up and in control: "true". The
|
|
26
|
+
* motion device might be in a standstill.
|
|
27
|
+
*/
|
|
28
|
+
inControl?: UABaseDataVariable<boolean, /*z*/ DataType.Boolean>;
|
|
29
|
+
/**
|
|
30
|
+
* speedOverride
|
|
31
|
+
* SpeedOverride provides the current speed setting
|
|
32
|
+
* in percent of programmed speed (0 - 100%).
|
|
33
|
+
*/
|
|
34
|
+
speedOverride: UABaseDataVariable<number, /*z*/ DataType.Double>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Represents a specific motion device in the motion
|
|
38
|
+
* device system like a robot, a linear unit or a
|
|
39
|
+
* positioner. A MotionDevice should have at least
|
|
40
|
+
* one axis.
|
|
41
|
+
*
|
|
42
|
+
* | | |
|
|
43
|
+
* |----------------|--------------------------------------------------|
|
|
44
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
45
|
+
* |nodeClass |ObjectType |
|
|
46
|
+
* |typedDefinition |7:MotionDeviceType ns=7;i=1004 |
|
|
47
|
+
* |isAbstract |false |
|
|
48
|
+
*/
|
|
49
|
+
export interface UAMotionDevice_Base extends UAComponent_Base {
|
|
50
|
+
/**
|
|
51
|
+
* parameterSet
|
|
52
|
+
* Flat list of Parameters
|
|
53
|
+
*/
|
|
54
|
+
parameterSet: UAMotionDevice_parameterSet;
|
|
55
|
+
manufacturer: UAProperty<LocalizedText, /*z*/ DataType.LocalizedText>;
|
|
56
|
+
model: UAProperty<LocalizedText, /*z*/ DataType.LocalizedText>;
|
|
57
|
+
productCode: UAProperty<UAString, /*z*/ DataType.String>;
|
|
58
|
+
serialNumber: UAProperty<UAString, /*z*/ DataType.String>;
|
|
59
|
+
/**
|
|
60
|
+
* motionDeviceCategory
|
|
61
|
+
* The variable MotionDeviceCategory provides the
|
|
62
|
+
* kind of motion device defined by
|
|
63
|
+
* MotionDeviceCategoryEnumeration based on ISO 8373.
|
|
64
|
+
*/
|
|
65
|
+
motionDeviceCategory: UAProperty<any, any>;
|
|
66
|
+
/**
|
|
67
|
+
* axes
|
|
68
|
+
* Axes is a container for one or more instances of
|
|
69
|
+
* the AxisType.
|
|
70
|
+
*/
|
|
71
|
+
axes: UAFolder;
|
|
72
|
+
/**
|
|
73
|
+
* powerTrains
|
|
74
|
+
* PowerTrains is a container for one or more
|
|
75
|
+
* instances of the PowerTrainType.
|
|
76
|
+
*/
|
|
77
|
+
powerTrains: UAFolder;
|
|
78
|
+
/**
|
|
79
|
+
* flangeLoad
|
|
80
|
+
* The FlangeLoad is the load on the flange or at
|
|
81
|
+
* the mounting point of the MotionDevice. This can
|
|
82
|
+
* be the maximum load of the MotionDevice.
|
|
83
|
+
*/
|
|
84
|
+
flangeLoad?: UALoad;
|
|
85
|
+
/**
|
|
86
|
+
* additionalComponents
|
|
87
|
+
* AdditionalComponents is a container for one or
|
|
88
|
+
* more instances of subtypes of ComponentType
|
|
89
|
+
* defined in OPC UA DI. The listed components are
|
|
90
|
+
* installed at the motion device, e.g. an IO-board.
|
|
91
|
+
*/
|
|
92
|
+
additionalComponents?: UAFolder;
|
|
93
|
+
}
|
|
94
|
+
export interface UAMotionDevice extends Omit<UAComponent, "parameterSet" | "manufacturer" | "model" | "productCode" | "serialNumber">, UAMotionDevice_Base {
|
|
95
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_motion_device.js","sourceRoot":"","sources":["../source/ua_motion_device.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder";
|
|
2
|
+
import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/source/ua_component";
|
|
3
|
+
/**
|
|
4
|
+
* Contains the set of controllers and motion
|
|
5
|
+
* devices in a closely-coupled motion device system.
|
|
6
|
+
*
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|--------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |7:MotionDeviceSystemType ns=7;i=1002 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
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;
|
|
21
|
+
/**
|
|
22
|
+
* controllers
|
|
23
|
+
* Contains the set of controllers in the motion
|
|
24
|
+
* device system.
|
|
25
|
+
*/
|
|
26
|
+
controllers: UAFolder;
|
|
27
|
+
/**
|
|
28
|
+
* safetyStates
|
|
29
|
+
* Contains safety-related data from motion device
|
|
30
|
+
* system.
|
|
31
|
+
*/
|
|
32
|
+
safetyStates: UAFolder;
|
|
33
|
+
}
|
|
34
|
+
export interface UAMotionDeviceSystem extends UAComponent, UAMotionDeviceSystem_Base {
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_motion_device_system.js","sourceRoot":"","sources":["../source/ua_motion_device_system.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { UAObject, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { LocalizedText } from "node-opcua-data-model";
|
|
4
|
+
import { UInt16, UAString } from "node-opcua-basic-types";
|
|
5
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
6
|
+
import { UAAnalogUnit } from "node-opcua-nodeset-ua/source/ua_analog_unit";
|
|
7
|
+
import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/source/ua_component";
|
|
8
|
+
export interface UAMotor_parameterSet extends UAObject {
|
|
9
|
+
/**
|
|
10
|
+
* brakeReleased
|
|
11
|
+
* Indicates an optional variable used only for
|
|
12
|
+
* motors with brakes. If BrakeReleased is TRUE the
|
|
13
|
+
* motor is free to run. FALSE means that the motor
|
|
14
|
+
* shaft is locked by the brake.
|
|
15
|
+
*/
|
|
16
|
+
brakeReleased?: UABaseDataVariable<boolean, /*z*/ 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, /*z*/ DataType.Double>;
|
|
24
|
+
/**
|
|
25
|
+
* effectiveLoadRate
|
|
26
|
+
* EffectiveLoadRate is expressed as a percentage of
|
|
27
|
+
* maximum continuous load. The Joule integral is
|
|
28
|
+
* typically used to calculate the current load.
|
|
29
|
+
* Duration should be defined and documented by the
|
|
30
|
+
* vendor.
|
|
31
|
+
*/
|
|
32
|
+
effectiveLoadRate?: UABaseDataVariable<UInt16, /*z*/ DataType.UInt16>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The MotorType is for representing instances of
|
|
36
|
+
* electric motors.
|
|
37
|
+
*
|
|
38
|
+
* | | |
|
|
39
|
+
* |----------------|--------------------------------------------------|
|
|
40
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
41
|
+
* |nodeClass |ObjectType |
|
|
42
|
+
* |typedDefinition |7:MotorType ns=7;i=1019 |
|
|
43
|
+
* |isAbstract |false |
|
|
44
|
+
*/
|
|
45
|
+
export interface UAMotor_Base extends UAComponent_Base {
|
|
46
|
+
/**
|
|
47
|
+
* parameterSet
|
|
48
|
+
* Flat list of Parameters
|
|
49
|
+
*/
|
|
50
|
+
parameterSet: UAMotor_parameterSet;
|
|
51
|
+
manufacturer: UAProperty<LocalizedText, /*z*/ DataType.LocalizedText>;
|
|
52
|
+
model: UAProperty<LocalizedText, /*z*/ DataType.LocalizedText>;
|
|
53
|
+
productCode: UAProperty<UAString, /*z*/ DataType.String>;
|
|
54
|
+
serialNumber: UAProperty<UAString, /*z*/ DataType.String>;
|
|
55
|
+
}
|
|
56
|
+
export interface UAMotor extends Omit<UAComponent, "parameterSet" | "manufacturer" | "model" | "productCode" | "serialNumber">, UAMotor_Base {
|
|
57
|
+
}
|
package/dist/ua_motor.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_motor.js","sourceRoot":"","sources":["../source/ua_motor.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/source/ua_component";
|
|
2
|
+
/**
|
|
3
|
+
* The PowerTrainType represents instances of
|
|
4
|
+
* powertrains of a motion device.
|
|
5
|
+
*
|
|
6
|
+
* | | |
|
|
7
|
+
* |----------------|--------------------------------------------------|
|
|
8
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
9
|
+
* |nodeClass |ObjectType |
|
|
10
|
+
* |typedDefinition |7:PowerTrainType ns=7;i=16794 |
|
|
11
|
+
* |isAbstract |false |
|
|
12
|
+
*/
|
|
13
|
+
export interface UAPowerTrain_Base extends UAComponent_Base {
|
|
14
|
+
}
|
|
15
|
+
export interface UAPowerTrain extends UAComponent, UAPowerTrain_Base {
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_power_train.js","sourceRoot":"","sources":["../source/ua_power_train.ts"],"names":[],"mappings":""}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_protective_stop_function.js","sourceRoot":"","sources":["../source/ua_protective_stop_function.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { UAObject } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
4
|
+
import { UAFolder } from "node-opcua-nodeset-ua/source/ua_folder";
|
|
5
|
+
import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/source/ua_component";
|
|
6
|
+
export interface UASafetyState_parameterSet extends UAObject {
|
|
7
|
+
/**
|
|
8
|
+
* operationalMode
|
|
9
|
+
* The OperationalMode variable provides information
|
|
10
|
+
* about the current operational mode. Allowed
|
|
11
|
+
* values are described in
|
|
12
|
+
* OperationalModeEnumeration, see ISO 10218-1:2011
|
|
13
|
+
* Ch.5.7 Operational Modes.
|
|
14
|
+
*/
|
|
15
|
+
operationalMode: UABaseDataVariable<any, any>;
|
|
16
|
+
/**
|
|
17
|
+
* emergencyStop
|
|
18
|
+
* The EmergencyStop variable is TRUE if one or more
|
|
19
|
+
* of the emergency stop functions in the robot
|
|
20
|
+
* system are active, FALSE otherwise. If the
|
|
21
|
+
* EmergencyStopFunctions object is provided, then
|
|
22
|
+
* the value of this variable is TRUE if one or more
|
|
23
|
+
* of the listed emergency stop functions are active.
|
|
24
|
+
*/
|
|
25
|
+
emergencyStop: UABaseDataVariable<boolean, /*z*/ DataType.Boolean>;
|
|
26
|
+
/**
|
|
27
|
+
* protectiveStop
|
|
28
|
+
* The ProtectiveStop variable is TRUE if one or
|
|
29
|
+
* more of the enabled protective stop functions in
|
|
30
|
+
* the system are active, FALSE otherwise. If the
|
|
31
|
+
* ProtectiveStopFunctions object is provided, then
|
|
32
|
+
* the value of this variable is TRUE if one or more
|
|
33
|
+
* of the listed protective stop functions are
|
|
34
|
+
* enabled and active.
|
|
35
|
+
*/
|
|
36
|
+
protectiveStop: UABaseDataVariable<boolean, /*z*/ DataType.Boolean>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* SafetyStateType describes the safety states of
|
|
40
|
+
* the motion devices and controllers. One motion
|
|
41
|
+
* device system is associated with one or more
|
|
42
|
+
* instances of the SafetyStateType.
|
|
43
|
+
*
|
|
44
|
+
* | | |
|
|
45
|
+
* |----------------|--------------------------------------------------|
|
|
46
|
+
* |namespace |http://opcfoundation.org/UA/Robotics/ |
|
|
47
|
+
* |nodeClass |ObjectType |
|
|
48
|
+
* |typedDefinition |7:SafetyStateType ns=7;i=1013 |
|
|
49
|
+
* |isAbstract |false |
|
|
50
|
+
*/
|
|
51
|
+
export interface UASafetyState_Base extends UAComponent_Base {
|
|
52
|
+
/**
|
|
53
|
+
* parameterSet
|
|
54
|
+
* Flat list of Parameters
|
|
55
|
+
*/
|
|
56
|
+
parameterSet: UASafetyState_parameterSet;
|
|
57
|
+
/**
|
|
58
|
+
* emergencyStopFunctions
|
|
59
|
+
* EmergencyStopFunctions is a container for one or
|
|
60
|
+
* more instances of the EmergencyStopFunctionType.
|
|
61
|
+
*/
|
|
62
|
+
emergencyStopFunctions?: UAFolder;
|
|
63
|
+
/**
|
|
64
|
+
* protectiveStopFunctions
|
|
65
|
+
* ProtectiveStopFunctions is a container for one or
|
|
66
|
+
* more instances of the ProtectiveStopFunctionType.
|
|
67
|
+
*/
|
|
68
|
+
protectiveStopFunctions?: UAFolder;
|
|
69
|
+
}
|
|
70
|
+
export interface UASafetyState extends Omit<UAComponent, "parameterSet">, UASafetyState_Base {
|
|
71
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_safety_state.js","sourceRoot":"","sources":["../source/ua_safety_state.ts"],"names":[],"mappings":""}
|