G54 display on start-up
A previous machine that I did had G54 on Axis screen when starting up the machine, but another machine that I recently did, display G53, untill I've done a "touch off" then G54 is displayed on the screen.
any advice please?
I'm sure it is a setting somewhere.
Also... is there a way to load the last program on start-up, that was running on the machine, before shut down?
I currently have my .ini file set up with OPEN_FILE = " ", but it would be really nice to load last program running before shut-down.
Thank you
Please Log in or Create an account to join the conversation.
RS274NGC_STARTUP_CODE = GI7 G21 G40 G54 G64P0.005 G80 G90 G94 G97 M5 M9
as an example , edit to suit
Please Log in or Create an account to join the conversation.
I have done this, but when I open linuxcnc G53 is displayed until I do a touch off.
I have g54 in the start up g-code string.
Please Log in or Create an account to join the conversation.
To open a short g code file that contains a G54 such as cncbasher suggested for the RS274NGC_STARTUP_CODE .I currently have my .ini file set up with OPEN_FILE = " "
Rick G
Please Log in or Create an account to join the conversation.
Where does it display G53 or G54?
Try editing the .var file and making 5221,5222,5223, & 5224 all 0.0
or make one or more non zero then start Linuxcnc and see if that changes what is displayed.
5221 is for X 5222 Y etc
I think in 2.5 if they are not 0.0 then it will display G54. Not sure if version makes a difference
but in 2.7.x I just see a 3d 0 in the graph window at the home position..
Please Log in or Create an account to join the conversation.
![:( :(](/media/kunena/emoticons/sad.png)
Please Log in or Create an account to join the conversation.
Seems like a bug to me.
![:unsure: :unsure:](/media/kunena/emoticons/unsure.png)
Please Log in or Create an account to join the conversation.
POSITION_FILE = position.txt
in your ini file?
linuxcnc.org/docs/2.5/html/config/ini_co...tml#sub:TRAJ-section
POSITION_FILE = position.txt - If set to a non-empty value, the joint positions are stored between runs in this file. This allows the machine to start with the same coordinates it had on shutdown. This assumes there was no movement of the machine while powered off. If unset, joint positions are not stored and will begin at 0 each time LinuxCNC is started. This can help on smaller machines without home switches.
Rick G
Please Log in or Create an account to join the conversation.