User guide
55
VTB USER GUIDE
LINETO
Lineto interpolates the axis distributing the vector speed ONLY ON THE AXES OF THE CURRENT WORKING PLANE. The
other axis will be TRANSPORTED.
The function is useful to manage TANGENTIAL AXIS such as cutting machine, where the blade have to be transported to
increasing the fluidity of the movement. The eventual stop of axis is calculated according to the threshold value in sglp.
If the resultant edge is less or equal than this threshold axis don't stop in the position but continue filleting the two
segments.
Hardware All
Syntax
.LINETO(Long Vel, Long *PntAx) as char
Parameters
Vel Velocity of interpolation as unit/sample
PntAx Pointer to the array of the axis position as unit
Return value
Char 0 Command not written in the buffer (buffer full)
1 Command written in the buffer
Notes
Lineto, unlike Moveto, doesn't distribute the velocity on all enables axis, but only on the working plane making this
function not able to tridimensional interpolation.
If the edge is less or equal than SGLP axis don't stop
Example (object name = OBJ)
Used variables:
VectAssi(4) long
Vel long
Test char
‘ Fast interpolation with tansported third axis
vel=1000
VectAssi(0)=1000 'X
VectAssi(1)=2000 'Y
VectAssi(2)=100 'Z transported
VectAssi(3)=OBJ.pc(3) 'A remain stopped
muovi()
VectAssi(0)=4000 'X
VectAssi(1)=6000 'Y
VectAssi(2)=200 'Z transported
VectAssi(3)=OBJ.pc(3) 'A remain stopped
muovi()
VectAssi(0)=5000 'X
VectAssi(1)=2000 'Y
VectAssi(2)=300 'Z transported
VectAssi(3)=OBJ.pc(3) 'A remain stopped
muovi()










