motion-master-client 0.0.394 → 0.0.396

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.
@@ -191,8 +191,10 @@ export interface TorqueProfileConfig {
191
191
  /**
192
192
  * Controls whether a quick stop is issued after the target is reached.
193
193
  *
194
- * - false (default): issues a quick stop after the target is reached and holdingDuration elapses.
195
- * Requires targetReachTimeout to be set, otherwise an error is thrown.
194
+ * - false (default): issues a quick stop after the target is reached and holdingDuration elapses,
195
+ * then waits for the CiA402 state determined by the quick stop option code (0x605A): Quick Stop
196
+ * Active if the code is 6, Switch On Disabled otherwise. Requires targetReachTimeout to be a
197
+ * positive number, otherwise an error is thrown.
196
198
  * - true: the device remains in the Operation Enabled state; no quick stop is issued.
197
199
  * If targetReachTimeout is also set, the function still waits for the target reached bit
198
200
  * before returning, but does not stop the drive.
@@ -203,6 +205,11 @@ export interface TorqueProfileConfig {
203
205
  * An error will be thrown if the target is not reached within this duration.
204
206
  */
205
207
  targetReachTimeout?: number;
208
+ /**
209
+ * Interval, in milliseconds, at which to poll the target reached bit (0x6041:00).
210
+ * Only effective when targetReachTimeout is set. Defaults to 1000 ms.
211
+ */
212
+ monitoringInterval?: number;
206
213
  /**
207
214
  * Torque slope (0x6087:00).
208
215
  */
@@ -240,8 +247,10 @@ export interface VelocityProfileConfig {
240
247
  /**
241
248
  * Controls whether a quick stop is issued after the target is reached.
242
249
  *
243
- * - false (default): issues a quick stop after the target is reached and holdingDuration elapses.
244
- * Requires targetReachTimeout to be set, otherwise an error is thrown.
250
+ * - false (default): issues a quick stop after the target is reached and holdingDuration elapses,
251
+ * then waits for the CiA402 state determined by the quick stop option code (0x605A): Quick Stop
252
+ * Active if the code is 6, Switch On Disabled otherwise. Requires targetReachTimeout to be a
253
+ * positive number, otherwise an error is thrown.
245
254
  * - true: the device remains in the Operation Enabled state; no quick stop is issued.
246
255
  * If targetReachTimeout is also set, the function still waits for the target reached bit
247
256
  * before returning, but does not stop the drive.
@@ -252,6 +261,11 @@ export interface VelocityProfileConfig {
252
261
  * An error will be thrown if the target is not reached within this duration.
253
262
  */
254
263
  targetReachTimeout?: number;
264
+ /**
265
+ * Interval, in milliseconds, at which to poll the target reached bit (0x6041:00).
266
+ * Only effective when targetReachTimeout is set. Defaults to 1000 ms.
267
+ */
268
+ monitoringInterval?: number;
255
269
  /**
256
270
  * Velocity window (0x606D:00).
257
271
  */
@@ -290,8 +304,10 @@ export interface PositionProfileConfig {
290
304
  /**
291
305
  * Controls whether a quick stop is issued after the target is reached.
292
306
  *
293
- * - false (default): issues a quick stop after the target is reached and holdingDuration elapses.
294
- * Requires targetReachTimeout to be set, otherwise an error is thrown.
307
+ * - false (default): issues a quick stop after the target is reached and holdingDuration elapses,
308
+ * then waits for the CiA402 state determined by the quick stop option code (0x605A): Quick Stop
309
+ * Active if the code is 6, Switch On Disabled otherwise. Requires targetReachTimeout to be a
310
+ * positive number, otherwise an error is thrown.
295
311
  * - true: the device remains in the Operation Enabled state; no quick stop is issued.
296
312
  * If targetReachTimeout is also set, the function still waits for the target reached bit
297
313
  * before returning, but does not stop the drive.
@@ -302,6 +318,11 @@ export interface PositionProfileConfig {
302
318
  * An error will be thrown if the target is not reached within this duration.
303
319
  */
304
320
  targetReachTimeout?: number;
321
+ /**
322
+ * Interval, in milliseconds, at which to poll the target reached bit (0x6041:00).
323
+ * Only effective when targetReachTimeout is set. Defaults to 1000 ms.
324
+ */
325
+ monitoringInterval?: number;
305
326
  /**
306
327
  * Profile velocity (0x6081:00).
307
328
  */