Y Axis doing strange things while homing
-
Seems like you're running the latest firmware. The release notes state that you now have to add S2 to the G1 Z commands.
-
ok, I got it to where I want it to be. THANKS.
Now another problem once it is homed.
if a click the head movement to move it 1mm it goes all the way the full length of the bed no matter what amount i click
0.1mm
1mm or 100mmMy New Home All.g is
[[language]] G91 ; relative mode G1 Z4 F200 S2 ; raise head 4mm G1 X-270 Y-270 F3000 S1 ; move up to 240mm in the -X and -Y directions until the homing switches are triggered G1 X5 Y5 F600 S2; move slowly 6mm in +X and +Y directions G1 X-10 Y-10 S1 ; move up to 10mm in the -X and -Y directions until the homing switches are triggered G1 X5 Y5 F600 S2; move slowly 6mm in +X and +Y directions G90 ; back to absolute mode G1 X70 Y70 F2000 S2; put head over the centre of the bed, or wherever you want to probe G30 ; lower head, stop when probe triggered and set Z to trigger height G1 Y30 X30 S2
-
Add G91 to the end of your homeall.g file. What's happening is that you have a G90 just before the G1 X70 Y70 …. move, which puts the machine into absolute coordinates so that it moves to the position 70mm away from home in X and Y which is fine. But when you've finished the homing it is still in absolute mode. So when you next do G1 X1, you are asking it to move to the position 1mm away from home, not 1mm away from where it was. Adding G91 to the end of your homeall file will put it back into relative positioning so then when you do G1 X1, will move by 1mm not to 1mm away from home.
-
Adding G91 at the end of homeall.g won't help, because the original relative/absolute behaviour will be restored when the macro file terminates.
I suspect a problem with your M92 and/or M350 commands in config.g. So please post your config.g file, and tell us what sort of motion system you are using.
-
[[language]] ; Configuration file for Duet Ethernet (firmware version 1.20 or newer) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Mon Apr 02 2018 10:20:53 GMT+0100 (GMT Daylight Time) ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P1 ; Set firmware compatibility to look like RepRapFirmare ; Axis Limits M208 X-5 Y275 Z-3 S1 ; Set axis minima M208 X200 Y-200 Z200 S0 ; Set axis maxima ; Endstops M574 X1 Y2 S0 ; Set active low endstops ; Z-Probe M574 Z1 S2 ; Set endstops controlled by probe M558 P1 X0 Y0 Z0 Z1 H3 F200 T5000 ; Set Z probe type to switch and the dive height + speeds G31 P500 X0 Y0 Z1.158 ; Set Z probe trigger value, offset and trigger height M557 X70:180 Y70:195 S20 ; Define mesh grid ; Network M550 P200x200 Printer ; Set machine name M540 PBE:EF:DE:AD:FE:ED ; Set MAC address M552 P192.168.1.14 S1 ; Enable network and set IP address M553 P255.255.255.0 ; Set netmask M554 P192.168.1.1 ; Set gateway M586 P0 S1 ; Enable HTTP M586 P1 S1 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Drives M569 P0 S0 ; Drive 0 goes forwards M569 P1 S0 ; Drive 1 goes forwards M569 P2 S0 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M92 X1600 Y80 Z2000 E830 ; Set steps per mm M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping without interpolation M566 X1000 Y900 Z400 E120 ; Set maximum instantaneous speed changes (mm/min) M203 X500 Y1000 Z500 E1000 ; Set maximum speeds (mm/min) M201 X500 Y900 Z500 E200 ; Set accelerations (mm/s^2) M906 X900 Y1800 Z1000 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent M566 X800 Y400 Z30 E20 ; Maximum jerk speeds mm/minute M84 S30 ; Set idle timeout ; Heaters M305 P0 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 0 M143 H0 S120 ; Set temperature limit for heater 0 to 120C M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1 M143 H1 S280 ; Set temperature limit for heater 1 to 280C ; Fans M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; 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 ; Automatic power saving M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss ; Custom settings are not configured ; Miscellaneous M501 ; Load saved parameters from non-volatile memory
-
When you say it goes the full length of the bed when you ask for 0.1mm movement, is that in the X or the Y direction?
Your X steps/mm in the M92 command is very high (1600). Are you sure it is correct? 80 or 160 would be more usual.
Are you using the web interface to command movement, or a USB host program, if so which program?
-
Y Moves all the way from the endstop
im using the web interface yes.
and i have leadscrews with a 2mm pitch i have tested the mm settings and yes 10mm moved 10mm on all axis when i first was setting it up that was the first thing i did -
its an old 200X275 printer i used to have repiter and a generic controller on it .
but i upgraded with a duet ethernet and i already have a 400X400 working fine but as i learnt i have put the new firmware on this and it seems a lot harder to config as the old firmwarethe 200X275 is
Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
Firmware Electronics: Duet Ethernet 1.02 or later
Firmware Version: 1.21 (2018-03-21)
Web Interface Version: 1.21The Endstop on the X-axis in on the left
The End Stop on the Y axis in at the rear
as you look at the front of the machinei am using an inferred Z Probe the seems to work fine
but the big 400X400 that works fine
Firmware Name: RepRapFirmware for Duet WiFi
Firmware Electronics: Duet WiFi 1.0
Firmware Version: 1.20 (2017-12-23)
WiFi Server Version: 1.20
Web Interface Version: 1.20the config file in my 200X275 the one we are talking about
[[language]] ; Configuration file for Duet Ethernet (firmware version 1.20 or newer) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Mon Apr 02 2018 10:20:53 GMT+0100 (GMT Daylight Time) ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P1 ; Set firmware compatibility to look like RepRapFirmare ; Axis Limits M208 X-5 Y275 Z-3 S1 ; Set axis minima M208 X200 Y-200 Z200 S0 ; Set axis maxima ; Endstops M574 X1 Y2 S0 ; Set active low endstops ; Z-Probe M574 Z1 S2 ; Set endstops controlled by probe M558 P1 X0 Y0 Z0 Z1 H3 F200 T5000 ; Set Z probe type to switch and the dive height + speeds G31 P500 X0 Y0 Z1.158 ; Set Z probe trigger value, offset and trigger height M557 X70:180 Y70:195 S20 ; Define mesh grid ; Network M550 P200x200 Printer ; Set machine name M540 PBE:EF:DE:AD:FE:ED ; Set MAC address M552 P192.168.1.14 S1 ; Enable network and set IP address M553 P255.255.255.0 ; Set netmask M554 P192.168.1.1 ; Set gateway M586 P0 S1 ; Enable HTTP M586 P1 S1 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Drives M569 P0 S0 ; Drive 0 goes forwards M569 P1 S0 ; Drive 1 goes forwards M569 P2 S0 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M92 X1600 Y80 Z2000 E830 ; Set steps per mm M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping without interpolation M566 X1000 Y900 Z400 E120 ; Set maximum instantaneous speed changes (mm/min) M203 X500 Y1000 Z500 E1000 ; Set maximum speeds (mm/min) M201 X500 Y900 Z500 E200 ; Set accelerations (mm/s^2) M906 X900 Y1800 Z1000 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent M566 X800 Y400 Z30 E20 ; Maximum jerk speeds mm/minute M84 S30 ; Set idle timeout ; Heaters M305 P0 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 0 M143 H0 S120 ; Set temperature limit for heater 0 to 120C M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1 M143 H1 S280 ; Set temperature limit for heater 1 to 280C ; Fans M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; 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 ; Automatic power saving M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss ; Custom settings are not configured ; Miscellaneous M501 ; Load saved parameters from non-volatile memory
the Home All file
[[language]] G91 ; relative mode G1 Z4 F200 S2 ; raise head 4mm G1 X-270 Y-270 F3000 S1 ; move up to 240mm in the -X and -Y directions until the homing switches are triggered G1 X5 Y5 F600 S2; move slowly 6mm in +X and +Y directions G1 X-10 Y-10 S1 ; move up to 10mm in the -X and -Y directions until the homing switches are triggered G1 X5 Y5 F600 S2; move slowly 6mm in +X and +Y directions G1 X70 Y70 F2000 S2; put head over the centre of the bed, or wherever you want to probe G30 ; lower head, stop when probe triggered and set Z to trigger height G1 Y0 X0 F600 S2 G90 ; back to absolute mode
video of the problem
https://youtu.be/16ANTi1PvYA -
This is what's wrong:
M208 X-5 Y275 Z-3 S1 ; Set axis minima
M208 X200 Y-200 Z200 S0 ; Set axis maximaYou have the Y275 and Y-200 the wrong way round.
-
well it didn't help, in fact, made things worse.
now it goes over to the end stop on the y Axis even when clicking + or - 1mm on any axis then stops then once it reaches the end stop I can move the X but not the Y -
In that case you either have your M574 commands set up incorrectly, or your homing files set up incorrectly. Please specify the following locations, looking at the front of the machine:
1. Where you expect X=0 Y=0 to be;
2. Where your X endstop switch is;
3. Where your Y endstop switch is. -
got it
HoomeAll.G
G91 ; relative mode
G1 Z4 F200 S2 ; raise head 4mm
G1 X-270 Y-270 F3000 S1 ; move up to 240mm in the -X and -Y directions until the homing switches are triggered
G1 X5 Y5 F600 S2; move slowly 6mm in +X and +Y directions
G1 X-10 Y-10 S1 ; move up to 10mm in the -X and -Y directions until the homing switches are triggered
G1 X5 Y5 F600 S2; move slowly 6mm in +X and +Y directionsG1 X70 Y70 F2000 S2; put head over the centre of the bed, or wherever you want to probe
G30 ; lower head, stop when probe triggered and set Z to trigger height
G1 Y-45 X-45 F600 S2
G92 X0 Y0 E4added this bottom line and bingo all works
-
so im moving manual with code to X0 Y0 And then setting the position manually
not sure if i need
G90 ; back to absolute modeat the bottom