Optical endstop reverse

I installed a optical endstop to test.
It is working reverse when i trigger the stop de axle moves normaly.
When the stop is not triggerd the axle move only one way
Connection is buttom up + - s
The markings on the stop are V is 5 volt S is signal G is ground or is this not right ?

Solved.
I set the endstop inverse to false and it works.
Is that the only thing i have change ?

should be

I have the optical endstops, Rambo 1.4 controller that is flashed with 427 2.0.5.3 from github using VS Code. Where/How do I set “Onno wrote: I set the endstop inverse to false and it works.” ??

Same issue, as long as I have a flag in the slot, it moves, then stops moving once I remove the flag. I think this is a backwards operation.

Also, M119 shows it triggered when just plugged up without a flag in it. With a flag in it , M119 reports open.

Thanks

The inverse is a setting in configuration.h.

Then recompile and apply to board. Gotcha. Thank you.

1 Like