node-opcua-nodeset-cnc 2.75.0 → 2.77.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/dist/dt_cnc_position.d.ts +3 -0
- package/dist/dt_cnc_position.js +1 -0
- package/dist/dt_cnc_position.js.map +1 -1
- package/dist/ua_cnc_alarm.d.ts +3 -3
- package/dist/ua_cnc_axis.d.ts +7 -7
- package/dist/ua_cnc_channel.d.ts +44 -44
- package/dist/ua_cnc_drive.d.ts +19 -19
- package/dist/ua_cnc_interface.d.ts +5 -5
- package/dist/ua_cnc_message.d.ts +1 -2
- package/dist/ua_cnc_position_variable.d.ts +7 -7
- package/dist/ua_cnc_spindle.d.ts +14 -14
- package/dist/ua_cnc_spindle_list.d.ts +37 -37
- package/package.json +11 -10
- package/source/dt_cnc_position.ts +7 -5
- package/source/ua_cnc_alarm.ts +4 -4
- package/source/ua_cnc_axis.ts +7 -7
- package/source/ua_cnc_axis_list.ts +2 -1
- package/source/ua_cnc_channel.ts +46 -44
- package/source/ua_cnc_channel_list.ts +1 -0
- package/source/ua_cnc_drive.ts +19 -19
- package/source/ua_cnc_interface.ts +5 -5
- package/source/ua_cnc_message.ts +1 -2
- package/source/ua_cnc_position_variable.ts +7 -7
- package/source/ua_cnc_spindle.ts +14 -14
- package/source/ua_cnc_spindle_list.ts +38 -37
package/source/ua_cnc_drive.ts
CHANGED
|
@@ -7,21 +7,21 @@ import { UAAnalogItem } from "node-opcua-nodeset-ua/source/ua_analog_item"
|
|
|
7
7
|
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range"
|
|
8
8
|
import { UADataItem } from "node-opcua-nodeset-ua/source/ua_data_item"
|
|
9
9
|
import { UACncComponent, UACncComponent_Base } from "./ua_cnc_component"
|
|
10
|
-
export interface UACncDrive_actLoad<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
11
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
12
|
-
euRange: UAProperty<DTRange,
|
|
10
|
+
export interface UACncDrive_actLoad<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
11
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
12
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
13
13
|
}
|
|
14
|
-
export interface UACncDrive_actPower<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
15
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
16
|
-
euRange: UAProperty<DTRange,
|
|
14
|
+
export interface UACncDrive_actPower<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
15
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
16
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
17
17
|
}
|
|
18
|
-
export interface UACncDrive_actTorque<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
19
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
20
|
-
euRange: UAProperty<DTRange,
|
|
18
|
+
export interface UACncDrive_actTorque<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
19
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
20
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
21
21
|
}
|
|
22
|
-
export interface UACncDrive_cmdTorque<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
23
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
24
|
-
euRange: UAProperty<DTRange,
|
|
22
|
+
export interface UACncDrive_cmdTorque<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
23
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
24
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Base component for CNC specific drive componentes
|
|
@@ -41,39 +41,39 @@ export interface UACncDrive_Base extends UACncComponent_Base {
|
|
|
41
41
|
* that administrates this drive to expose drive’s
|
|
42
42
|
* channel affiliation.
|
|
43
43
|
*/
|
|
44
|
-
actChannel: UADataItem<NodeId,
|
|
44
|
+
actChannel: UADataItem<NodeId, DataType.NodeId>;
|
|
45
45
|
/**
|
|
46
46
|
* actLoad
|
|
47
47
|
* Drive load actual value.
|
|
48
48
|
*/
|
|
49
|
-
actLoad: UACncDrive_actLoad<number,
|
|
49
|
+
actLoad: UACncDrive_actLoad<number, DataType.Double>;
|
|
50
50
|
/**
|
|
51
51
|
* actPower
|
|
52
52
|
* Drive power actual value.
|
|
53
53
|
*/
|
|
54
|
-
actPower: UACncDrive_actPower<number,
|
|
54
|
+
actPower: UACncDrive_actPower<number, DataType.Double>;
|
|
55
55
|
/**
|
|
56
56
|
* actTorque
|
|
57
57
|
* Drive torque actual value.
|
|
58
58
|
*/
|
|
59
|
-
actTorque: UACncDrive_actTorque<number,
|
|
59
|
+
actTorque: UACncDrive_actTorque<number, DataType.Double>;
|
|
60
60
|
/**
|
|
61
61
|
* cmdTorque
|
|
62
62
|
* Drive torque setpoint value.
|
|
63
63
|
*/
|
|
64
|
-
cmdTorque: UACncDrive_cmdTorque<number,
|
|
64
|
+
cmdTorque: UACncDrive_cmdTorque<number, DataType.Double>;
|
|
65
65
|
/**
|
|
66
66
|
* isInactive
|
|
67
67
|
* Drive inactive state (true in case of inactive
|
|
68
68
|
* drive, else false).
|
|
69
69
|
*/
|
|
70
|
-
isInactive: UADataItem<boolean,
|
|
70
|
+
isInactive: UADataItem<boolean, DataType.Boolean>;
|
|
71
71
|
/**
|
|
72
72
|
* isVirtual
|
|
73
73
|
* Virtual axis (no hardware present; true in case
|
|
74
74
|
* of virtual axis, else fals).
|
|
75
75
|
*/
|
|
76
|
-
isVirtual: UADataItem<boolean,
|
|
76
|
+
isVirtual: UADataItem<boolean, DataType.Boolean>;
|
|
77
77
|
}
|
|
78
78
|
export interface UACncDrive extends UACncComponent, UACncDrive_Base {
|
|
79
79
|
}
|
|
@@ -37,31 +37,31 @@ export interface UACncInterface_Base {
|
|
|
37
37
|
* List of CNC spindle objects.
|
|
38
38
|
*/
|
|
39
39
|
cncSpindleList: UACncSpindleList;
|
|
40
|
-
cncTypeName?: UAProperty<UAString,
|
|
40
|
+
cncTypeName?: UAProperty<UAString, DataType.String>;
|
|
41
41
|
/**
|
|
42
42
|
* fix
|
|
43
43
|
* Version of CNC interface considering changes in
|
|
44
44
|
* implementation (Bug Fix).
|
|
45
45
|
*/
|
|
46
|
-
fix?: UAProperty<UAString,
|
|
46
|
+
fix?: UAProperty<UAString, DataType.String>;
|
|
47
47
|
/**
|
|
48
48
|
* vendorName
|
|
49
49
|
* Name of CNC system vendor. Format and content may
|
|
50
50
|
* be chosen by vendor.
|
|
51
51
|
*/
|
|
52
|
-
vendorName: UAProperty<UAString,
|
|
52
|
+
vendorName: UAProperty<UAString, DataType.String>;
|
|
53
53
|
/**
|
|
54
54
|
* vendorRevision
|
|
55
55
|
* Vendor revision of CNC interface. Format and
|
|
56
56
|
* content may be chosen by vendor.
|
|
57
57
|
*/
|
|
58
|
-
vendorRevision: UAProperty<UAString,
|
|
58
|
+
vendorRevision: UAProperty<UAString, DataType.String>;
|
|
59
59
|
/**
|
|
60
60
|
* version
|
|
61
61
|
* Version of CNC interface - corresponds to version
|
|
62
62
|
* of OPC UA companion standard.
|
|
63
63
|
*/
|
|
64
|
-
version: UAProperty<UAString,
|
|
64
|
+
version: UAProperty<UAString, DataType.String>;
|
|
65
65
|
}
|
|
66
66
|
export interface UACncInterface extends UAObject, UACncInterface_Base {
|
|
67
67
|
}
|
package/source/ua_cnc_message.ts
CHANGED
|
@@ -10,7 +10,6 @@ import { UABaseEvent, UABaseEvent_Base } from "node-opcua-nodeset-ua/source/ua_b
|
|
|
10
10
|
* |typedDefinition |11:CncMessageType ns=11;i=1011 |
|
|
11
11
|
* |isAbstract |false |
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
14
|
-
}
|
|
13
|
+
export type UACncMessage_Base = UABaseEvent_Base;
|
|
15
14
|
export interface UACncMessage extends UABaseEvent, UACncMessage_Base {
|
|
16
15
|
}
|
|
@@ -17,24 +17,24 @@ import { DTCncPosition } from "./dt_cnc_position"
|
|
|
17
17
|
* |dataType Name |DTCncPosition ns=11;i=3007 |
|
|
18
18
|
* |isAbstract |false |
|
|
19
19
|
*/
|
|
20
|
-
export interface UACncPositionVariable_Base<T extends DTCncPosition
|
|
20
|
+
export interface UACncPositionVariable_Base<T extends DTCncPosition> extends UABaseDataVariable_Base<T, DataType.ExtensionObject> {
|
|
21
21
|
/**
|
|
22
22
|
* actPos
|
|
23
23
|
* Position current value.
|
|
24
24
|
*/
|
|
25
|
-
actPos: UABaseDataVariable<number,
|
|
25
|
+
actPos: UABaseDataVariable<number, DataType.Double>;
|
|
26
26
|
/**
|
|
27
27
|
* cmdPos
|
|
28
28
|
* Position setpoint value.
|
|
29
29
|
*/
|
|
30
|
-
cmdPos: UABaseDataVariable<number,
|
|
31
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
32
|
-
euRange: UAProperty<DTRange,
|
|
30
|
+
cmdPos: UABaseDataVariable<number, DataType.Double>;
|
|
31
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
32
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
33
33
|
/**
|
|
34
34
|
* remDist
|
|
35
35
|
* Remaining distance to go.
|
|
36
36
|
*/
|
|
37
|
-
remDist: UABaseDataVariable<number,
|
|
37
|
+
remDist: UABaseDataVariable<number, DataType.Double>;
|
|
38
38
|
}
|
|
39
|
-
export interface UACncPositionVariable<T extends DTCncPosition
|
|
39
|
+
export interface UACncPositionVariable<T extends DTCncPosition> extends UABaseDataVariable<T, DataType.ExtensionObject>, UACncPositionVariable_Base<T> {
|
|
40
40
|
}
|
package/source/ua_cnc_spindle.ts
CHANGED
|
@@ -11,13 +11,13 @@ import { EnumCncSpindleStatus } from "./enum_cnc_spindle_status"
|
|
|
11
11
|
import { EnumCncSpindleTurnDirection } from "./enum_cnc_spindle_turn_direction"
|
|
12
12
|
import { DTCncPosition } from "./dt_cnc_position"
|
|
13
13
|
import { UACncPositionVariable } from "./ua_cnc_position_variable"
|
|
14
|
-
export interface UACncSpindle_actSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
15
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
16
|
-
euRange: UAProperty<DTRange,
|
|
14
|
+
export interface UACncSpindle_actSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
15
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
16
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
17
17
|
}
|
|
18
|
-
export interface UACncSpindle_cmdSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
19
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
20
|
-
euRange: UAProperty<DTRange,
|
|
18
|
+
export interface UACncSpindle_cmdSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
19
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
20
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* CNC spindle component.
|
|
@@ -34,27 +34,27 @@ export interface UACncSpindle_Base extends UACncDrive_Base {
|
|
|
34
34
|
* actGear
|
|
35
35
|
* Gear stage actual value.
|
|
36
36
|
*/
|
|
37
|
-
actGear: UADataItem<UInt32,
|
|
37
|
+
actGear: UADataItem<UInt32, DataType.UInt32>;
|
|
38
38
|
/**
|
|
39
39
|
* actOverride
|
|
40
40
|
* Override actual value.
|
|
41
41
|
*/
|
|
42
|
-
actOverride: UAAnalogItem<number,
|
|
42
|
+
actOverride: UAAnalogItem<number, DataType.Double>;
|
|
43
43
|
/**
|
|
44
44
|
* actSpeed
|
|
45
45
|
* Speed actual value.
|
|
46
46
|
*/
|
|
47
|
-
actSpeed: UACncSpindle_actSpeed<number,
|
|
47
|
+
actSpeed: UACncSpindle_actSpeed<number, DataType.Double>;
|
|
48
48
|
/**
|
|
49
49
|
* actStatus
|
|
50
50
|
* Actual spindle state.
|
|
51
51
|
*/
|
|
52
|
-
actStatus: UADataItem<EnumCncSpindleStatus,
|
|
52
|
+
actStatus: UADataItem<EnumCncSpindleStatus, DataType.Int32>;
|
|
53
53
|
/**
|
|
54
54
|
* actTurnDirection
|
|
55
55
|
* Turn direction actual value.
|
|
56
56
|
*/
|
|
57
|
-
actTurnDirection: UADataItem<EnumCncSpindleTurnDirection,
|
|
57
|
+
actTurnDirection: UADataItem<EnumCncSpindleTurnDirection, DataType.Int32>;
|
|
58
58
|
/**
|
|
59
59
|
* anglePos
|
|
60
60
|
* Spindle angular position values in case of
|
|
@@ -67,17 +67,17 @@ export interface UACncSpindle_Base extends UACncDrive_Base {
|
|
|
67
67
|
* cmdGear
|
|
68
68
|
* Gear stage setpoint value.
|
|
69
69
|
*/
|
|
70
|
-
cmdGear: UADataItem<UInt32,
|
|
70
|
+
cmdGear: UADataItem<UInt32, DataType.UInt32>;
|
|
71
71
|
/**
|
|
72
72
|
* cmdOverride
|
|
73
73
|
* Override setpoint value.
|
|
74
74
|
*/
|
|
75
|
-
cmdOverride: UAAnalogItem<number,
|
|
75
|
+
cmdOverride: UAAnalogItem<number, DataType.Double>;
|
|
76
76
|
/**
|
|
77
77
|
* cmdSpeed
|
|
78
78
|
* Speed setpoint value.
|
|
79
79
|
*/
|
|
80
|
-
cmdSpeed: UACncSpindle_cmdSpeed<number,
|
|
80
|
+
cmdSpeed: UACncSpindle_cmdSpeed<number, DataType.Double>;
|
|
81
81
|
}
|
|
82
82
|
export interface UACncSpindle extends UACncDrive, UACncSpindle_Base {
|
|
83
83
|
}
|
|
@@ -19,126 +19,126 @@ export interface UACncSpindleList_$CncSpindle$ extends Omit<UACncSpindle, "actCh
|
|
|
19
19
|
* that administrates this drive to expose drive’s
|
|
20
20
|
* channel affiliation.
|
|
21
21
|
*/
|
|
22
|
-
actChannel: UADataItem<NodeId,
|
|
22
|
+
actChannel: UADataItem<NodeId, DataType.NodeId>;
|
|
23
23
|
/**
|
|
24
24
|
* actFeedrate
|
|
25
25
|
* Feedrate actual value.
|
|
26
26
|
*/
|
|
27
|
-
actFeedrate: UAAnalogItem<number,
|
|
27
|
+
actFeedrate: UAAnalogItem<number, DataType.Double>;
|
|
28
28
|
/**
|
|
29
29
|
* actGear
|
|
30
30
|
* Gear stage actual value.
|
|
31
31
|
*/
|
|
32
|
-
actGear: UADataItem<UInt32,
|
|
32
|
+
actGear: UADataItem<UInt32, DataType.UInt32>;
|
|
33
33
|
/**
|
|
34
34
|
* actGFunctions
|
|
35
35
|
* Active G function.
|
|
36
36
|
*/
|
|
37
|
-
actGFunctions: UADataItem<UInt32[],
|
|
37
|
+
actGFunctions: UADataItem<UInt32[], DataType.UInt32>;
|
|
38
38
|
/**
|
|
39
39
|
* actJogIncrement
|
|
40
40
|
* Active JOG increment.
|
|
41
41
|
*/
|
|
42
|
-
actJogIncrement: UAAnalogItem<number,
|
|
42
|
+
actJogIncrement: UAAnalogItem<number, DataType.Double>;
|
|
43
43
|
/**
|
|
44
44
|
* actLoad
|
|
45
45
|
* Drive load actual value.
|
|
46
46
|
*/
|
|
47
|
-
actLoad: UAAnalogItem<number,
|
|
47
|
+
actLoad: UAAnalogItem<number, DataType.Double>;
|
|
48
48
|
/**
|
|
49
49
|
* actMainProgramFile
|
|
50
50
|
* Path of active CNC main program.
|
|
51
51
|
*/
|
|
52
|
-
actMainProgramFile: UADataItem<UAString,
|
|
52
|
+
actMainProgramFile: UADataItem<UAString, DataType.String>;
|
|
53
53
|
/**
|
|
54
54
|
* actMainProgramFileOffset
|
|
55
55
|
* File offset of active CNC main program file.
|
|
56
56
|
*/
|
|
57
|
-
actMainProgramFileOffset: UADataItem<UInt32,
|
|
57
|
+
actMainProgramFileOffset: UADataItem<UInt32, DataType.UInt32>;
|
|
58
58
|
/**
|
|
59
59
|
* actMainProgramLine
|
|
60
60
|
* Line number of active CNC main program.
|
|
61
61
|
*/
|
|
62
|
-
actMainProgramLine: UADataItem<UAString,
|
|
62
|
+
actMainProgramLine: UADataItem<UAString, DataType.String>;
|
|
63
63
|
/**
|
|
64
64
|
* actMainProgramName
|
|
65
65
|
* Name of active CNC main program.
|
|
66
66
|
*/
|
|
67
|
-
actMainProgramName: UADataItem<UAString,
|
|
67
|
+
actMainProgramName: UADataItem<UAString, DataType.String>;
|
|
68
68
|
/**
|
|
69
69
|
* actMFunctions
|
|
70
70
|
* Active M function.
|
|
71
71
|
*/
|
|
72
|
-
actMFunctions: UADataItem<UInt32[],
|
|
72
|
+
actMFunctions: UADataItem<UInt32[], DataType.UInt32>;
|
|
73
73
|
/**
|
|
74
74
|
* actModalOffsetFunction
|
|
75
75
|
* active zero offset function
|
|
76
76
|
*/
|
|
77
|
-
actModalOffsetFunction: UADataItem<UInt32,
|
|
78
|
-
actOperationMode: UADataItem<EnumCncOperationMode,
|
|
77
|
+
actModalOffsetFunction: UADataItem<UInt32, DataType.UInt32>;
|
|
78
|
+
actOperationMode: UADataItem<EnumCncOperationMode, DataType.Int32>;
|
|
79
79
|
/**
|
|
80
80
|
* actOverride
|
|
81
81
|
* Override actual value.
|
|
82
82
|
*/
|
|
83
|
-
actOverride: UAAnalogItem<number,
|
|
83
|
+
actOverride: UAAnalogItem<number, DataType.Double>;
|
|
84
84
|
/**
|
|
85
85
|
* actPower
|
|
86
86
|
* Drive power actual value.
|
|
87
87
|
*/
|
|
88
|
-
actPower: UAAnalogItem<number,
|
|
88
|
+
actPower: UAAnalogItem<number, DataType.Double>;
|
|
89
89
|
/**
|
|
90
90
|
* actProgramBlock
|
|
91
91
|
* previous, actual and subsequent CNC program lines
|
|
92
92
|
*/
|
|
93
|
-
actProgramBlock: UADataItem<UAString[],
|
|
93
|
+
actProgramBlock: UADataItem<UAString[], DataType.String>;
|
|
94
94
|
/**
|
|
95
95
|
* actProgramFile
|
|
96
96
|
* Path of active CNC program file (main or
|
|
97
97
|
* subprogram).
|
|
98
98
|
*/
|
|
99
|
-
actProgramFile: UADataItem<UAString,
|
|
99
|
+
actProgramFile: UADataItem<UAString, DataType.String>;
|
|
100
100
|
/**
|
|
101
101
|
* actProgramFileOffset
|
|
102
102
|
* File offset of active CNC program file (main or
|
|
103
103
|
* subprogram).
|
|
104
104
|
*/
|
|
105
|
-
actProgramFileOffset: UADataItem<UInt32,
|
|
105
|
+
actProgramFileOffset: UADataItem<UInt32, DataType.UInt32>;
|
|
106
106
|
/**
|
|
107
107
|
* actProgramLine
|
|
108
108
|
* Line number of active CNC program (main or
|
|
109
109
|
* subprogram).
|
|
110
110
|
*/
|
|
111
|
-
actProgramLine: UADataItem<UAString,
|
|
111
|
+
actProgramLine: UADataItem<UAString, DataType.String>;
|
|
112
112
|
/**
|
|
113
113
|
* actProgramName
|
|
114
114
|
* Name of active CNC program (main or subprogram).
|
|
115
115
|
*/
|
|
116
|
-
actProgramName: UADataItem<UAString,
|
|
116
|
+
actProgramName: UADataItem<UAString, DataType.String>;
|
|
117
117
|
/**
|
|
118
118
|
* actProgramStatus
|
|
119
119
|
* Active channel program status
|
|
120
120
|
*/
|
|
121
|
-
actProgramStatus: UADataItem<EnumCncChannelProgramStatus,
|
|
121
|
+
actProgramStatus: UADataItem<EnumCncChannelProgramStatus, DataType.Int32>;
|
|
122
122
|
/**
|
|
123
123
|
* actSpeed
|
|
124
124
|
* Speed actual value.
|
|
125
125
|
*/
|
|
126
|
-
actSpeed: UACncSpindle_actSpeed<number,
|
|
126
|
+
actSpeed: UACncSpindle_actSpeed<number, DataType.Double>;
|
|
127
127
|
/**
|
|
128
128
|
* actStatus
|
|
129
129
|
* Actual spindle state.
|
|
130
130
|
*/
|
|
131
|
-
actStatus: UADataItem<EnumCncSpindleStatus,
|
|
131
|
+
actStatus: UADataItem<EnumCncSpindleStatus, DataType.Int32>;
|
|
132
132
|
/**
|
|
133
133
|
* actTorque
|
|
134
134
|
* Drive torque actual value.
|
|
135
135
|
*/
|
|
136
|
-
actTorque: UAAnalogItem<number,
|
|
136
|
+
actTorque: UAAnalogItem<number, DataType.Double>;
|
|
137
137
|
/**
|
|
138
138
|
* actTurnDirection
|
|
139
139
|
* Turn direction actual value.
|
|
140
140
|
*/
|
|
141
|
-
actTurnDirection: UADataItem<EnumCncSpindleTurnDirection,
|
|
141
|
+
actTurnDirection: UADataItem<EnumCncSpindleTurnDirection, DataType.Int32>;
|
|
142
142
|
/**
|
|
143
143
|
* anglePos
|
|
144
144
|
* Spindle angular position values in case of
|
|
@@ -151,60 +151,60 @@ export interface UACncSpindleList_$CncSpindle$ extends Omit<UACncSpindle, "actCh
|
|
|
151
151
|
* blockMode
|
|
152
152
|
* block mode active
|
|
153
153
|
*/
|
|
154
|
-
blockMode: UADataItem<boolean,
|
|
154
|
+
blockMode: UADataItem<boolean, DataType.Boolean>;
|
|
155
155
|
/**
|
|
156
156
|
* cmdFeedrate
|
|
157
157
|
* feedrate setpoint value
|
|
158
158
|
*/
|
|
159
|
-
cmdFeedrate: UAAnalogItem<number,
|
|
159
|
+
cmdFeedrate: UAAnalogItem<number, DataType.Double>;
|
|
160
160
|
/**
|
|
161
161
|
* cmdGear
|
|
162
162
|
* Gear stage setpoint value.
|
|
163
163
|
*/
|
|
164
|
-
cmdGear: UADataItem<UInt32,
|
|
165
|
-
cmdOperationMode: UADataItem<EnumCncOperationMode,
|
|
164
|
+
cmdGear: UADataItem<UInt32, DataType.UInt32>;
|
|
165
|
+
cmdOperationMode: UADataItem<EnumCncOperationMode, DataType.Int32>;
|
|
166
166
|
/**
|
|
167
167
|
* cmdOverride
|
|
168
168
|
* Override setpoint value.
|
|
169
169
|
*/
|
|
170
|
-
cmdOverride: UAAnalogItem<number,
|
|
170
|
+
cmdOverride: UAAnalogItem<number, DataType.Double>;
|
|
171
171
|
/**
|
|
172
172
|
* cmdSpeed
|
|
173
173
|
* Speed setpoint value.
|
|
174
174
|
*/
|
|
175
|
-
cmdSpeed: UACncSpindle_cmdSpeed<number,
|
|
175
|
+
cmdSpeed: UACncSpindle_cmdSpeed<number, DataType.Double>;
|
|
176
176
|
/**
|
|
177
177
|
* cmdTorque
|
|
178
178
|
* Drive torque setpoint value.
|
|
179
179
|
*/
|
|
180
|
-
cmdTorque: UAAnalogItem<number,
|
|
180
|
+
cmdTorque: UAAnalogItem<number, DataType.Double>;
|
|
181
181
|
/**
|
|
182
182
|
* dryRunFeed
|
|
183
183
|
* test feedrate
|
|
184
184
|
*/
|
|
185
|
-
dryRunFeed: UAAnalogItem<number,
|
|
185
|
+
dryRunFeed: UAAnalogItem<number, DataType.Double>;
|
|
186
186
|
/**
|
|
187
187
|
* feedHold
|
|
188
188
|
* feed hold active
|
|
189
189
|
*/
|
|
190
|
-
feedHold: UADataItem<boolean,
|
|
190
|
+
feedHold: UADataItem<boolean, DataType.Boolean>;
|
|
191
191
|
/**
|
|
192
192
|
* isInactive
|
|
193
193
|
* Drive inactive state (true in case of inactive
|
|
194
194
|
* drive, else false).
|
|
195
195
|
*/
|
|
196
|
-
isInactive: UADataItem<boolean,
|
|
196
|
+
isInactive: UADataItem<boolean, DataType.Boolean>;
|
|
197
197
|
/**
|
|
198
198
|
* isVirtual
|
|
199
199
|
* Virtual axis (no hardware present; true in case
|
|
200
200
|
* of virtual axis, else fals).
|
|
201
201
|
*/
|
|
202
|
-
isVirtual: UADataItem<boolean,
|
|
202
|
+
isVirtual: UADataItem<boolean, DataType.Boolean>;
|
|
203
203
|
/**
|
|
204
204
|
* toolId
|
|
205
205
|
* active tool ID
|
|
206
206
|
*/
|
|
207
|
-
toolId: UADataItem<UInt32,
|
|
207
|
+
toolId: UADataItem<UInt32, DataType.UInt32>;
|
|
208
208
|
}
|
|
209
209
|
/**
|
|
210
210
|
* List of CNC spindle objects.
|
|
@@ -217,6 +217,7 @@ export interface UACncSpindleList_$CncSpindle$ extends Omit<UACncSpindle, "actCh
|
|
|
217
217
|
* |isAbstract |false |
|
|
218
218
|
*/
|
|
219
219
|
export interface UACncSpindleList_Base {
|
|
220
|
+
// PlaceHolder for $CncSpindle$
|
|
220
221
|
}
|
|
221
222
|
export interface UACncSpindleList extends UAObject, UACncSpindleList_Base {
|
|
222
223
|
}
|