Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12089

Re: Optical Endstop's not functioning ive tried everything...

$
0
0
Thank you for the advice :)

Version of Marlin I am running = (1.1.0-RC8)

Okay I currently have homing direction set -1 in the firmware, I will post this section of code and take a picture of the port its plugged into so you can verify it and I double / triple checked that I am in the z-min port on the board... :( unfortunately both of those are set correctly.

current settings

// ENDSTOP SETTINGS:
// Sets direction of endstops when homing; 1=MAX, -1=MIN
// :[-1, 1]
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

#define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
#define max_software_endstops true // If true, axis won't move to coordinates greater than the defined lengths below.

// @section machine

// Travel limits after homing (units are in mm)
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 200
#define Y_MAX_POS 200
#define Z_MAX_POS 190

Picture of the board



Just wanted to try it and see if it still did it I turned on all the pullups and sure enough I still got all saying triggered here is the result of M119

Reporting endstop status
x_min: TRIGGERED
y_min: TRIGGERED
z_min: TRIGGERED
ok

I did block and unblock the sensor and the results stayed the same.

I tried reversing the logic on only z-min as well and testing it blocked and unblocked the results were the same... :(

Reporting endstop status (Blocking sensor)
x_min: TRIGGERED
y_min: TRIGGERED
z_min: open
ok
Reporting endstop status (Unblocked sensor)
x_min: TRIGGERED
y_min: TRIGGERED
z_min: open
ok

Viewing all articles
Browse latest Browse all 12089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>