G54 display on start-up

More
21 Nov 2015 13:02 #65598 by Diederik
I need some advice please.

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.

More
21 Nov 2015 20:53 #65625 by cncbasher
Replied by cncbasher on topic G54 display on start-up
add to the rs274ngc section of your ini
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.

More
22 Nov 2015 03:17 #65637 by Diederik
Replied by Diederik on topic G54 display on start-up
Hi,

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.

More
22 Nov 2015 06:57 #65647 by Rick G
Replied by Rick G on topic G54 display on start-up
Perhaps try changing...

I currently have my .ini file set up with OPEN_FILE = " "

To open a short g code file that contains a G54 such as cncbasher suggested for the RS274NGC_STARTUP_CODE .

Rick G

Please Log in or Create an account to join the conversation.

More
25 Nov 2015 00:00 - 26 Nov 2015 04:08 #65759 by joekline9
Replied by joekline9 on topic G54 display on start-up
What ver of Linuxcnc are you running?

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..
Last edit: 26 Nov 2015 04:08 by joekline9. Reason: correction

Please Log in or Create an account to join the conversation.

More
26 Nov 2015 08:30 #65814 by Diederik
Replied by Diederik on topic G54 display on start-up
I have opened files containing G54, and I can even in mdi command g54, and under first coordinates of machine position, it continues to display G53, only after I do "touch off" does it display G54 coordinates. It confuses the operator. I have no problem with this, but the operator thinks that the g54 position has lost its values... the operator gets confused, and thinks he has to set the tools up from scratch... :( I have tried to explain to him that all is well, but he is requesting that G54 must reflect on start-up.

Please Log in or Create an account to join the conversation.

More
26 Nov 2015 23:58 #65842 by joekline9
Replied by joekline9 on topic G54 display on start-up
You are right. I tried playing with the .var file and it still doesn't display G54 until I touch off even though it is in G54 mode.
Seems like a bug to me. :unsure:

Please Log in or Create an account to join the conversation.

More
27 Nov 2015 07:20 #65852 by Rick G
Replied by Rick G on topic G54 display on start-up
What have you set for
POSITION_FILE = position.txt
in your ini file?


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.

linuxcnc.org/docs/2.5/html/config/ini_co...tml#sub:TRAJ-section

Rick G

Please Log in or Create an account to join the conversation.

Time to create page: 0.105 seconds
Powered by Kunena Forum