# Set my G54 offsets right after initialization

**URL:** <https://forum.sienci.com/t/set-my-g54-offsets-right-after-initialization/4227>\
**Category:** 💡 Suggestion\
**Created:** [November 19, 2021, 4:01pm UTC](https://forum.sienci.com/t/set-my-g54-offsets-right-after-initialization/4227 "2021-11-19T16:01:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CrookedWoodTex](https://forum.sienci.com/user_avatar/forum.sienci.com/crookedwoodtex/32/10446_2.png) [@CrookedWoodTex](https://forum.sienci.com/u/CrookedWoodTex)\
**Post date:** [November 19, 2021, 4:01pm UTC](https://forum.sienci.com/t/set-my-g54-offsets-right-after-initialization/4227/1 "2021-11-19T16:01:47Z")

</div>

In connection to my situation in the following thread (that was solved with Ver.1.0.0):

> [@gSender 0.7.4 Problem](https://forum.sienci.com/t/gsender-0-7-4-problem/3852):
>
> Wow. Things going along just fine, and then we just took off on a rapid move to somewhere near the HOMING position. I had burned the A-side with my laser, switched sides, loaded the new gcode file and clicked OUTLINE (which I also did on the A-side.) I’ve been using the “G55(P2)” workspace feature. Nothing like this happened in 0.7.3, so it took me by surprise. I’m using a J-Tech laser and have added the offset with G92. (BTW, this would be a good feature to add to gSender. I put this offset i…

And further with the suggestions by @KGN :

> [@gSender 0.7.4 Problem](https://forum.sienci.com/t/gsender-0-7-4-problem/3852/13):
>
> If it’s code you run every time on program start, you could add it to “Program start” section in Start/Stop G-code in preferences. This will run whatever gcode is entered before program start for every single program. If you always need a G55 manually inputted into a program, it would probably be significantly faster for you to just enter the command there, along with whatever else you consistently need to do on program start.

After initialization, reset of G54 offsets (default work coordinate system (WCS)) is where there is a problem that I would like automated or defaulted differently. The reason being that as it currently is initialized [@NeilFerreri] “… Any motion to positive work coordinates would crash the machine back right.”

What would be a good way to set my G54 offsets right after initialization to something that won’t crash my program? My P1 G54 is always in the lower left at X= -27.896; Y=-28.617; Z=-2.074 machine coordinates.

Seems to me there should be a field in the setting where I could customize this setting.

ADDED: I forgot to add that the reason this happens is that Carbide Motion from C3D resets G54 to all zeros. Many times I use both senders.

---

<div class="post-metadata">

**Author:** ![NeilFerreri](https://forum.sienci.com/user_avatar/forum.sienci.com/neilferreri/32/1959_2.png) [@NeilFerreri](https://forum.sienci.com/u/NeilFerreri)\
**Post date:** [November 23, 2021, 1:34am UTC](https://forum.sienci.com/t/set-my-g54-offsets-right-after-initialization/4227/2 "2021-11-23T01:34:56Z")

</div>

> [@CrookedWoodTex](#):
>
> What would be a good way to set my G54 offsets right after initialization to something that won’t crash my program? My P1 G54 is always in the lower left at X= -27.896; Y=-28.617; Z=-2.074 machine coordinates.

`G20`; inch mode  
`G10 L2 P1 X-27.896 Y-28.617 Z-2.074`

---

<div class="post-metadata">

**Author:** ![CrookedWoodTex](https://forum.sienci.com/user_avatar/forum.sienci.com/crookedwoodtex/32/10446_2.png) [@CrookedWoodTex](https://forum.sienci.com/u/CrookedWoodTex)\
**Post date:** [December 6, 2021, 5:22pm UTC](https://forum.sienci.com/t/set-my-g54-offsets-right-after-initialization/4227/3 "2021-12-06T17:22:10Z")

</div>

Neil, the only way I found this to be useful is in a macro that I execute anytime I come into gSender from Carbide Motion.

Makes my machine safe without me having to modify my postprocessors. Thanks!

---

<div class="post-metadata">

**Author:** ![chrismakesstuff](https://forum.sienci.com/user_avatar/forum.sienci.com/chrismakesstuff/32/10759_2.png) [@chrismakesstuff](https://forum.sienci.com/u/chrismakesstuff)\
**Post date:** [April 26, 2022, 10:25pm UTC](https://forum.sienci.com/t/set-my-g54-offsets-right-after-initialization/4227/4 "2022-04-26T22:25:47Z")

</div>


