hw_work()

Returns the current work position.

Retrieves the work position as a tuple of 9 elements.

Syntax

planetcnc.hw_work()

Parameters

Parameter Type Description Comment
None

Return Value

Examples

#! /usr/bin/env python
 
import planetcnc
 
work_pos = planetcnc.hw_work()
print("Work position:", work_pos)

See also