No Step/Dir Signal from Duet 3 Expansion 1XD
-
@jered I'm sorry, I was using a smartphone last time I replied and I missed that line.
G1 H2 moves are always raw motor moves, so will move only one of the motors. To move a few mm in the -Y direction you can use:
G1 H2 X-5 Y5 F600
To move a few mm in the -X direction, use:
G1 H2 X-5 Y-5 F600
-
This is off topic, but the warranty from is asking me for the serial # of the bad 1xd board, but there isn't one that I can see. The form says there is a sticker on the back of the board with this number on it, there is no sticker. See pics
-
I ran the RRF configurator and selected COREXY and none of the homeing.g files have any H2 moves in it for any axis other than Z.
Maybe you should rerun the configurator and generate new files?
(I don't know, I'm just trying to help, so if I'm wrong, I'm sorry.)
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 27 2022 12:58:17 GMT-0400 (Eastern Daylight Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Y-215 F1800 ; move quickly to Y axis endstop and stop there (first pass) G1 Y5 F6000 ; go back a few mm G1 H1 Y-215 F360 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning
-
@jered Don't worry about the serial number. Usually that would be on the mainboard.
-
@phaedrux
About the homing location. I have the switches setup for the machine to home to the back left. Is this ok, or should I move the switches? I am not sure what a typical machine homing location should be.With the cnc machines that I design, all homing is to the front left.
-
@jered you can have the homing switches in any corner you like. Back left would normally be X min and Y max, so that +Y moves towards the back and +X to the right. Your M574 commands in config.g and homing movement commands in the homing files must be set up accordingly.
-
Thank you guys for being such good help!
After the machine homes (which it is doing just fine), I want it to move off the sensors 5mm and then set that position as 0,0. Is that possible? I have edited the home files so that it moves off 5mm from the sensors, but noticed the machine sees that it is 5mm of each axis. I want it to think that offset is 0,0. Is there a command that sets the home positions?
I did also try and edit the config file and set the min positions to 5,5 but the machine showed it was off by 5mm from home, so that didn't work.
-
@jered said in No Step/Dir Signal from Duet 3 Expansion 1XD:
I want it to think that offset is 0,0. Is there a command that sets the home positions?
You have two options, either use G92 X0 Y0 after you have moved off by 5mm, or you can set the axis minima in M208 to x-5 y-5 so that the 0,0 point would be 5mm away from the endstop.
-
Thanks again guys for your help! Here is a vid so you can see a bit more of what I am doing.
-
It's looking good. We're always here to help.
-
@phaedrux This super great.
It's clear you now how to build bullet-proof machines.
Very well done man.
Thanks for the video.
-
Just curious, is the a way to auto tune 2 heater outputs at the same time due to the fact that they are using the same TC and are working together? My hot end has to heater cartages connected to their own output.
-
Can you show how that is configured in your config.g?
-
Yep,
The mapping shown in the heater setup blow seems to be working fine as the temp is display correctly on the DWC interface. I just haven't turned them on because I wanted to tune them first.; Heaters
M308 S0 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp1
M950 H0 C"out3" T0 ; create bed heater output on out3 and map it to sensor 0
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S150 ; set temperature limit for heater 0 to 150C
M308 S1 P"spi.cs0" Y"thermocouple-max31856" ; configure sensor 1 as thermocouple via CS pin spi.cs0
M950 H1 C"out2" T1 ; create nozzle heater output on out0 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S300 ; set temperature limit for heater 1 to 300C
M950 H2 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H2 S300 ; set temperature limit for heater 2 to 300C -
Try tuning them one at a time. It may help to set the temperature of the one not being tuned to the normal operating temperature while you tune the other.
Have you actually tried tuning them yet?
You cn also manually adjust the tuning values: https://docs.duet3d.com/en/User_manual/Connecting_hardware/Heaters_tuning
-
I have not tried to tune them yet. Usually, I use a controller that will easily handle both heaters at the same time. So they are both connected to the same power source.
I was thinking may be I could include both heater in the auto tune command, something like,
M303 H1 H2 S250 C5I will try them one at a time. I think the ramp time will be very fast in the end, but that is no big deal.
-
@jered said in No Step/Dir Signal from Duet 3 Expansion 1XD:
I was thinking may be I could include both heater in the auto tune command, something like,
M303 H1 H2 S250 C5No I don't think that is currently possible.
-
If all else fails, I should be able to connect both heater cartages up to the bed heater as I am using out3 for the bed and an SSR. The total wattage for the dual cartage heaters is only 80w, looks like the bed heater out will handle about 430w at 24vdc.
-
@jered in RRF 3.4 you can treat two heaters connected to different outputs as a single heater in RRF, by providing two port names separated by + in the M950 command.
-
Would that look something like this,
M950 H2 C"out1" + "out2" T1 ; create nozzle heater output on out1 and out2 then map it to sensor 1