getActualPos()

Description

Get the position of the machine in the workspace.

Syntax

machine.getActualPos(axis); machine.getActualPos(x, y, z);

Parameters

machine: Machine object.

axis: The axis of motion to get the position, which can be AXIS_X, AXIS_Y or AXIS_Z.

x: Get the target position of the X axis.

y: Get the target position of the Y axis.

z: Get the target position of the Z axis.

Return

getActualPos(axis):

double: Returns the position of the axis.

getActualPos(x, y, z):

No return value, directly use the reference to get the X, Y, Z axis position.

See also

getMaxAcc()

getMaxVelocity()

getJogPos()


Library Reference

The text of the 86Duino reference material follows the Creative Commons Attribution-Share Alike 3.0 License. The code examples in the reference material have been released into the public domain.