motion-master-client 0.0.363 → 0.0.367
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 +2 -2
- package/src/api.js +68 -1
- package/src/api.js.map +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/lib/encoder.d.ts +1 -1
- package/src/lib/integro-encoder-calibration.js +2 -2
- package/src/lib/motion-master-req-res-client.d.ts +58 -2
- package/src/lib/motion-master-req-res-client.js +226 -5
- package/src/lib/motion-master-req-res-client.js.map +1 -1
- package/src/lib/motion-master.proto.d.ts +82 -2
- package/src/lib/motion-master.proto.js +827 -4
- package/src/lib/offset-detection.d.ts +75 -0
- package/src/lib/offset-detection.js +99 -0
- package/src/lib/offset-detection.js.map +1 -0
- package/src/lib/parameter.d.ts +1 -1
- package/src/lib/product.d.ts +146 -13
- package/src/lib/product.js +171 -37
- package/src/lib/product.js.map +1 -1
- package/src/lib/request-status-resolver.js +7 -1
- package/src/lib/request-status-resolver.js.map +1 -1
- package/src/lib/sii.d.ts +80 -1
- package/src/lib/sii.js +276 -18
- package/src/lib/sii.js.map +1 -1
- package/src/lib/types.d.ts +26 -0
- package/src/lib/types.js.map +1 -1
- package/src/lib/units.d.ts +4 -0
- package/src/lib/units.js +125 -3
- package/src/lib/units.js.map +1 -1
|
@@ -79,6 +79,7 @@ export namespace motionmaster {
|
|
|
79
79
|
executeForwardCall?: (motionmaster.MotionMasterMessage.Request.IExecuteForwardCall|null);
|
|
80
80
|
getSystemInformation?: (motionmaster.MotionMasterMessage.Request.IGetSystemInformation|null);
|
|
81
81
|
setPdoMode?: (motionmaster.MotionMasterMessage.Request.ISetPdoMode|null);
|
|
82
|
+
getDeviceSii?: (motionmaster.MotionMasterMessage.Request.IGetDeviceSii|null);
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
class Request implements IRequest {
|
|
@@ -134,7 +135,8 @@ export namespace motionmaster {
|
|
|
134
135
|
public executeForwardCall?: (motionmaster.MotionMasterMessage.Request.IExecuteForwardCall|null);
|
|
135
136
|
public getSystemInformation?: (motionmaster.MotionMasterMessage.Request.IGetSystemInformation|null);
|
|
136
137
|
public setPdoMode?: (motionmaster.MotionMasterMessage.Request.ISetPdoMode|null);
|
|
137
|
-
public
|
|
138
|
+
public getDeviceSii?: (motionmaster.MotionMasterMessage.Request.IGetDeviceSii|null);
|
|
139
|
+
public type?: ("pingSystem"|"getSystemVersion"|"getDeviceInfo"|"getDeviceParameterInfo"|"getDeviceParameterValues"|"getMultiDeviceParameterValues"|"setDeviceParameterValues"|"setMultiDeviceParameterValues"|"getDeviceFileList"|"getDeviceFile"|"setDeviceFile"|"deleteDeviceFile"|"resetDeviceFault"|"stopDevice"|"startDeviceFirmwareInstallation"|"getDeviceLog"|"startCoggingTorqueRecording"|"getCoggingTorqueData"|"startOffsetDetection"|"startPlantIdentification"|"computeAutoTuningGains"|"setMotionControllerParameters"|"enableMotionController"|"disableMotionController"|"setSignalGeneratorParameters"|"startSignalGenerator"|"stopSignalGenerator"|"startMonitoringDeviceParameterValues"|"stopMonitoringDeviceParameterValues"|"getEthercatNetworkState"|"setEthercatNetworkState"|"startNarrowAngleCalibration"|"setSystemClientTimeout"|"startSystemIdentification"|"getCirculoEncoderMagnetDistance"|"startCirculoEncoderNarrowAngleCalibrationProcedure"|"getDeviceCia402State"|"setDeviceCia402State"|"getSystemLog"|"startDeviceSiiRestore"|"startOpenLoopFieldControl"|"computeFullAutoTuningGains"|"startFullAutoTuning"|"stopFullAutoTuning"|"startCirculoEncoderConfiguration"|"stopCirculoEncoderNarrowAngleCalibrationProcedure"|"startOsCommand"|"executeForwardCall"|"getSystemInformation"|"setPdoMode"|"getDeviceSii");
|
|
138
140
|
public static create(properties?: motionmaster.MotionMasterMessage.IRequest): motionmaster.MotionMasterMessage.Request;
|
|
139
141
|
public static encode(message: motionmaster.MotionMasterMessage.IRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
140
142
|
public static encodeDelimited(message: motionmaster.MotionMasterMessage.IRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
@@ -1899,6 +1901,25 @@ export namespace motionmaster {
|
|
|
1899
1901
|
public toJSON(): { [k: string]: any };
|
|
1900
1902
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1901
1903
|
}
|
|
1904
|
+
|
|
1905
|
+
interface IGetDeviceSii {
|
|
1906
|
+
deviceAddress?: (number|null);
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
class GetDeviceSii implements IGetDeviceSii {
|
|
1910
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Request.IGetDeviceSii);
|
|
1911
|
+
public deviceAddress: number;
|
|
1912
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Request.IGetDeviceSii): motionmaster.MotionMasterMessage.Request.GetDeviceSii;
|
|
1913
|
+
public static encode(message: motionmaster.MotionMasterMessage.Request.IGetDeviceSii, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1914
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Request.IGetDeviceSii, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1915
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Request.GetDeviceSii;
|
|
1916
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Request.GetDeviceSii;
|
|
1917
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1918
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Request.GetDeviceSii;
|
|
1919
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Request.GetDeviceSii, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1920
|
+
public toJSON(): { [k: string]: any };
|
|
1921
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1922
|
+
}
|
|
1902
1923
|
}
|
|
1903
1924
|
|
|
1904
1925
|
interface IStatus {
|
|
@@ -1939,6 +1960,7 @@ export namespace motionmaster {
|
|
|
1939
1960
|
forwardCall?: (motionmaster.MotionMasterMessage.Status.IForwardCall|null);
|
|
1940
1961
|
systemInformation?: (motionmaster.MotionMasterMessage.Status.ISystemInformation|null);
|
|
1941
1962
|
pdoMode?: (motionmaster.MotionMasterMessage.Status.IPdoMode|null);
|
|
1963
|
+
deviceSii?: (motionmaster.MotionMasterMessage.Status.IDeviceSii|null);
|
|
1942
1964
|
}
|
|
1943
1965
|
|
|
1944
1966
|
class Status implements IStatus {
|
|
@@ -1980,7 +2002,8 @@ export namespace motionmaster {
|
|
|
1980
2002
|
public forwardCall?: (motionmaster.MotionMasterMessage.Status.IForwardCall|null);
|
|
1981
2003
|
public systemInformation?: (motionmaster.MotionMasterMessage.Status.ISystemInformation|null);
|
|
1982
2004
|
public pdoMode?: (motionmaster.MotionMasterMessage.Status.IPdoMode|null);
|
|
1983
|
-
public
|
|
2005
|
+
public deviceSii?: (motionmaster.MotionMasterMessage.Status.IDeviceSii|null);
|
|
2006
|
+
public type?: ("systemPong"|"systemVersion"|"systemEvent"|"deviceInfo"|"deviceParameterInfo"|"deviceParameterValues"|"multiDeviceParameterValues"|"deviceFileList"|"deviceFile"|"deviceEvent"|"deviceFirmwareInstallation"|"deviceLog"|"deviceFaultReset"|"coggingTorqueRecording"|"coggingTorqueData"|"offsetDetection"|"plantIdentification"|"autoTuning"|"motionController"|"signalGenerator"|"monitoringParameterValues"|"deviceStop"|"ethercatNetworkState"|"narrowAngleCalibration"|"systemIdentification"|"circuloEncoderMagnetDistance"|"circuloEncoderNarrowAngleCalibrationProcedure"|"deviceCia402State"|"systemLog"|"deviceSiiRestore"|"openLoopFieldControl"|"fullAutoTuning"|"circuloEncoderConfiguration"|"osCommand"|"forwardCall"|"systemInformation"|"pdoMode"|"deviceSii");
|
|
1984
2007
|
public static create(properties?: motionmaster.MotionMasterMessage.IStatus): motionmaster.MotionMasterMessage.Status;
|
|
1985
2008
|
public static encode(message: motionmaster.MotionMasterMessage.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1986
2009
|
public static encodeDelimited(message: motionmaster.MotionMasterMessage.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
@@ -5486,6 +5509,63 @@ export namespace motionmaster {
|
|
|
5486
5509
|
}
|
|
5487
5510
|
}
|
|
5488
5511
|
}
|
|
5512
|
+
|
|
5513
|
+
interface IDeviceSii {
|
|
5514
|
+
deviceAddress?: (number|null);
|
|
5515
|
+
content?: (Uint8Array|null);
|
|
5516
|
+
error?: (motionmaster.MotionMasterMessage.Status.DeviceSii.IError|null);
|
|
5517
|
+
}
|
|
5518
|
+
|
|
5519
|
+
class DeviceSii implements IDeviceSii {
|
|
5520
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.IDeviceSii);
|
|
5521
|
+
public deviceAddress: number;
|
|
5522
|
+
public content?: (Uint8Array|null);
|
|
5523
|
+
public error?: (motionmaster.MotionMasterMessage.Status.DeviceSii.IError|null);
|
|
5524
|
+
public data?: ("content"|"error");
|
|
5525
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.IDeviceSii): motionmaster.MotionMasterMessage.Status.DeviceSii;
|
|
5526
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.IDeviceSii, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5527
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.IDeviceSii, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5528
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.DeviceSii;
|
|
5529
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.DeviceSii;
|
|
5530
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5531
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.DeviceSii;
|
|
5532
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.DeviceSii, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5533
|
+
public toJSON(): { [k: string]: any };
|
|
5534
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5535
|
+
}
|
|
5536
|
+
|
|
5537
|
+
namespace DeviceSii {
|
|
5538
|
+
|
|
5539
|
+
interface IError {
|
|
5540
|
+
code?: (motionmaster.MotionMasterMessage.Status.DeviceSii.Error.Code|null);
|
|
5541
|
+
message?: (string|null);
|
|
5542
|
+
}
|
|
5543
|
+
|
|
5544
|
+
class Error implements IError {
|
|
5545
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.DeviceSii.IError);
|
|
5546
|
+
public code: motionmaster.MotionMasterMessage.Status.DeviceSii.Error.Code;
|
|
5547
|
+
public message: string;
|
|
5548
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.DeviceSii.IError): motionmaster.MotionMasterMessage.Status.DeviceSii.Error;
|
|
5549
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.DeviceSii.IError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5550
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.DeviceSii.IError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5551
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.DeviceSii.Error;
|
|
5552
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.DeviceSii.Error;
|
|
5553
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5554
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.DeviceSii.Error;
|
|
5555
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.DeviceSii.Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5556
|
+
public toJSON(): { [k: string]: any };
|
|
5557
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5558
|
+
}
|
|
5559
|
+
|
|
5560
|
+
namespace Error {
|
|
5561
|
+
|
|
5562
|
+
enum Code {
|
|
5563
|
+
UNSPECIFIED = 0,
|
|
5564
|
+
FAILED = 1,
|
|
5565
|
+
NOT_SUPPORTED = 2
|
|
5566
|
+
}
|
|
5567
|
+
}
|
|
5568
|
+
}
|
|
5489
5569
|
}
|
|
5490
5570
|
}
|
|
5491
5571
|
}
|