Welcome! Log In Create A New Profile

Advanced

CoreXY X & Y Axis Movement Issue

Posted by jbolt 
CoreXY X & Y Axis Movement Issue
December 01, 2017 01:27AM
Config is set to M667 S1 CoreXY mode.

I have the motors moving in the proper directions per the Duet CoreXY configuration instructions. Each axis homes in the correct direction when commanded to move but when one axis is commanded to move the other axis also moves?

Also when I home X the Y also moves in the + direction. When I home Y the X axis also moves in the + direction. X & Y home are at the X & Y min (Front left corner)

Not sure what I'm missing to make this work properly?
Re: CoreXY X & Y Axis Movement Issue
December 01, 2017 02:29AM
Does your gantry/carrier run free? If there is binding/racking at some point, one of the steppers might miss steps, which would cause irregular moves.
You could try to send +/-45° moves. ( after homing send eg. G1 F... X50 Y50, then G1 X100 Y0 a.s.o. )
That's the only way to test each stepper individually.

Edited 1 time(s). Last edit at 12/01/2017 02:30AM by o_lampe.
Re: CoreXY X & Y Axis Movement Issue
December 01, 2017 04:54AM
It sounds to me that the M667 command has not been recognised and the firmware is still operating in Cartesian mode. Please send M667 or M669 without parameters to see which mode it is in.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: CoreXY X & Y Axis Movement Issue
December 01, 2017 10:41PM
Here is what I get.

M667
Printer mode is CoreXY with axis factors X:1.000000 Y:1.000000 Z:1.000000

M669
Error: M669 parameters do not apply to CoreXY kinematics
Re: CoreXY X & Y Axis Movement Issue
December 01, 2017 11:16PM
Configuration file. Should there be a M669?



; Configuration file for Duet Ethernet (firmware version 1.17 to 1.19)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sun Nov 26 2017 19:15:55 GMT-0800 (Pacific 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

M667 S1 ; Select CoreXY mode
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X400 Y400 Z400 S0 ; Set axis maxima

; Endstops
M574 Z0 S0 ; Set active low endstops
M574 X1 Y1 S1 ; Set active high endstops
M558 P5 X0 Y0 Z1 H5 F120 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the dive height + speeds
G31 P600 X22 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
M557 X15:385 Y15:385 S20 ; Define mesh grid

; Drives
M569 P0 S0 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X160 Y160 Z1600 E418.5 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
M906 X1600 Y1600 Z1600 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout

; Heaters
M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C

; 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

; Network
M550 Phc-ojs ; Set machine name
M540 PBE:EFgrinning smileyE:AD:FE:ED ; Set MAC address
M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet

; Fans
M106 P0 S0.3 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

; Custom settings are not configured

; Miscellaneous
T0 ; Select first tool
Re: CoreXY X & Y Axis Movement Issue
December 01, 2017 11:46PM
I marked the motor shafts and they don't move the same amount so I checked the model numbers and they do not match so I may have been sent mismatched motors.
Re: CoreXY X & Y Axis Movement Issue
December 02, 2017 02:52AM
M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)

This might be another issue...
Is it a bug in the configurator?
Re: CoreXY X & Y Axis Movement Issue
December 02, 2017 04:10AM
Quote
jbolt
I marked the motor shafts and they don't move the same amount so I checked the model numbers and they do not match so I may have been sent mismatched motors.

That would explain it! If one is a 0.9deg motor and the other is 1.8deg, you will get different movement amounts. Likewise if you have them set to different steps/mm in M92 command(s) in config,g. You can send M92 with no parameters to verify what the X and Y motor steps/mm values are.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: CoreXY X & Y Axis Movement Issue
December 02, 2017 01:04PM
That was it. One motor was 0.9 and the other 1.8. Supplier had a motor mis-packaged. I never bothered to check the model numbers before installing. Stupid me.

Now on to calibrating each axis.

o_lampe - thanks to that catch. That came from the configurator. I'm not even sure what it is supposed to be. Still learning!
Re: CoreXY X & Y Axis Movement Issue
December 03, 2017 03:22AM
Acceleration of 500mm/s^2 is pretty good for starters. But two steppers running with different acceleration could cause problems. Depending how the firmware handles it.
Re: CoreXY X & Y Axis Movement Issue
December 03, 2017 04:37AM
RepRapFirmware applies the M201 and M203 parameters to X and Y motion, not to individual motors. For movement that involves both X and Y it reduces the speed and acceleration as appropriate, because one motor is working harder than the other one.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Sorry, only registered users may post in this forum.

Click here to login