How to connect integrated servo motors
-
This is my settings
; Configuration file for Duet WiFi (firmware version 1.20 or newer)
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 PScara ; Set machine name
M552 S1 ; Enable network
;*** Access point is configured manually via M587
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwardsM584 X6 Y7 ; remap drive to extension board E3 and E4
M569 P5 R1 T1:1:25:1 ; from Clearpath manual
M350 X16 Y16 I1 ; Configure microstepping with interpolation
M92 X266.66 Y266.66 ; Set steps per mm (30:1 gearbox) OR use 66.66 (800 step per revolution for Clearpath motor
M669 K4 P600 D600 A-90:90 B-120:120 C0:0:0 ; 600mm both arms
M566 X1800 Y1800 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 ; Set maximum speeds (mm/min)
M201 X600 Y600 ; Set accelerations (mm/s^2)
M906 X1200 Y1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
G92 ; set start point; Axis Limits
; Endstops
; Z-Probe
; Heaters
M140 H-1 ; Disable heated bed
; Fans
M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
; Tools
; Automatic saving after power loss is not enabled
; Custom settings are not configured -
from Clearpath manual:
-
The setup time is 25ns not 25us, so instead of 1:1:25:1 I suggest 1:1:0.5:0 in the M569 T parameter. My suggestion to use 0.5us setup time is to allow for possible skew in the opto isolators.
-
PS - as per the wiki docs, when remapping axis drivers with M584 you must also re-specify the extruder driver numbers.
-
But I do not have extruder and Z-axis (this is simple drawing arm). Do I still need to include them in config.g?
-
@dk said in How to connect integrated servo motors:
But I do not have extruder and Z-axis (this is simple drawing arm). Do I still need to include them in config.g?
Yes, so that any commands you issue that relate to extruders (e.g. M350) don't also affect the motors you have remapped. You can add e.g. E10 if you have no extruders.
-
@jaredc Yes I am running my CoreXY with Clearpath motors on X,Y and Z. Although I have to make a confession, I purchased a Duet WiFi months ago to replace the Rambo 2 board but got interested in using the Delta Smart Effector and built a Delta instead, works great and I really like it.
Anyway to make sure the the Clearpath motors work with the Duet WiFi I installed a Duet WiFi today, did a rough setup with RepRap Configurator, installed the Duet Expansion Header Breakout board and connected the Cleatpath motors turned it on and tested, The Clearpath motors work just like they are supposed to. About 4 hours to replace the board. Next step is tune everything for the Duet WiFi.
Ed -
Ed, can you please share your settings? I get stuck with config.g Clearpath did not want to move
-
I do not know how to copy things to this forum, try the attached config.g file. If it doesn't work I will create a text file and sent it. I used the RepRap Configurator, if I could I would sent the entire sys folder.
-
@dk
The config.g file I used is from my back-up folder, sorry about that. Try this file. It opens Repetier and then use the "Edit G-Code"
0_1523627082930_config.g