
User Manual
Chapter 7
GFK-1742F
Jan 2020
Programmed Motion
181
DWELL
DWELL causes motion to cease for a specified time period before processing the next
command. Specifying a dwell of zero (either as a constant or the value in a parameter data
register) causes no dwell to occur (this is a change from APM and DSM302 functionality).
A single DWELL command only applies to one axis. Therefore, in a multi-axis program, you
must designate an axis number for each DWELL command. For example: DWELL AXIS1
2000. If you wish to pause both axes in a multi-axis program, you must use a DWELL
command for each axis.
Syntax:
DWELL {<axis>} <delay>
Parameter
Description
<axis>
The axis can only be specified in a multi-axis program or subroutine. The
axis may be specified using the AXISx keywords or constants.
<delay>
Delay in milliseconds specified as a constant or a parameter data
register. Range is 0-60,000 ms. A value of 0 is interpreted as a null
command.
Aliases:
None
Errors:
1.
Axis specified in single-axis program.
2.
No axis specified in multi-axis program.
3.
Delay must be in the range of 0
–
60,000 or parameter data register 0 - 255.
4.
Specified axis does not support programmed motion.
ENDPROG
The ENDPROG statement terminates a motion program definition.
Syntax:
ENDPROG
Aliases:
ENDP
ENDSUB
The ENDSUB statement terminates a motion subroutine definition.
Syntax:
ENDSUB
Aliases:
ENDS