deleting my crap IR probe and going back to end switches
-
i am a bit confused when it comes to setting up the endstop switches for the Z AXIS on the Duet 2 WIFI. i have a ROBO 3d R1 that i had modified to use an ir sensor, how ever the one i have just isnt working as it should be. so i am reverting back to the original end stop switches.
i plan to use them as a in p4 mode ( Digital probe connected to E0 endstop input, or endstop input set by C parameter ) as is indicated here by this post
https://forum.duet3d.com/topic/4737/zprobe-robo3d-r1
i currently have my each of my z axis motors plugged into Z and E1, they each have their own switches. the part that i am confused about is how to i differentiate between the switches on the M558?
Config.g
; Configuration file for Duet WiFi (firmware version 2.03)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Mon May 11 2020 00:13:10 GMT-0600 (Mountain Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"JoehBo3D" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S0 ; physical drive 3 goes forwards
M569 P4 S1 ; physical drive 4 goes forwards
M584 X0 Y1 Z2:4 E3 ; two Z motors connected to driver outputs Z and E1
; Standard bed
;M671 X-40:268 Y0:0 S1 F1 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis
;M208 X0:228 Y0:254 ; X carriage moves from -5 to 205, Y bed goes from 0 to 200; Centered bed
M671 X-160:160 Y0:0 S1 F1 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis
M208 X-110:110 Y-122:122 ; X carriage moves from -5 to 205, Y bed goes from 0 to 200M350 X16 Y16 Z16 E16 I1 ; configure microstepping without interpolation
M92 X80 Y80 Z800 E790 ; set steps per mm
M566 X1020 Y1020 Z24 E3000 ; set maximum instantaneous speed changes (mm / min)
M203 X6000 Y6000 Z180 E8000 ; set maximum speeds (mm / min)
M201 X6000 Y6000 Z100 E3000 ; set accelerations (mm / s ^ 2)
M906 X935 Y935 Z935 E935 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X-110 Y-122 Z0 S0 ; set axis minima
M208 X110 Y122 Z203 S1 ; set axis maxima
;M208 X0 Y0 Z0 S0 ; set axis minima
;M208 X228 Y254 Z203 S1 ; set axis maxima; Endstops
M574 Z1 S1 P"io2.in+io4.in" ; Z axis with two motors, Z and E1 individual min endstops, active high
M574 X1 S1 P"xstop" ; X Axis set active high
M574 Y1 S1 P"ystop" ; Y Axis set active high
;M574 Z1 S2 ; set endstops controlled by probe; Z-Probe
M558 P1 H3 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
; standard bed
;G31 P600 x2 Y24 Z-0.135 ; set Z probe trigger value, offset and trigger height
;M557 X0:228 Y0:254 S100 ; define mesh grid
;Centered bed
G31 P600 x-2 Y-24 Z-0.135 ; set Z probe trigger value, offset and trigger height
M557 X-108:108 Y-110:98 S100 ; define mesh grid; Heaters
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M305 P1 T100000 B4388 R4700 ; set thermistor + ADC parameters for heater 1
M143 H1 S300 ; set temperature limit for heater 1 to 300C; Fans
M106 P0 S0 I0 F500 H1 T45 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P1 S1 I0 F500 H1:1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Custom settings are not defined
M501 ;
-
Any one?
-
you may want to revise your topic title - it reads like a statement, not a question.
and its generally bad form to bump your own thread the same day you started it (though, the title isn't very likely to attract people looking for problems to solve..)
-
Are you saying there is more than 1 endstop switch for z?
-
@joehsmash said in deleting my crap IR probe and going back to end switches:
the part that i am confused about is how to i differentiate between the switches on the M558?
I'm confused about that statement as well. Are you using endstop switches or a probe? Endstop switches won't have anything to do with M558. And if it's a probe, there's only one.
Maybe take another run at trying to tell us what you're trying to accomplish.
-
@Phaedrux yes, i have a robo 3d, and there are 2 switches on the x gantry for the z end stops.
Its been done before i just don't see how the end stop switches are added into the config
When my printer originally homed, it would use the nozzle as a probe and lower the z axis until one of the nc z endstop switches would trigger.
I believe that they were set up in series so that when either was tripped the ramps board would know that the z was at the bed.All of the information i have read say that each z stepper should have its own endstop and now that they're controlled individually one by z, and the other by e. What i can't figure out is how to enter the second (e1) into the config.
If i just specify the z endstop and the nozzle is at the right side of the print bed. It would make it very hard for the z endstop to trip when the e1 endstop is right there.
I also understand that i should be able to set it up in mode 4 so that the machine will use the endstop switches as a digital switch.
-
Ok, that helps me understand what you're trying to do.
Are the switches actually wired in series or are they separate switches?
Are you using RRF2 or 3?
It's possible to use multiple switches on an axis, but it's a bit different on how it's done depending on the firmware. In RRF2 you need to split the Z axis into two separate axis (Z and U) and home each of them. In RRF3 it's more automatic.
Take a look at these documents
https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors
https://duet3d.dozuki.com/Guide/Independent+Z+motors+and+endstop+switches+in+RRF2/18
-
@Phaedrux well just reading up on rrf3 it would make more sense just to upgrade to that.
I believe right now im using 2.05.1.
I will try and find the rrf3 duet files tonight and upgrade and try to work my way through that.
-
@bearer of course i realized this once you said that... i was just kind of over trying to get this probe to work.
super frustrating!
-
@joehsmash said in deleting my crap IR probe and going back to end switches:
i have a ROBO 3d R1 that i had modified to use an ir sensor, how ever the one i have just isnt working as it should be
A side question, have you considered using another kind of Z probe? For example BLTouch?
Z probes have a few advantages over end stops. For example ability to do bed mesh leveling.
-
@zapta i have considered it, how ever with my current set up and how the x carriage is built i cant really put a bl touch on to it because theres just no where to mount it.
once i get this dialed in i am considering re designing my x carriage and re printing something that will allow me to go with a bl or something of the sort.