RS274NGC_STARTUP_CODE - machine.ini file

  • lrak
  • lrak's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
22 May 2023 19:35 #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
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 or Create an account to join the conversation.

More
23 May 2023 02:35 #271990 by cmorley
Replied by cmorley on topic RS274NGC_STARTUP_CODE - machine.ini file
How about giving us the error message?

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

  • lrak
  • lrak's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
23 May 2023 16:49 - 23 May 2023 16:56 #272028 by lrak
Replied by lrak on topic RS274NGC_STARTUP_CODE - machine.ini file
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..
 
Last edit: 23 May 2023 16:56 by lrak.

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

More
23 May 2023 16:58 - 23 May 2023 16:59 #272029 by Aciera
Replied by Aciera on topic RS274NGC_STARTUP_CODE - machine.ini file
I think that line was meant to be:
RS274NGC_STARTUP_CODE = G17 G20 G40 G49 G64 P0.001 G80 G90 G92.1 G94 G97 G98
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.

Last edit: 23 May 2023 16:59 by Aciera.

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

  • lrak
  • lrak's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
23 May 2023 18:47 #272045 by lrak
Replied by lrak on topic RS274NGC_STARTUP_CODE - machine.ini file
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 or Create an account to join the conversation.

More
24 May 2023 06:37 #272078 by Aciera
Replied by Aciera on topic RS274NGC_STARTUP_CODE - machine.ini file
I've filed this as an issue:
github.com/LinuxCNC/linuxcnc/issues/2505

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

Time to create page: 0.071 seconds
Powered by Kunena Forum