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
|
@@ -18,126 +18,126 @@ export interface UACncSpindleList_$CncSpindle$ extends Omit<UACncSpindle, "actCh
|
|
|
18
18
|
* that administrates this drive to expose drive’s
|
|
19
19
|
* channel affiliation.
|
|
20
20
|
*/
|
|
21
|
-
actChannel: UADataItem<NodeId,
|
|
21
|
+
actChannel: UADataItem<NodeId, DataType.NodeId>;
|
|
22
22
|
/**
|
|
23
23
|
* actFeedrate
|
|
24
24
|
* Feedrate actual value.
|
|
25
25
|
*/
|
|
26
|
-
actFeedrate: UAAnalogItem<number,
|
|
26
|
+
actFeedrate: UAAnalogItem<number, DataType.Double>;
|
|
27
27
|
/**
|
|
28
28
|
* actGear
|
|
29
29
|
* Gear stage actual value.
|
|
30
30
|
*/
|
|
31
|
-
actGear: UADataItem<UInt32,
|
|
31
|
+
actGear: UADataItem<UInt32, DataType.UInt32>;
|
|
32
32
|
/**
|
|
33
33
|
* actGFunctions
|
|
34
34
|
* Active G function.
|
|
35
35
|
*/
|
|
36
|
-
actGFunctions: UADataItem<UInt32[],
|
|
36
|
+
actGFunctions: UADataItem<UInt32[], DataType.UInt32>;
|
|
37
37
|
/**
|
|
38
38
|
* actJogIncrement
|
|
39
39
|
* Active JOG increment.
|
|
40
40
|
*/
|
|
41
|
-
actJogIncrement: UAAnalogItem<number,
|
|
41
|
+
actJogIncrement: UAAnalogItem<number, DataType.Double>;
|
|
42
42
|
/**
|
|
43
43
|
* actLoad
|
|
44
44
|
* Drive load actual value.
|
|
45
45
|
*/
|
|
46
|
-
actLoad: UAAnalogItem<number,
|
|
46
|
+
actLoad: UAAnalogItem<number, DataType.Double>;
|
|
47
47
|
/**
|
|
48
48
|
* actMainProgramFile
|
|
49
49
|
* Path of active CNC main program.
|
|
50
50
|
*/
|
|
51
|
-
actMainProgramFile: UADataItem<UAString,
|
|
51
|
+
actMainProgramFile: UADataItem<UAString, DataType.String>;
|
|
52
52
|
/**
|
|
53
53
|
* actMainProgramFileOffset
|
|
54
54
|
* File offset of active CNC main program file.
|
|
55
55
|
*/
|
|
56
|
-
actMainProgramFileOffset: UADataItem<UInt32,
|
|
56
|
+
actMainProgramFileOffset: UADataItem<UInt32, DataType.UInt32>;
|
|
57
57
|
/**
|
|
58
58
|
* actMainProgramLine
|
|
59
59
|
* Line number of active CNC main program.
|
|
60
60
|
*/
|
|
61
|
-
actMainProgramLine: UADataItem<UAString,
|
|
61
|
+
actMainProgramLine: UADataItem<UAString, DataType.String>;
|
|
62
62
|
/**
|
|
63
63
|
* actMainProgramName
|
|
64
64
|
* Name of active CNC main program.
|
|
65
65
|
*/
|
|
66
|
-
actMainProgramName: UADataItem<UAString,
|
|
66
|
+
actMainProgramName: UADataItem<UAString, DataType.String>;
|
|
67
67
|
/**
|
|
68
68
|
* actMFunctions
|
|
69
69
|
* Active M function.
|
|
70
70
|
*/
|
|
71
|
-
actMFunctions: UADataItem<UInt32[],
|
|
71
|
+
actMFunctions: UADataItem<UInt32[], DataType.UInt32>;
|
|
72
72
|
/**
|
|
73
73
|
* actModalOffsetFunction
|
|
74
74
|
* active zero offset function
|
|
75
75
|
*/
|
|
76
|
-
actModalOffsetFunction: UADataItem<UInt32,
|
|
77
|
-
actOperationMode: UADataItem<EnumCncOperationMode,
|
|
76
|
+
actModalOffsetFunction: UADataItem<UInt32, DataType.UInt32>;
|
|
77
|
+
actOperationMode: UADataItem<EnumCncOperationMode, DataType.Int32>;
|
|
78
78
|
/**
|
|
79
79
|
* actOverride
|
|
80
80
|
* Override actual value.
|
|
81
81
|
*/
|
|
82
|
-
actOverride: UAAnalogItem<number,
|
|
82
|
+
actOverride: UAAnalogItem<number, DataType.Double>;
|
|
83
83
|
/**
|
|
84
84
|
* actPower
|
|
85
85
|
* Drive power actual value.
|
|
86
86
|
*/
|
|
87
|
-
actPower: UAAnalogItem<number,
|
|
87
|
+
actPower: UAAnalogItem<number, DataType.Double>;
|
|
88
88
|
/**
|
|
89
89
|
* actProgramBlock
|
|
90
90
|
* previous, actual and subsequent CNC program lines
|
|
91
91
|
*/
|
|
92
|
-
actProgramBlock: UADataItem<UAString[],
|
|
92
|
+
actProgramBlock: UADataItem<UAString[], DataType.String>;
|
|
93
93
|
/**
|
|
94
94
|
* actProgramFile
|
|
95
95
|
* Path of active CNC program file (main or
|
|
96
96
|
* subprogram).
|
|
97
97
|
*/
|
|
98
|
-
actProgramFile: UADataItem<UAString,
|
|
98
|
+
actProgramFile: UADataItem<UAString, DataType.String>;
|
|
99
99
|
/**
|
|
100
100
|
* actProgramFileOffset
|
|
101
101
|
* File offset of active CNC program file (main or
|
|
102
102
|
* subprogram).
|
|
103
103
|
*/
|
|
104
|
-
actProgramFileOffset: UADataItem<UInt32,
|
|
104
|
+
actProgramFileOffset: UADataItem<UInt32, DataType.UInt32>;
|
|
105
105
|
/**
|
|
106
106
|
* actProgramLine
|
|
107
107
|
* Line number of active CNC program (main or
|
|
108
108
|
* subprogram).
|
|
109
109
|
*/
|
|
110
|
-
actProgramLine: UADataItem<UAString,
|
|
110
|
+
actProgramLine: UADataItem<UAString, DataType.String>;
|
|
111
111
|
/**
|
|
112
112
|
* actProgramName
|
|
113
113
|
* Name of active CNC program (main or subprogram).
|
|
114
114
|
*/
|
|
115
|
-
actProgramName: UADataItem<UAString,
|
|
115
|
+
actProgramName: UADataItem<UAString, DataType.String>;
|
|
116
116
|
/**
|
|
117
117
|
* actProgramStatus
|
|
118
118
|
* Active channel program status
|
|
119
119
|
*/
|
|
120
|
-
actProgramStatus: UADataItem<EnumCncChannelProgramStatus,
|
|
120
|
+
actProgramStatus: UADataItem<EnumCncChannelProgramStatus, DataType.Int32>;
|
|
121
121
|
/**
|
|
122
122
|
* actSpeed
|
|
123
123
|
* Speed actual value.
|
|
124
124
|
*/
|
|
125
|
-
actSpeed: UACncSpindle_actSpeed<number,
|
|
125
|
+
actSpeed: UACncSpindle_actSpeed<number, DataType.Double>;
|
|
126
126
|
/**
|
|
127
127
|
* actStatus
|
|
128
128
|
* Actual spindle state.
|
|
129
129
|
*/
|
|
130
|
-
actStatus: UADataItem<EnumCncSpindleStatus,
|
|
130
|
+
actStatus: UADataItem<EnumCncSpindleStatus, DataType.Int32>;
|
|
131
131
|
/**
|
|
132
132
|
* actTorque
|
|
133
133
|
* Drive torque actual value.
|
|
134
134
|
*/
|
|
135
|
-
actTorque: UAAnalogItem<number,
|
|
135
|
+
actTorque: UAAnalogItem<number, DataType.Double>;
|
|
136
136
|
/**
|
|
137
137
|
* actTurnDirection
|
|
138
138
|
* Turn direction actual value.
|
|
139
139
|
*/
|
|
140
|
-
actTurnDirection: UADataItem<EnumCncSpindleTurnDirection,
|
|
140
|
+
actTurnDirection: UADataItem<EnumCncSpindleTurnDirection, DataType.Int32>;
|
|
141
141
|
/**
|
|
142
142
|
* anglePos
|
|
143
143
|
* Spindle angular position values in case of
|
|
@@ -150,60 +150,60 @@ export interface UACncSpindleList_$CncSpindle$ extends Omit<UACncSpindle, "actCh
|
|
|
150
150
|
* blockMode
|
|
151
151
|
* block mode active
|
|
152
152
|
*/
|
|
153
|
-
blockMode: UADataItem<boolean,
|
|
153
|
+
blockMode: UADataItem<boolean, DataType.Boolean>;
|
|
154
154
|
/**
|
|
155
155
|
* cmdFeedrate
|
|
156
156
|
* feedrate setpoint value
|
|
157
157
|
*/
|
|
158
|
-
cmdFeedrate: UAAnalogItem<number,
|
|
158
|
+
cmdFeedrate: UAAnalogItem<number, DataType.Double>;
|
|
159
159
|
/**
|
|
160
160
|
* cmdGear
|
|
161
161
|
* Gear stage setpoint value.
|
|
162
162
|
*/
|
|
163
|
-
cmdGear: UADataItem<UInt32,
|
|
164
|
-
cmdOperationMode: UADataItem<EnumCncOperationMode,
|
|
163
|
+
cmdGear: UADataItem<UInt32, DataType.UInt32>;
|
|
164
|
+
cmdOperationMode: UADataItem<EnumCncOperationMode, DataType.Int32>;
|
|
165
165
|
/**
|
|
166
166
|
* cmdOverride
|
|
167
167
|
* Override setpoint value.
|
|
168
168
|
*/
|
|
169
|
-
cmdOverride: UAAnalogItem<number,
|
|
169
|
+
cmdOverride: UAAnalogItem<number, DataType.Double>;
|
|
170
170
|
/**
|
|
171
171
|
* cmdSpeed
|
|
172
172
|
* Speed setpoint value.
|
|
173
173
|
*/
|
|
174
|
-
cmdSpeed: UACncSpindle_cmdSpeed<number,
|
|
174
|
+
cmdSpeed: UACncSpindle_cmdSpeed<number, DataType.Double>;
|
|
175
175
|
/**
|
|
176
176
|
* cmdTorque
|
|
177
177
|
* Drive torque setpoint value.
|
|
178
178
|
*/
|
|
179
|
-
cmdTorque: UAAnalogItem<number,
|
|
179
|
+
cmdTorque: UAAnalogItem<number, DataType.Double>;
|
|
180
180
|
/**
|
|
181
181
|
* dryRunFeed
|
|
182
182
|
* test feedrate
|
|
183
183
|
*/
|
|
184
|
-
dryRunFeed: UAAnalogItem<number,
|
|
184
|
+
dryRunFeed: UAAnalogItem<number, DataType.Double>;
|
|
185
185
|
/**
|
|
186
186
|
* feedHold
|
|
187
187
|
* feed hold active
|
|
188
188
|
*/
|
|
189
|
-
feedHold: UADataItem<boolean,
|
|
189
|
+
feedHold: UADataItem<boolean, DataType.Boolean>;
|
|
190
190
|
/**
|
|
191
191
|
* isInactive
|
|
192
192
|
* Drive inactive state (true in case of inactive
|
|
193
193
|
* drive, else false).
|
|
194
194
|
*/
|
|
195
|
-
isInactive: UADataItem<boolean,
|
|
195
|
+
isInactive: UADataItem<boolean, DataType.Boolean>;
|
|
196
196
|
/**
|
|
197
197
|
* isVirtual
|
|
198
198
|
* Virtual axis (no hardware present; true in case
|
|
199
199
|
* of virtual axis, else fals).
|
|
200
200
|
*/
|
|
201
|
-
isVirtual: UADataItem<boolean,
|
|
201
|
+
isVirtual: UADataItem<boolean, DataType.Boolean>;
|
|
202
202
|
/**
|
|
203
203
|
* toolId
|
|
204
204
|
* active tool ID
|
|
205
205
|
*/
|
|
206
|
-
toolId: UADataItem<UInt32,
|
|
206
|
+
toolId: UADataItem<UInt32, DataType.UInt32>;
|
|
207
207
|
}
|
|
208
208
|
/**
|
|
209
209
|
* List of CNC spindle objects.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-nodeset-cnc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.77.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,14 +10,15 @@
|
|
|
10
10
|
"author": "etienne.rossignon@sterfive.com",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"node-opcua-address-space-base": "2.
|
|
14
|
-
"node-opcua-basic-types": "2.
|
|
15
|
-
"node-opcua-data-access": "2.
|
|
16
|
-
"node-opcua-data-model": "2.
|
|
17
|
-
"node-opcua-
|
|
18
|
-
"node-opcua-
|
|
19
|
-
"node-opcua-
|
|
20
|
-
"node-opcua-
|
|
13
|
+
"node-opcua-address-space-base": "2.77.0",
|
|
14
|
+
"node-opcua-basic-types": "2.77.0",
|
|
15
|
+
"node-opcua-data-access": "2.77.0",
|
|
16
|
+
"node-opcua-data-model": "2.77.0",
|
|
17
|
+
"node-opcua-extension-object": "2.77.0",
|
|
18
|
+
"node-opcua-nodeid": "2.77.0",
|
|
19
|
+
"node-opcua-nodeset-ua": "2.77.0",
|
|
20
|
+
"node-opcua-status-code": "2.77.0",
|
|
21
|
+
"node-opcua-variant": "2.77.0"
|
|
21
22
|
},
|
|
22
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "5c8d45772d786fa4ba59369dd26679353ab5482b"
|
|
23
24
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { ExtensionObject } from "node-opcua-extension-object"
|
|
2
3
|
import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure"
|
|
3
4
|
/**
|
|
4
5
|
* Structure of position elements.
|
|
@@ -10,11 +11,12 @@ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure"
|
|
|
10
11
|
* | name |11:CncPositionDataType |
|
|
11
12
|
* | isAbstract|false |
|
|
12
13
|
*/
|
|
13
|
-
export interface DTCncPosition extends DTStructure
|
|
14
|
-
/** Position current value.*/
|
|
14
|
+
export interface DTCncPosition extends DTStructure {
|
|
15
|
+
/** Position current value.*/
|
|
15
16
|
actPos: number; // Double ns=0;i=11
|
|
16
|
-
/** Position setpoint value.*/
|
|
17
|
+
/** Position setpoint value.*/
|
|
17
18
|
cmdPos: number; // Double ns=0;i=11
|
|
18
|
-
/** Remaining distance.*/
|
|
19
|
+
/** Remaining distance.*/
|
|
19
20
|
remDist: number; // Double ns=0;i=11
|
|
20
|
-
}
|
|
21
|
+
}
|
|
22
|
+
export interface UDTCncPosition extends ExtensionObject, DTCncPosition {};
|
package/source/ua_cnc_alarm.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// ----- this file has been automatically generated - do not edit
|
|
2
2
|
import { UAProperty } from "node-opcua-address-space-base"
|
|
3
|
-
import { DataType } from "node-opcua-variant"
|
|
3
|
+
import { DataType, VariantOptions } from "node-opcua-variant"
|
|
4
4
|
import { LocalizedText, QualifiedName } from "node-opcua-data-model"
|
|
5
5
|
import { NodeId } from "node-opcua-nodeid"
|
|
6
6
|
import { StatusCode } from "node-opcua-status-code"
|
|
@@ -23,20 +23,20 @@ export interface UACncAlarm_Base extends UADiscreteAlarm_Base {
|
|
|
23
23
|
* alarmIdentifier
|
|
24
24
|
* Unique alarm number.
|
|
25
25
|
*/
|
|
26
|
-
alarmIdentifier: UAProperty<UAString,
|
|
26
|
+
alarmIdentifier: UAProperty<UAString, DataType.String>;
|
|
27
27
|
/**
|
|
28
28
|
* auxParameters
|
|
29
29
|
* Array of auxiliary parameter for additional alarm
|
|
30
30
|
* description.
|
|
31
31
|
*/
|
|
32
|
-
auxParameters?: UAProperty<UAString[],
|
|
32
|
+
auxParameters?: UAProperty<UAString[], DataType.String>;
|
|
33
33
|
/**
|
|
34
34
|
* helpSource
|
|
35
35
|
* Additional information to message giving
|
|
36
36
|
* information on how to solve problem that caused
|
|
37
37
|
* the alarm.
|
|
38
38
|
*/
|
|
39
|
-
helpSource?: UAProperty<UAString,
|
|
39
|
+
helpSource?: UAProperty<UAString, DataType.String>;
|
|
40
40
|
}
|
|
41
41
|
export interface UACncAlarm extends UADiscreteAlarm, UACncAlarm_Base {
|
|
42
42
|
}
|
package/source/ua_cnc_axis.ts
CHANGED
|
@@ -9,9 +9,9 @@ import { UACncDrive, UACncDrive_Base } from "./ua_cnc_drive"
|
|
|
9
9
|
import { EnumCncAxisStatus } from "./enum_cnc_axis_status"
|
|
10
10
|
import { DTCncPosition } from "./dt_cnc_position"
|
|
11
11
|
import { UACncPositionVariable } from "./ua_cnc_position_variable"
|
|
12
|
-
export interface UACncAxis_zeroOffset<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
13
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
14
|
-
euRange: UAProperty<DTRange,
|
|
12
|
+
export interface UACncAxis_zeroOffset<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
13
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
14
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* CNC axis component.
|
|
@@ -28,19 +28,19 @@ export interface UACncAxis_Base extends UACncDrive_Base {
|
|
|
28
28
|
* actStatus
|
|
29
29
|
* Actual axis state.
|
|
30
30
|
*/
|
|
31
|
-
actStatus: UADataItem<EnumCncAxisStatus,
|
|
31
|
+
actStatus: UADataItem<EnumCncAxisStatus, DataType.Int32>;
|
|
32
32
|
/**
|
|
33
33
|
* isReferenced
|
|
34
34
|
* Axis reference state (true in case of
|
|
35
35
|
* successfully refereneced axis, else false).
|
|
36
36
|
*/
|
|
37
|
-
isReferenced: UADataItem<boolean,
|
|
37
|
+
isReferenced: UADataItem<boolean, DataType.Boolean>;
|
|
38
38
|
/**
|
|
39
39
|
* isRotational
|
|
40
40
|
* Axis type (true in case of rotational axis, in
|
|
41
41
|
* case of linear type or other false).
|
|
42
42
|
*/
|
|
43
|
-
isRotational: UADataItem<boolean,
|
|
43
|
+
isRotational: UADataItem<boolean, DataType.Boolean>;
|
|
44
44
|
/**
|
|
45
45
|
* posDirect
|
|
46
46
|
* Position actual value referring to axis' direct
|
|
@@ -57,7 +57,7 @@ export interface UACncAxis_Base extends UACncDrive_Base {
|
|
|
57
57
|
* zeroOffset
|
|
58
58
|
* Active axis zero offset.
|
|
59
59
|
*/
|
|
60
|
-
zeroOffset: UACncAxis_zeroOffset<number,
|
|
60
|
+
zeroOffset: UACncAxis_zeroOffset<number, DataType.Double>;
|
|
61
61
|
}
|
|
62
62
|
export interface UACncAxis extends UACncDrive, UACncAxis_Base {
|
|
63
63
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// ----- this file has been automatically generated - do not edit
|
|
2
2
|
import { UAObject } from "node-opcua-address-space-base"
|
|
3
|
-
import { DataType, Variant } from "node-opcua-variant"
|
|
3
|
+
import { DataType, Variant, VariantOptions } from "node-opcua-variant"
|
|
4
4
|
import { EUInformation } from "node-opcua-data-access"
|
|
5
5
|
import { NodeId } from "node-opcua-nodeid"
|
|
6
6
|
import { UAString } from "node-opcua-basic-types"
|
|
@@ -18,6 +18,7 @@ import { DTCncPosition } from "./dt_cnc_position"
|
|
|
18
18
|
* |isAbstract |false |
|
|
19
19
|
*/
|
|
20
20
|
export interface UACncAxisList_Base {
|
|
21
|
+
// PlaceHolder for $CncAxis$
|
|
21
22
|
}
|
|
22
23
|
export interface UACncAxisList extends UAObject, UACncAxisList_Base {
|
|
23
24
|
}
|
package/source/ua_cnc_channel.ts
CHANGED
|
@@ -12,29 +12,29 @@ import { EnumCncChannelProgramStatus } from "./enum_cnc_channel_program_status"
|
|
|
12
12
|
import { EnumCncChannelStatus } from "./enum_cnc_channel_status"
|
|
13
13
|
import { DTCncPosition } from "./dt_cnc_position"
|
|
14
14
|
import { UACncPositionVariable } from "./ua_cnc_position_variable"
|
|
15
|
-
export interface UACncChannel_actFeedrate<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
16
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
17
|
-
euRange: UAProperty<DTRange,
|
|
15
|
+
export interface UACncChannel_actFeedrate<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
16
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
17
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
18
18
|
}
|
|
19
|
-
export interface UACncChannel_actJogIncrement<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
20
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
21
|
-
euRange: UAProperty<DTRange,
|
|
19
|
+
export interface UACncChannel_actJogIncrement<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
20
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
21
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
22
22
|
}
|
|
23
|
-
export interface UACncChannel_actOverride<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
24
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
25
|
-
euRange: UAProperty<DTRange,
|
|
23
|
+
export interface UACncChannel_actOverride<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
24
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
25
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
26
26
|
}
|
|
27
|
-
export interface UACncChannel_cmdFeedrate<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
28
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
29
|
-
euRange: UAProperty<DTRange,
|
|
27
|
+
export interface UACncChannel_cmdFeedrate<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
28
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
29
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
30
30
|
}
|
|
31
|
-
export interface UACncChannel_cmdOverride<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
32
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
33
|
-
euRange: UAProperty<DTRange,
|
|
31
|
+
export interface UACncChannel_cmdOverride<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
32
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
33
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
34
34
|
}
|
|
35
|
-
export interface UACncChannel_dryRunFeed<T, DT extends DataType> extends Omit<UAAnalogItem<T,
|
|
36
|
-
engineeringUnits: UAProperty<EUInformation,
|
|
37
|
-
euRange: UAProperty<DTRange,
|
|
35
|
+
export interface UACncChannel_dryRunFeed<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits"|"euRange"> { // Variable
|
|
36
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
37
|
+
euRange: UAProperty<DTRange, DataType.ExtensionObject>;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* CNC channel component.
|
|
@@ -47,141 +47,143 @@ export interface UACncChannel_dryRunFeed<T, DT extends DataType> extends Omit<UA
|
|
|
47
47
|
* |isAbstract |false |
|
|
48
48
|
*/
|
|
49
49
|
export interface UACncChannel_Base extends UACncComponent_Base {
|
|
50
|
+
// PlaceHolder for $CncAxis$
|
|
51
|
+
// PlaceHolder for $CncSpindle$
|
|
50
52
|
/**
|
|
51
53
|
* actFeedrate
|
|
52
54
|
* Feedrate actual value.
|
|
53
55
|
*/
|
|
54
|
-
actFeedrate: UACncChannel_actFeedrate<number,
|
|
56
|
+
actFeedrate: UACncChannel_actFeedrate<number, DataType.Double>;
|
|
55
57
|
/**
|
|
56
58
|
* actGFunctions
|
|
57
59
|
* Array of active G functions; there can be several
|
|
58
60
|
* G functions active at a time (modal and non-modal
|
|
59
61
|
* G functions).
|
|
60
62
|
*/
|
|
61
|
-
actGFunctions: UADataItem<UInt32[],
|
|
63
|
+
actGFunctions: UADataItem<UInt32[], DataType.UInt32>;
|
|
62
64
|
/**
|
|
63
65
|
* actJogIncrement
|
|
64
66
|
* Active JOG increment.
|
|
65
67
|
*/
|
|
66
|
-
actJogIncrement: UACncChannel_actJogIncrement<number,
|
|
68
|
+
actJogIncrement: UACncChannel_actJogIncrement<number, DataType.Double>;
|
|
67
69
|
/**
|
|
68
70
|
* actMainProgramFile
|
|
69
71
|
* Path of active CNC main program.
|
|
70
72
|
*/
|
|
71
|
-
actMainProgramFile: UADataItem<UAString,
|
|
73
|
+
actMainProgramFile: UADataItem<UAString, DataType.String>;
|
|
72
74
|
/**
|
|
73
75
|
* actMainProgramFileOffset
|
|
74
76
|
* File offset of active CNC main program file.
|
|
75
77
|
*/
|
|
76
|
-
actMainProgramFileOffset?: UADataItem<UInt32,
|
|
78
|
+
actMainProgramFileOffset?: UADataItem<UInt32, DataType.UInt32>;
|
|
77
79
|
/**
|
|
78
80
|
* actMainProgramLine
|
|
79
81
|
* Line number of active CNC main program.
|
|
80
82
|
*/
|
|
81
|
-
actMainProgramLine?: UADataItem<UAString,
|
|
83
|
+
actMainProgramLine?: UADataItem<UAString, DataType.String>;
|
|
82
84
|
/**
|
|
83
85
|
* actMainProgramName
|
|
84
86
|
* Name of active CNC main program.
|
|
85
87
|
*/
|
|
86
|
-
actMainProgramName: UADataItem<UAString,
|
|
88
|
+
actMainProgramName: UADataItem<UAString, DataType.String>;
|
|
87
89
|
/**
|
|
88
90
|
* actMFunctions
|
|
89
91
|
* Array of active M functions: there can be several
|
|
90
92
|
* M functions active at a time (modal and non-modal
|
|
91
93
|
* M functions).
|
|
92
94
|
*/
|
|
93
|
-
actMFunctions: UADataItem<UInt32[],
|
|
95
|
+
actMFunctions: UADataItem<UInt32[], DataType.UInt32>;
|
|
94
96
|
/**
|
|
95
97
|
* actModalOffsetFunction
|
|
96
98
|
* Active zero offset function.
|
|
97
99
|
*/
|
|
98
|
-
actModalOffsetFunction: UADataItem<UInt32,
|
|
100
|
+
actModalOffsetFunction: UADataItem<UInt32, DataType.UInt32>;
|
|
99
101
|
/**
|
|
100
102
|
* actOperationMode
|
|
101
103
|
* Channel's active mode of operation.
|
|
102
104
|
*/
|
|
103
|
-
actOperationMode: UADataItem<EnumCncOperationMode,
|
|
105
|
+
actOperationMode: UADataItem<EnumCncOperationMode, DataType.Int32>;
|
|
104
106
|
/**
|
|
105
107
|
* actOverride
|
|
106
108
|
* Axis override actual value.
|
|
107
109
|
*/
|
|
108
|
-
actOverride: UACncChannel_actOverride<number,
|
|
110
|
+
actOverride: UACncChannel_actOverride<number, DataType.Double>;
|
|
109
111
|
/**
|
|
110
112
|
* actProgramBlock
|
|
111
113
|
* Block of lines containing the previous, actual
|
|
112
114
|
* and subsequent lines of a CNC part program.
|
|
113
115
|
*/
|
|
114
|
-
actProgramBlock: UADataItem<UAString[],
|
|
116
|
+
actProgramBlock: UADataItem<UAString[], DataType.String>;
|
|
115
117
|
/**
|
|
116
118
|
* actProgramFile
|
|
117
119
|
* Path of active CNC program file (main or
|
|
118
120
|
* subprogram).
|
|
119
121
|
*/
|
|
120
|
-
actProgramFile: UADataItem<UAString,
|
|
122
|
+
actProgramFile: UADataItem<UAString, DataType.String>;
|
|
121
123
|
/**
|
|
122
124
|
* actProgramFileOffset
|
|
123
125
|
* File offset of active CNC program file (main or
|
|
124
126
|
* subprogram).
|
|
125
127
|
*/
|
|
126
|
-
actProgramFileOffset?: UADataItem<UInt32,
|
|
128
|
+
actProgramFileOffset?: UADataItem<UInt32, DataType.UInt32>;
|
|
127
129
|
/**
|
|
128
130
|
* actProgramLine
|
|
129
131
|
* Line number of active CNC program (main or
|
|
130
132
|
* subprogram).
|
|
131
133
|
*/
|
|
132
|
-
actProgramLine?: UADataItem<UAString,
|
|
134
|
+
actProgramLine?: UADataItem<UAString, DataType.String>;
|
|
133
135
|
/**
|
|
134
136
|
* actProgramName
|
|
135
137
|
* Name of active CNC program (main or subprogram).
|
|
136
138
|
*/
|
|
137
|
-
actProgramName: UADataItem<UAString,
|
|
139
|
+
actProgramName: UADataItem<UAString, DataType.String>;
|
|
138
140
|
/**
|
|
139
141
|
* actProgramStatus
|
|
140
142
|
* Active channel program status
|
|
141
143
|
*/
|
|
142
|
-
actProgramStatus: UADataItem<EnumCncChannelProgramStatus,
|
|
144
|
+
actProgramStatus: UADataItem<EnumCncChannelProgramStatus, DataType.Int32>;
|
|
143
145
|
/**
|
|
144
146
|
* actStatus
|
|
145
147
|
* Active status of channel.
|
|
146
148
|
*/
|
|
147
|
-
actStatus: UADataItem<EnumCncChannelStatus,
|
|
149
|
+
actStatus: UADataItem<EnumCncChannelStatus, DataType.Int32>;
|
|
148
150
|
/**
|
|
149
151
|
* blockMode
|
|
150
152
|
* Block mode status (true in case of block mode is
|
|
151
153
|
* active, else false).
|
|
152
154
|
*/
|
|
153
|
-
blockMode: UADataItem<boolean,
|
|
155
|
+
blockMode: UADataItem<boolean, DataType.Boolean>;
|
|
154
156
|
/**
|
|
155
157
|
* cmdFeedrate
|
|
156
158
|
* Feedrate setpoint value.
|
|
157
159
|
*/
|
|
158
|
-
cmdFeedrate: UACncChannel_cmdFeedrate<number,
|
|
160
|
+
cmdFeedrate: UACncChannel_cmdFeedrate<number, DataType.Double>;
|
|
159
161
|
/**
|
|
160
162
|
* cmdOperationMode
|
|
161
163
|
* Channel’s mode of operation setpoint value.
|
|
162
164
|
*/
|
|
163
|
-
cmdOperationMode: UADataItem<EnumCncOperationMode,
|
|
165
|
+
cmdOperationMode: UADataItem<EnumCncOperationMode, DataType.Int32>;
|
|
164
166
|
/**
|
|
165
167
|
* cmdOverride
|
|
166
168
|
* Override setpoint value.
|
|
167
169
|
*/
|
|
168
|
-
cmdOverride: UACncChannel_cmdOverride<number,
|
|
170
|
+
cmdOverride: UACncChannel_cmdOverride<number, DataType.Double>;
|
|
169
171
|
/**
|
|
170
172
|
* dryRunFeed
|
|
171
173
|
* Test feedrate.
|
|
172
174
|
*/
|
|
173
|
-
dryRunFeed: UACncChannel_dryRunFeed<number,
|
|
175
|
+
dryRunFeed: UACncChannel_dryRunFeed<number, DataType.Double>;
|
|
174
176
|
/**
|
|
175
177
|
* feedHold
|
|
176
178
|
* Feed status (true in case of feed hold active,
|
|
177
179
|
* else false).
|
|
178
180
|
*/
|
|
179
|
-
feedHold: UADataItem<boolean,
|
|
181
|
+
feedHold: UADataItem<boolean, DataType.Boolean>;
|
|
180
182
|
/**
|
|
181
183
|
* id
|
|
182
184
|
* Unique numeric channel identifier.
|
|
183
185
|
*/
|
|
184
|
-
id: UAProperty<UInt32,
|
|
186
|
+
id: UAProperty<UInt32, DataType.UInt32>;
|
|
185
187
|
/**
|
|
186
188
|
* posTcpBcsA
|
|
187
189
|
* Actual position of the tool center point in
|
|
@@ -259,7 +261,7 @@ export interface UACncChannel_Base extends UACncComponent_Base {
|
|
|
259
261
|
* ID of active tool; returns zero if no tool is
|
|
260
262
|
* present.
|
|
261
263
|
*/
|
|
262
|
-
toolId: UADataItem<UInt32,
|
|
264
|
+
toolId: UADataItem<UInt32, DataType.UInt32>;
|
|
263
265
|
}
|
|
264
266
|
export interface UACncChannel extends UACncComponent, UACncChannel_Base {
|
|
265
267
|
}
|
|
@@ -23,6 +23,7 @@ import { EnumCncChannelStatus } from "./enum_cnc_channel_status"
|
|
|
23
23
|
* |isAbstract |false |
|
|
24
24
|
*/
|
|
25
25
|
export interface UACncChannelList_Base {
|
|
26
|
+
// PlaceHolder for $CncChannel$
|
|
26
27
|
}
|
|
27
28
|
export interface UACncChannelList extends UAObject, UACncChannelList_Base {
|
|
28
29
|
}
|