What does the " rs No:" Code stand for?

Please -
Please fill out whatever you can from this template to post a support request. This will help others help you!

What does the "rs N0"code stand for?

LaserWeb information

On the About page, I see that I have:

  • Frontend version: _____________
  • Backend version: _____________

My settings are:

<go to Settings / Tools and save your LaserWeb Settings to a json file, 
then open that file with a text editor and copy/paste the content here>

Problem description

When I _____, I expect _____, but instead _____ happens.

This problem is new since _______ | has always happened.

Here is sample gcode that demonstrates the problem

<paste the contents of the gcode segment here>

Please give some more infos! I don’t understand what you mean by " rs No:" / “rs N0” code? Where do you get that from?

The machine is correctly set up to start laser cutting which proceeds normally for most g code files.

However some files do not print and then the “-rs NO” code appear in the console window. Scrutinising the g codes shows no problems that I can find.

Hope you can help.

Thank you Paul Hinson

That is not generated by LaserWeb. It must be comming from your controller.
Can you post an example gcode file here?

LaserWeb information

On the About page, I see that I have:

  • Frontend version: _____________
  • Backend version: _____________

My settings are:

<go to Settings / Tools and save your LaserWeb Settings to a json file, 
then open that file with a text editor and copy/paste the content here>

Problem description

When I _____, I expect _____, but instead _____ happens.

This problem is new since _______ | has always happened.

Here is sample gcode that demonstrates the problem

<paste the contents of the gcode segment here>

System description

  • My machine is a CO2 Laser | diode laser | mill | lathe | other

  • I have a NAME_OF_CONTROLLER_BOARD

  • It has NAME_OF_FIRMWARE version VERSION_OF_FIRMWARE installed

  • I connect via USB | Serial | Ethernet | WiFi using telnet | websocket

  • My computer(s) on which I run LaserWeb run(s) Linux version | Mac version | Windows version ________

Here is my configuration:

<paste the contents of your machine configuration file or $$ output here>

@Advall It’s kind of inconsiderate to ignore @cprezzi 's request for the example gcode, re-post your question, and not fill out any of the support template that is designed to try to get enough information to help you. I moved your repost here, even though it is literally only the template that you didn’t bother to fill out at all.

It looks like it might be worth reading this section from our FAQ on how to get good help here on Maker Forums — and really, anywhere else on the internet, or even off the internet!

How to ask for help

Paul Stoffregen, of Teensy fame, wrote How to get technical help from strangers on the Internet. Please read it before asking for help, here on Maker Forums, or on any other forum. From his summary:

  1. Good first impression ⇒ Humans will want to help
  2. Explain context ⇒ Humans will understand your needs
  3. Share details ⇒ Humans will be able to help
1 Like

( Laser mach3 - 4 circles )
( File created: Thursday, September 29, 2022 - 09:05 AM)
( for Mach2/3 from Vectric )
( Material Size)
( X= 75.000, Y= 60.000, Z= 3.000)
()
(Toolpaths used in this file:)
(Profile 1)
(Tools used in this file: )
(52 = Laser 1000)
N100G00G21G17G90G40G49G80
N110G71G91.1
N120T52M06
N130 (Laser 1000)
N140G00G43Z5.000H52
N150S100M03
N160(Toolpath:- Profile 1)
N170()
N180G94
N190X0.000Y0.000F1000.0
N200G00X10.655Y15.286Z5.000
N210G1Z-1.000F500.0
N220G2X16.695Y9.246I0.000J-6.040F1000.0
N230G2X10.655Y3.206I-6.040J0.000
N240G2X4.615Y9.246I0.000J6.040
N250G2X10.655Y15.286I6.040J0.000
N260G00Z5.000
N270G00X28.190Y15.053
N280G1Z-1.000F500.0
N290G2X34.230Y9.013I0.000J-6.040F1000.0
N300G2X28.190Y2.973I-6.040J0.000
N310G2X22.150Y9.013I0.000J6.040
N320G2X28.190Y15.053I6.040J0.000
N330G00Z5.000
N340G00X46.422Y14.898
N350G1Z-1.000F500.0
N360G2X52.462Y8.858I0.000J-6.040F1000.0
N370G2X46.422Y2.818I-6.040J0.000
N380G2X40.382Y8.858I0.000J6.040
N390G2X46.422Y14.898I6.040J0.000
N400G00Z5.000
N410G00X64.655Y14.743
N420G1Z-1.000F500.0
N430G2X70.695Y8.703I0.000J-6.040F1000.0
N440G2X64.655Y2.663I-6.040J0.000
N450G2X58.615Y8.703I0.000J6.040
N460G2X64.655Y14.743I6.040J0.000
N470G00Z5.000
N480G00Z5.000
N490G00X0.000Y0.000
N500M05
N510M30
%
G Cde file herewith as requested

The problem goes away if the g code does not contain line numeration codes when the g codes works ok.

This gcode was specifically generated for Mach3/4 and not for generic GRBL based controllers. Mach 3 reads Nxxxx as “line” numbers. Default increment is 10.

If your controller needs generic grbl, then search for an export filter / post processor for GRBL (which would not include the line numbers). Fusion360 CAM supports this, for example.

1 Like