Instruction Manual
Language Reference • Reference 255
Publication 1398-PM601A-EN-P — October 2000
WORDS
PURGEMOTIONACTIVE
Motion Purged System
Purpose Flag to indicate a purge motion request is being processed.
Syntax variable = PURGEMOTIONACTIVE
variable The variable will be set to ON or OFF. This is a read-only system
flag that signals motion queue purging is complete.
Remarks FALSE (OFF) indicates that zero velocity has been reached. If decelerating to zero
velocity, this flag will be ON until Pgen motion is no longer changing and all associ-
ated final position quantities have been assigned.
See Also PURGEMOTION
Example
F1 = PURGEMOTIONACTIVE
if (F1 = ON)
{
;perform other motion program functions while
;Pgen motion is being purged.
}
PVEL1
Peak Motor Velocity Velocity
Purpose Peak velocity in user units per Timebase.
Syntax variable = PVEL1
variable The variable may be a nonvolatile variable Gn, a volatile vari-
able Vn, or a system variable.
Remarks The motor velocity is measured every velocity loop update (1mS). If the present value
is greater than the previous peak, the value is saved as the new peak. The magnitude of
the peak is calculated based on an absolute value of VEL1. The value is saved and
reported as a signed number, however. CLRPEAKS resets this value to zero.
See Also VEL1, CLRPEAKS
Example
G5 = PVEL1