# Macros Files for BB | Official Thread

**URL:** <https://forum.onefinitycnc.com/t/macros-files-for-bb-official-thread/25091>\
**Category:** Macros for BB\
**Created:** [February 2, 2024, 4:26pm UTC](https://forum.onefinitycnc.com/t/macros-files-for-bb-official-thread/25091 "2024-02-02T16:26:39Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [May 28, 2024, 2:12am UTC](https://forum.onefinitycnc.com/t/macros-files-for-bb-official-thread/25091/22 "2024-05-28T02:12:22Z")

</div>

Hey Craig,

if you want to move in machine coordinates, you got to prepend [G53 (Move in machine coordinates)](https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g53). Unlike G54 –G59.2, it is not a modal command and need to be specified on every line where you want it to be applied to the subsequent motion command.

E.g. if you have your workpiece zero coordinate somewhere, with G53 G0 X0 Y0 Z0 you still move the gantries to their machine home positions. No offsets currently active will be changed.

Be aware that G53 only works in [G90 (Set Absolute Distance Mode)](https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g90-g91). Note that G53 will fail silently if G91 (Set Incremental Distance Mode) is active ([this is a bug](https://forum.onefinitycnc.com/t/g53-behaviour-on-buildbotics-derived-onefinity-controller/26174)). So as a workaround it is good to specify G90 prepended to any G53 command. G90 however is modal and will remain active from then on.

---

_[View the full topic](https://forum.onefinitycnc.com/t/macros-files-for-bb-official-thread/25091)._
