@alankilian
My bed length and width is 415mm but after getting everything going in the right direction when I command the printer to move to X115 Y115 it will travel to what should be 415mm.
Posts made by V.A.M.P printing snproj
-
RE: Closed-Loop tuning on CL57T stepper driver
-
RE: Closed-Loop tuning on CL57T stepper driver
@v-a-m-p-printing-snproj
Okay so I've been messing around with movement on my printer and notice the distance the printer head is moving is not correct. Before my maximum for the x and y was 415, but when i would try to go to X0 Y0 it could go to Y0. So I set the maximum to 115 for both the X and Y and now it can go to X0 Y0. Why is the distance my print head is traveling reading differently now? -
RE: Closed-Loop tuning on CL57T stepper driver
@phaedrux Okay sounds good thanks!
-
RE: Closed-Loop tuning on CL57T stepper driver
@phaedrux Okay my only concern before starting a print is before i changed my drivers, in front of the rear lead screw it was reading that Y was at 85 and now it is reading at 315 at that lead screw. Also when i look at the code for a print it has Y coordinates less than 315 which isnt on my build plate.
-
RE: Closed-Loop tuning on CL57T stepper driver
@alankilian
Okay ill do that and let you know how it goes. Since I had to change my home all coordinates for the Y position when the Z axis is homing, will this effect coordinates for a print? -
RE: Closed-Loop tuning on CL57T stepper driver
@phaedrux ; Configuration file for Duet WiFi (firmware version 2.03)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 15:55:39 GMT-0400 (Eastern Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"VAMP" ; set printer name
M669 K1 ; select CoreXY mode; Network
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; Drives
M569 P3 S0 ; physical drive 3 goes forwards
M569 P5 S1 T2.5:2.5:5:5 ; physical drive 5 goes forwards
M569 P6 S1 T2.5:2.5:5:5 ; physical drive 6 goes forwards
M569 P7 S0 T2.5:2.5:5:5 ; physical drive 7 goes backwards
M569 P8 S0 T2.5:2.5:5:5 ; physical drive 8 goes backwards
M569 P9 S0 T2.5:2.5:5:5 ; physical drive 9 goes backwards
M584 X5 Y6 Z7:8:9 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.5234 Y79.6020 Z800.00 E95.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 ; set accelerations (mm/s^2)
M906 E1600 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 X415 Y415 Z440 S0 ; set axis maxima; Endstops
M574 X1 Y2 S1 ; set active high endstops
M574 Z1 S2 ; set endstops controlled by probe; Z-Probe
M307 H6 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
M558 P9 H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M305 P0 T100000 B3950 R4700
M305 P1 T4700000 B5140 R4700 ; set thermistor + ADC parameters for heater 1
M143 H0 S180 ; set temperature limit for heater 0 to 100C
M143 H1 S490 ; set temperature limit for heater 1 to 490C; Fans
; Tools
M563 P0 D0 H1 F0 ; 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; Custom settings are not defined
M501 -
RE: Closed-Loop tuning on CL57T stepper driver
@alankilian Everything was homing fine in open loop so I switched to closed loop on the X and Y. Using the web controllers movement controls i began moving the x in small increments of 1mm each way and it moved fine so I tried 10mm and it continued moving fine. I then tried homing X and it also homed without any issue. I did the same for the Y and everything worked fine. I then homed all and it did without any issues.
-
RE: Closed-Loop tuning on CL57T stepper driver
It will not let me post my config file but at the start of a print it crashes into the side of the frame of the printer.
-
Closed-Loop tuning on CL57T stepper driver
I currently got new closed looped stepper drivers and got the printer homing correctly while the drivers are set to open loop. What is the next step to start tuning the drivers to begin printing with them? Ill post my confige file below.
-
RE: Connecting stepper motor encoders to closed loop drivers
@alankilian Sounds good thanks for the help! One more question now that everything is moving in the right direction and homing properly can I set my drivers to closed loop?
-
RE: Connecting stepper motor encoders to closed loop drivers
@alankilian Will this effect the positioning now when I go and try to print?
-
RE: Connecting stepper motor encoders to closed loop drivers
@alankilian I noticed that my Y coordinate was reading 315 where it originally was deploying my Bl touch to home the z so I changed the Y coordinate for the first probe point to Y315 instead of Y 75 and the home all worked fine.
-
RE: Connecting stepper motor encoders to closed loop drivers
@alankilian Im clicking home all on the dwc.
-
RE: Connecting stepper motor encoders to closed loop drivers
@v-a-m-p-printing-snproj
Is it possible my cordinates got all screwed up? Should i reset all my homing? -
RE: Connecting stepper motor encoders to closed loop drivers
@alankilian Oh it was printing before I put the closed loop drivers on. I got it to home the x and y fine separately, but when I home all itll home x and y and shoot off to the corner and trys to keep moving without homing the z.
-
RE: Connecting stepper motor encoders to closed loop drivers
@v-a-m-p-printing-snproj
; config-override.g file generated in response to M500 at 2021-03-31 14:08
; This is a system-generated file - do not edit
; Heater model parameters
M307 H0 A72.0 C92.5 D2.7 S1.00 V24.1 B0
M307 H1 A654.0 C177.9 D11.3 S1.00 V24.0 B0
M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0
G10 L2 P1 X0.00 Y0.00 Z0.00
G10 L2 P2 X0.00 Y0.00 Z0.00
G10 L2 P3 X0.00 Y0.00 Z0.00
G10 L2 P4 X0.00 Y0.00 Z0.00
G10 L2 P5 X0.00 Y0.00 Z0.00
G10 L2 P6 X0.00 Y0.00 Z0.00
G10 L2 P7 X0.00 Y0.00 Z0.00
G10 L2 P8 X0.00 Y0.00 Z0.00
G10 L2 P9 X0.00 Y0.00 Z0.00 -
RE: Connecting stepper motor encoders to closed loop drivers
@v-a-m-p-printing-snproj
; Example Homing file for RepRapFirmware on delta printerM117 Use https://configurator.reprapfirmware.org/ to set up your printer config
;G91 ; use relative positioning
;******* Change F250 in the following line to F2500 when you are finished commissioning
;******* Change 320 in the following to a higher value if your Kossel has taller towers
;G1 S1 X320 Y320 Z320 F2500 ; move all carriages up 320mm, stopping at the endstops
;G1 S2 X-3 Y-3 Z-3 ; move all carriages down 3mm
;G1 S1 X6 Y6 Z6 F250 ; move carriages slowly up 6mm, stopping at the endstops
;G1 Z-5 F2000 ; down a few mm so that we can centre the head
;G90 ; back to absolute positioning
;G1 X0 Y0 F2000 ; centre the head and set a reasonable feed rate -
RE: Connecting stepper motor encoders to closed loop drivers
@v-a-m-p-printing-snproj
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 15:55:40 GMT-0400 (Eastern Daylight Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-420 Y420 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-420 ; home X axis
G1 H1 Y420 ; home Y axis
G1 X-5 Y-5 F6000 ; go back a few mm
G1 H1 X-420 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y420 ; then move slowly to Y axis endstop
G90 ; absolute positioning
G1 X10 Y75 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning -
RE: Connecting stepper motor encoders to closed loop drivers
@v-a-m-p-printing-snproj
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 15:55:40 GMT-0400 (Eastern Daylight Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G90 ; absolute positioning
G1 X15 Y15 F6000 ; go to first probe point
G30 ; home Z by probing the bed; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning