duet 3 6HC Rat Rig Killerbee ( RRF reprapfirmware)
-
Dear community,
i already checked a few topics and try to find my answers in the documentations. But unfortunatly i did not get all questions answered. So maybe some of you have a similiar setup or has the knowledge to help me through.
My Setup:
- Killerbee 1510
- 4x Nema 23 Motors
- Duet 3 Mainboard 6HC
My plan is to run the duet in the standalone mode at first. I have setup the cnc already and now next steps are wiring and the correct setup of the mainboard.
So, my main questions go to the RRF, i think the steps afterwards with adding some GCodes to bring the firmware to the cnc mode is clear so far.
- I have four drivers, 1x X, 2x Y and 1x Z ... should i add an extra driver E0 in the configuration?
- The Endstop Pin - i think i will add the same Endstop Pin to both Y-Drivers.
- My Endstops have three cables but the connectors on the board five ... where i have to connect and what i have to choose in the configuration drop down?
- i think the rest on the page I/O Mapping is not important yet.
- On the Motors Page i am completly lost, what are the recommended values for my motors?
- The Endstops i think i can find out, but maybe someone with the same setup knows already the correct configuration.
Maybe i have forgot a few important points, i know that i have a lot of questions. I would be very happy if someone can support me and help me to bring the killerbee to cut
If there is a need of more information, please let me know.
Cheers
Bowski -
@bowski
1 - add it manually afterwards. the config tool can't handle more than 1 driver per axis
2 - you can't map one pin more than once so you would use 2 pins, one for each y endstop and map them as C"pin1+pin2"
3 - I take it they have 5v power, signal and ground. signal goes to IOx.in, the other 2 should be self explanatory. Just configure them as switches, you can change the rest during commissioning.
4 - probably not
5 - we need more information about your motors. part number? spec sheet etc
6 - not sure what you're asking -
@jay_s_uk
thank you for your quick response!1 - ok i will go ahead at first.
2 - i have only one end stop build in at the moment ... maybe i can connect the same endstop to two sets of pins?
5 - https://ratrig.com/nema-23-stepper-motor-high-torque-1-8degree-step-345oz-in.html
6 - type and location ... but you already give this answer -
@bowski
you want to set the motor current to 80% of the max, so go with 2400ma.
if you only have 1 endstop, thats fine. the firmware will stop all motors on that axis when the endstop is hit -
@jay_s_uk
great i will go this way! -
@jay_s_uk
I tried to bring the right information in the configuration. On the Motors page i choose, based on some research: Forwards, X16 (on), 3560 Steps, 15 Max. Speed Change, 100 Max. Speed, 500 Acceleration, and 2400 Motor Current. I made this for all three axes the same.I am not sure if these parameters are correct. I only could find out that i have a 8mm metric lead screw build in my Rat Rig Killerbee. I did not find the ratio ... so i am not sure if the values are correct at the end. The Speed and Acceleration Values are the default (X and Y) ones.
-
@bowski if you can work out the pitch then you know how far it moves per revolution. Then you can just calculate the correct steps per mm.
For the max speeds etc you can use the EMF calculator to work out the max your motors can go https://www.reprapfirmware.org/emf.html -
Hi Bowski,
I've got a similar CNC system to yours, although it's a smaller, RatRig KillerBee 1075. I'm also using NEMA23 stepper motors, the MB6HC control board and proximity sensors, rather than mechanical limit switches, with one on both the Y axes, the X axis and the Z axis.
Here is my config.g file, but bear in mind this is set up for a milling motor (not yet active) and a relay controlled (on/off) router, which I do use:
; Configuration file M453 ; set machine to CNC mode G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Weeble" ; set printer name ; 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 ; Configure Drives M569 P0.0 S0 ; physical drive 0.0 goes backwards - X axis M569 P0.1 S1 ; physical drive 0.1 goes forwards - Y1 axis M569 P0.2 S1 ; physical drive 0.2 goes forwards - Y2 axis M569 P0.3 S0 ; physical drive 0.3 goes backwards - Z axis M584 X0.0 Y0.1:0.2 Z0.3 ; set drive mapping ; Configure Motors M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation M92 X400 Y400 Z400 ; set steps per mm M566 X500 Y500 Z500 ; set maximum instantaneous speed changes (mm/min) M203 X2500 Y2500 Z2500 ; set maximum speeds (mm/min) M201 X150 Y150 Z150 ; set accelerations (mm/s^2) M906 X2400 Y2400 Z 2400 ; set motor currents (mA) 80% of maximum (3000mA) M84 S0 ; Disable motor idle current reduction ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X550 Y787 Z100 S0 ; set axis maxima ; Endstops M574 X2 S1 P"io8.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin io8.in M574 Y2 S1 P"io6.in+io5.in" ; configure switch-type (e.g. microswitch) and dual self-squaring high ends on Y1 via pin io6.in and on Y2 via pin io5.in M574 Z2 S1 P"io2.in" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin io2.in ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed ; M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters ; Fans M950 F0 C"out8" Q500 ; create fan 0 on pin out 8 and set its frequency M106 P0 S0.5 H-1 ; set fan 0 value. Thermostatic control is turned off ; Makita and relay configuration M950 R0 C"out1+out7" L0:18000 ; enable router relay on out7 M563 P0 S"Makita" R0 ; assign spindle 0 to tool 0 and name it Makita T0 ; select tool 0 ; AMB spindle configuration ; M950 R0 C"vfd" L0:25000 Q1000 ; create spindle with index 0 ; M563 P0 S"AMB 1400" R0 ; create tool 0 with spindle 0 and name it "AMB 1400" ; T0 ; select tool 0 ; Pause button M950 J9 C"io0.in" ; create input 9 on io0.in M581 P9 T2 S0 ; invoke trigger 2 active-to-inactive edge is detected on input 9 ; Pause LED M950 P8 C"!io0.out" ; create output/server port 8 on inverse io0.out ; Custom settings are not defined ; Variables definition global savedSpindleSpeed = 0 global PausePress = false ; Miscellaneous M564 S1 H1 ; Disable jog commands when not homed M911 S23 R23.5 P"M98 P""SaveSpindleSpeed.g""M913 X0 Y0" ; set voltage thresholds and actions to run on power loss
I hope this will give you something to start from.
EDIT: Just be aware the RRF configuator asks for axis maximum instantaneous speed changes and maximum speeds in mm/second, but the config.g file shows these as mm/minute.
Also, you will (obviously) need to change these commands:; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X550 Y787 Z100 S0 ; set axis maxima
...to suit your machine's sizing.
-