Instruction Manual

Language Reference Reference 199
Publication 1398-PM601A-EN-P October 2000
WORDS
DWELL
Dwell for time Motion
Purpose Dwell (wait) for the specified time.
Syntax DWELL = time
time The time is in seconds and can be a constant, a nonvolatile vari-
able Gn, a volatile variable Vn, or a system variable.
Remarks Dwell times ARE affected by the Feedrate. For example, if a DWELL = 1 statement is
used in a program, the dwell time will be for 1 second as long as the Feedrate is 100%.
If the feedrate is changed to 200%, the dwell time will take 0.5 seconds.
Actual Delay = Dwell / Feedrate.
For more details on feedrate, refer to the feedrate command, FDR. To define a delay
that is NOT affected by the feedrate, use the DELAY statement.
The DWELL statement can only be used in a subroutine or the main body of the pro-
gram. It may not be used in Fkey, Xkey, or Scanned Event routines.
The maximum time for a DWELL statement is 65 seconds. If this value is exceeded, a
Profile Calculation error will occur.
See Also DELAY, WAIT
Example
DWELL = 0.25
DWL = V2
EFLAG
Error Flag System
Purpose Flag to indicate if an error is active. ON indicates there is a fault
Syntax variable = EFLAG
variable Variable can be a nonvolatile flag Bn, a volatile flag Fn or
another system flag.
Remarks
See Also ENUM, WFLAG, WNUM, SYSERROR, SYSWARN
Example
IF EFLAG = ON