rail core 2 300zl clone



  • hi im part of a group who are building a core xy based on the railccore 2 300zl from parts leftover from other printers and a few new parts.
    right now im trying to figure out how to set up the config.g to get it to work correctly.
    we have both motors on the left side of the machine. most corexy i have seen have been on the back or front. is there any special compinsation we need for this?
    are the cordinates needed for the 3 z motors in referance to home position or ?

    heres my current config.g i havent set up bed.g yet
    ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Mon Jul 16 2018 15:02:06 GMT-0700 (Pacific Daylight Time)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    M667 S1 ; Select CoreXY mode

    ; Network
    M550 Pcorexy ; 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 forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z4000 E420 ; 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 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout
    M584 X0 Y1 Z2:3:4 ; three Z motors connected to driver outputs 2, 5 and 6
    M671 X387.3:387.3:-80.3 Y302.5:-2.5:150.1 S0.5 ; leadscrews at rear left, front middle and rear right

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X300 Y300 Z300 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y2 S1 ; Set active high endstops

    ; Z-Probe
    M574 Z1 S2 ; Set endstops controlled by probe
    M558 P1 H5 F120 T6000 ; Set Z probe type to unmodulated and the dive height + speeds
    G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
    M557 X15:285 Y15:285 S20 ; Define mesh grid

    ; Heaters
    M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
    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 X4 ; Set thermistor + ADC parameters for heater 1 and remap it to channel 4
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C

    ; Fans
    M106 P0 S1 I0 F500 H1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S1 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; 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

    ; Automatic saving after power loss is not enabled

    ; Custom settings are not configured

    ; Miscellaneous
    T0 ; Select first tool

    pic is taken looking at front of machine
    0_1531780326571_rail core 2.jpg


  • administrators

    @bendiesel

    @kraegar is the person to ask as he designed the beast!



  • im hoping he dose.
    i should also state we are useing a precision peizo



  • Interesting changes to the design there, will be interested to see how it does for you. Especially without the side panels, which give the machine its rigidity.

    To answer your question on the steppers - the duet doesn't care what side they're on, as long as you follow the guide here: https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter

    Specifically, this bit is key: For a CoreXY or H-Bot machine, RepRapFirmware assumes that the motor connected to the X motor output moves the head in the +X and +Y directions when it runs forwards, and that the Y motor moves the head in +X and -Y directions when it runs forwards.

    As long as you get that correct, it'll be fine for the motion.



  • @T3P3Tony - is there a typo in that page? lol. Someone just pointed out it says +X twice there (I copied and pasted)



  • @kraegar said in rail core 2 300zl clone:

    @T3P3Tony - is there a typo in that page? lol. Someone just pointed out it says +X twice there (I copied and pasted)

    No, I'd say that's correct. To save confusion, call the two motors A and B. So A running forward gives +X and +Y. Therefore it follows that A running backwards gives -X and -Y. B running forward gives +X and -Y so B running backwards gives -X and +Y. Those are all 4 possible move combinations.



  • Ah, good call. Wasn't near my printer, just reads a little odd.



  • @kraegar Indeed yes. Translating motor movement to axis movement on a CoreXY seems to defy all logic at first glance - it gives me headaches just thinking about it ☺



  • @deckingman Yeah, I have to draw it out or see it in person every time I want to think through it.



  • @bendiesel
    I am a rff noob but I think you always want your xy motor settings the same as they work together. In config they are not.

    As for 3 Z motors. I only see one Z configuration? Edit i did see some Z motors defined 234.. Way out of my knowledge



  • So we got it up and running. Were having a weird increasing z offset each time we probe. Any ideas?0_1534472950191_received_421087175086144.jpeg 0_1534472983361_received_518379415279650.jpeg



  • Firmware version?


  • administrators

    @bendiesel said in rail core 2 300zl clone:

    Were having a weird increasing z offset each time we probe. Any ideas?

    The changing offset may mean that you are probing too fast. When the Z probe triggers, the firmware commands the Z motion to stop abruptly. If you probe too quickly then inertia may cause the Z motors to keep rotating and skip steps, leaving the nozzle lower or bed higher than the firmware thinks it is. So try reducing the probing speed (F parameter in M558).



  • Update. Still having problems with probing with the precision piezo
    At first we thought it was the boden tube causing a error so we removed it. Didn't help
    Hoping the piezo guy could help with this.
    We reduced the probe speed aswell but no avail.
    0_1536185592822_15361855661697865875132322077724.jpg 0_1536185623493_15361856152207419005214480668592.jpg
    0_1536185685882_15361856761222142332174031935701.jpg



  • @bendiesel I may be wrong but I think probing speed needs to be a little high so that a distinct and immediate contact is registered.

    Perhaps fire off an email to the precision piezo contact email?



  • I suggest getting your wiring bundle some support, btw. I use a small clip on the top rail of my printer, and a 36" zip tie to connect the wiring bundle to. The zip tie is very flexible, so doesn't limit motion, but can't fall over. Works great.

    https://www.thingiverse.com/thing:2812010



  • That is how my corexy is set up in terms of the top motors as well as how the y axis is also set up. My z axis motors are set up 90 degrees clockwise to that. The only major thing I can see compared to mine, and some of the others might be able to help you as I am still a bit of a noob, is that you have not defined the virtual axis for all the other Z motors (U and V). For you motor speed, current, acceleration, jerk etc you need to have it written in their format Mcode X.... y..... z...:....:.... u..... v..... e..... where the three values in the z should be the same as the values in the u and v bits. You also have not defined enough motors. In your config you have said that z is three drivers but you have only defined 5 where you should have 6 defined for the 2 corexy motors, 3 z motors and and extruder.

    Also I see you have defined the locations of the lead screws. Make sure that the order that you have defined them in, is the same order that they are writen in terms of the z, u and v coordinates ie if your first x and y coordinates are for the left hand motor, it is the one connected to the z port and so on. I used 0,0 to measure all the lead screw locations and some values are negative which is fine.

    Here’s is the first part of my config file.

    ; Drives

    M569 P0 S0 ; Drive 0 goes forwards X Axis
    M569 P1 S0 ; Drive 1 goes forwards Y Axis
    M569 P2 S0 ; Drive 2 goes forwards Z Axis 1
    M569 P3 S1 ; Drive 3 goes forwards Z Axis 2
    M569 P4 S0 ; Drive 4 goes forwards Z Axis 3
    M569 P5 S1 ; Drive 5 goes forwards Extruder

    ; Motor remapping for dual Z

    M584 X0 Y1 Z2:3:4 U3 V4 E5 P6 ; Driver 0 For X, 1 for Y, Z=2:3:4 U3 V4, Extruder 5
    M350 X16 Y16 Z16:16:16 U16 V16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z400:400:400 U400 V400 E420 ; Set steps per mm
    M566 X150 Y150 Z12:12:12 U12 V12 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X150 Y150 Z180:180:180 U180 V180 E1200 ; Set maximum speeds (mm/min)
    M201 X250 Y250 Z250:250:250 U250 V250 E250 ; Set accelerations (mm/s^2)
    M906 X850 Y850 Z1850:1850:1850 U1850 V1850 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits

    M208 X0 Y0 Z0 U0 V0 S1 ; Set axis minima
    M208 X400 Y400 Z420 U420 V420 S0 ; Set axis maxima
    M671 X256.6:-53.6:100 Y239.10:239.1:65.50 S3 ; Define the X and Y coordinates of the leadscrews. Motor order: FR (1), FL (2), RC (3).Snn Maximum correction in mm to apply to each leadscrew (optional, default 1.0)

    I hope any of my above ramblings helped.

    Kind Regards,

    Sam



  • @samlogan87 thank you for the reply. We have the bed leveling working. The problem is were getting inconsistent probing. Are you saying that it could be because each motor is out of sync of some sort?



  • Maybe. I am still a bit of a noob around here, however my printer basically is built very similar to yours (other than the z motors location, almost the same). I believe you need to add those values in so they can run independently of each other to level correctly as well as for normal operation. I read the how to do it from a guy who’s blog is betrue3d if I recall correctly.

    Try changing those values and see what happens.

    Regards
    Sam



  • How long are the wires from the piezo disk to the piezo PCB? I can't see where you have the board mounted.

    You also need to include a delay into the probe routine ( include R0.5 in your M558). This makes the printer wait for half a second between XY movements and Z probe movments to allow vibration to die down. Also, you should probably use the P8 mode rather than the P1, the output of the piezo PCB is digital, using P1 (analogue) only increases the chances of false triggers.

    Idris


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.