motion-master-client 0.0.96 → 0.0.97
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/package.json
CHANGED
|
@@ -45,11 +45,11 @@ export declare function getApiIdentifierFromPackageFilename(packageFilename: str
|
|
|
45
45
|
*/
|
|
46
46
|
export declare const dummyHardwareDescriptionFileContentTemplate: HardwareDescription;
|
|
47
47
|
export declare const serialNumberPattern: RegExp;
|
|
48
|
-
export interface
|
|
48
|
+
export interface SerialNumberPart {
|
|
49
49
|
productId: string;
|
|
50
50
|
revision: string;
|
|
51
51
|
apiId: string;
|
|
52
52
|
consecutiveNumber: string;
|
|
53
53
|
productionWeek: string;
|
|
54
54
|
}
|
|
55
|
-
export declare function parseSerialNumber(serialNumber: string):
|
|
55
|
+
export declare function parseSerialNumber(serialNumber: string): SerialNumberPart;
|
|
@@ -1,16 +1,23 @@
|
|
|
1
|
-
export type
|
|
2
|
-
export type
|
|
1
|
+
export type SomanetProductTypeName = 'Circulo' | 'Circulo Safe Motion' | 'Integro' | 'Node' | 'Node Safety' | 'Internal';
|
|
2
|
+
export type SomanetProductTypeNameAll = SomanetProductTypeName | 'Circulo All' | 'Node All';
|
|
3
3
|
export interface SomanetProduct {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
id: number;
|
|
5
|
+
mpns?: string[];
|
|
6
|
+
name: string;
|
|
6
7
|
}
|
|
7
|
-
export
|
|
8
|
+
export interface SomanetProductType {
|
|
9
|
+
name: SomanetProductTypeName;
|
|
10
|
+
productIdRange: [number, number];
|
|
11
|
+
products: SomanetProduct[];
|
|
12
|
+
}
|
|
13
|
+
export declare const somanetProductTypes: SomanetProductType[];
|
|
14
|
+
export declare function findSomanetProductTypeByProductId(productId?: string | number | null): SomanetProductType | undefined;
|
|
8
15
|
export declare function findSomanetProductById(productId?: string | number | null): SomanetProduct | undefined;
|
|
9
|
-
export declare function isProductIdOfType(productId?: string | number | null,
|
|
10
|
-
export type
|
|
16
|
+
export declare function isProductIdOfType(productId?: string | number | null, type?: SomanetProductTypeNameAll): boolean;
|
|
17
|
+
export type SomanetCirculoVariantId = 'ECDN_E1' | 'ECAN' | 'ECBN' | 'ECNN' | 'ECDL' | 'ECDB_E1';
|
|
11
18
|
export interface SomanetCirculoVariant {
|
|
12
|
-
|
|
13
|
-
|
|
19
|
+
id: SomanetCirculoVariantId;
|
|
20
|
+
productIds: number[];
|
|
14
21
|
}
|
|
15
22
|
export declare const ECDN_E1_IDS: number[];
|
|
16
23
|
export declare const ECAN_IDS: number[];
|
|
@@ -1,36 +1,124 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getNumberOfEncoderPortsByProductId = exports.getEncoderPortName = exports.isInternalEncoderPortUsable = exports.isEncoderPortUsable = exports.isEncoderPortInternal = exports.somanetCirculoVariants = exports.usableCirculoEncoderPortProductIds = exports.ECDB_E1_IDS = exports.ECDL_IDS = exports.ECNN_IDS = exports.ECBN_IDS = exports.ECAN_IDS = exports.ECDN_E1_IDS = exports.isProductIdOfType = exports.findSomanetProductById = exports.
|
|
3
|
+
exports.getNumberOfEncoderPortsByProductId = exports.getEncoderPortName = exports.isInternalEncoderPortUsable = exports.isEncoderPortUsable = exports.isEncoderPortInternal = exports.somanetCirculoVariants = exports.usableCirculoEncoderPortProductIds = exports.ECDB_E1_IDS = exports.ECDL_IDS = exports.ECNN_IDS = exports.ECBN_IDS = exports.ECAN_IDS = exports.ECDN_E1_IDS = exports.isProductIdOfType = exports.findSomanetProductById = exports.findSomanetProductTypeByProductId = exports.somanetProductTypes = void 0;
|
|
4
4
|
;
|
|
5
|
-
exports.
|
|
6
|
-
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
exports.somanetProductTypes = [
|
|
6
|
+
{
|
|
7
|
+
name: 'Circulo',
|
|
8
|
+
productIdRange: [8500, 8599],
|
|
9
|
+
products: [
|
|
10
|
+
{ id: 8500, mpns: ['ECNN'], name: 'Circulo 7 - 700' },
|
|
11
|
+
{ id: 8501, mpns: ['ECNN'], name: 'Circulo 9 - 1800' },
|
|
12
|
+
{ id: 8502, mpns: ['ECDN-E1'], name: 'Circulo 7 - 700, Magnetic Rings (pos.1&2), with port 2 transceivers' },
|
|
13
|
+
{ id: 8503, mpns: ['ECDN-E1'], name: 'Circulo 9 - 1800, Magnetic Rings (pos.1&2), with port 2 transceivers' },
|
|
14
|
+
{ id: 8504, mpns: ['ECAN'], name: 'Circulo 7 - 700, Magnetic Ring (pos.1)' },
|
|
15
|
+
{ id: 8505, mpns: ['ECAN'], name: 'Circulo 9 - 1800, Magnetic Ring (pos.1)' },
|
|
16
|
+
{ id: 8506, mpns: ['ECBN'], name: 'Circulo 7 - 700, Magnetic Ring (pos.2)' },
|
|
17
|
+
{ id: 8507, mpns: ['ECBN'], name: 'Circulo 9 - 1800, Magnetic Ring (pos.2)' },
|
|
18
|
+
{ id: 8508, mpns: ['ECDN-E2 (patched)', 'ECDB-E1'], name: 'Circulo 7 - 700, Magnetic Rings (pos.1&2), with port 2 transceivers, 3rd BiSS interface' },
|
|
19
|
+
{ id: 8509, mpns: ['ECDN-E2 (patched)', 'ECDB-E1'], name: 'Circulo 9 - 1800, Magnetic Rings (pos.1&2), with port 2 transceivers, 3rd BiSS interface' },
|
|
20
|
+
{ id: 8510, mpns: [], name: 'Circulo 7 - 700, Magnetic Rings (pos.1&2), with single brake' },
|
|
21
|
+
{ id: 8511, mpns: [], name: 'Circulo 9 - 1800, Magnetic Rings (pos.1&2), with single brake' },
|
|
22
|
+
{ id: 8512, mpns: ['ECDN', 'ECDL'], name: 'Circulo 7 - 700, Magnetic Rings (pos.1&2), no external encoders' },
|
|
23
|
+
{ id: 8513, mpns: ['ECDN', 'ECDL'], name: 'Circulo 9 - 1800, Magnetic Rings (pos.1&2), no external encoders' },
|
|
24
|
+
],
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'Circulo Safe Motion',
|
|
28
|
+
productIdRange: [8600, 8699],
|
|
29
|
+
products: [
|
|
30
|
+
{ id: 8600, mpns: ['ECNNSM'], name: 'Circulo 7 Safe Motion - 700, Safe Motion' },
|
|
31
|
+
{ id: 8601, mpns: ['ECNNSM'], name: 'Circulo 9 Safe Motion - 1800, Safe Motion' },
|
|
32
|
+
{ id: 8602, mpns: ['ECDNSM-E1'], name: 'Circulo 7 Safe Motion - 700, Safe Motion, Magnetic Rings (pos.1&2), with port 2 transceivers' },
|
|
33
|
+
{ id: 8603, mpns: ['ECDNSM-E1'], name: 'Circulo 9 Safe Motion - 1800, Safe Motion, Magnetic Rings (pos.1&2), with port 2 transceivers' },
|
|
34
|
+
{ id: 8604, mpns: ['ECANSM'], name: 'Circulo 7 Safe Motion - 700, Safe Motion, Magnetic Ring (pos.1)' },
|
|
35
|
+
{ id: 8605, mpns: ['ECANSM'], name: 'Circulo 9 Safe Motion - 1800, Safe Motion, Magnetic Ring (pos.1)' },
|
|
36
|
+
{ id: 8606, mpns: ['ECBNSM'], name: 'Circulo 7 Safe Motion - 700, Magnetic Ring (pos.2)' },
|
|
37
|
+
{ id: 8607, mpns: ['ECBNSM'], name: 'Circulo 9 Safe Motion - 1800, Magnetic Ring (pos.2)' },
|
|
38
|
+
{ id: 8608, mpns: ['ECDBSM-E1'], name: 'Circulo 7 Safe Motion - 700, Magnetic Rings (pos.1&2), with port 2 transceivers, 3rd BiSS interface' },
|
|
39
|
+
{ id: 8609, mpns: ['ECDBSM-E1'], name: 'Circulo 9 Safe Motion - 1800, Magnetic Rings (pos.1&2), with port 2 transceivers, 3rd BiSS interface' },
|
|
40
|
+
{ id: 8610, mpns: [], name: '' },
|
|
41
|
+
{ id: 8611, mpns: [], name: '' },
|
|
42
|
+
{ id: 8612, mpns: ['ECDNSM', 'ECDLSM'], name: 'Circulo 7 Safe Motion - 700, Magnetic Rings (pos.1&2), no external encoders' },
|
|
43
|
+
{ id: 8613, mpns: ['ECDNSM', 'ECDLSM'], name: 'Circulo 9 Safe Motion - 1800, Magnetic Rings (pos.1&2), no external encoders' },
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Integro',
|
|
48
|
+
productIdRange: [9000, 9499],
|
|
49
|
+
products: [
|
|
50
|
+
{ id: 9000, name: 'Integro-60 R1.0' },
|
|
51
|
+
{ id: 9001, name: 'Integro-80 R1.0' },
|
|
52
|
+
{ id: 9002, name: 'Integro-60 R1.5 (600 W, EtherCAT, STO, 18 bit + MT + IOs)' },
|
|
53
|
+
{ id: 9003, name: 'Integro-80 R1.5 (1200 W, EtherCAT, STO, 18 bit + MT + IOs)' },
|
|
54
|
+
{ id: 9004, name: 'Integro-60 R1.5 (600 W, Ethernet/IP, STO, 18 bit + MT + IOs)' },
|
|
55
|
+
{ id: 9005, name: 'Integro-80 R1.5 (1200 W, Ethernet/IP, STO, 18 bit + MT + IOs)' },
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'Node',
|
|
60
|
+
productIdRange: [9500, 9599],
|
|
61
|
+
products: [
|
|
62
|
+
{ id: 9500, name: 'Node 1000 EtherCAT' },
|
|
63
|
+
{ id: 9501, name: 'Node 400 EtherCAT' },
|
|
64
|
+
{ id: 9502, name: 'Node 2000 EtherCAT' },
|
|
65
|
+
{ id: 9503, name: 'Node 1000 EtherNET' },
|
|
66
|
+
],
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: 'Node Safety',
|
|
70
|
+
productIdRange: [9600, 9998],
|
|
71
|
+
products: [
|
|
72
|
+
{ id: 9600, name: 'Node Safety 1000 EtherCAT' },
|
|
73
|
+
{ id: 9601, name: 'Node Safety 400 EtherCAT' },
|
|
74
|
+
{ id: 9602, name: 'Node Safety 2000 EtherCAT' },
|
|
75
|
+
{ id: 9606, name: 'Node Safety 1000 CAN' },
|
|
76
|
+
{ id: 9607, name: 'Node Safety 400 CAN' },
|
|
77
|
+
{ id: 9608, name: 'Node Safety 2000 CAN' },
|
|
78
|
+
{ id: 9609, name: 'Node Safety 1000 EtherCAT (Heidrive, size 60)' },
|
|
79
|
+
{ id: 9611, name: 'Node Safety 2000 EtherCAT (Heidrive, size 60)' },
|
|
80
|
+
{ id: 9612, name: 'Node Safety 1000 CAN (Heidrive, size 60)' },
|
|
81
|
+
{ id: 9614, name: 'Node Safety 2000 CAN (Heidrive, size 60)' },
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'Internal',
|
|
86
|
+
productIdRange: [9999, 9999],
|
|
87
|
+
products: [
|
|
88
|
+
{ id: 9999, name: 'BLOCKED FOR INTERNAL SPECIAL DEVICES' },
|
|
89
|
+
],
|
|
90
|
+
},
|
|
12
91
|
];
|
|
13
|
-
function
|
|
92
|
+
function findSomanetProductTypeByProductId(productId) {
|
|
14
93
|
const id = resolveProductId(productId);
|
|
15
94
|
if (!id) {
|
|
16
95
|
return;
|
|
17
96
|
}
|
|
18
|
-
return exports.
|
|
97
|
+
return exports.somanetProductTypes.find((product) => id >= product.productIdRange[0] && id <= product.productIdRange[1]);
|
|
98
|
+
}
|
|
99
|
+
exports.findSomanetProductTypeByProductId = findSomanetProductTypeByProductId;
|
|
100
|
+
function findSomanetProductById(productId) {
|
|
101
|
+
const somanetProductType = findSomanetProductTypeByProductId(productId);
|
|
102
|
+
if (somanetProductType) {
|
|
103
|
+
const id = resolveProductId(productId);
|
|
104
|
+
return somanetProductType.products.find(product => product.id === id);
|
|
105
|
+
}
|
|
106
|
+
return;
|
|
19
107
|
}
|
|
20
108
|
exports.findSomanetProductById = findSomanetProductById;
|
|
21
|
-
function isProductIdOfType(productId,
|
|
22
|
-
const product =
|
|
109
|
+
function isProductIdOfType(productId, type) {
|
|
110
|
+
const product = findSomanetProductTypeByProductId(productId);
|
|
23
111
|
if (!product) {
|
|
24
112
|
return false;
|
|
25
113
|
}
|
|
26
|
-
if (
|
|
114
|
+
if (type === 'Circulo All') {
|
|
27
115
|
return product.name === 'Circulo' || product.name === 'Circulo Safe Motion';
|
|
28
116
|
}
|
|
29
|
-
else if (
|
|
117
|
+
else if (type === 'Node All') {
|
|
30
118
|
return product.name === 'Node' || product.name === 'Node Safety';
|
|
31
119
|
}
|
|
32
120
|
else {
|
|
33
|
-
return product.name ===
|
|
121
|
+
return product.name === type;
|
|
34
122
|
}
|
|
35
123
|
}
|
|
36
124
|
exports.isProductIdOfType = isProductIdOfType;
|
|
@@ -47,12 +135,12 @@ exports.usableCirculoEncoderPortProductIds = [
|
|
|
47
135
|
[...exports.ECDN_E1_IDS, ...exports.ECAN_IDS, ...exports.ECNN_IDS, ...exports.ECDB_E1_IDS], // External 2
|
|
48
136
|
];
|
|
49
137
|
exports.somanetCirculoVariants = [
|
|
50
|
-
{
|
|
51
|
-
{
|
|
52
|
-
{
|
|
53
|
-
{
|
|
54
|
-
{
|
|
55
|
-
{
|
|
138
|
+
{ id: 'ECDN_E1', productIds: exports.ECDN_E1_IDS },
|
|
139
|
+
{ id: 'ECAN', productIds: exports.ECAN_IDS },
|
|
140
|
+
{ id: 'ECBN', productIds: exports.ECBN_IDS },
|
|
141
|
+
{ id: 'ECNN', productIds: exports.ECNN_IDS },
|
|
142
|
+
{ id: 'ECDL', productIds: exports.ECDL_IDS },
|
|
143
|
+
{ id: 'ECDB_E1', productIds: exports.ECDB_E1_IDS },
|
|
56
144
|
];
|
|
57
145
|
/**
|
|
58
146
|
* Whether the encoder port is internal or not depends on the port position and product ID.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"somanet-product.js","sourceRoot":"","sources":["../../../../../libs/motion-master-client/src/lib/somanet-product.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"somanet-product.js","sourceRoot":"","sources":["../../../../../libs/motion-master-client/src/lib/somanet-product.ts"],"names":[],"mappings":";;;AAaC,CAAC;AAEW,QAAA,mBAAmB,GAAyB;IACvD;QACE,IAAI,EAAE,SAAS;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