User guide

58
VTB USER GUIDE
STOP
Stops axis with the programmed deceleration (acc) waiting for the complete execution (axis stopped).
STOP is used to stop the axis before the TARGET point, programmed with MOVETO, LINETO or ARCTO, is reached. The
movement buffer will be emptied.
Hardware All
Syntax
.STOP()
Notes
STOP, unlike FSTOP, waits the axis are stopped, for this IT MUST NOT BE CALLED IN TASK PLC.
FSTOP
Stops axis with the programmed deceleration (acc) without waiting for the complete execution (axis stopped).
FSTOP is used to stop the axis before the TARGET point, programmed with MOVETO, LINETO or ARCTO, is reached. The
movement buffer will be emptied.
Hardware All
Syntax
FSTOP()
Note
FSTOP, unlike STOP, doesn't wait the axis are stopped, for this IT CAN BE CALLED IN TASK PLC.
MOVE
Returns the state of the interpolation.
Hardware All
Syntax
.MOVE() as char
Return value
char 0 No interpolation is running
1 Interpolation is running
Note
MOVE retunrs 0 only the axis are stopped and the movement buffer is empty.
ATTENZIONE: MOVE tests only the DEMAND POSITION of AXIS.
Example
Muovi() ‘start interpolation
while Obj.move() wait for complete execution
endif
PRESET
Preset the AXIS position without move them. Axis will assume the position as passed by parameters.
Hardware All
Syntax
.PRESET(long *Pos)
Parameters
Pos Pointer to the array of the position value to preset