1.7 KiB
1.7 KiB
| tag | title | brief | author | group | codes | related | notes | parameters | example | ||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m0114 | Get Current Position | Report the current tool position to the host. | thinkyhead | hosts |
|
M154 |
|
|
|
Get the "current position" of the active tool. Stepper values are included.
If M114_LEGACY is enabled the planner will be synchronized before reporting so that the reported position is not be ahead of the actual planner position.
Normally M114 reports the "projected position" which is the last position Marlin was instructed to move to.
With the M114_REALTIME option you can send R to get the "real" current position at the moment that the request was processed. This position comes directly from the steppers in the midst of motion, so when the printer is moving you can consider this the "recent position."
For debugging it can be useful to enable M114_DETAIL which adds D and E parameters to get extra details.