Help with setting up motors.
-
All I did was asked for was help and I got the wrong answer.
-
@saltypetz said in Help with setting up motors.:
All I did was asked for was help and I got the wrong answer. So it took me a month of lost time because someone gave me the wrong information and I had to figure it out. I have also been working with CNC machines 20+ years. I have two other printers using Rambo Boards and you can call they if you have problem.
Actually I have searched your previous questions and you got good advice in them but this question here has not been asked as far as I can tell!
The M307 and M558 and even the G31 lines have nothing to do with the motor settings that you appear to be asking this time please make it clear what problem you are having in understanding the issue and we may be able to help you but as of now i'm afraid my crystal ball just isn't working?
-
Now Everything works great I just don't understand in the reprap software how to setup the motors.
They are going way to slow. It took me a month to figure out my first problem I just can't keep wasting time.
I don't understand how to set up the motors. That's why I posted all the links to make sure all the information was there. I have been reading on it but I can't really find anything.Thank you for your help.
-
OK so now we are getting somewhere can you post your full Config.g file please and confirm that the motors are slow all the time or only in certain instances like homing or bed probeing
-
; Configuration file for Duet WiFi (firmware version 1.20 or newer)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sat Mar 03 2018 14:29:05 GMT-0500 (Eastern Standard Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 P"Black Widow" ; Set machine name
M552 S1 ; Enable network
M587 S"NETWORKNAMEHERE" P"NETWORKPASSWORDHERE" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards X
M569 P1 S0 ; Drive 1 goes backwards Y
M569 P2 S1 ; Drive 2 goes backwards Z
M569 P3 S1 ; Drive 3 goes forwards EM350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X157.64 Y157.64 Z5120 E301.54 ; 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 X1200 Y1200 Z1200 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X335 Y260 Z250 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S1 ; Set active low endstops
M574 Z1 S1 ; Set endstops controlled by probe
M558 P5 H5 F120 T6000
M557 X0:335 Y45:260 S20 ; Define mesh grid
G31 X0 Y0 Z0.221 P25BLTouch
M307 H7 A-1 C-1 D-1; Heaters
M301 H0 S1.00 P32.6 I1.360 D79.4 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 S80 ; Set temperature limit for heater 0 to 80C
M305 P1 X150 T"K" ; Set thermistor + ADC parameters for heater 1
M143 H1 S240 ; Set temperature limit for heater 1 to 220C; 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 off; Tools
M563 P0 D0 H1 F2 ; 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 -
This post is deleted! -
Is there something I can do to set the motors up in reprap or do you do it manually. If I understood how to read the data sheet to put it into reprap I would try or maybe it is more then just that.
-
@saltypetz said in Help with setting up motors.:
M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
I think Y20 is slowing everything down.
-
@saltypetz said in Help with setting up motors.:
Is there something I can do to set the motors up in reprap or do you do it manually. If I understood how to read the data sheet to put it into reprap I would try or maybe it is more then just that.
Well you've done all there is to do. That is set the motor current - (generally 85% of maximum rated current is good value), and set the direction (which should be obvious). Other than that, everything else such as steps per mm, speeds and accelerations, depend on your machine configuration.
-
@saltypetz said in Help with setting up motors.:
M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
M906 X1200 Y1200 Z1200 E1000 I30 ; Set motor currents (mA) and motor idle factor in per centOk these 3 lines are what basically controls the motors and for yours it think you should increase the values in the M203 to something like
M203 X18000 Y18000 Z300
you accelerations look way of as well but I don't know the TEVO but the Y value of the M201 looks very strange to me and I would have expected it to be similar to your X value and I would suggest that your currents for your motors are a bit high i would try withM906 X1000 Y1000 Z1000 E450 I30
Also your steps/mm seem a bit strange what toothed pulleys and belt does it use?
HTH at least a little bit (it looks to me like you have just taken the Steps/mm from your old controller which was probably set to 32 micro step mode so I think you need to halve the values in your M92 line although having looked at the extruder manual I think it needs to be increased for E0) According to the extruder data I think 1168 is the correct value for E0
-
each motor is rated at 1.5 amps except the extruder which is 0.67 hence my figures
all are 1.8 deg motors AFAICT -
Everyone thank you for the help. Hopefully I can get it going today. I checked the board and it is a v1.03 I don't understand why this doesn't work but we got it working now.
M307 H3 A-1 C-1 D-1
M558 P9 H5 F100 T2000
G31 X0 Y0 Z0 P25 -
@saltypetz said in Help with setting up motors.:
Everyone thank you for the help. Hopefully I can get it going today. I checked the board and it is a v1.03 I don't understand why this doesn't work but we got it working now.
M307 H3 A-1 C-1 D-1
M558 P9 H5 F100 T2000
G31 X0 Y0 Z0 P25Those lines have no baring on the issue you have been complaining about (Slow motor speeds) so what have you done to fix it can you post your new revised Config.G for others to find and see?
-
It has two lead screws with a belt and one motor.
-
@saltypetz said in Help with setting up motors.:
M92 X157.64 Y157.64 Z5120 E301.54 ; Set steps per mm
As @Dougal1957 said, those are unusual steps/mm values for X and Y - but not impossible.
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
Those values are OK, however I suggest you reduce the X and Y values to 600 until you know that higher is OK for your machine.
M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
Those are conservative values and could probably be increased, but I suggest you leave them alone for now.
M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
The Y value is too low, try 500. The Z value may be too high, I suggest 100 for now, maybe increase later when everything is working.
M906 X1200 Y1200 Z1200 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
The extruder motor has a rated current of 0.67A, so use E400 or E500 in that line. Otherwise OK. If the XYZ motors get too warm, reduce the currents from 1200 to 1100 or 1000.
-
As soon as I try to update the motor settings it doesn't start in the middle hot it goes to the far right corner. Also when I tell it to mesh it starts at about 100mm in from the front of the bed. May I did something wrong but before updating the speed it worked perfect. Is there somewhere I can read so I understand about the motors setup.
Here is the Config file.
; Configuration file for Duet WiFi (firmware version 1.20 or newer)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sat Mar 03 2018 14:29:05 GMT-0500 (Eastern Standard Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 P"Black Widow" ; Set machine name
M552 S1 ; Enable network
M587 S"NETWORKNAMEHERE" P"NETWORKPASSWORDHERE" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards X
M569 P1 S0 ; Drive 1 goes backwards Y
M569 P2 S1 ; Drive 2 goes backwards Z
M569 P3 S1 ; Drive 3 goes forwards EM350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X157.64 Y157.64 Z5120 E301.54 ; Set steps per mm for 16x microstepping
M566 X600 Y600 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 X1200 Y1200 Z1200 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X335 Y260 Z250 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S1 ; Set active low endstops
M574 Z1 S1 ; Set endstops controlled by probe
M557 X0:335 Y45:260 S20 ; Define mesh grid; Heaters
M301 H0 S1.00 P32.6 I1.360 D79.4 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 S80 ; Set temperature limit for heater 0 to 80C
M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S240 ; Set temperature limit for heater 1 to 220C; 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 T100 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S0 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off; Tools
M563 P0 D0 H1 F2 ; 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 saving after power loss is not enabled
; Custom settings are not configured
M307 H7 A-1 C-1 D-1 ;
M558 P5 X0 Y0 Z1 H9 F200 T6000
G31 X-48.8 Y-18.2 Z0.445 P25; Miscellaneous
M501
T0 ; Select first tool -
I have been messing around with the motor setting. When I change this line the beg starts about 100mm in from the front and about 30mm from the left. M92 X157.64 Y157.64 Z5120 E301.54 when meshing the bed. Also if I do Z home it goes to the far right corner not the middle of the bed.
Just from messing around with it this works perfect so far.
M92 X90.64 Y90.64 Z5120 E456 ; Set steps per mm -
@saltypetz generally steps/mm for motion axis should be calculated, not determined by experiment.
Prusa has a good calculator:
for belt
https://www.prusaprinters.org/calculator/#stepspermmbeltOr leadscrews
https://www.prusaprinters.org/calculator/#stepspermmlead -
Is there more information that I can read so I have a better understanding what all the numbers are for.
I went on the calculator but I want to have better understanding of all the settings. I want to understand what they all do. If there is a link to something I can read can you please post the link.Thank you, everyone for the help.
-
Could the belt be the problem making it go across the bed. I am looking for information on it now.
Here is the link to the belt. https://tevo3dprinterstore.com/products/10meter-gt2-6mm-open-timing-belt