duet 2 wifi ona ctc dual help plz
-
@twistedechos said in duet 2 wifi ona ctc dual help plz:
s2m
S2M belts look like they have a 2mm pitch, just like GT2.
So 17 tooth pulley, 2mm pitch, 16x microstepping, and either 200 steps per rotation or 400 steps per rotation motors.
xy_steps_per_mm = (motor_steps_per_rev ∗ driver_microstep) / (belt_pitch ∗ pulley_number_of_teeth)
Gives you 188.2 steps per mm in X and Y if it's a 0.9 degree motor. Or 94.1 for a 1.8 degree motor.
No probe. That's fine.
The endstops look like makerbot style endstops, but there looks to be 4 wires going to them. It's really hard to see from the pictures. Maybe you could remove one of the endstops and take a good picture of the switch side with the wires. Also the wires at the other end that goes to the Duet. You'll need to identify which wire is which and how to hook it up to the Duet.
https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches
https://duet3d.dozuki.com/Wiki/Test_homing_behaviour -
@twistedechos said in duet 2 wifi ona ctc dual help plz:
i did find this though https://www.thingiverse.com/thing:2475257/ im not sure what he means in the files though
So looking at that config.g file in his bundle
; Configuration file for Duet WiFi (firmware version 1.17) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Sat Jul 01 2017 14:45:41 GMT+0800 (Malay Peninsula Standard Time) ; General preferences M111 S0 ; Debugging off G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P2 ; Set firmware compatibility to look like Marlin M208 X-12 Y-10 Z0 S1 ; Set axis minima (bed offset 12 and 10 from zero) <UPDATE> change to fit your bed dimensions - extruder should be over the rear right corner of the bed M208 X273 Y137 Z150 S0 ; Set axis maxima (reduced by offset above) <UPDATE> change to fit your bed dimensions ; Endstops- Switches ; M574 X1 Y1 Z1 S0 ; <ENDSTOP Z> Define active low and unused microswitches - uncomment to configure for legacy Z-Endstop switch ; Endstops- Z Probe <ENDSTOP Z> comment out section below if no Z probe is used M574 X1 Y1 Z0 S0 ; Define active low and unused microswitches M558 P1 X0 Y0 Z1 H5 F350 T150000 ; Set Z probe type to unmodulated (DC42 IR Probe), the axes for which it is used and the probe + travel speeds G31 P500 X-20 Y6 Z 2.662 ; Set Z probe trigger value, offset and trigger height - Increase Z value to move bed closer to nozzle (2.662 for black PEI) M557 X25:250 Y15:125 S20 ; Define mesh grid ; Drives M569 P0 S0 ; Drive 0 goes backwards M569 P1 S0 ; Drive 1 goes backwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation M92 X88.573186 Y88.573186 Z400 E96.27520187033366:96.27520187033366 ; Set steps per mm M566 X900 Y900 Z600 E1200:1200 ; Set maximum instantaneous speed changes (mm/min) M203 X1080000 Y1080000 Z1200 E96000:96000 ; Set maximum speeds (mm/min) M201 X1000 Y1000 Z150 E2000:2000 ; Set accelerations (mm/s^2) M906 X800 Y800 Z400 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Heaters M143 S260 ; Set maximum heater temperature to 260C M305 P0 T100000 B3974 C0 R4700 ; Set thermistor + ADC parameters for heater 0 M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1 M305 P2 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 2 ; Heater PID Values <UPDATE> Replace with your values from Autotune result M307 H0 A103.7 C787.7 D1.0 S1.00 B0 ; Set PID values for Heatedbed - derived from autotune M307 H1 A313.9 C153.8 D4.0 S1.00 B0 ; Set PID values for Extruder 1 - derived from autotune M307 H2 A352.7 C171.2 D3.5 S1.00 B0 ; Set PID values for Extruder 2 - derived from autotune ; Tools M563 P0 D0 H1 ; 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 M563 P1 D1 H2 ; Define tool 1 G10 P1 X35 Y-0.8 Z0 ; Set tool 1 axis offsets <UPDATE> tune to suit your hot end - use a dual extrusion calibration model to find best values G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C M207 S1.2 F1200 ; set 1.2mm retract distance for G10 command ; Network M550 PDuet_Replicator ; Set machine name <UPDATE> update with your desired Machine name M551 P12345678 ; Set password <UPDATE> update with your desired Password M552 S1 ; Enable network ; Access point is configured manually via M587 by the user M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Fans ; Filament Cooling Fan <UPDATE> comment out section if no filament cooling fan is installed M106 P0 S1 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P0 S0 ; Switch cooling fan off ; Extruder Cooling Fan M106 P1 S1 I0 F500 H1:2 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S1 I0 F500 H1:2 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Custom settings are not configured
It looks like he might be using 18 tooth pulleys. How sure are you that yours are 17 tooth?
You may be able to copy and paste that config.g into your own file. It still won't help if the endstops aren't wired correctly.
-
i did modify the wiring with the end stops im sure i got it hooked up right but i can send a pic cus the duet is 3 wiers
-
-
it is 17 i counted again was hoping maybe my eyes messed up or something
-
@phaedrux said in duet 2 wifi ona ctc dual help plz:
M92 X88.573186 Y88.573186 Z400 E96.27520187033366:96.27520187033366 ; Set steps per mm
So if you have 17 teeth, I would change his X and Y from 88.5 to 94.1. You can test if this is correct by moving an axis and measuring how much it actually moves.
If homing isn;t working correctly yuet, you can test movement by sending
G92 X0 Y0 Z0
in the console to force the Duet to think it's homed. You can then carefully move the axis.Have you tested his config yet?
The procedure for testing endstops should tell you if they are working.
https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Test_endstop_switches -
end stops are working but the stepper will sit and bounce off of it? and when i did the G92 X0 Y0 Z0 it let me move it but then it stopped like it hit its max but it was in the center? and the 94.1 seems to be working well
-
i just found something else as well tool head number 2 fan seems to be getting really hot and not spinning i can spin it by blowing on it but i think it might be dead lol
-
im going to upload a better vid to youtube to show you what its doing now https://youtu.be/QgFb8Ch_efI
-
when we get this all figured out im going to put all the files on here for the next guy that needs help too
-
@twistedechos said in duet 2 wifi ona ctc dual help plz:
G92 X0 Y0 Z0
Ok so that tells it that it's at the lowest point of travel. so If your head is in the middle of the bed, it won't be able to go past 0 in one direction, adn it will think the other direction is longer than it is. It's only good for testing if the motors move in the right direction.
You'll need to actually home the printer now to get it to know where the real extents of travel are.
So can you confirm that +X moves it to the right, and Y+ moves it to the back? 0,0 should be located at the front left of the machine if you're looking at it.
You need to know that so you can tell the motors which way to move when trying to home.
You'll also need to know if the end stops are at the low (0) end of travel, or the high end (200+).
What happens if you try to Home X or Home Y? Are you using the files you posted above, or are you using the ones from that thingiverse link?
-
i think something is off x+ moves it to the back and y+ move it to the right let me check the wireing i wonder if i pulled up a bad diagram and it is the files from thingiverse also how do i find out what end the end stops are on? (sorry another edit) and when i try to click the home button it gives me the G28 G0/G1 error insufficient axes homed
-
@phaedrux again im being dumb i had x and y backwords
-
ok now they are moving the right direction but are now at the back right corner of the bed y end stop is at the low end i think do to pushing y+ and it moving away from endstop and x is at the high end do to pushing X+ and it moves to it
-
so it just needs calibrated right? and i got to adjust the size a little?
-
@phaedrux said in duet 2 wifi ona ctc dual help plz:
M574 X1 Y1 Z0 S0
So you'll need to modify the endstop configuration in config.g to match the position of the endstops.
M574 X2 Y1 Z1 S0
That means Y is at the low end towards 0. X is at the high end towards 200+ and Z is at the low end towards 0. Is that correct?
Then you can compare your homing files using this section
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_X_and_Y
For the low end, the homing move will have to move negative value. For the high end, it will move a positive value. -
y is the only one on low end if anything going to + is high
-
sorry i was not correcting you it was a question i should have worded that better
-
@phaedrux said in duet 2 wifi ona ctc dual help plz:
uncomment to configure for legacy Z-Endstop switch
what dose he mean buy this though?
-
What is the config you are using now? (can you copy and paste it?)
What currently works, and what still doesn't work?