Purgemotion – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual
Page 276

254
Language Reference • Reference
Publication 1398-PM601A-EN-P — October 2000
WORDS
PURGEMOTION
Purge Motion
Motion
Purpose
This read/write variable will immediately remove the active Pgen motion. Control of
deceleration and subsequent Pgen motion are dependent on the variable value.
Syntax
variable = PURGEMOTION
variable
The variable defines which of the purge mode states is valid. The
numbers corresponding to the variable modes are shown below.
Value
Description
0
Normal Pgen motion in effect.
1
Purge Pgen motion immediately.
No deceleration of Pgen to zero velocity performed.
2
Purge Pgen motion immediately.
Decelerate Pgen to zero velocity.
Decel rate is the system Accel value.
3
Purge Pgen motion immediately.
No deceleration of Pgen to zero velocity performed.
Pgen motion in effect after current motion is purged.
4
Purge Pgen motion immediately.
Decelerate Pgen to zero velocity.
Decel rate is the system Accel value.
Pgen motion in effect after current motion is purged.
Remarks
All other values assigned to this variable will result in mode 0 being assigned. When
PurgeMotion is non-zero, all subsequent move type statements will be ignored until a
value of zero is assigned.
This command is intended for use in an Fkey routine, an Xkey routine, or a scanned
event. Use in the main program thread is discouraged.
See Also
ABORT, DISABLE, PAUSE, PURGEMOTIONACTIVE, STOP
Example
PURGEMOTION = 3
;purge Pgen without decel then normalize Pgen