Installation guide
Mint™ v4 Advanced Programming Guide
104 MN1270 02.2002
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
NextMove
0
1 ≤ x ≤ 65535
Description:
When a move is loaded into the move buffer, it is possible to give that move an identifier with the
MOVEBUFFERID keyword. Reading the MOVEBUFFERID keyword will return the identifier of the
currently executing move in the buffer. This allows a number of moves to be loaded into the buffer in
advance and still be able to keep track of which move is currently executing. The identifier of the
previous move to be executed can be read with the
MOVEBUFFERIDLAST keyword.
An identifier can be used with the following move types:
•
MOVEA/MOVER
•
VECTORA/VECTORR
•
CIRCLEA/CIRCLER
•
FLY
If there is no move loaded in the move buffer or the move is not one of the above types, then the
identifier will read as zero.
Example:
MOVEBUFFERID = 1 : REM Identifier of 1
MOVER = 20
MOVEBUFFERID = 2 : REM Identifier of 2
MOVER = 45.5
MOVEBUFFERID = 3 : REM Identifier of 3
MOVER = -34.2
MOVEBUFFERID = 4 : REM Identifier of 4
MOVEA=0:GO
PAUSE MOVEBUFFERID=3:REMWait until the identifier is 3
OUT1 = 1
The above program loads a number of moves, each with different identifiers. When the third move
starts, output 1 will be turned on.
See also:
MOVEBUFFERFREE, MOVEBUFFERIDLAST, MOVEBUFFERSIZE, MOVEBUFFERSTATUS
MOVEBUFFERIDLAST/MBL
Purpose:
To read a 16 bit identifier from the move buffer.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Format:
v = MOVEBUFFERIDLAST[axis]
Dot Parameters:
Axis - Axis No.