node-opcua-nodeset-cnc 2.97.0 → 2.98.1
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/dist/dt_cnc_position.d.ts +22 -22
- package/dist/dt_cnc_position.js +3 -3
- package/dist/enum_cnc_axis_status.d.ts +24 -24
- package/dist/enum_cnc_axis_status.js +29 -29
- package/dist/enum_cnc_channel_program_status.d.ts +32 -32
- package/dist/enum_cnc_channel_program_status.js +37 -37
- package/dist/enum_cnc_channel_status.d.ts +24 -24
- package/dist/enum_cnc_channel_status.js +29 -29
- package/dist/enum_cnc_operation_mode.d.ts +15 -15
- package/dist/enum_cnc_operation_mode.js +20 -20
- package/dist/enum_cnc_spindle_status.d.ts +32 -32
- package/dist/enum_cnc_spindle_status.js +37 -37
- package/dist/enum_cnc_spindle_turn_direction.d.ts +24 -24
- package/dist/enum_cnc_spindle_turn_direction.js +29 -29
- package/dist/index.d.ts +19 -19
- package/dist/index.js +35 -35
- package/dist/ua_cnc_alarm.d.ts +36 -36
- package/dist/ua_cnc_alarm.js +2 -2
- package/dist/ua_cnc_axis.d.ts +62 -62
- package/dist/ua_cnc_axis.js +2 -2
- package/dist/ua_cnc_axis_list.d.ts +15 -15
- package/dist/ua_cnc_axis_list.js +2 -2
- package/dist/ua_cnc_channel.d.ts +264 -264
- package/dist/ua_cnc_channel.js +2 -2
- package/dist/ua_cnc_channel_list.d.ts +15 -15
- package/dist/ua_cnc_channel_list.js +2 -2
- package/dist/ua_cnc_component.d.ts +16 -16
- package/dist/ua_cnc_component.js +2 -2
- package/dist/ua_cnc_drive.d.ts +78 -78
- package/dist/ua_cnc_drive.js +2 -2
- package/dist/ua_cnc_interface.d.ts +60 -60
- package/dist/ua_cnc_interface.js +2 -2
- package/dist/ua_cnc_message.d.ts +14 -14
- package/dist/ua_cnc_message.js +2 -2
- package/dist/ua_cnc_position_variable.d.ts +39 -39
- package/dist/ua_cnc_position_variable.js +2 -2
- package/dist/ua_cnc_spindle.d.ts +82 -82
- package/dist/ua_cnc_spindle.js +2 -2
- package/dist/ua_cnc_spindle_list.d.ts +221 -221
- package/dist/ua_cnc_spindle_list.js +2 -2
- package/package.json +29 -13
package/dist/ua_cnc_drive.d.ts
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
-
import { DataType } from "node-opcua-variant";
|
|
3
|
-
import { EUInformation } from "node-opcua-data-access";
|
|
4
|
-
import { NodeId } from "node-opcua-nodeid";
|
|
5
|
-
import { UAAnalogItem } from "node-opcua-nodeset-ua/source/ua_analog_item";
|
|
6
|
-
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range";
|
|
7
|
-
import { UADataItem } from "node-opcua-nodeset-ua/source/ua_data_item";
|
|
8
|
-
import { UACncComponent, UACncComponent_Base } from "./ua_cnc_component";
|
|
9
|
-
export interface UACncDrive_actLoad<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
10
|
-
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
11
|
-
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
12
|
-
}
|
|
13
|
-
export interface UACncDrive_actPower<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
14
|
-
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
15
|
-
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
16
|
-
}
|
|
17
|
-
export interface UACncDrive_actTorque<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
18
|
-
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
19
|
-
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
20
|
-
}
|
|
21
|
-
export interface UACncDrive_cmdTorque<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
22
|
-
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
23
|
-
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Base component for CNC specific drive componentes
|
|
27
|
-
* (e.g. axis or spindle).
|
|
28
|
-
*
|
|
29
|
-
* | | |
|
|
30
|
-
* |----------------|--------------------------------------------------|
|
|
31
|
-
* |namespace |http://opcfoundation.org/UA/CNC |
|
|
32
|
-
* |nodeClass |ObjectType |
|
|
33
|
-
* |typedDefinition |11:CncDriveType ns=11;i=1003 |
|
|
34
|
-
* |isAbstract |true |
|
|
35
|
-
*/
|
|
36
|
-
export interface UACncDrive_Base extends UACncComponent_Base {
|
|
37
|
-
/**
|
|
38
|
-
* actChannel
|
|
39
|
-
* NodeId of the channel object (CncChannelType)
|
|
40
|
-
* that administrates this drive to expose drive’s
|
|
41
|
-
* channel affiliation.
|
|
42
|
-
*/
|
|
43
|
-
actChannel: UADataItem<NodeId, DataType.NodeId>;
|
|
44
|
-
/**
|
|
45
|
-
* actLoad
|
|
46
|
-
* Drive load actual value.
|
|
47
|
-
*/
|
|
48
|
-
actLoad: UACncDrive_actLoad<number, DataType.Double>;
|
|
49
|
-
/**
|
|
50
|
-
* actPower
|
|
51
|
-
* Drive power actual value.
|
|
52
|
-
*/
|
|
53
|
-
actPower: UACncDrive_actPower<number, DataType.Double>;
|
|
54
|
-
/**
|
|
55
|
-
* actTorque
|
|
56
|
-
* Drive torque actual value.
|
|
57
|
-
*/
|
|
58
|
-
actTorque: UACncDrive_actTorque<number, DataType.Double>;
|
|
59
|
-
/**
|
|
60
|
-
* cmdTorque
|
|
61
|
-
* Drive torque setpoint value.
|
|
62
|
-
*/
|
|
63
|
-
cmdTorque: UACncDrive_cmdTorque<number, DataType.Double>;
|
|
64
|
-
/**
|
|
65
|
-
* isInactive
|
|
66
|
-
* Drive inactive state (true in case of inactive
|
|
67
|
-
* drive, else false).
|
|
68
|
-
*/
|
|
69
|
-
isInactive: UADataItem<boolean, DataType.Boolean>;
|
|
70
|
-
/**
|
|
71
|
-
* isVirtual
|
|
72
|
-
* Virtual axis (no hardware present; true in case
|
|
73
|
-
* of virtual axis, else fals).
|
|
74
|
-
*/
|
|
75
|
-
isVirtual: UADataItem<boolean, DataType.Boolean>;
|
|
76
|
-
}
|
|
77
|
-
export interface UACncDrive extends UACncComponent, UACncDrive_Base {
|
|
78
|
-
}
|
|
1
|
+
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { EUInformation } from "node-opcua-data-access";
|
|
4
|
+
import { NodeId } from "node-opcua-nodeid";
|
|
5
|
+
import { UAAnalogItem } from "node-opcua-nodeset-ua/source/ua_analog_item";
|
|
6
|
+
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range";
|
|
7
|
+
import { UADataItem } from "node-opcua-nodeset-ua/source/ua_data_item";
|
|
8
|
+
import { UACncComponent, UACncComponent_Base } from "./ua_cnc_component";
|
|
9
|
+
export interface UACncDrive_actLoad<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
10
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
11
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
12
|
+
}
|
|
13
|
+
export interface UACncDrive_actPower<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
14
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
15
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
16
|
+
}
|
|
17
|
+
export interface UACncDrive_actTorque<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
18
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
19
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
20
|
+
}
|
|
21
|
+
export interface UACncDrive_cmdTorque<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
22
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
23
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Base component for CNC specific drive componentes
|
|
27
|
+
* (e.g. axis or spindle).
|
|
28
|
+
*
|
|
29
|
+
* | | |
|
|
30
|
+
* |----------------|--------------------------------------------------|
|
|
31
|
+
* |namespace |http://opcfoundation.org/UA/CNC |
|
|
32
|
+
* |nodeClass |ObjectType |
|
|
33
|
+
* |typedDefinition |11:CncDriveType ns=11;i=1003 |
|
|
34
|
+
* |isAbstract |true |
|
|
35
|
+
*/
|
|
36
|
+
export interface UACncDrive_Base extends UACncComponent_Base {
|
|
37
|
+
/**
|
|
38
|
+
* actChannel
|
|
39
|
+
* NodeId of the channel object (CncChannelType)
|
|
40
|
+
* that administrates this drive to expose drive’s
|
|
41
|
+
* channel affiliation.
|
|
42
|
+
*/
|
|
43
|
+
actChannel: UADataItem<NodeId, DataType.NodeId>;
|
|
44
|
+
/**
|
|
45
|
+
* actLoad
|
|
46
|
+
* Drive load actual value.
|
|
47
|
+
*/
|
|
48
|
+
actLoad: UACncDrive_actLoad<number, DataType.Double>;
|
|
49
|
+
/**
|
|
50
|
+
* actPower
|
|
51
|
+
* Drive power actual value.
|
|
52
|
+
*/
|
|
53
|
+
actPower: UACncDrive_actPower<number, DataType.Double>;
|
|
54
|
+
/**
|
|
55
|
+
* actTorque
|
|
56
|
+
* Drive torque actual value.
|
|
57
|
+
*/
|
|
58
|
+
actTorque: UACncDrive_actTorque<number, DataType.Double>;
|
|
59
|
+
/**
|
|
60
|
+
* cmdTorque
|
|
61
|
+
* Drive torque setpoint value.
|
|
62
|
+
*/
|
|
63
|
+
cmdTorque: UACncDrive_cmdTorque<number, DataType.Double>;
|
|
64
|
+
/**
|
|
65
|
+
* isInactive
|
|
66
|
+
* Drive inactive state (true in case of inactive
|
|
67
|
+
* drive, else false).
|
|
68
|
+
*/
|
|
69
|
+
isInactive: UADataItem<boolean, DataType.Boolean>;
|
|
70
|
+
/**
|
|
71
|
+
* isVirtual
|
|
72
|
+
* Virtual axis (no hardware present; true in case
|
|
73
|
+
* of virtual axis, else fals).
|
|
74
|
+
*/
|
|
75
|
+
isVirtual: UADataItem<boolean, DataType.Boolean>;
|
|
76
|
+
}
|
|
77
|
+
export interface UACncDrive extends UACncComponent, UACncDrive_Base {
|
|
78
|
+
}
|
package/dist/ua_cnc_drive.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=ua_cnc_drive.js.map
|
|
@@ -1,60 +1,60 @@
|
|
|
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 { UACncAxisList } from "./ua_cnc_axis_list";
|
|
5
|
-
import { UACncChannelList } from "./ua_cnc_channel_list";
|
|
6
|
-
import { UACncSpindleList } from "./ua_cnc_spindle_list";
|
|
7
|
-
/**
|
|
8
|
-
* Entry point to CNC data interface.
|
|
9
|
-
*
|
|
10
|
-
* | | |
|
|
11
|
-
* |----------------|--------------------------------------------------|
|
|
12
|
-
* |namespace |http://opcfoundation.org/UA/CNC |
|
|
13
|
-
* |nodeClass |ObjectType |
|
|
14
|
-
* |typedDefinition |11:CncInterfaceType ns=11;i=1007 |
|
|
15
|
-
* |isAbstract |false |
|
|
16
|
-
*/
|
|
17
|
-
export interface UACncInterface_Base {
|
|
18
|
-
/**
|
|
19
|
-
* cncAxisList
|
|
20
|
-
* List of CNC axis objects.
|
|
21
|
-
*/
|
|
22
|
-
cncAxisList: UACncAxisList;
|
|
23
|
-
/**
|
|
24
|
-
* cncChannelList
|
|
25
|
-
* List of CNC channel objects.
|
|
26
|
-
*/
|
|
27
|
-
cncChannelList: UACncChannelList;
|
|
28
|
-
/**
|
|
29
|
-
* cncSpindleList
|
|
30
|
-
* List of CNC spindle objects.
|
|
31
|
-
*/
|
|
32
|
-
cncSpindleList: UACncSpindleList;
|
|
33
|
-
cncTypeName?: UAProperty<UAString, DataType.String>;
|
|
34
|
-
/**
|
|
35
|
-
* fix
|
|
36
|
-
* Version of CNC interface considering changes in
|
|
37
|
-
* implementation (Bug Fix).
|
|
38
|
-
*/
|
|
39
|
-
fix?: UAProperty<UAString, DataType.String>;
|
|
40
|
-
/**
|
|
41
|
-
* vendorName
|
|
42
|
-
* Name of CNC system vendor. Format and content may
|
|
43
|
-
* be chosen by vendor.
|
|
44
|
-
*/
|
|
45
|
-
vendorName: UAProperty<UAString, DataType.String>;
|
|
46
|
-
/**
|
|
47
|
-
* vendorRevision
|
|
48
|
-
* Vendor revision of CNC interface. Format and
|
|
49
|
-
* content may be chosen by vendor.
|
|
50
|
-
*/
|
|
51
|
-
vendorRevision: UAProperty<UAString, DataType.String>;
|
|
52
|
-
/**
|
|
53
|
-
* version
|
|
54
|
-
* Version of CNC interface - corresponds to version
|
|
55
|
-
* of OPC UA companion standard.
|
|
56
|
-
*/
|
|
57
|
-
version: UAProperty<UAString, DataType.String>;
|
|
58
|
-
}
|
|
59
|
-
export interface UACncInterface extends UAObject, UACncInterface_Base {
|
|
60
|
-
}
|
|
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 { UACncAxisList } from "./ua_cnc_axis_list";
|
|
5
|
+
import { UACncChannelList } from "./ua_cnc_channel_list";
|
|
6
|
+
import { UACncSpindleList } from "./ua_cnc_spindle_list";
|
|
7
|
+
/**
|
|
8
|
+
* Entry point to CNC data interface.
|
|
9
|
+
*
|
|
10
|
+
* | | |
|
|
11
|
+
* |----------------|--------------------------------------------------|
|
|
12
|
+
* |namespace |http://opcfoundation.org/UA/CNC |
|
|
13
|
+
* |nodeClass |ObjectType |
|
|
14
|
+
* |typedDefinition |11:CncInterfaceType ns=11;i=1007 |
|
|
15
|
+
* |isAbstract |false |
|
|
16
|
+
*/
|
|
17
|
+
export interface UACncInterface_Base {
|
|
18
|
+
/**
|
|
19
|
+
* cncAxisList
|
|
20
|
+
* List of CNC axis objects.
|
|
21
|
+
*/
|
|
22
|
+
cncAxisList: UACncAxisList;
|
|
23
|
+
/**
|
|
24
|
+
* cncChannelList
|
|
25
|
+
* List of CNC channel objects.
|
|
26
|
+
*/
|
|
27
|
+
cncChannelList: UACncChannelList;
|
|
28
|
+
/**
|
|
29
|
+
* cncSpindleList
|
|
30
|
+
* List of CNC spindle objects.
|
|
31
|
+
*/
|
|
32
|
+
cncSpindleList: UACncSpindleList;
|
|
33
|
+
cncTypeName?: UAProperty<UAString, DataType.String>;
|
|
34
|
+
/**
|
|
35
|
+
* fix
|
|
36
|
+
* Version of CNC interface considering changes in
|
|
37
|
+
* implementation (Bug Fix).
|
|
38
|
+
*/
|
|
39
|
+
fix?: UAProperty<UAString, DataType.String>;
|
|
40
|
+
/**
|
|
41
|
+
* vendorName
|
|
42
|
+
* Name of CNC system vendor. Format and content may
|
|
43
|
+
* be chosen by vendor.
|
|
44
|
+
*/
|
|
45
|
+
vendorName: UAProperty<UAString, DataType.String>;
|
|
46
|
+
/**
|
|
47
|
+
* vendorRevision
|
|
48
|
+
* Vendor revision of CNC interface. Format and
|
|
49
|
+
* content may be chosen by vendor.
|
|
50
|
+
*/
|
|
51
|
+
vendorRevision: UAProperty<UAString, DataType.String>;
|
|
52
|
+
/**
|
|
53
|
+
* version
|
|
54
|
+
* Version of CNC interface - corresponds to version
|
|
55
|
+
* of OPC UA companion standard.
|
|
56
|
+
*/
|
|
57
|
+
version: UAProperty<UAString, DataType.String>;
|
|
58
|
+
}
|
|
59
|
+
export interface UACncInterface extends UAObject, UACncInterface_Base {
|
|
60
|
+
}
|
package/dist/ua_cnc_interface.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=ua_cnc_interface.js.map
|
package/dist/ua_cnc_message.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { UABaseEvent, UABaseEvent_Base } from "node-opcua-nodeset-ua/source/ua_base_event";
|
|
2
|
-
/**
|
|
3
|
-
* Event transmitting simple information messages.
|
|
4
|
-
*
|
|
5
|
-
* | | |
|
|
6
|
-
* |----------------|--------------------------------------------------|
|
|
7
|
-
* |namespace |http://opcfoundation.org/UA/CNC |
|
|
8
|
-
* |nodeClass |ObjectType |
|
|
9
|
-
* |typedDefinition |11:CncMessageType ns=11;i=1011 |
|
|
10
|
-
* |isAbstract |false |
|
|
11
|
-
*/
|
|
12
|
-
export type UACncMessage_Base = UABaseEvent_Base;
|
|
13
|
-
export interface UACncMessage extends UABaseEvent, UACncMessage_Base {
|
|
14
|
-
}
|
|
1
|
+
import { UABaseEvent, UABaseEvent_Base } from "node-opcua-nodeset-ua/source/ua_base_event";
|
|
2
|
+
/**
|
|
3
|
+
* Event transmitting simple information messages.
|
|
4
|
+
*
|
|
5
|
+
* | | |
|
|
6
|
+
* |----------------|--------------------------------------------------|
|
|
7
|
+
* |namespace |http://opcfoundation.org/UA/CNC |
|
|
8
|
+
* |nodeClass |ObjectType |
|
|
9
|
+
* |typedDefinition |11:CncMessageType ns=11;i=1011 |
|
|
10
|
+
* |isAbstract |false |
|
|
11
|
+
*/
|
|
12
|
+
export type UACncMessage_Base = UABaseEvent_Base;
|
|
13
|
+
export interface UACncMessage extends UABaseEvent, UACncMessage_Base {
|
|
14
|
+
}
|
package/dist/ua_cnc_message.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=ua_cnc_message.js.map
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
-
import { DataType } from "node-opcua-variant";
|
|
3
|
-
import { EUInformation } from "node-opcua-data-access";
|
|
4
|
-
import { UABaseDataVariable, UABaseDataVariable_Base } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
5
|
-
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range";
|
|
6
|
-
import { DTCncPosition } from "./dt_cnc_position";
|
|
7
|
-
/**
|
|
8
|
-
* Group of position values.
|
|
9
|
-
*
|
|
10
|
-
* | | |
|
|
11
|
-
* |----------------|--------------------------------------------------|
|
|
12
|
-
* |namespace |http://opcfoundation.org/UA/CNC |
|
|
13
|
-
* |nodeClass |VariableType |
|
|
14
|
-
* |typedDefinition |11:CncPositionVariableType ns=11;i=2001 |
|
|
15
|
-
* |dataType |ExtensionObject |
|
|
16
|
-
* |dataType Name |DTCncPosition ns=11;i=3007 |
|
|
17
|
-
* |isAbstract |false |
|
|
18
|
-
*/
|
|
19
|
-
export interface UACncPositionVariable_Base<T extends DTCncPosition> extends UABaseDataVariable_Base<T, DataType.ExtensionObject> {
|
|
20
|
-
/**
|
|
21
|
-
* actPos
|
|
22
|
-
* Position current value.
|
|
23
|
-
*/
|
|
24
|
-
actPos: UABaseDataVariable<number, DataType.Double>;
|
|
25
|
-
/**
|
|
26
|
-
* cmdPos
|
|
27
|
-
* Position setpoint value.
|
|
28
|
-
*/
|
|
29
|
-
cmdPos: UABaseDataVariable<number, DataType.Double>;
|
|
30
|
-
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
31
|
-
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
32
|
-
/**
|
|
33
|
-
* remDist
|
|
34
|
-
* Remaining distance to go.
|
|
35
|
-
*/
|
|
36
|
-
remDist: UABaseDataVariable<number, DataType.Double>;
|
|
37
|
-
}
|
|
38
|
-
export interface UACncPositionVariable<T extends DTCncPosition> extends UABaseDataVariable<T, DataType.ExtensionObject>, UACncPositionVariable_Base<T> {
|
|
39
|
-
}
|
|
1
|
+
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { EUInformation } from "node-opcua-data-access";
|
|
4
|
+
import { UABaseDataVariable, UABaseDataVariable_Base } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
5
|
+
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range";
|
|
6
|
+
import { DTCncPosition } from "./dt_cnc_position";
|
|
7
|
+
/**
|
|
8
|
+
* Group of position values.
|
|
9
|
+
*
|
|
10
|
+
* | | |
|
|
11
|
+
* |----------------|--------------------------------------------------|
|
|
12
|
+
* |namespace |http://opcfoundation.org/UA/CNC |
|
|
13
|
+
* |nodeClass |VariableType |
|
|
14
|
+
* |typedDefinition |11:CncPositionVariableType ns=11;i=2001 |
|
|
15
|
+
* |dataType |ExtensionObject |
|
|
16
|
+
* |dataType Name |DTCncPosition ns=11;i=3007 |
|
|
17
|
+
* |isAbstract |false |
|
|
18
|
+
*/
|
|
19
|
+
export interface UACncPositionVariable_Base<T extends DTCncPosition> extends UABaseDataVariable_Base<T, DataType.ExtensionObject> {
|
|
20
|
+
/**
|
|
21
|
+
* actPos
|
|
22
|
+
* Position current value.
|
|
23
|
+
*/
|
|
24
|
+
actPos: UABaseDataVariable<number, DataType.Double>;
|
|
25
|
+
/**
|
|
26
|
+
* cmdPos
|
|
27
|
+
* Position setpoint value.
|
|
28
|
+
*/
|
|
29
|
+
cmdPos: UABaseDataVariable<number, DataType.Double>;
|
|
30
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
31
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
32
|
+
/**
|
|
33
|
+
* remDist
|
|
34
|
+
* Remaining distance to go.
|
|
35
|
+
*/
|
|
36
|
+
remDist: UABaseDataVariable<number, DataType.Double>;
|
|
37
|
+
}
|
|
38
|
+
export interface UACncPositionVariable<T extends DTCncPosition> extends UABaseDataVariable<T, DataType.ExtensionObject>, UACncPositionVariable_Base<T> {
|
|
39
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=ua_cnc_position_variable.js.map
|
package/dist/ua_cnc_spindle.d.ts
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
-
import { DataType } from "node-opcua-variant";
|
|
3
|
-
import { EUInformation } from "node-opcua-data-access";
|
|
4
|
-
import { UInt32 } from "node-opcua-basic-types";
|
|
5
|
-
import { UAAnalogItem } from "node-opcua-nodeset-ua/source/ua_analog_item";
|
|
6
|
-
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range";
|
|
7
|
-
import { UADataItem } from "node-opcua-nodeset-ua/source/ua_data_item";
|
|
8
|
-
import { UACncDrive, UACncDrive_Base } from "./ua_cnc_drive";
|
|
9
|
-
import { EnumCncSpindleStatus } from "./enum_cnc_spindle_status";
|
|
10
|
-
import { EnumCncSpindleTurnDirection } from "./enum_cnc_spindle_turn_direction";
|
|
11
|
-
import { DTCncPosition } from "./dt_cnc_position";
|
|
12
|
-
import { UACncPositionVariable } from "./ua_cnc_position_variable";
|
|
13
|
-
export interface UACncSpindle_actSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
14
|
-
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
15
|
-
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
16
|
-
}
|
|
17
|
-
export interface UACncSpindle_cmdSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
18
|
-
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
19
|
-
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* CNC spindle component.
|
|
23
|
-
*
|
|
24
|
-
* | | |
|
|
25
|
-
* |----------------|--------------------------------------------------|
|
|
26
|
-
* |namespace |http://opcfoundation.org/UA/CNC |
|
|
27
|
-
* |nodeClass |ObjectType |
|
|
28
|
-
* |typedDefinition |11:CncSpindleType ns=11;i=1005 |
|
|
29
|
-
* |isAbstract |false |
|
|
30
|
-
*/
|
|
31
|
-
export interface UACncSpindle_Base extends UACncDrive_Base {
|
|
32
|
-
/**
|
|
33
|
-
* actGear
|
|
34
|
-
* Gear stage actual value.
|
|
35
|
-
*/
|
|
36
|
-
actGear: UADataItem<UInt32, DataType.UInt32>;
|
|
37
|
-
/**
|
|
38
|
-
* actOverride
|
|
39
|
-
* Override actual value.
|
|
40
|
-
*/
|
|
41
|
-
actOverride: UAAnalogItem<number, DataType.Double>;
|
|
42
|
-
/**
|
|
43
|
-
* actSpeed
|
|
44
|
-
* Speed actual value.
|
|
45
|
-
*/
|
|
46
|
-
actSpeed: UACncSpindle_actSpeed<number, DataType.Double>;
|
|
47
|
-
/**
|
|
48
|
-
* actStatus
|
|
49
|
-
* Actual spindle state.
|
|
50
|
-
*/
|
|
51
|
-
actStatus: UADataItem<EnumCncSpindleStatus, DataType.Int32>;
|
|
52
|
-
/**
|
|
53
|
-
* actTurnDirection
|
|
54
|
-
* Turn direction actual value.
|
|
55
|
-
*/
|
|
56
|
-
actTurnDirection: UADataItem<EnumCncSpindleTurnDirection, DataType.Int32>;
|
|
57
|
-
/**
|
|
58
|
-
* anglePos
|
|
59
|
-
* Spindle angular position values in case of
|
|
60
|
-
* interpolated (position controlled) spindle
|
|
61
|
-
* movement. Returns zeros in case of regular
|
|
62
|
-
* spindle operation (velocity controlled).
|
|
63
|
-
*/
|
|
64
|
-
anglePos: UACncPositionVariable<DTCncPosition>;
|
|
65
|
-
/**
|
|
66
|
-
* cmdGear
|
|
67
|
-
* Gear stage setpoint value.
|
|
68
|
-
*/
|
|
69
|
-
cmdGear: UADataItem<UInt32, DataType.UInt32>;
|
|
70
|
-
/**
|
|
71
|
-
* cmdOverride
|
|
72
|
-
* Override setpoint value.
|
|
73
|
-
*/
|
|
74
|
-
cmdOverride: UAAnalogItem<number, DataType.Double>;
|
|
75
|
-
/**
|
|
76
|
-
* cmdSpeed
|
|
77
|
-
* Speed setpoint value.
|
|
78
|
-
*/
|
|
79
|
-
cmdSpeed: UACncSpindle_cmdSpeed<number, DataType.Double>;
|
|
80
|
-
}
|
|
81
|
-
export interface UACncSpindle extends UACncDrive, UACncSpindle_Base {
|
|
82
|
-
}
|
|
1
|
+
import { UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { EUInformation } from "node-opcua-data-access";
|
|
4
|
+
import { UInt32 } from "node-opcua-basic-types";
|
|
5
|
+
import { UAAnalogItem } from "node-opcua-nodeset-ua/source/ua_analog_item";
|
|
6
|
+
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range";
|
|
7
|
+
import { UADataItem } from "node-opcua-nodeset-ua/source/ua_data_item";
|
|
8
|
+
import { UACncDrive, UACncDrive_Base } from "./ua_cnc_drive";
|
|
9
|
+
import { EnumCncSpindleStatus } from "./enum_cnc_spindle_status";
|
|
10
|
+
import { EnumCncSpindleTurnDirection } from "./enum_cnc_spindle_turn_direction";
|
|
11
|
+
import { DTCncPosition } from "./dt_cnc_position";
|
|
12
|
+
import { UACncPositionVariable } from "./ua_cnc_position_variable";
|
|
13
|
+
export interface UACncSpindle_actSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
14
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
15
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
16
|
+
}
|
|
17
|
+
export interface UACncSpindle_cmdSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
18
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
19
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* CNC spindle component.
|
|
23
|
+
*
|
|
24
|
+
* | | |
|
|
25
|
+
* |----------------|--------------------------------------------------|
|
|
26
|
+
* |namespace |http://opcfoundation.org/UA/CNC |
|
|
27
|
+
* |nodeClass |ObjectType |
|
|
28
|
+
* |typedDefinition |11:CncSpindleType ns=11;i=1005 |
|
|
29
|
+
* |isAbstract |false |
|
|
30
|
+
*/
|
|
31
|
+
export interface UACncSpindle_Base extends UACncDrive_Base {
|
|
32
|
+
/**
|
|
33
|
+
* actGear
|
|
34
|
+
* Gear stage actual value.
|
|
35
|
+
*/
|
|
36
|
+
actGear: UADataItem<UInt32, DataType.UInt32>;
|
|
37
|
+
/**
|
|
38
|
+
* actOverride
|
|
39
|
+
* Override actual value.
|
|
40
|
+
*/
|
|
41
|
+
actOverride: UAAnalogItem<number, DataType.Double>;
|
|
42
|
+
/**
|
|
43
|
+
* actSpeed
|
|
44
|
+
* Speed actual value.
|
|
45
|
+
*/
|
|
46
|
+
actSpeed: UACncSpindle_actSpeed<number, DataType.Double>;
|
|
47
|
+
/**
|
|
48
|
+
* actStatus
|
|
49
|
+
* Actual spindle state.
|
|
50
|
+
*/
|
|
51
|
+
actStatus: UADataItem<EnumCncSpindleStatus, DataType.Int32>;
|
|
52
|
+
/**
|
|
53
|
+
* actTurnDirection
|
|
54
|
+
* Turn direction actual value.
|
|
55
|
+
*/
|
|
56
|
+
actTurnDirection: UADataItem<EnumCncSpindleTurnDirection, DataType.Int32>;
|
|
57
|
+
/**
|
|
58
|
+
* anglePos
|
|
59
|
+
* Spindle angular position values in case of
|
|
60
|
+
* interpolated (position controlled) spindle
|
|
61
|
+
* movement. Returns zeros in case of regular
|
|
62
|
+
* spindle operation (velocity controlled).
|
|
63
|
+
*/
|
|
64
|
+
anglePos: UACncPositionVariable<DTCncPosition>;
|
|
65
|
+
/**
|
|
66
|
+
* cmdGear
|
|
67
|
+
* Gear stage setpoint value.
|
|
68
|
+
*/
|
|
69
|
+
cmdGear: UADataItem<UInt32, DataType.UInt32>;
|
|
70
|
+
/**
|
|
71
|
+
* cmdOverride
|
|
72
|
+
* Override setpoint value.
|
|
73
|
+
*/
|
|
74
|
+
cmdOverride: UAAnalogItem<number, DataType.Double>;
|
|
75
|
+
/**
|
|
76
|
+
* cmdSpeed
|
|
77
|
+
* Speed setpoint value.
|
|
78
|
+
*/
|
|
79
|
+
cmdSpeed: UACncSpindle_cmdSpeed<number, DataType.Double>;
|
|
80
|
+
}
|
|
81
|
+
export interface UACncSpindle extends UACncDrive, UACncSpindle_Base {
|
|
82
|
+
}
|
package/dist/ua_cnc_spindle.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=ua_cnc_spindle.js.map
|