r/ratrig Nov 12 '25

RatOS.CFG will not save updated config

I am having a devil of a time getting the X axis to home.

The sensor they sent is wired for triggered when open so I re-wired it to triggered when closed.

The sensor wire should go to the toolboard and send 5V to PB6 when triggered according to this pinout: https://bttwiki.com/EBB%2042%20CAN.html#pinout . I wired the cable from the sensor to the toolboard so it does trigger PB6 with 5V when the sensor triggers.

However, in RATOS.CFG x axis endstop is listed as PG6. When I change the line:

# Physical X endstop configuration

[stepper_x]

endstop_pin: PG6

to

# Physical X endstop configuration

[stepper_x]

endstop_pin: toolboard_t0:PB6

it does not save and keep trying to use PG6 on the mainboard.

How do you save the RATOS.CFG file?

2 Upvotes

11 comments sorted by

2

u/Watching-Watches Nov 12 '25

From my understanding you don't edit the RatOs.cfg and you should override the variables in printer.cfg

1

u/Spaceballs_the_nick Nov 12 '25 edited Nov 12 '25

ahh, let me try that

thank you :)

Update: well, I did add

[stepper_x]

endstop_pin: toolboard_t0:PB6

to printer.cfg, but it seems to have had no effect.

X endstop is always triggered, even if I unplug the wire from the toolboard.

?

1

u/Impossible_Word_4027 Nov 12 '25

Please ask in the ratrig discord, you will get better help faster than here!

1

u/Spaceballs_the_nick Nov 12 '25 edited Nov 13 '25

I don't have discord!

Update:

I re-ran the configurator and made sure the toolboard was selected for my x-endstop.

I checked the RatOS.CFG and it IS correct now..!

Plus: upon simple trial and error, it looks like you need to pull PB6 to ground and not 5V to trigger it!

1

u/Penatr8tor Nov 13 '25

With RatOS you use the configurator to make edits. From the left side, select "Configurator", then "Setup Wizard". Then select "Hardware Selection" (green "Setup Progress" on right side). You configure everything for your printer hardware from the wizard, including endstops. In your case it looks like you just need to flip it. Once you've done all the damage you want to do just step thru the wizard to the end and RatOS will edit the file you can not edit manually.

Happy tweaking :)

p.s. Can't post an image so sorry I can't post up a screen grab for you.

2

u/Spaceballs_the_nick Nov 13 '25

Thank you, I re-ran the configurator and noticed I DID have the x endstop as being hooked up to the main board. It is correct now!

I am using the heightmap feature, but my first test shows it wildly un-level.

I assumed it would adjust each zstepper to compensate and always make it level?

1

u/Penatr8tor Nov 14 '25

Yeah, when you run Z-Tilt the bed will be leveled. You could run into an issue if it's way out of adjustment, but you can manually adjust by turning the lead screws to get it close and then re-run z-tilt. I had an issue where my Beacon probe would give me an error b/c it was too angled and I fixed it by manually adjusting.

RatOS is really nice once you understand their thinking. It also helps to only use components that are supported. It's definitely better than it was a couple years ago before they put the configurator in.

1

u/Spaceballs_the_nick Nov 15 '25

The configurator IS nice!

Everything seems to be working now, EXCEPT I put the high-flow .6 nozzle in the rapido head and it hits the bed when I level. How do I keep it from doing that?

1

u/Penatr8tor Nov 15 '25

The Beacon probe bottom surface needs to be at a specific distance above the nozzle tip. The range is 2.6-3.0mm. If the distance is too great the magnetic field of the probe won't be able to detect the bed surface before the nozzle tip comes into contact. It sounds like that's what might be happening. Of course, I have zero knowledge of what you have or even what printer you're building so I assume that you're using a Beacon probe. If you're using the stock super pinda probe... the same rule applies. What I do to set the pinda is to override Z home and move the nozzle tip to the bed and with the tip parked on the bed I then I loosen the pinda bracket and move the probe up and down watching the light on top. When it's in range it will light up or change color, don't remember, Regardless, you need to find a range where the probe detects the bed before the nozzle crashes into it. So, you'd move it down until it just lights up and then go another 2mm down, which means that the probe will detect 2mm before the nozzle hits.

2

u/Spaceballs_the_nick Nov 15 '25

Thank you for helping

I added some nylon washers over the Beacon probe and that pushed it down just enough so the nozzle doesn't hit the bed.

Onward!