node-opcua-nodeset-pack-ml 2.99.0 → 2.99.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_pack_ml_alarm.d.ts +29 -0
- package/dist/dt_pack_ml_alarm.js +4 -0
- package/dist/dt_pack_ml_alarm.js.map +1 -0
- package/dist/dt_pack_ml_count.d.ts +26 -0
- package/dist/dt_pack_ml_count.js +4 -0
- package/dist/dt_pack_ml_count.js.map +1 -0
- package/dist/dt_pack_ml_descriptor.d.ts +24 -0
- package/dist/dt_pack_ml_descriptor.js +4 -0
- package/dist/dt_pack_ml_descriptor.js.map +1 -0
- package/dist/dt_pack_ml_ingredients.d.ts +20 -0
- package/dist/dt_pack_ml_ingredients.js +4 -0
- package/dist/dt_pack_ml_ingredients.js.map +1 -0
- package/dist/dt_pack_ml_product.d.ts +23 -0
- package/dist/dt_pack_ml_product.js +4 -0
- package/dist/dt_pack_ml_product.js.map +1 -0
- package/dist/dt_pack_ml_remote_interface.d.ts +24 -0
- package/dist/dt_pack_ml_remote_interface.js +4 -0
- package/dist/dt_pack_ml_remote_interface.js.map +1 -0
- package/dist/enum_production_maintenance_mode_enum.d.ts +26 -0
- package/dist/enum_production_maintenance_mode_enum.js +32 -0
- package/dist/enum_production_maintenance_mode_enum.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/ua_pack_ml_admin_object.d.ts +37 -0
- package/dist/ua_pack_ml_admin_object.js +3 -0
- package/dist/ua_pack_ml_admin_object.js.map +1 -0
- package/dist/ua_pack_ml_base_object.d.ts +29 -0
- package/dist/ua_pack_ml_base_object.js +3 -0
- package/dist/ua_pack_ml_base_object.js.map +1 -0
- package/dist/ua_pack_ml_base_state_machine.d.ts +31 -0
- package/dist/ua_pack_ml_base_state_machine.js +3 -0
- package/dist/ua_pack_ml_base_state_machine.js.map +1 -0
- package/dist/ua_pack_ml_execute_state_machine.d.ts +148 -0
- package/dist/ua_pack_ml_execute_state_machine.js +3 -0
- package/dist/ua_pack_ml_execute_state_machine.js.map +1 -0
- package/dist/ua_pack_ml_machine_state_machine.d.ts +56 -0
- package/dist/ua_pack_ml_machine_state_machine.js +3 -0
- package/dist/ua_pack_ml_machine_state_machine.js.map +1 -0
- package/dist/ua_pack_ml_status_object.d.ts +36 -0
- package/dist/ua_pack_ml_status_object.js +3 -0
- package/dist/ua_pack_ml_status_object.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Int32, UAString } from "node-opcua-basic-types";
|
|
2
|
+
import { ExtensionObject } from "node-opcua-extension-object";
|
|
3
|
+
import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
|
|
4
|
+
/**
|
|
5
|
+
* | | |
|
|
6
|
+
* |-----------|--------------------------------------------------|
|
|
7
|
+
* | namespace |http://opcfoundation.org/UA/PackML/ |
|
|
8
|
+
* | nodeClass |DataType |
|
|
9
|
+
* | name |15:PackMLAlarmDataType |
|
|
10
|
+
* | isAbstract|false |
|
|
11
|
+
*/
|
|
12
|
+
export interface DTPackMLAlarm extends DTStructure {
|
|
13
|
+
/** A unique number assigned to each type of alarm, stop or warning.*/
|
|
14
|
+
ID: Int32;
|
|
15
|
+
/** An alarm, stop or warning message number associated to the ID to allow for user specific detail or to break down the Alarm.ID to greater detail*/
|
|
16
|
+
value: Int32;
|
|
17
|
+
/** The actual text of the alarm, stop or warning for those machines capable of providing string information*/
|
|
18
|
+
message: UAString;
|
|
19
|
+
/** A user defined value which indicates what type of alarm, stop or warning has occurred. E.g. electrical, mechanical, process limit, …*/
|
|
20
|
+
category: Int32;
|
|
21
|
+
/** The date and time that the alarm, stop or warning occurred, in ISO 8601 format (year, month, day, hour, minute, second, msec), as an array of 32 bit integers. Any unused date time elements should be set to zero*/
|
|
22
|
+
dateTime: Date;
|
|
23
|
+
/** The date and time that the alarm, stop or warning has been acknowledged, in ISO 8601 format (year, month, day, hour, minute, second, msec), as an array of 32 bit integers. Any unused date time elements should be set to zero*/
|
|
24
|
+
ackDateTime: Date;
|
|
25
|
+
/** This variable is true when the alarm is active*/
|
|
26
|
+
trigger: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface UDTPackMLAlarm extends ExtensionObject, DTPackMLAlarm {
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dt_pack_ml_alarm.js","sourceRoot":"","sources":["../source/dt_pack_ml_alarm.ts"],"names":[],"mappings":";;AA4ByE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EUInformation } from "node-opcua-data-access";
|
|
2
|
+
import { Int32, UAString } from "node-opcua-basic-types";
|
|
3
|
+
import { ExtensionObject } from "node-opcua-extension-object";
|
|
4
|
+
import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |-----------|--------------------------------------------------|
|
|
8
|
+
* | namespace |http://opcfoundation.org/UA/PackML/ |
|
|
9
|
+
* | nodeClass |DataType |
|
|
10
|
+
* | name |15:PackMLCountDataType |
|
|
11
|
+
* | isAbstract|false |
|
|
12
|
+
*/
|
|
13
|
+
export interface DTPackMLCount extends DTStructure {
|
|
14
|
+
/** A user defined value that represents the consumed (processed or defective) material. Typically this is an SKU number or a user material master number.*/
|
|
15
|
+
ID: Int32;
|
|
16
|
+
/** A string description of the material.*/
|
|
17
|
+
name: UAString;
|
|
18
|
+
/** OPC UA engineering unit information for the count.*/
|
|
19
|
+
unit: EUInformation;
|
|
20
|
+
/** The amount of consumed (processed or defective) material on the current production job.*/
|
|
21
|
+
count: Int32;
|
|
22
|
+
/** The cumulative count value of the material produced (or consumed). This counter gives the user a non-resetting counter that may be used for OEE calculations*/
|
|
23
|
+
accCount: Int32;
|
|
24
|
+
}
|
|
25
|
+
export interface UDTPackMLCount extends ExtensionObject, DTPackMLCount {
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dt_pack_ml_count.js","sourceRoot":"","sources":["../source/dt_pack_ml_count.ts"],"names":[],"mappings":";;AAyByE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EUInformation } from "node-opcua-data-access";
|
|
2
|
+
import { Int32, UAString } from "node-opcua-basic-types";
|
|
3
|
+
import { ExtensionObject } from "node-opcua-extension-object";
|
|
4
|
+
import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |-----------|--------------------------------------------------|
|
|
8
|
+
* | namespace |http://opcfoundation.org/UA/PackML/ |
|
|
9
|
+
* | nodeClass |DataType |
|
|
10
|
+
* | name |15:PackMLDescriptorDataType |
|
|
11
|
+
* | isAbstract|false |
|
|
12
|
+
*/
|
|
13
|
+
export interface DTPackMLDescriptor extends DTStructure {
|
|
14
|
+
/** A unique number assigned to the parameter*/
|
|
15
|
+
ID: Int32;
|
|
16
|
+
/** The name of the parameter*/
|
|
17
|
+
name: UAString;
|
|
18
|
+
/** OPC UA engineering unit information*/
|
|
19
|
+
unit: EUInformation;
|
|
20
|
+
/** This is the numeric value of the parameter*/
|
|
21
|
+
value: number;
|
|
22
|
+
}
|
|
23
|
+
export interface UDTPackMLDescriptor extends ExtensionObject, DTPackMLDescriptor {
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dt_pack_ml_descriptor.js","sourceRoot":"","sources":["../source/dt_pack_ml_descriptor.ts"],"names":[],"mappings":";;AAuBmF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Int32 } from "node-opcua-basic-types";
|
|
2
|
+
import { ExtensionObject } from "node-opcua-extension-object";
|
|
3
|
+
import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
|
|
4
|
+
import { DTPackMLDescriptor } from "./dt_pack_ml_descriptor";
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |-----------|--------------------------------------------------|
|
|
8
|
+
* | namespace |http://opcfoundation.org/UA/PackML/ |
|
|
9
|
+
* | nodeClass |DataType |
|
|
10
|
+
* | name |15:PackMLIngredientsDataType |
|
|
11
|
+
* | isAbstract|false |
|
|
12
|
+
*/
|
|
13
|
+
export interface DTPackMLIngredients extends DTStructure {
|
|
14
|
+
/** A unique number assigned to the ingredient.*/
|
|
15
|
+
ingredientID: Int32;
|
|
16
|
+
/** The array of Parameters that correspond to the ingredient*/
|
|
17
|
+
parameter: DTPackMLDescriptor[];
|
|
18
|
+
}
|
|
19
|
+
export interface UDTPackMLIngredients extends ExtensionObject, DTPackMLIngredients {
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dt_pack_ml_ingredients.js","sourceRoot":"","sources":["../source/dt_pack_ml_ingredients.ts"],"names":[],"mappings":";;AAmBqF,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Int32 } from "node-opcua-basic-types";
|
|
2
|
+
import { ExtensionObject } from "node-opcua-extension-object";
|
|
3
|
+
import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
|
|
4
|
+
import { DTPackMLDescriptor } from "./dt_pack_ml_descriptor";
|
|
5
|
+
import { DTPackMLIngredients } from "./dt_pack_ml_ingredients";
|
|
6
|
+
/**
|
|
7
|
+
* | | |
|
|
8
|
+
* |-----------|--------------------------------------------------|
|
|
9
|
+
* | namespace |http://opcfoundation.org/UA/PackML/ |
|
|
10
|
+
* | nodeClass |DataType |
|
|
11
|
+
* | name |15:PackMLProductDataType |
|
|
12
|
+
* | isAbstract|false |
|
|
13
|
+
*/
|
|
14
|
+
export interface DTPackMLProduct extends DTStructure {
|
|
15
|
+
/** A unique number assigned to the product.*/
|
|
16
|
+
productID: Int32;
|
|
17
|
+
/** The array of Process variables associated with this product*/
|
|
18
|
+
processVariables: DTPackMLDescriptor[];
|
|
19
|
+
/** The array of ingredients associated with this product.*/
|
|
20
|
+
ingredients: DTPackMLIngredients[];
|
|
21
|
+
}
|
|
22
|
+
export interface UDTPackMLProduct extends ExtensionObject, DTPackMLProduct {
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dt_pack_ml_product.js","sourceRoot":"","sources":["../source/dt_pack_ml_product.ts"],"names":[],"mappings":";;AAsB6E,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Int32 } from "node-opcua-basic-types";
|
|
2
|
+
import { ExtensionObject } from "node-opcua-extension-object";
|
|
3
|
+
import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
|
|
4
|
+
import { DTPackMLDescriptor } from "./dt_pack_ml_descriptor";
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |-----------|--------------------------------------------------|
|
|
8
|
+
* | namespace |http://opcfoundation.org/UA/PackML/ |
|
|
9
|
+
* | nodeClass |DataType |
|
|
10
|
+
* | name |15:PackMLRemoteInterfaceDataType |
|
|
11
|
+
* | isAbstract|false |
|
|
12
|
+
*/
|
|
13
|
+
export interface DTPackMLRemoteInterface extends DTStructure {
|
|
14
|
+
/** This is the unique number for the downstream/upstream unit machine using a common tag structure as the unit machine.*/
|
|
15
|
+
number: Int32;
|
|
16
|
+
/** A user defined command number associated with coded value from a remote unit. This number is a coded value sent from one node on the network to another.*/
|
|
17
|
+
controlCmdNumber: Int32;
|
|
18
|
+
/** This is the command value associated with the ControlCmdNumber above.*/
|
|
19
|
+
cmdValue: Int32;
|
|
20
|
+
/** The parameter tags associated to commanded remote interface are typically used for command parameters that are given to the unit machine from remote machines.*/
|
|
21
|
+
parameter: DTPackMLDescriptor[];
|
|
22
|
+
}
|
|
23
|
+
export interface UDTPackMLRemoteInterface extends ExtensionObject, DTPackMLRemoteInterface {
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dt_pack_ml_remote_interface.js","sourceRoot":"","sources":["../source/dt_pack_ml_remote_interface.ts"],"names":[],"mappings":";;AAuB6F,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | | |
|
|
3
|
+
* |-----------|--------------------------------------------------|
|
|
4
|
+
* | namespace |http://opcfoundation.org/UA/PackML/ |
|
|
5
|
+
* | nodeClass |DataType |
|
|
6
|
+
* | name |15:ProductionMaintenanceModeEnum |
|
|
7
|
+
* | isAbstract|false |
|
|
8
|
+
*/
|
|
9
|
+
export declare enum EnumProductionMaintenanceModeEnum {
|
|
10
|
+
/**
|
|
11
|
+
* This is an invalid mode
|
|
12
|
+
*/
|
|
13
|
+
Invalid = 0,
|
|
14
|
+
/**
|
|
15
|
+
* Machine is in production mode
|
|
16
|
+
*/
|
|
17
|
+
Produce = 1,
|
|
18
|
+
/**
|
|
19
|
+
* Machine is in maintenance mode
|
|
20
|
+
*/
|
|
21
|
+
Maintenance = 2,
|
|
22
|
+
/**
|
|
23
|
+
* Machine is in manual mode
|
|
24
|
+
*/
|
|
25
|
+
Manual = 3
|
|
26
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ----- this file has been automatically generated - do not edit
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.EnumProductionMaintenanceModeEnum = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* | | |
|
|
7
|
+
* |-----------|--------------------------------------------------|
|
|
8
|
+
* | namespace |http://opcfoundation.org/UA/PackML/ |
|
|
9
|
+
* | nodeClass |DataType |
|
|
10
|
+
* | name |15:ProductionMaintenanceModeEnum |
|
|
11
|
+
* | isAbstract|false |
|
|
12
|
+
*/
|
|
13
|
+
var EnumProductionMaintenanceModeEnum;
|
|
14
|
+
(function (EnumProductionMaintenanceModeEnum) {
|
|
15
|
+
/**
|
|
16
|
+
* This is an invalid mode
|
|
17
|
+
*/
|
|
18
|
+
EnumProductionMaintenanceModeEnum[EnumProductionMaintenanceModeEnum["Invalid"] = 0] = "Invalid";
|
|
19
|
+
/**
|
|
20
|
+
* Machine is in production mode
|
|
21
|
+
*/
|
|
22
|
+
EnumProductionMaintenanceModeEnum[EnumProductionMaintenanceModeEnum["Produce"] = 1] = "Produce";
|
|
23
|
+
/**
|
|
24
|
+
* Machine is in maintenance mode
|
|
25
|
+
*/
|
|
26
|
+
EnumProductionMaintenanceModeEnum[EnumProductionMaintenanceModeEnum["Maintenance"] = 2] = "Maintenance";
|
|
27
|
+
/**
|
|
28
|
+
* Machine is in manual mode
|
|
29
|
+
*/
|
|
30
|
+
EnumProductionMaintenanceModeEnum[EnumProductionMaintenanceModeEnum["Manual"] = 3] = "Manual";
|
|
31
|
+
})(EnumProductionMaintenanceModeEnum = exports.EnumProductionMaintenanceModeEnum || (exports.EnumProductionMaintenanceModeEnum = {}));
|
|
32
|
+
//# sourceMappingURL=enum_production_maintenance_mode_enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enum_production_maintenance_mode_enum.js","sourceRoot":"","sources":["../source/enum_production_maintenance_mode_enum.ts"],"names":[],"mappings":";AAAA,iEAAiE;;;AAEjE;;;;;;;GAOG;AACH,IAAY,iCAiBX;AAjBD,WAAY,iCAAiC;IAC3C;;OAEG;IACH,+FAAW,CAAA;IACX;;OAEG;IACH,+FAAW,CAAA;IACX;;OAEG;IACH,uGAAe,CAAA;IACf;;OAEG;IACH,6FAAU,CAAA;AACZ,CAAC,EAjBW,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAiB5C"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./dt_pack_ml_alarm";
|
|
2
|
+
export * from "./dt_pack_ml_count";
|
|
3
|
+
export * from "./dt_pack_ml_descriptor";
|
|
4
|
+
export * from "./dt_pack_ml_ingredients";
|
|
5
|
+
export * from "./dt_pack_ml_product";
|
|
6
|
+
export * from "./dt_pack_ml_remote_interface";
|
|
7
|
+
export * from "./enum_production_maintenance_mode_enum";
|
|
8
|
+
export * from "./ua_pack_ml_admin_object";
|
|
9
|
+
export * from "./ua_pack_ml_base_object";
|
|
10
|
+
export * from "./ua_pack_ml_base_state_machine";
|
|
11
|
+
export * from "./ua_pack_ml_execute_state_machine";
|
|
12
|
+
export * from "./ua_pack_ml_machine_state_machine";
|
|
13
|
+
export * from "./ua_pack_ml_status_object";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dt_pack_ml_alarm"), exports);
|
|
18
|
+
__exportStar(require("./dt_pack_ml_count"), exports);
|
|
19
|
+
__exportStar(require("./dt_pack_ml_descriptor"), exports);
|
|
20
|
+
__exportStar(require("./dt_pack_ml_ingredients"), exports);
|
|
21
|
+
__exportStar(require("./dt_pack_ml_product"), exports);
|
|
22
|
+
__exportStar(require("./dt_pack_ml_remote_interface"), exports);
|
|
23
|
+
__exportStar(require("./enum_production_maintenance_mode_enum"), exports);
|
|
24
|
+
__exportStar(require("./ua_pack_ml_admin_object"), exports);
|
|
25
|
+
__exportStar(require("./ua_pack_ml_base_object"), exports);
|
|
26
|
+
__exportStar(require("./ua_pack_ml_base_state_machine"), exports);
|
|
27
|
+
__exportStar(require("./ua_pack_ml_execute_state_machine"), exports);
|
|
28
|
+
__exportStar(require("./ua_pack_ml_machine_state_machine"), exports);
|
|
29
|
+
__exportStar(require("./ua_pack_ml_status_object"), exports);
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,qDAAmC;AACnC,0DAAwC;AACxC,2DAAyC;AACzC,uDAAqC;AACrC,gEAA8C;AAC9C,0EAAwD;AACxD,4DAA0C;AAC1C,2DAAyC;AACzC,kEAAgD;AAChD,qEAAmD;AACnD,qEAAmD;AACnD,6DAA2C"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { UAObject } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { Int32 } from "node-opcua-basic-types";
|
|
4
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
5
|
+
import { DTPackMLAlarm } from "./dt_pack_ml_alarm";
|
|
6
|
+
import { DTPackMLDescriptor } from "./dt_pack_ml_descriptor";
|
|
7
|
+
import { DTPackMLCount } from "./dt_pack_ml_count";
|
|
8
|
+
/**
|
|
9
|
+
* | | |
|
|
10
|
+
* |----------------|--------------------------------------------------|
|
|
11
|
+
* |namespace |http://opcfoundation.org/UA/PackML/ |
|
|
12
|
+
* |nodeClass |ObjectType |
|
|
13
|
+
* |typedDefinition |15:PackMLAdminObjectType ns=15;i=5 |
|
|
14
|
+
* |isAbstract |false |
|
|
15
|
+
*/
|
|
16
|
+
export interface UAPackMLAdminObject_Base {
|
|
17
|
+
accTimeSinceReset?: UABaseDataVariable<Int32, DataType.Int32>;
|
|
18
|
+
alarm?: UABaseDataVariable<DTPackMLAlarm[], DataType.ExtensionObject>;
|
|
19
|
+
alarmExtent?: UABaseDataVariable<Int32, DataType.Int32>;
|
|
20
|
+
alarmHistory?: UABaseDataVariable<DTPackMLAlarm[], DataType.ExtensionObject>;
|
|
21
|
+
alarmHistoryExtent?: UABaseDataVariable<Int32, DataType.Int32>;
|
|
22
|
+
machDesignSpeed?: UABaseDataVariable<number, DataType.Float>;
|
|
23
|
+
modeCumulativeTime?: UABaseDataVariable<Int32[], DataType.Int32>;
|
|
24
|
+
modeCurrentTime?: UABaseDataVariable<Int32[], DataType.Int32>;
|
|
25
|
+
parameter?: UABaseDataVariable<DTPackMLDescriptor[], DataType.ExtensionObject>;
|
|
26
|
+
prodConsumedCount?: UABaseDataVariable<DTPackMLCount[], DataType.ExtensionObject>;
|
|
27
|
+
prodDefectiveCount?: UABaseDataVariable<DTPackMLCount[], DataType.ExtensionObject>;
|
|
28
|
+
prodProcessedCount?: UABaseDataVariable<DTPackMLCount[], DataType.ExtensionObject>;
|
|
29
|
+
stateCumulativeTime?: UABaseDataVariable<Int32[], DataType.Int32>;
|
|
30
|
+
stateCurrentTime?: UABaseDataVariable<Int32[], DataType.Int32>;
|
|
31
|
+
stopReason?: UABaseDataVariable<DTPackMLAlarm, DataType.ExtensionObject>;
|
|
32
|
+
stopReasonExtent?: UABaseDataVariable<Int32, DataType.Int32>;
|
|
33
|
+
warning?: UABaseDataVariable<DTPackMLAlarm[], DataType.ExtensionObject>;
|
|
34
|
+
warningExtent?: UABaseDataVariable<Int32, DataType.Int32>;
|
|
35
|
+
}
|
|
36
|
+
export interface UAPackMLAdminObject extends UAObject, UAPackMLAdminObject_Base {
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_pack_ml_admin_object.js","sourceRoot":"","sources":["../source/ua_pack_ml_admin_object.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UAObject, UAMethod, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { UAString } from "node-opcua-basic-types";
|
|
4
|
+
import { UAPackMLAdminObject } from "./ua_pack_ml_admin_object";
|
|
5
|
+
import { UAPackMLBaseStateMachine } from "./ua_pack_ml_base_state_machine";
|
|
6
|
+
import { UAPackMLStatusObject } from "./ua_pack_ml_status_object";
|
|
7
|
+
/**
|
|
8
|
+
* | | |
|
|
9
|
+
* |----------------|--------------------------------------------------|
|
|
10
|
+
* |namespace |http://opcfoundation.org/UA/PackML/ |
|
|
11
|
+
* |nodeClass |ObjectType |
|
|
12
|
+
* |typedDefinition |15:PackMLBaseObjectType ns=15;i=6 |
|
|
13
|
+
* |isAbstract |false |
|
|
14
|
+
*/
|
|
15
|
+
export interface UAPackMLBaseObject_Base {
|
|
16
|
+
admin: UAPackMLAdminObject;
|
|
17
|
+
baseStateMachine: UAPackMLBaseStateMachine;
|
|
18
|
+
packMLVersion?: UAProperty<UAString, DataType.String>;
|
|
19
|
+
remoteCommand?: UAMethod;
|
|
20
|
+
setInterlock?: UAMethod;
|
|
21
|
+
setMachSpeed: UAMethod;
|
|
22
|
+
setParameter: UAMethod;
|
|
23
|
+
setProduct: UAMethod;
|
|
24
|
+
setUnitMode: UAMethod;
|
|
25
|
+
status: UAPackMLStatusObject;
|
|
26
|
+
tagID?: UAProperty<UAString, DataType.String>;
|
|
27
|
+
}
|
|
28
|
+
export interface UAPackMLBaseObject extends UAObject, UAPackMLBaseObject_Base {
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_pack_ml_base_object.js","sourceRoot":"","sources":["../source/ua_pack_ml_base_object.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { UAMethod } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { NodeId } from "node-opcua-nodeid";
|
|
4
|
+
import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/source/ua_finite_state_machine";
|
|
5
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state";
|
|
6
|
+
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition";
|
|
7
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
8
|
+
import { UAPackMLMachineStateMachine } from "./ua_pack_ml_machine_state_machine";
|
|
9
|
+
/**
|
|
10
|
+
* | | |
|
|
11
|
+
* |----------------|--------------------------------------------------|
|
|
12
|
+
* |namespace |http://opcfoundation.org/UA/PackML/ |
|
|
13
|
+
* |nodeClass |ObjectType |
|
|
14
|
+
* |typedDefinition |15:PackMLBaseStateMachineType ns=15;i=3 |
|
|
15
|
+
* |isAbstract |false |
|
|
16
|
+
*/
|
|
17
|
+
export interface UAPackMLBaseStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
18
|
+
abort?: UAMethod;
|
|
19
|
+
aborted: UAState;
|
|
20
|
+
abortedToCleared: UATransition;
|
|
21
|
+
aborting: UAState;
|
|
22
|
+
abortingToAborted: UATransition;
|
|
23
|
+
availableStates: UABaseDataVariable<NodeId[], DataType.NodeId>;
|
|
24
|
+
availableTransitions: UABaseDataVariable<NodeId[], DataType.NodeId>;
|
|
25
|
+
clear?: UAMethod;
|
|
26
|
+
cleared?: UAState;
|
|
27
|
+
clearedToAborting: UATransition;
|
|
28
|
+
machineState: UAPackMLMachineStateMachine;
|
|
29
|
+
}
|
|
30
|
+
export interface UAPackMLBaseStateMachine extends Omit<UAFiniteStateMachine, "availableStates" | "availableTransitions">, UAPackMLBaseStateMachine_Base {
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_pack_ml_base_state_machine.js","sourceRoot":"","sources":["../source/ua_pack_ml_base_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { UAMethod } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { NodeId } from "node-opcua-nodeid";
|
|
4
|
+
import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/source/ua_finite_state_machine";
|
|
5
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
6
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state";
|
|
7
|
+
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition";
|
|
8
|
+
/**
|
|
9
|
+
* | | |
|
|
10
|
+
* |----------------|--------------------------------------------------|
|
|
11
|
+
* |namespace |http://opcfoundation.org/UA/PackML/ |
|
|
12
|
+
* |nodeClass |ObjectType |
|
|
13
|
+
* |typedDefinition |15:PackMLExecuteStateMachineType ns=15;i=1 |
|
|
14
|
+
* |isAbstract |false |
|
|
15
|
+
*/
|
|
16
|
+
export interface UAPackMLExecuteStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
17
|
+
availableStates: UABaseDataVariable<NodeId[], DataType.NodeId>;
|
|
18
|
+
availableTransitions: UABaseDataVariable<NodeId[], DataType.NodeId>;
|
|
19
|
+
/**
|
|
20
|
+
* complete
|
|
21
|
+
* The machine has finished the COMPLETING state and
|
|
22
|
+
* is now waiting for a Reset command before
|
|
23
|
+
* transitioning to the RESETTING state
|
|
24
|
+
*/
|
|
25
|
+
complete: UAState;
|
|
26
|
+
completeToResetting: UATransition;
|
|
27
|
+
/**
|
|
28
|
+
* completing
|
|
29
|
+
* Normal operation has run to completion (i.e.,
|
|
30
|
+
* processing of material at the infeed will stop).
|
|
31
|
+
*/
|
|
32
|
+
completing: UAState;
|
|
33
|
+
completingToComplete: UATransition;
|
|
34
|
+
/**
|
|
35
|
+
* execute
|
|
36
|
+
* Once the machine is processing materials it is
|
|
37
|
+
* deemed to be executing or in the EXECUTE state.
|
|
38
|
+
*/
|
|
39
|
+
execute: UAState;
|
|
40
|
+
executeToCompleting: UATransition;
|
|
41
|
+
executeToHolding: UATransition;
|
|
42
|
+
executeToSuspending: UATransition;
|
|
43
|
+
/**
|
|
44
|
+
* held
|
|
45
|
+
* The HELD state holds the machine's operation
|
|
46
|
+
* while material blockages are cleared, or to stop
|
|
47
|
+
* throughput while a downstream problem is
|
|
48
|
+
* resolved, or enable the safe correction of an
|
|
49
|
+
* equipment fault before the production may be
|
|
50
|
+
* resumed.
|
|
51
|
+
*/
|
|
52
|
+
held: UAState;
|
|
53
|
+
heldToUnholding: UATransition;
|
|
54
|
+
hold?: UAMethod;
|
|
55
|
+
/**
|
|
56
|
+
* holding
|
|
57
|
+
* Issuing the Unhold command will retrieve the
|
|
58
|
+
* saved set-points and return the status conditions
|
|
59
|
+
* to prepare the machine to re-enter the normal
|
|
60
|
+
* EXECUTE state
|
|
61
|
+
*/
|
|
62
|
+
holding: UAState;
|
|
63
|
+
holdingToHeld: UATransition;
|
|
64
|
+
/**
|
|
65
|
+
* idle
|
|
66
|
+
* This is a state which indicates that RESETTING is
|
|
67
|
+
* complete. This state maintains the machine
|
|
68
|
+
* conditions which were achieved during the
|
|
69
|
+
* RESETTING state, and performs operations required
|
|
70
|
+
* when the machine is in IDLE.
|
|
71
|
+
*/
|
|
72
|
+
idle: UAState;
|
|
73
|
+
idleToStarting: UATransition;
|
|
74
|
+
reset?: UAMethod;
|
|
75
|
+
/**
|
|
76
|
+
* resetting
|
|
77
|
+
* will typically cause a machine to sound a horn
|
|
78
|
+
* and place the machine in a state where components
|
|
79
|
+
* are energized awaiting a START command
|
|
80
|
+
*/
|
|
81
|
+
resetting: UAState;
|
|
82
|
+
resettingToIdle: UATransition;
|
|
83
|
+
start?: UAMethod;
|
|
84
|
+
/**
|
|
85
|
+
* starting
|
|
86
|
+
* This state provides the steps needed to start the
|
|
87
|
+
* machine and is a result of a starting type
|
|
88
|
+
* command (local or remote). Following this
|
|
89
|
+
* command, the machine will begin to Execute
|
|
90
|
+
*/
|
|
91
|
+
starting: UAState;
|
|
92
|
+
startingToExecute: UATransition;
|
|
93
|
+
startingToHolding: UATransition;
|
|
94
|
+
suspend?: UAMethod;
|
|
95
|
+
/**
|
|
96
|
+
* suspended
|
|
97
|
+
* The machine may be running at a relevant set
|
|
98
|
+
* point speed, but there is no product being
|
|
99
|
+
* produced while the machine is waiting for
|
|
100
|
+
* external process conditions to return to normal.
|
|
101
|
+
*/
|
|
102
|
+
suspended: UAState;
|
|
103
|
+
suspendedToHolding: UATransition;
|
|
104
|
+
suspendedToUnsuspending: UATransition;
|
|
105
|
+
/**
|
|
106
|
+
* suspending
|
|
107
|
+
* This state is a result of a change in monitored
|
|
108
|
+
* conditions due to process conditions or factors.
|
|
109
|
+
* The trigger event will cause a temporary
|
|
110
|
+
* suspension of the EXECUTE state. SUSPENDING is
|
|
111
|
+
* typically the result of starvation of upstream
|
|
112
|
+
* material in-feeds (i.e., container feed, beverage
|
|
113
|
+
* feed, crown feed, lubricant feed, etc.) that is
|
|
114
|
+
* outside the dynamic speed control range or a
|
|
115
|
+
* downstream out-feed blockage that prevents the
|
|
116
|
+
* machine from EXECUTING continued steady production
|
|
117
|
+
*/
|
|
118
|
+
suspending: UAState;
|
|
119
|
+
suspendingToHolding: UATransition;
|
|
120
|
+
suspendingToSuspended: UATransition;
|
|
121
|
+
toComplete?: UAMethod;
|
|
122
|
+
unhold?: UAMethod;
|
|
123
|
+
/**
|
|
124
|
+
* unholding
|
|
125
|
+
* The UNHOLDING state is a response to an operator
|
|
126
|
+
* command to resume the EXECUTE state. Issuing the
|
|
127
|
+
* Unhold command will retrieve the saved set-points
|
|
128
|
+
* and return the status conditions to prepare the
|
|
129
|
+
* machine to re-enter the normal EXECUTE state
|
|
130
|
+
*/
|
|
131
|
+
unholding: UAState;
|
|
132
|
+
unholdingToExecute: UATransition;
|
|
133
|
+
unholdingToHolding: UATransition;
|
|
134
|
+
unsuspend?: UAMethod;
|
|
135
|
+
/**
|
|
136
|
+
* unsuspending
|
|
137
|
+
* This state is a result of a machine generated
|
|
138
|
+
* request from SUSPENDED state to go back to the
|
|
139
|
+
* EXECUTE state. The actions of this state may
|
|
140
|
+
* include ramping up speeds, turning on vacuums,
|
|
141
|
+
* and the re-engagement of clutches.
|
|
142
|
+
*/
|
|
143
|
+
unsuspending: UAState;
|
|
144
|
+
unsuspendingToExecute: UATransition;
|
|
145
|
+
unsuspendingToHolding: UATransition;
|
|
146
|
+
}
|
|
147
|
+
export interface UAPackMLExecuteStateMachine extends Omit<UAFiniteStateMachine, "availableStates" | "availableTransitions">, UAPackMLExecuteStateMachine_Base {
|
|
148
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_pack_ml_execute_state_machine.js","sourceRoot":"","sources":["../source/ua_pack_ml_execute_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { UAMethod } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { NodeId } from "node-opcua-nodeid";
|
|
4
|
+
import { UAFiniteStateMachine, UAFiniteStateMachine_Base } from "node-opcua-nodeset-ua/source/ua_finite_state_machine";
|
|
5
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
6
|
+
import { UAState } from "node-opcua-nodeset-ua/source/ua_state";
|
|
7
|
+
import { UATransition } from "node-opcua-nodeset-ua/source/ua_transition";
|
|
8
|
+
import { UAPackMLExecuteStateMachine } from "./ua_pack_ml_execute_state_machine";
|
|
9
|
+
/**
|
|
10
|
+
* | | |
|
|
11
|
+
* |----------------|--------------------------------------------------|
|
|
12
|
+
* |namespace |http://opcfoundation.org/UA/PackML/ |
|
|
13
|
+
* |nodeClass |ObjectType |
|
|
14
|
+
* |typedDefinition |15:PackMLMachineStateMachineType ns=15;i=2 |
|
|
15
|
+
* |isAbstract |false |
|
|
16
|
+
*/
|
|
17
|
+
export interface UAPackMLMachineStateMachine_Base extends UAFiniteStateMachine_Base {
|
|
18
|
+
availableStates: UABaseDataVariable<NodeId[], DataType.NodeId>;
|
|
19
|
+
availableTransitions: UABaseDataVariable<NodeId[], DataType.NodeId>;
|
|
20
|
+
/**
|
|
21
|
+
* clearing
|
|
22
|
+
* Initiated by a state command to clear faults that
|
|
23
|
+
* may have occurred when ABORTING, and are present
|
|
24
|
+
* in the ABORTED state.
|
|
25
|
+
*/
|
|
26
|
+
clearing: UAState;
|
|
27
|
+
clearingToStopped: UATransition;
|
|
28
|
+
/**
|
|
29
|
+
* executeState
|
|
30
|
+
* StateMachine that provides additional sube
|
|
31
|
+
*/
|
|
32
|
+
executeState: UAPackMLExecuteStateMachine;
|
|
33
|
+
reset?: UAMethod;
|
|
34
|
+
running: UAState;
|
|
35
|
+
runningToStopping: UATransition;
|
|
36
|
+
stop?: UAMethod;
|
|
37
|
+
/**
|
|
38
|
+
* stopped
|
|
39
|
+
* The machine is powered and stationary after
|
|
40
|
+
* completing the STOPPING state. All communications
|
|
41
|
+
* with other systems are functioning (if
|
|
42
|
+
* applicable).
|
|
43
|
+
*/
|
|
44
|
+
stopped: UAState;
|
|
45
|
+
stoppedToRunning: UATransition;
|
|
46
|
+
/**
|
|
47
|
+
* stopping
|
|
48
|
+
* This state executes the logic which brings the
|
|
49
|
+
* machine to a controlled stop as reflected by the
|
|
50
|
+
* STOPPED state.
|
|
51
|
+
*/
|
|
52
|
+
stopping: UAState;
|
|
53
|
+
stoppingToStopped: UATransition;
|
|
54
|
+
}
|
|
55
|
+
export interface UAPackMLMachineStateMachine extends Omit<UAFiniteStateMachine, "availableStates" | "availableTransitions">, UAPackMLMachineStateMachine_Base {
|
|
56
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_pack_ml_machine_state_machine.js","sourceRoot":"","sources":["../source/ua_pack_ml_machine_state_machine.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UAObject, UAProperty } from "node-opcua-address-space-base";
|
|
2
|
+
import { DataType } from "node-opcua-variant";
|
|
3
|
+
import { NodeId } from "node-opcua-nodeid";
|
|
4
|
+
import { Int32 } from "node-opcua-basic-types";
|
|
5
|
+
import { UAAnalogItem } from "node-opcua-nodeset-ua/source/ua_analog_item";
|
|
6
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/source/ua_base_data_variable";
|
|
7
|
+
import { DTPackMLDescriptor } from "./dt_pack_ml_descriptor";
|
|
8
|
+
import { DTPackMLProduct } from "./dt_pack_ml_product";
|
|
9
|
+
import { DTPackMLRemoteInterface } from "./dt_pack_ml_remote_interface";
|
|
10
|
+
/**
|
|
11
|
+
* | | |
|
|
12
|
+
* |----------------|--------------------------------------------------|
|
|
13
|
+
* |namespace |http://opcfoundation.org/UA/PackML/ |
|
|
14
|
+
* |nodeClass |ObjectType |
|
|
15
|
+
* |typedDefinition |15:PackMLStatusObjectType ns=15;i=4 |
|
|
16
|
+
* |isAbstract |false |
|
|
17
|
+
*/
|
|
18
|
+
export interface UAPackMLStatusObject_Base {
|
|
19
|
+
curMachSpeed: UAAnalogItem<number, DataType.Float>;
|
|
20
|
+
equipmentBlocked: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
21
|
+
equipmentStarved: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
22
|
+
machSpeed: UAAnalogItem<number, DataType.Float>;
|
|
23
|
+
materialInterlock?: UABaseDataVariable<boolean[], DataType.Boolean>;
|
|
24
|
+
materialInterlocked?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
25
|
+
parameter?: UABaseDataVariable<DTPackMLDescriptor[], DataType.ExtensionObject>;
|
|
26
|
+
product?: UABaseDataVariable<DTPackMLProduct[], DataType.ExtensionObject>;
|
|
27
|
+
remoteParameter?: UABaseDataVariable<DTPackMLRemoteInterface[], DataType.ExtensionObject>;
|
|
28
|
+
stateChangeInProcess?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
29
|
+
stateRequested?: UABaseDataVariable<Int32, DataType.Int32>;
|
|
30
|
+
unitModeChangeInProcess?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
31
|
+
unitModeCurrent: UABaseDataVariable<Int32, DataType.Int32>;
|
|
32
|
+
unitModeRequested?: UABaseDataVariable<boolean, DataType.Boolean>;
|
|
33
|
+
unitSupportedModes: UAProperty<NodeId, DataType.NodeId>;
|
|
34
|
+
}
|
|
35
|
+
export interface UAPackMLStatusObject extends UAObject, UAPackMLStatusObject_Base {
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua_pack_ml_status_object.js","sourceRoot":"","sources":["../source/ua_pack_ml_status_object.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-nodeset-pack-ml",
|
|
3
|
-
"version": "2.99.
|
|
3
|
+
"version": "2.99.1",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module node-opcua-nodeset-pack-ml",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"internet of things"
|
|
37
37
|
],
|
|
38
38
|
"homepage": "http://node-opcua.github.io/",
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "2653c8e3b006286ce40e4efc33670c5352fab07a"
|
|
40
40
|
}
|