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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ExtensionObject } from "node-opcua-extension-object";
|
|
1
2
|
import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
|
|
2
3
|
/**
|
|
3
4
|
* Structure of position elements.
|
|
@@ -17,3 +18,5 @@ export interface DTCncPosition extends DTStructure {
|
|
|
17
18
|
/** Remaining distance.*/
|
|
18
19
|
remDist: number;
|
|
19
20
|
}
|
|
21
|
+
export interface UDTCncPosition extends ExtensionObject, DTCncPosition {
|
|
22
|
+
}
|
package/dist/dt_cnc_position.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dt_cnc_position.js","sourceRoot":"","sources":["../source/dt_cnc_position.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"dt_cnc_position.js","sourceRoot":"","sources":["../source/dt_cnc_position.ts"],"names":[],"mappings":";;AAqByE,CAAC"}
|
package/dist/ua_cnc_alarm.d.ts
CHANGED
|
@@ -17,20 +17,20 @@ export interface UACncAlarm_Base extends UADiscreteAlarm_Base {
|
|
|
17
17
|
* alarmIdentifier
|
|
18
18
|
* Unique alarm number.
|
|
19
19
|
*/
|
|
20
|
-
alarmIdentifier: UAProperty<UAString,
|
|
20
|
+
alarmIdentifier: UAProperty<UAString, DataType.String>;
|
|
21
21
|
/**
|
|
22
22
|
* auxParameters
|
|
23
23
|
* Array of auxiliary parameter for additional alarm
|
|
24
24
|
* description.
|
|
25
25
|
*/
|
|
26
|
-
auxParameters?: UAProperty<UAString[],
|
|
26
|
+
auxParameters?: UAProperty<UAString[], DataType.String>;
|
|
27
27
|
/**
|
|
28
28
|
* helpSource
|
|
29
29
|
* Additional information to message giving
|
|
30
30
|
* information on how to solve problem that caused
|
|
31
31
|
* the alarm.
|
|
32
32
|
*/
|
|
33
|
-
helpSource?: UAProperty<UAString,
|
|
33
|
+
helpSource?: UAProperty<UAString, DataType.String>;
|
|
34
34
|
}
|
|
35
35
|
export interface UACncAlarm extends UADiscreteAlarm, UACncAlarm_Base {
|
|
36
36
|
}
|
package/dist/ua_cnc_axis.d.ts
CHANGED
|
@@ -8,9 +8,9 @@ import { UACncDrive, UACncDrive_Base } from "./ua_cnc_drive";
|
|
|
8
8
|
import { EnumCncAxisStatus } from "./enum_cnc_axis_status";
|
|
9
9
|
import { DTCncPosition } from "./dt_cnc_position";
|
|
10
10
|
import { UACncPositionVariable } from "./ua_cnc_position_variable";
|
|
11
|
-
export interface UACncAxis_zeroOffset<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
12
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
13
|
-
euRange: UAProperty<DTRange,
|
|
11
|
+
export interface UACncAxis_zeroOffset<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
12
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
13
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* CNC axis component.
|
|
@@ -27,19 +27,19 @@ export interface UACncAxis_Base extends UACncDrive_Base {
|
|
|
27
27
|
* actStatus
|
|
28
28
|
* Actual axis state.
|
|
29
29
|
*/
|
|
30
|
-
actStatus: UADataItem<EnumCncAxisStatus,
|
|
30
|
+
actStatus: UADataItem<EnumCncAxisStatus, DataType.Int32>;
|
|
31
31
|
/**
|
|
32
32
|
* isReferenced
|
|
33
33
|
* Axis reference state (true in case of
|
|
34
34
|
* successfully refereneced axis, else false).
|
|
35
35
|
*/
|
|
36
|
-
isReferenced: UADataItem<boolean,
|
|
36
|
+
isReferenced: UADataItem<boolean, DataType.Boolean>;
|
|
37
37
|
/**
|
|
38
38
|
* isRotational
|
|
39
39
|
* Axis type (true in case of rotational axis, in
|
|
40
40
|
* case of linear type or other false).
|
|
41
41
|
*/
|
|
42
|
-
isRotational: UADataItem<boolean,
|
|
42
|
+
isRotational: UADataItem<boolean, DataType.Boolean>;
|
|
43
43
|
/**
|
|
44
44
|
* posDirect
|
|
45
45
|
* Position actual value referring to axis' direct
|
|
@@ -56,7 +56,7 @@ export interface UACncAxis_Base extends UACncDrive_Base {
|
|
|
56
56
|
* zeroOffset
|
|
57
57
|
* Active axis zero offset.
|
|
58
58
|
*/
|
|
59
|
-
zeroOffset: UACncAxis_zeroOffset<number,
|
|
59
|
+
zeroOffset: UACncAxis_zeroOffset<number, DataType.Double>;
|
|
60
60
|
}
|
|
61
61
|
export interface UACncAxis extends UACncDrive, UACncAxis_Base {
|
|
62
62
|
}
|
package/dist/ua_cnc_channel.d.ts
CHANGED
|
@@ -11,29 +11,29 @@ import { EnumCncChannelProgramStatus } from "./enum_cnc_channel_program_status";
|
|
|
11
11
|
import { EnumCncChannelStatus } from "./enum_cnc_channel_status";
|
|
12
12
|
import { DTCncPosition } from "./dt_cnc_position";
|
|
13
13
|
import { UACncPositionVariable } from "./ua_cnc_position_variable";
|
|
14
|
-
export interface UACncChannel_actFeedrate<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
15
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
16
|
-
euRange: UAProperty<DTRange,
|
|
14
|
+
export interface UACncChannel_actFeedrate<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
15
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
16
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
17
17
|
}
|
|
18
|
-
export interface UACncChannel_actJogIncrement<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
19
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
20
|
-
euRange: UAProperty<DTRange,
|
|
18
|
+
export interface UACncChannel_actJogIncrement<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
19
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
20
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
21
21
|
}
|
|
22
|
-
export interface UACncChannel_actOverride<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
23
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
24
|
-
euRange: UAProperty<DTRange,
|
|
22
|
+
export interface UACncChannel_actOverride<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
23
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
24
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
25
25
|
}
|
|
26
|
-
export interface UACncChannel_cmdFeedrate<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
27
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
28
|
-
euRange: UAProperty<DTRange,
|
|
26
|
+
export interface UACncChannel_cmdFeedrate<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
27
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
28
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
29
29
|
}
|
|
30
|
-
export interface UACncChannel_cmdOverride<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
31
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
32
|
-
euRange: UAProperty<DTRange,
|
|
30
|
+
export interface UACncChannel_cmdOverride<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
31
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
32
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
33
33
|
}
|
|
34
|
-
export interface UACncChannel_dryRunFeed<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
35
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
36
|
-
euRange: UAProperty<DTRange,
|
|
34
|
+
export interface UACncChannel_dryRunFeed<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits" | "euRange"> {
|
|
35
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
36
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* CNC channel component.
|
|
@@ -50,137 +50,137 @@ export interface UACncChannel_Base extends UACncComponent_Base {
|
|
|
50
50
|
* actFeedrate
|
|
51
51
|
* Feedrate actual value.
|
|
52
52
|
*/
|
|
53
|
-
actFeedrate: UACncChannel_actFeedrate<number,
|
|
53
|
+
actFeedrate: UACncChannel_actFeedrate<number, DataType.Double>;
|
|
54
54
|
/**
|
|
55
55
|
* actGFunctions
|
|
56
56
|
* Array of active G functions; there can be several
|
|
57
57
|
* G functions active at a time (modal and non-modal
|
|
58
58
|
* G functions).
|
|
59
59
|
*/
|
|
60
|
-
actGFunctions: UADataItem<UInt32[],
|
|
60
|
+
actGFunctions: UADataItem<UInt32[], DataType.UInt32>;
|
|
61
61
|
/**
|
|
62
62
|
* actJogIncrement
|
|
63
63
|
* Active JOG increment.
|
|
64
64
|
*/
|
|
65
|
-
actJogIncrement: UACncChannel_actJogIncrement<number,
|
|
65
|
+
actJogIncrement: UACncChannel_actJogIncrement<number, DataType.Double>;
|
|
66
66
|
/**
|
|
67
67
|
* actMainProgramFile
|
|
68
68
|
* Path of active CNC main program.
|
|
69
69
|
*/
|
|
70
|
-
actMainProgramFile: UADataItem<UAString,
|
|
70
|
+
actMainProgramFile: UADataItem<UAString, DataType.String>;
|
|
71
71
|
/**
|
|
72
72
|
* actMainProgramFileOffset
|
|
73
73
|
* File offset of active CNC main program file.
|
|
74
74
|
*/
|
|
75
|
-
actMainProgramFileOffset?: UADataItem<UInt32,
|
|
75
|
+
actMainProgramFileOffset?: UADataItem<UInt32, DataType.UInt32>;
|
|
76
76
|
/**
|
|
77
77
|
* actMainProgramLine
|
|
78
78
|
* Line number of active CNC main program.
|
|
79
79
|
*/
|
|
80
|
-
actMainProgramLine?: UADataItem<UAString,
|
|
80
|
+
actMainProgramLine?: UADataItem<UAString, DataType.String>;
|
|
81
81
|
/**
|
|
82
82
|
* actMainProgramName
|
|
83
83
|
* Name of active CNC main program.
|
|
84
84
|
*/
|
|
85
|
-
actMainProgramName: UADataItem<UAString,
|
|
85
|
+
actMainProgramName: UADataItem<UAString, DataType.String>;
|
|
86
86
|
/**
|
|
87
87
|
* actMFunctions
|
|
88
88
|
* Array of active M functions: there can be several
|
|
89
89
|
* M functions active at a time (modal and non-modal
|
|
90
90
|
* M functions).
|
|
91
91
|
*/
|
|
92
|
-
actMFunctions: UADataItem<UInt32[],
|
|
92
|
+
actMFunctions: UADataItem<UInt32[], DataType.UInt32>;
|
|
93
93
|
/**
|
|
94
94
|
* actModalOffsetFunction
|
|
95
95
|
* Active zero offset function.
|
|
96
96
|
*/
|
|
97
|
-
actModalOffsetFunction: UADataItem<UInt32,
|
|
97
|
+
actModalOffsetFunction: UADataItem<UInt32, DataType.UInt32>;
|
|
98
98
|
/**
|
|
99
99
|
* actOperationMode
|
|
100
100
|
* Channel's active mode of operation.
|
|
101
101
|
*/
|
|
102
|
-
actOperationMode: UADataItem<EnumCncOperationMode,
|
|
102
|
+
actOperationMode: UADataItem<EnumCncOperationMode, DataType.Int32>;
|
|
103
103
|
/**
|
|
104
104
|
* actOverride
|
|
105
105
|
* Axis override actual value.
|
|
106
106
|
*/
|
|
107
|
-
actOverride: UACncChannel_actOverride<number,
|
|
107
|
+
actOverride: UACncChannel_actOverride<number, DataType.Double>;
|
|
108
108
|
/**
|
|
109
109
|
* actProgramBlock
|
|
110
110
|
* Block of lines containing the previous, actual
|
|
111
111
|
* and subsequent lines of a CNC part program.
|
|
112
112
|
*/
|
|
113
|
-
actProgramBlock: UADataItem<UAString[],
|
|
113
|
+
actProgramBlock: UADataItem<UAString[], DataType.String>;
|
|
114
114
|
/**
|
|
115
115
|
* actProgramFile
|
|
116
116
|
* Path of active CNC program file (main or
|
|
117
117
|
* subprogram).
|
|
118
118
|
*/
|
|
119
|
-
actProgramFile: UADataItem<UAString,
|
|
119
|
+
actProgramFile: UADataItem<UAString, DataType.String>;
|
|
120
120
|
/**
|
|
121
121
|
* actProgramFileOffset
|
|
122
122
|
* File offset of active CNC program file (main or
|
|
123
123
|
* subprogram).
|
|
124
124
|
*/
|
|
125
|
-
actProgramFileOffset?: UADataItem<UInt32,
|
|
125
|
+
actProgramFileOffset?: UADataItem<UInt32, DataType.UInt32>;
|
|
126
126
|
/**
|
|
127
127
|
* actProgramLine
|
|
128
128
|
* Line number of active CNC program (main or
|
|
129
129
|
* subprogram).
|
|
130
130
|
*/
|
|
131
|
-
actProgramLine?: UADataItem<UAString,
|
|
131
|
+
actProgramLine?: UADataItem<UAString, DataType.String>;
|
|
132
132
|
/**
|
|
133
133
|
* actProgramName
|
|
134
134
|
* Name of active CNC program (main or subprogram).
|
|
135
135
|
*/
|
|
136
|
-
actProgramName: UADataItem<UAString,
|
|
136
|
+
actProgramName: UADataItem<UAString, DataType.String>;
|
|
137
137
|
/**
|
|
138
138
|
* actProgramStatus
|
|
139
139
|
* Active channel program status
|
|
140
140
|
*/
|
|
141
|
-
actProgramStatus: UADataItem<EnumCncChannelProgramStatus,
|
|
141
|
+
actProgramStatus: UADataItem<EnumCncChannelProgramStatus, DataType.Int32>;
|
|
142
142
|
/**
|
|
143
143
|
* actStatus
|
|
144
144
|
* Active status of channel.
|
|
145
145
|
*/
|
|
146
|
-
actStatus: UADataItem<EnumCncChannelStatus,
|
|
146
|
+
actStatus: UADataItem<EnumCncChannelStatus, DataType.Int32>;
|
|
147
147
|
/**
|
|
148
148
|
* blockMode
|
|
149
149
|
* Block mode status (true in case of block mode is
|
|
150
150
|
* active, else false).
|
|
151
151
|
*/
|
|
152
|
-
blockMode: UADataItem<boolean,
|
|
152
|
+
blockMode: UADataItem<boolean, DataType.Boolean>;
|
|
153
153
|
/**
|
|
154
154
|
* cmdFeedrate
|
|
155
155
|
* Feedrate setpoint value.
|
|
156
156
|
*/
|
|
157
|
-
cmdFeedrate: UACncChannel_cmdFeedrate<number,
|
|
157
|
+
cmdFeedrate: UACncChannel_cmdFeedrate<number, DataType.Double>;
|
|
158
158
|
/**
|
|
159
159
|
* cmdOperationMode
|
|
160
160
|
* Channel’s mode of operation setpoint value.
|
|
161
161
|
*/
|
|
162
|
-
cmdOperationMode: UADataItem<EnumCncOperationMode,
|
|
162
|
+
cmdOperationMode: UADataItem<EnumCncOperationMode, DataType.Int32>;
|
|
163
163
|
/**
|
|
164
164
|
* cmdOverride
|
|
165
165
|
* Override setpoint value.
|
|
166
166
|
*/
|
|
167
|
-
cmdOverride: UACncChannel_cmdOverride<number,
|
|
167
|
+
cmdOverride: UACncChannel_cmdOverride<number, DataType.Double>;
|
|
168
168
|
/**
|
|
169
169
|
* dryRunFeed
|
|
170
170
|
* Test feedrate.
|
|
171
171
|
*/
|
|
172
|
-
dryRunFeed: UACncChannel_dryRunFeed<number,
|
|
172
|
+
dryRunFeed: UACncChannel_dryRunFeed<number, DataType.Double>;
|
|
173
173
|
/**
|
|
174
174
|
* feedHold
|
|
175
175
|
* Feed status (true in case of feed hold active,
|
|
176
176
|
* else false).
|
|
177
177
|
*/
|
|
178
|
-
feedHold: UADataItem<boolean,
|
|
178
|
+
feedHold: UADataItem<boolean, DataType.Boolean>;
|
|
179
179
|
/**
|
|
180
180
|
* id
|
|
181
181
|
* Unique numeric channel identifier.
|
|
182
182
|
*/
|
|
183
|
-
id: UAProperty<UInt32,
|
|
183
|
+
id: UAProperty<UInt32, DataType.UInt32>;
|
|
184
184
|
/**
|
|
185
185
|
* posTcpBcsA
|
|
186
186
|
* Actual position of the tool center point in
|
|
@@ -258,7 +258,7 @@ export interface UACncChannel_Base extends UACncComponent_Base {
|
|
|
258
258
|
* ID of active tool; returns zero if no tool is
|
|
259
259
|
* present.
|
|
260
260
|
*/
|
|
261
|
-
toolId: UADataItem<UInt32,
|
|
261
|
+
toolId: UADataItem<UInt32, DataType.UInt32>;
|
|
262
262
|
}
|
|
263
263
|
export interface UACncChannel extends UACncComponent, UACncChannel_Base {
|
|
264
264
|
}
|
package/dist/ua_cnc_drive.d.ts
CHANGED
|
@@ -6,21 +6,21 @@ import { UAAnalogItem } from "node-opcua-nodeset-ua/source/ua_analog_item";
|
|
|
6
6
|
import { DTRange } from "node-opcua-nodeset-ua/source/dt_range";
|
|
7
7
|
import { UADataItem } from "node-opcua-nodeset-ua/source/ua_data_item";
|
|
8
8
|
import { UACncComponent, UACncComponent_Base } from "./ua_cnc_component";
|
|
9
|
-
export interface UACncDrive_actLoad<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
10
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
11
|
-
euRange: UAProperty<DTRange,
|
|
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
12
|
}
|
|
13
|
-
export interface UACncDrive_actPower<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
14
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
15
|
-
euRange: UAProperty<DTRange,
|
|
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
16
|
}
|
|
17
|
-
export interface UACncDrive_actTorque<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
18
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
19
|
-
euRange: UAProperty<DTRange,
|
|
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
20
|
}
|
|
21
|
-
export interface UACncDrive_cmdTorque<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
22
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
23
|
-
euRange: UAProperty<DTRange,
|
|
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
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Base component for CNC specific drive componentes
|
|
@@ -40,39 +40,39 @@ export interface UACncDrive_Base extends UACncComponent_Base {
|
|
|
40
40
|
* that administrates this drive to expose drive’s
|
|
41
41
|
* channel affiliation.
|
|
42
42
|
*/
|
|
43
|
-
actChannel: UADataItem<NodeId,
|
|
43
|
+
actChannel: UADataItem<NodeId, DataType.NodeId>;
|
|
44
44
|
/**
|
|
45
45
|
* actLoad
|
|
46
46
|
* Drive load actual value.
|
|
47
47
|
*/
|
|
48
|
-
actLoad: UACncDrive_actLoad<number,
|
|
48
|
+
actLoad: UACncDrive_actLoad<number, DataType.Double>;
|
|
49
49
|
/**
|
|
50
50
|
* actPower
|
|
51
51
|
* Drive power actual value.
|
|
52
52
|
*/
|
|
53
|
-
actPower: UACncDrive_actPower<number,
|
|
53
|
+
actPower: UACncDrive_actPower<number, DataType.Double>;
|
|
54
54
|
/**
|
|
55
55
|
* actTorque
|
|
56
56
|
* Drive torque actual value.
|
|
57
57
|
*/
|
|
58
|
-
actTorque: UACncDrive_actTorque<number,
|
|
58
|
+
actTorque: UACncDrive_actTorque<number, DataType.Double>;
|
|
59
59
|
/**
|
|
60
60
|
* cmdTorque
|
|
61
61
|
* Drive torque setpoint value.
|
|
62
62
|
*/
|
|
63
|
-
cmdTorque: UACncDrive_cmdTorque<number,
|
|
63
|
+
cmdTorque: UACncDrive_cmdTorque<number, DataType.Double>;
|
|
64
64
|
/**
|
|
65
65
|
* isInactive
|
|
66
66
|
* Drive inactive state (true in case of inactive
|
|
67
67
|
* drive, else false).
|
|
68
68
|
*/
|
|
69
|
-
isInactive: UADataItem<boolean,
|
|
69
|
+
isInactive: UADataItem<boolean, DataType.Boolean>;
|
|
70
70
|
/**
|
|
71
71
|
* isVirtual
|
|
72
72
|
* Virtual axis (no hardware present; true in case
|
|
73
73
|
* of virtual axis, else fals).
|
|
74
74
|
*/
|
|
75
|
-
isVirtual: UADataItem<boolean,
|
|
75
|
+
isVirtual: UADataItem<boolean, DataType.Boolean>;
|
|
76
76
|
}
|
|
77
77
|
export interface UACncDrive extends UACncComponent, UACncDrive_Base {
|
|
78
78
|
}
|
|
@@ -30,31 +30,31 @@ export interface UACncInterface_Base {
|
|
|
30
30
|
* List of CNC spindle objects.
|
|
31
31
|
*/
|
|
32
32
|
cncSpindleList: UACncSpindleList;
|
|
33
|
-
cncTypeName?: UAProperty<UAString,
|
|
33
|
+
cncTypeName?: UAProperty<UAString, DataType.String>;
|
|
34
34
|
/**
|
|
35
35
|
* fix
|
|
36
36
|
* Version of CNC interface considering changes in
|
|
37
37
|
* implementation (Bug Fix).
|
|
38
38
|
*/
|
|
39
|
-
fix?: UAProperty<UAString,
|
|
39
|
+
fix?: UAProperty<UAString, DataType.String>;
|
|
40
40
|
/**
|
|
41
41
|
* vendorName
|
|
42
42
|
* Name of CNC system vendor. Format and content may
|
|
43
43
|
* be chosen by vendor.
|
|
44
44
|
*/
|
|
45
|
-
vendorName: UAProperty<UAString,
|
|
45
|
+
vendorName: UAProperty<UAString, DataType.String>;
|
|
46
46
|
/**
|
|
47
47
|
* vendorRevision
|
|
48
48
|
* Vendor revision of CNC interface. Format and
|
|
49
49
|
* content may be chosen by vendor.
|
|
50
50
|
*/
|
|
51
|
-
vendorRevision: UAProperty<UAString,
|
|
51
|
+
vendorRevision: UAProperty<UAString, DataType.String>;
|
|
52
52
|
/**
|
|
53
53
|
* version
|
|
54
54
|
* Version of CNC interface - corresponds to version
|
|
55
55
|
* of OPC UA companion standard.
|
|
56
56
|
*/
|
|
57
|
-
version: UAProperty<UAString,
|
|
57
|
+
version: UAProperty<UAString, DataType.String>;
|
|
58
58
|
}
|
|
59
59
|
export interface UACncInterface extends UAObject, UACncInterface_Base {
|
|
60
60
|
}
|
package/dist/ua_cnc_message.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { UABaseEvent, UABaseEvent_Base } from "node-opcua-nodeset-ua/source/ua_b
|
|
|
9
9
|
* |typedDefinition |11:CncMessageType ns=11;i=1011 |
|
|
10
10
|
* |isAbstract |false |
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
13
|
-
}
|
|
12
|
+
export declare type UACncMessage_Base = UABaseEvent_Base;
|
|
14
13
|
export interface UACncMessage extends UABaseEvent, UACncMessage_Base {
|
|
15
14
|
}
|
|
@@ -16,24 +16,24 @@ import { DTCncPosition } from "./dt_cnc_position";
|
|
|
16
16
|
* |dataType Name |DTCncPosition ns=11;i=3007 |
|
|
17
17
|
* |isAbstract |false |
|
|
18
18
|
*/
|
|
19
|
-
export interface UACncPositionVariable_Base<T extends DTCncPosition> extends UABaseDataVariable_Base<T,
|
|
19
|
+
export interface UACncPositionVariable_Base<T extends DTCncPosition> extends UABaseDataVariable_Base<T, DataType.ExtensionObject> {
|
|
20
20
|
/**
|
|
21
21
|
* actPos
|
|
22
22
|
* Position current value.
|
|
23
23
|
*/
|
|
24
|
-
actPos: UABaseDataVariable<number,
|
|
24
|
+
actPos: UABaseDataVariable<number, DataType.Double>;
|
|
25
25
|
/**
|
|
26
26
|
* cmdPos
|
|
27
27
|
* Position setpoint value.
|
|
28
28
|
*/
|
|
29
|
-
cmdPos: UABaseDataVariable<number,
|
|
30
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
31
|
-
euRange: UAProperty<DTRange,
|
|
29
|
+
cmdPos: UABaseDataVariable<number, DataType.Double>;
|
|
30
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
31
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
32
32
|
/**
|
|
33
33
|
* remDist
|
|
34
34
|
* Remaining distance to go.
|
|
35
35
|
*/
|
|
36
|
-
remDist: UABaseDataVariable<number,
|
|
36
|
+
remDist: UABaseDataVariable<number, DataType.Double>;
|
|
37
37
|
}
|
|
38
|
-
export interface UACncPositionVariable<T extends DTCncPosition> extends UABaseDataVariable<T,
|
|
38
|
+
export interface UACncPositionVariable<T extends DTCncPosition> extends UABaseDataVariable<T, DataType.ExtensionObject>, UACncPositionVariable_Base<T> {
|
|
39
39
|
}
|
package/dist/ua_cnc_spindle.d.ts
CHANGED
|
@@ -10,13 +10,13 @@ import { EnumCncSpindleStatus } from "./enum_cnc_spindle_status";
|
|
|
10
10
|
import { EnumCncSpindleTurnDirection } from "./enum_cnc_spindle_turn_direction";
|
|
11
11
|
import { DTCncPosition } from "./dt_cnc_position";
|
|
12
12
|
import { UACncPositionVariable } from "./ua_cnc_position_variable";
|
|
13
|
-
export interface UACncSpindle_actSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
14
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
15
|
-
euRange: UAProperty<DTRange,
|
|
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
16
|
}
|
|
17
|
-
export interface UACncSpindle_cmdSpeed<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
18
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
19
|
-
euRange: UAProperty<DTRange,
|
|
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
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* CNC spindle component.
|
|
@@ -33,27 +33,27 @@ export interface UACncSpindle_Base extends UACncDrive_Base {
|
|
|
33
33
|
* actGear
|
|
34
34
|
* Gear stage actual value.
|
|
35
35
|
*/
|
|
36
|
-
actGear: UADataItem<UInt32,
|
|
36
|
+
actGear: UADataItem<UInt32, DataType.UInt32>;
|
|
37
37
|
/**
|
|
38
38
|
* actOverride
|
|
39
39
|
* Override actual value.
|
|
40
40
|
*/
|
|
41
|
-
actOverride: UAAnalogItem<number,
|
|
41
|
+
actOverride: UAAnalogItem<number, DataType.Double>;
|
|
42
42
|
/**
|
|
43
43
|
* actSpeed
|
|
44
44
|
* Speed actual value.
|
|
45
45
|
*/
|
|
46
|
-
actSpeed: UACncSpindle_actSpeed<number,
|
|
46
|
+
actSpeed: UACncSpindle_actSpeed<number, DataType.Double>;
|
|
47
47
|
/**
|
|
48
48
|
* actStatus
|
|
49
49
|
* Actual spindle state.
|
|
50
50
|
*/
|
|
51
|
-
actStatus: UADataItem<EnumCncSpindleStatus,
|
|
51
|
+
actStatus: UADataItem<EnumCncSpindleStatus, DataType.Int32>;
|
|
52
52
|
/**
|
|
53
53
|
* actTurnDirection
|
|
54
54
|
* Turn direction actual value.
|
|
55
55
|
*/
|
|
56
|
-
actTurnDirection: UADataItem<EnumCncSpindleTurnDirection,
|
|
56
|
+
actTurnDirection: UADataItem<EnumCncSpindleTurnDirection, DataType.Int32>;
|
|
57
57
|
/**
|
|
58
58
|
* anglePos
|
|
59
59
|
* Spindle angular position values in case of
|
|
@@ -66,17 +66,17 @@ export interface UACncSpindle_Base extends UACncDrive_Base {
|
|
|
66
66
|
* cmdGear
|
|
67
67
|
* Gear stage setpoint value.
|
|
68
68
|
*/
|
|
69
|
-
cmdGear: UADataItem<UInt32,
|
|
69
|
+
cmdGear: UADataItem<UInt32, DataType.UInt32>;
|
|
70
70
|
/**
|
|
71
71
|
* cmdOverride
|
|
72
72
|
* Override setpoint value.
|
|
73
73
|
*/
|
|
74
|
-
cmdOverride: UAAnalogItem<number,
|
|
74
|
+
cmdOverride: UAAnalogItem<number, DataType.Double>;
|
|
75
75
|
/**
|
|
76
76
|
* cmdSpeed
|
|
77
77
|
* Speed setpoint value.
|
|
78
78
|
*/
|
|
79
|
-
cmdSpeed: UACncSpindle_cmdSpeed<number,
|
|
79
|
+
cmdSpeed: UACncSpindle_cmdSpeed<number, DataType.Double>;
|
|
80
80
|
}
|
|
81
81
|
export interface UACncSpindle extends UACncDrive, UACncSpindle_Base {
|
|
82
82
|
}
|