• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Anycubic I3 Mega Mod questions

Scheduled Pinned Locked Moved
General Discussion
5
35
4.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    pauledd
    last edited by 12 Sept 2019, 10:03

    Hi there

    I am in the middle of modifying my old Anycubic I3 Mega (Trigorilla Pro 32bit) to the Duet Wifi 2 Board (1.04).

    Is there maybe someone who has a Configtool JSON settings file
    for me so that I can compare it to my settings?

    I ask because it is a bit unclear to me what setting I shall use
    in the Extruders tab under "Steps per mm" ... and also under Z-Axis
    "Steps per mm". Ive seen configs that have

    M92 X80 Y80 Z400 E92.6
    

    Z400? I assumed that the I3 Mega has M8 lead screws and the configurator calculator presented another value to me:
    Bildschirmfoto_2019-09-12_12-00-54.png

    I surely will have a few more questions later 🙂

    ----- human being without Windows™ ------

    1 Reply Last reply Reply Quote 0
    • undefined
      grizewald
      last edited by grizewald 9 Dec 2019, 10:27 12 Sept 2019, 10:26

      Those steps/mm values are correct for the i3 Mega and assume 16x microstepping. (And no, I don't have a RRF config file for you as I'm still using the original controller board in my Mega.)

      undefined 1 Reply Last reply 12 Sept 2019, 10:54 Reply Quote 0
      • undefined
        pauledd @grizewald
        last edited by 12 Sept 2019, 10:54

        @grizewald said in Anycubic I3 Mega Mod questions:

        Those steps/mm values are correct

        Which one? 400mm/s for Z?

        ----- human being without Windows™ ------

        1 Reply Last reply Reply Quote 0
        • undefined
          pauledd
          last edited by 12 Sept 2019, 12:19

          Ok, seems to be the line is okay:

          M92 X80 Y80 Z400 E92.6
          

          Next Question...
          The I3 Mega has two Z-endstops... where to connect the second and how to configure the second? The RRF Config tool only has one z-endstop entry...

          ----- human being without Windows™ ------

          1 Reply Last reply Reply Quote 0
          • undefined
            jay_s_uk
            last edited by 12 Sept 2019, 13:50

            Rather than run both z motors off the z connector, run them independently. So map the other one to E1 (for example). Then connect the second end stop to E1.
            See M584 in the wiki

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            undefined 1 Reply Last reply 13 Sept 2019, 06:23 Reply Quote 0
            • undefined
              pauledd
              last edited by 12 Sept 2019, 15:25

              Thanks, I just run both Z motors togehter with just one endstop and homing seems to work so far. Is there a specific advantage running both steppers and both endstops independently ?

              ----- human being without Windows™ ------

              undefined 1 Reply Last reply 12 Sept 2019, 15:58 Reply Quote 0
              • undefined
                grizewald @pauledd
                last edited by 12 Sept 2019, 15:58

                @pauledd said in Anycubic I3 Mega Mod questions:

                Thanks, I just run both Z motors togehter with just one endstop and homing seems to work so far. Is there a specific advantage running both steppers and both endstops independently ?

                If you only have one Z end stop, you can't be sure that both lead screws end up at the same position when you home the Z axis. My i3 Mega has two Z end stops and it took a lot of adjustment to make sure that the adjusters were set properly so that the X axis is perfectly parallel to the bed, but once I'd adjusted it properly, both Z carriages end up at exactly the same height above the chassis after homing.

                If I remember correctly, the fact that you couldn't get the X axis level properly with just one Z end stop was one of the initial criticisms of the i3 Mega. Mine came with two Z end stops and was a later model. It still drives the two Z motors from one stepper, but doesn't stop driving them down until both switches are closed.

                1 Reply Last reply Reply Quote 0
                • undefined
                  pauledd @jay_s_uk
                  last edited by pauledd 13 Sept 2019, 06:23

                  @jay_s_uk said in Anycubic I3 Mega Mod questions:

                  M584

                  Okay, so I'll try now two seperate drivers for the Z-axis.

                  Z+ stepper (the left one) is plugged into the outer "Z" and I put both
                  jumpers back on the inner one. Z- stepper (the right one) is now in E1.
                  Endstop Z+ is in Z and Endstop Z- is in E1.

                  So I change these commands in my "Drives" section in config.g:

                  ;M584 X0 Y1 Z2 E3 ;old
                  M584 X0 Y1 Z2:4 E3 ;new

                  Now, do I need to change anything else? Or applies "steps per mm , accelerations etc..." automatically to both Z-drivers?

                  And do I have to change something in the "endstop" section? It currently
                  have this code:

                  M574 X1 Y1 Z1 S0
                  

                  ----- human being without Windows™ ------

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    pauledd
                    last edited by 13 Sept 2019, 10:11

                    Ok, I'll try to follow this guide:
                    https://duet3d.dozuki.com/Guide/Independent+Z+motors+and+endstop+switches/18?lang=en

                    ----- human being without Windows™ ------

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      pauledd
                      last edited by 13 Sept 2019, 12:21

                      Well, this of cause didnt work...

                      If I press "Home Z" both Z-Steppers start to move down.
                      They both hit the endstop and the right stepper (E1) stops moving
                      but the left stepper (plugged in Z) keeps on moving and makes a great
                      loud rattling noise. So I immediately press the emergency stop button.

                      I checked both enstops (Z & E1), both leds lit on if pressed.
                      Under "Machine Properties" the Z endstops shows correctly "yes"
                      if pressed. The other E1 endstop is not in that list. Instead I have an E0 endstop which is unconnected on my board...

                      Bildschirmfoto_2019-09-13_14-17-26.png

                      My config.g:

                      ; Axis Limits
                      M208 X0 Y0 Z0 U0 S1 ; set axis minima
                      M208 X210 Y210 Z205 U205 S0 ; set axis maxima
                      M584 X0 Y1 Z2:4 U4 E3 P3 ; set drive mapping
                      ; Endstops
                      M574 X1 Y1 Z1 U1 S0 ; set active low and disabled endstops
                      G90 ; send absolute coordinates...
                      M83 ; ...but relative extruder moves
                      M550 P"Pauls Duet" ; set printer name
                      ; Network
                      M552 S1 ; enable network
                      M586 P0 S1 ; enable HTTP
                      M586 P1 S0 ; disable FTP
                      M586 P2 S1 ; enable Telnet
                      ; Drives
                      M569 P0 S0 ; physical drive 0 goes backwards
                      M569 P1 S0 ; physical drive 1 goes backwards
                      M569 P2 S1 ; physical drive 2 goes forwards
                      M569 P3 S1 ; physical drive 3 goes forwards
                      M569 P4 S1 ; Z- physical drive 4 goes forwards
                      M350 X16 Y16 Z16 U16 E16 I1 ; configure microstepping with interpolation
                      M92 X80.00 Y80.00 Z400.00 U400.00 E92.60 ; set steps per mm
                      M566 X900.00 Y900.00 Z12.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
                      M203 X30000.00 Y30000.00 Z360.00 U360.00 E1200.00 ; set maximum speeds (mm/min)
                      M201 X8000.00 Y8000.00 Z50.00 U50.00 E250.00 ; set accelerations (mm/s^2)
                      M906 X1200 Y1200 Z1200 U1200 E1200 I30 ; set motor currents (mA) and motor idle factor in per cent
                      M84 S30 ; Set idle timeout
                      ; Z-Probe
                      M558 P0 H40 F120 T3000 ; disable Z probe but set dive height, probe speed and travel speed
                      M557 X15:210 Y15:195 S20 ; define mesh grid
                      ; Heaters
                      M305 P0 T100000 B4725 C7.060000e-8 R4700 ; set thermistor + ADC parameters for heater 0
                      M143 H0 S90 ; set temperature limit for heater 0 to 90C
                      M305 P1 T100000 B4725 C7.060000e-8 R4700 ; set thermistor + ADC parameters for heater 1
                      M143 H1 S245 ; set temperature limit for heater 1 to 245C
                      ; 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
                      ; 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
                      M552 S1

                      My homeall.g

                      G91 ; relative positioning
                      G1 Z30 F3000 H2 ; lift Z relative to current position
                      G1 X-215 Y-215 F1800 H1 ; move quickly to X and Y axis endstops and stop there (first pass)
                      G1 X5 Y5 F3000 ; go back a few mm
                      G1 X-215 Y-215 F360 H1 ; move slowly to X and Y axis endstops once more (second pass)
                      M98 homez.g

                      My homez.g

                      G91 ; relative positioning
                      G1 Z30 F3000 H2 ; lift Z relative to current position
                      ; split Z motor control to Z and U
                      ; for it to work we have to show U (param P4) in the UI
                      M584 Z2 U4 P4
                      ; Move Z and U down until the switches triggers
                      G1 Z-205 U-205 F1000 H1
                      ; back to combined axes and hidden U
                      M584 Z2:4 P3
                      ; Back to absolute positioning
                      G90
                      ; Tell the firmware where we are
                      G92 Z0
                      ; lift Z after probing
                      G91
                      G1 Z10 F1000
                      G90

                      ----- human being without Windows™ ------

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        grizewald
                        last edited by 13 Sept 2019, 16:20

                        If you have axes X, Y and Z and then you create a fourth axis, the end stop for that fourth axis will be the first unused end stop in order. So, if you don't have your second Z end stop connected to the E0 end stop input, then you should connect it there.

                        That's why it's showing you an E0 end stop.

                        1 Reply Last reply Reply Quote 1
                        • undefined
                          pauledd
                          last edited by pauledd 13 Sept 2019, 18:58

                          @grizewald thanks 👍

                          Works now!
                          What I did:

                          • replugged Z(-) stepper into E0 and Z-endstop into E0

                          config.g:

                          • moving the M584 code above M208 code
                          • changed M584 to M584 X0 Y1 Z2:3 U3 E4 P3
                          • corrected M566 to M566 X900.00 Y900.00 Z12.00 U12.00 E120.00

                          homeall.g:

                          • changed M98 to M98 Phomez.g

                          homez.g:

                          G91 ; relative positioning
                          G1 Z10 F3000 H2 ; lift Z relative 10mm
                          ; split Z motor control to Z and U
                          ; for it to work we have to show U (param P4) in the UI
                          M584 Z2:3 U3 P4
                          ; Move Z and U down until the switches triggers
                          G1 Z-205 U-205 F100 H1
                          ; back to combined axes and hidden U
                          M584 Z2:3 U3 P3
                          ; Back to absolute positioning
                          G90
                          ; Tell the firmware where we are
                          G92 Z0
                          ; lift Z after probing
                          G91
                          G1 Z10 F1000
                          G90

                          Tomorrow I have the fans on my list ☺

                          ----- human being without Windows™ ------

                          1 Reply Last reply Reply Quote 1
                          • undefined
                            grizewald
                            last edited by grizewald 13 Sept 2019, 20:21

                            Great! You're making good progress.

                            It doesn't matter if you had the second Z motor in E1 or E0, just that you moved the end stop to the next free one in order. It's actually simpler to leave the first extruder in E0 and put the second Z motor in E1 as the firmware expects that you will use E0 for the first extruder.

                            In the end though, it doesn't really matter, as long as you describe everything correctly for the firmware. It certainly beats re-compiling and flashing firmware every time you want to make a configuration change!

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              pauledd
                              last edited by 14 Sept 2019, 06:18

                              Fans are workin!

                              Of cause I forgot to put the V_FAN jumper on V_IN as I wondered
                              why nothing moves...

                              Just for those who stew over how to connect the Anycubic (FAN1) connector, that's how I wired it to the Duet:

                              Bildschirmfoto_2019-09-14_08-18-03.png

                              ----- human being without Windows™ ------

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                pauledd
                                last edited by pauledd 14 Sept 2019, 08:14

                                Hotbed is working!
                                I measured the current to the hotbed alone and that gave me about 14.3A while heating up to 55°C. The 15A fuse got hot to about 65°C but once the bed reached 55°C it cooled down to about 50°C.

                                Should I go for a 20A fuse?

                                ----- human being without Windows™ ------

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  jay_s_uk
                                  last edited by 14 Sept 2019, 08:23

                                  It might be worth thinking about an SSR to control the heated bed so you're not putting all the power through the duet.

                                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    pauledd
                                    last edited by 14 Sept 2019, 10:15

                                    Yes, I consider that if everything else works perfectly.

                                    ----- human being without Windows™ ------

                                    dc42undefined 1 Reply Last reply 20 Sept 2019, 03:06 Reply Quote 0
                                    • undefined
                                      pauledd
                                      last edited by pauledd 14 Sept 2019, 13:12

                                      Hotend works too!

                                      But now three steps back to Z-Axis problem 😠
                                      Z+ stepper (left) again crashed onto the endstop while doing a Home Z, the Z+ endstop led was even lit up...

                                      By the way and quite strange, If I trigger both Z endstopps
                                      earlier with my fingers the homing process finishes every time successfully. I'll try to fiddle a bit more, maybe I get behind that mystery. Maybe I twist both endstops to see if one is kind of faulty...

                                      ----- human being without Windows™ ------

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        pauledd
                                        last edited by pauledd 15 Sept 2019, 09:53

                                        Z Axis Problem still not solved but at least the last crash was some time ago... I now monitor the Z endstops IO pins with my oscilloscope to find out if there is something strange if it crashes again.

                                        But I couldnt resist to print my first testcube that came out good, with a LOT room 😁 for optimization.

                                        20190915_110348_HDR.jpg
                                        Thermal situation while printing the cube:
                                        (steppers set to 1.2A)

                                        https://www.youtube.com/watch?v=Dd4siLtXD9I&feature=youtu.be

                                        ----- human being without Windows™ ------

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          pauledd
                                          last edited by pauledd 19 Sept 2019, 08:14

                                          I noticed something weird if I do a "HOME-Z". That might be the reason
                                          for crashing Z-axis into endstops or my understanding of that process is wrong/incomplete. Just as a side note, I changed the endstops with new ones and checked the endstop signals on my oscilloscope but this did not solve the crashing problem...

                                          What I observed:

                                          I move the Z axis up a bit so that I can test both endstops without crashing the axis onto them.

                                          I press HOME-Z.

                                          Z axis moves slowly down. I press the right endstop first, nothing happens, both steppers continue moving until I press the left endstop.
                                          (that would produce a crash if endstops are triggered with delay).

                                          Now I test HOME-Z again but this time I press left endstop first.
                                          As I trigger left endstop the RIGHT stepper stops, the left one keeps moving until I trigger the right endstop.
                                          (that would produce a crash too if there is a delay between both endstop triggering...)

                                          Is my understanding wrong and this is the intended procedure or is there something wrong?

                                          Shouldn't stop the left stepper if I trigger the left endstop and vice versa? Is this maybe a software problem?

                                          I also recorded a video, you might have problems to see the steppers stop because they move quite slowly...

                                          https://youtu.be/qJ-i4Jgc1WA

                                          ----- human being without Windows™ ------

                                          undefined 1 Reply Last reply 19 Sept 2019, 08:42 Reply Quote 0
                                          8 out of 35
                                          • First post
                                            8/35
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA