RS274NGC_STARTUP_CODE - machine.ini file

More
3 years 5 months ago #271963 by lrak
I was trying to fix the G64 setting.
If I put in the  [RS274NGC] section:
RS274NGC_STARTUP_CODE = G17 G21 G40 G49 G64 P0.015 G80 G90 G92 G94 G97 G98

I get a configuration error.

So I tried putting the example one in copied from linuxcnc.org/docs/devel/html/config/ini-...sub:ini:sec:rs274ngc
Code:
RS274NGC_STARTUP_CODE = G17 G20 G40 G49 G64 P0.001 G80 G90 G92 G94 G97 G98 This also fails.  I tried removing the G64 P0.001 - still fails. I'm running
linuxcnc-uspace  1:2.8.4    

Many searches latter and I feel I must me missing something?

Please Log in to join the conversation.

More
3 years 5 months ago #271990 by cmorley
How about giving us the error message?

Please Log in to join the conversation.

More
3 years 5 months ago #272028 by lrak
I did mention the error message - it says there is a configuration error then shuts down - I started via the console - no useful information.  Nothing useful in linuxcnc_print.txt or linuxcnc_debug.txt

A configuration error is preventing LinuxCNC from starting. More information may be available when running from a terminal. Shutting down and cleaning up LinuxCNC...
If I comment out the line - everything works.

I tried setting in the same section

LOG_LEVEL = 2
LOG_FILE = file-name.log

Nothing logged..
Code:
 

Please Log in to join the conversation.

More
3 years 5 months ago #272029 by Aciera
I think that line was meant to be:
Code:
RS274NGC_STARTUP_CODE = G17 G20 G40 G49 G64 P0.001 G80 G90 G92.1 G94 G97 G98
Code:
Note the G92.1 instead of G92 which expects axis words

[edit]

G92.1 - turn off G92 offsets and reset parameters 5211 - 5219 to zero.

Please Log in to join the conversation.

More
3 years 5 months ago #272045 by lrak
Thanks! That was it - not sure how to flag someone that there is an error in the documentation?

linuxcnc.org/docs/devel/html/config/ini-...sub:ini:sec:rs274ngc

G92 should be G92.1

Please Log in to join the conversation.

More
3 years 5 months ago #272078 by Aciera

Please Log in to join the conversation.

Time to create page: 0.156 seconds
Powered by Kunena Forum