Installation guide

Keyword Reference Guide
MN1270 02.2002 107
See also:
CONFIG, GO, MOVEBUFFERFREE
MOVEBUFFERSTATUS/MBS
Purpose:
To return information about the move buffer.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Format:
v = MOVEBUFFERSIZE[axis]
Dot Parameters:
Axis - Axis No.
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
NextMove
8
0 x 119
Description:
It is possible that each move in the move buffer has been loaded with a slightly different way. The
MOVEBUFFERSTATUS keyword allows information about the currently executing move to be read.
The status returned is a bit pattern as follows:
Bit Description
0 1: the current move was loaded in ‘feedrate mode’.
0: the current move was loaded in ‘speed mode’
1 1: the current move has FEEDRATEOVERRIDE enabled
0: the current move has
FEEDRATEOVERRIDE disabled
2 1: the current move has contouring turned on
0: the current move has contouring turned off
3 1: the move buffer is empty
4 1: the move buffer is full
5 1: the move in the buffer has been suspended (SUSPEND) and is at rest
6 1: the end of the current move is a stop point caused by inter-vector angle control
Bits 5 and 6 were added in Mint v4.2 Build 1213.
If there is no move currently loaded in the move buffer then the status value will be 8. Bits 3 and 4 are
mutually exclusive.
Example:
status = MOVEBUFFERSTATUS[3] : REM Read status of axis 3
if status&3=1DO :REMIfbit0setandbit1notset
PRINT “ Move is a fast traverse “
ENDIF
The above example will print a message if the current move in the buffer is in feedrate mode but has
feedrate override disabled.
See also:
FEEDRATEMODE, FEEDRATEOVERRIDE, MOVEBUFFERFREE, MOVEBUFFERSIZE,
MOVEBUFFERID