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

    Flashforge creator pro ---> Duet 2 wifi

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    6
    311
    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.
    • Gubbfittanundefined
      Gubbfittan
      last edited by

      I am trying to help a friend who have a Flashforge creator pro.
      He started the convertion to a duetboard and then he gave it to me and here i am 🙂
      The things that has been done to the machine is the following:

      • The rightside extruder has been removed and i did a quickfix and printed a part that acts endstop.
      • A BLTouch has been added
      • Extruder termocoupler has been removed and replaced with a thermistor instead.

      Here is where the problem starts.
      When i home each axis it goes well and also when i home all. But after homing all i get the following error message:
      G28
      Error: Failed to load height map from file 0:/sys/heightmap.csv: failed to read line from file

      When i try to do a G32 the x-axis wont home, only Y axis, and it goes to far, with a rattling noise as a result.
      After a few seconds it starts the bed leveling, and it goes what seems like random over the bed but only in the middle and left side and does 6 points and after that i get this message:
      G32
      Error: in file macro line 13 column 26: G30: expected number after 'S'

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @Gubbfittan
        last edited by

        @Gubbfittan Please post your config.g, homeall.g, bed.g, and response to M115. Regarding the heightmap, I expect you just need to create a new one, but let's get the other things fixed first. If you want to post the current heightmap.csv too, I can have a look to see if there's an obvious error.

        Also, can you make a diagram of your printer, showing where the endstops are, where X0 Y0 is, direction of travel for X and Y axis when positive movements are sent, size of the bed etc? Because it sounds like the endstops may be set to axis minimum positions, when they should be maximum.

        Finally, test the endstops for correct operation: see https://docs.duet3d.com/en/How_to_guides/Commissioning#h-8-check-endstops

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        Gubbfittanundefined 1 Reply Last reply Reply Quote 0
        • Gubbfittanundefined
          Gubbfittan @droftarts
          last edited by

          @droftarts
          Thanks for a quick reply.
          I will do what you requested in the order you asked, otherwise i will forget half of it 😉

          Here is config.g

          ; Configuration file for Duet WiFi (firmware version 3)
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Sep 12 2020 23:38:42 GMT-0500 (Central Daylight Time)
          
          ; General preferences
          G21                                                ; Work in millimetres
          G90                                                ; send absolute coordinates...
          M83                                                ; ...but relative extruder moves
          M550 P"Bullfittan"                     ; set printer name
          ;M81                                                ; start with PSU off
          
          ; Network
          M552 S1                                            ; enable network
          M586 P0 S1                                         ; enable HTTP
          M586 P1 S0                                         ; disable FTP
          M586 P2 S0                                         ; disable Telnet
          
          ; Drives
          M569 P0 S0                                         ; physical drive 0 goes forwards - X
          M569 P1 S0                                         ; physical drive 1 goes forwards - Y
          M569 P2 S0                                         ; physical drive 2 goes forwards - Z
          M569 P3 S0                                         ; physical drive 3 goes backwards - Left
          M584 X0 Y1 Z2 E3                                   ; set drive mapping
          M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
          M92 X94.117647 Y94.117647 Z400 E99.06              ; set steps per mm
          M566 X480 Y480 Z400 E1200                          ; set maximum instantaneous speed changes (mm/min)
          M203 X12000 Y12000 Z800 E3000                     ; set maximum speeds (mm/min)
          M201 X500 Y500 Z150 E2000                          ; set accelerations (mm/s^2)
          M906 X700 Y700 Z300 E700 I30                       ; set motor currents (mA) and motor idle factor in per cent
          M84 S30                                            ; Set idle timeout
          
          ; Axis Limits
          M208 X-111 Y-75 Z0 S1                              ; set axis minima X=45mm ut kommer bädden Y=12mm ut kommer bädden
          M208 X150 Y75 Z150 S0                              ; set axis maxima 
          M564 H0                                            ; Allow unhomed movement
          
          ; Endstops
          M574 X2 S1 P"!xstop"                               ; configure active-high endstop for high end on X via pin !xstop
          M574 Y2 S1 P"!ystop"                               ; configure active-high endstop for high end on Y via pin !ystop
          
          ; Z-Probe
          M558 P9 C"^zprobe.in" H5 F100 T2000                ; Setup BLTouch, set dive height, probe speed and travel speed
          M950 S0 C"exp.heater3"                             ; Link GPIO/Serve pin
          G31 X37 Y-12 Z1.668 P25                            ; Set probe offsets
          ;M557 X-70:140 Y-65:65 S10:10                       ; define mesh grid  (21x13)
          M557 X-70:140 Y-65:65 S30:26                       ; define mesh grid  (7x5)
          
          ; Heaters
          M308 S0 P"bedtemp" Y"thermistor" T100000 B4066     ; configure sensor 0 as thermistor on pin bedtemp
          M950 H0 C"bedheat" T0                              ; create bed heater output on bedheat and map it to sensor 0
          M307 H0 B1 S0.90                                   ; enable bang-bang mode for the bed heater and set PWM limit
          M140 H0                                            ; map heated bed to heater 0
          M143 H0 S120                                       ; set temperature limit for heater 0 to 120C
          
          
          M308 S1 P"e0temp" Y"thermistor" T100000 B4066
          M950 H1 C"e0heat" T1                              ; create nozzle heater output on e0heat and map it to sensor 1
          M307 H1 B0 S1.00                                   ; disable bang-bang mode for heater  and set PWM limit
          M143 H1 S280                                       ; set temperature limit for heater 1 to 280C
          
          ; Fans
          M950 F0 C"fan0" Q500                               ; create fan 0 on pin fan0 and set its frequency
          M106 P0 S0 H-1                                     ; set fan 0 value. Thermostatic control is turned off
          M950 F1 C"fan1" Q500                               ; create fan 1 on pin fan1 and set its frequency
          M106 P1 S1 H1 T45                                  ; set fan 1 value. Thermostatic control is turned on
          
          ; Tools
          M563 P0 D0 H1 F1                                   ; define tool 0
          G10 P0 X-34.04514634972721 Y0.29743029572304586 Z0 ; Set tool 0 axis offsets
          G10 P0 R0 S0                                       ; set initial tool 0 active and standby temperatures to 0C
          
          ; Custom settings
          M671 X-52:0:48 Y62:-68:62 P0.5                     ; level screw locations and screw pitch type
          
          ; Miscellaneous
          M575 P1 S1 B57600                                  ; enable support for PanelDue
          
          M501                                               ; load overrides
          T0
          

          Here is homeall.g

          ; homeall.g
          ; called to home all axes
          ;
          ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Sep 12 2020 23:38:42 GMT-0500 (Central Daylight Time)
          G91                   ; relative positioning
          G1 H2 Z5 F6000        ; lift Z relative to current position
          G1 H1 X266 Y155 F1800 ; move quickly to X or Y endstop and stop there (first pass)
          G1 H1 X266            ; home X axis
          G1 H1 Y155            ; home Y axis
          G1 X-5 Y-5 F6000      ; go back a few mm
          G1 H1 X266 F360       ; move slowly to X axis endstop once more (second pass)
          G1 H1 Y155            ; then move slowly to Y axis endstop
          ;G1 H1 Z-155 F360      ; move Z down stopping at the endstop
          
          ; -- Begin bed probing
          G90                   ; absolute positioning
          M561 				  ; Disable any existing mesh compensation
          G1 X-37 Y12 F1800     ; Move probe to center of bed
          M558 F400             ; Speed up probe to make homing faster
          G30                   ; Probe
          M558 F100             ; Slow back down to normal speed for accurate probe
          G30                   ; Probe again
          
          ; -- Load mesh compensation
          G29 S1
          

          Here is bed.g

          ; bed.g
          ; called to perform automatic bed compensation via G32
          ;
          ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Sep 12 2020 23:38:42 GMT-0500 (Central Daylight Time)
          M561 ; clear any bed transform
          ; Probe the bed at 7 points
          G30 P0 X0 Y84.9 H0 Z-99999
          G30 P1 X73.53 Y-42.45 H0 Z-99999
          G30 P2 X-73.53 Y-42.45 H0 Z-99999
          G30 P3 X0 Y42.4 H0 Z-99999
          G30 P4 X36.72 Y-21.2 H0 Z-99999
          G30 P5 X-36.72 Y-21.2 H0 Z-99999
          G30 P6 X0 Y0 H0 Z-99999 S
          

          Here is M115

          FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.4.5 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2022-11-30 19:36:12
          

          Regarding the heightmap i dont have a heightmap.csv
          I tried to just create a file named "heightmap.csv" but that did not help anything.
          My skills in paint is not good, but here it goes:
          ![https://ibb.co/kMjqzw5](image url)

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @Gubbfittan
            last edited by

            @Gubbfittan That looks like a bed.g file for a Delta printer, not a Cartesian machine. Generally, bed.g is used for levelling the bed plane with 3 points on Cartesian machines which have multiple independent motors on the Z axis (as you appear to have), or for using bed adjustment screws on machines with a single Z motor; see https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_auto_levelling

            RepRapFirmware used to support Cartesian bed levelling using G30, but only supported up to 5 points, and has now been removed from the firmware, and bed mesh levelling is used instead.

            The heightmap error may just be that there is no heightmap.

            From your diagram, it looks like your endstops are set up correctly, so I think the error is the number of points you are probing in bed.g. Follow the instructions I linked above to create a new bed.g file.

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            Gubbfittanundefined 1 Reply Last reply Reply Quote 0
            • Gubbfittanundefined
              Gubbfittan @droftarts
              last edited by Gubbfittan

              @droftarts
              Hi and sorry for late reply! I realy appreciate your help.
              The machine only has one Z-motor.
              Strange about the bed.g. It is supposed to be a config for this printer.
              Anyhow,the printer only have one motor for Z and a BLTouch.
              So i think the guide you refer to does not apply ?
              Sorry if i ask dumb questions, English is not my native language.

              Phaedruxundefined 1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @Gubbfittan
                last edited by

                @Gubbfittan said in Flashforge creator pro ---> Duet 2 wifi:

                Anyhow,the printer only have one motor for Z and a BLTouch.
                So i think the guide you refer to does not apply ?

                If you only have a single motor you could do the manual leveling assistant which would tell you how much to adjust your bed screws to get it level. And/or use the mesh compensation to map out the surface of the bed and adjust on the fly during a print.

                https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_manual_levelling

                https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_mesh_bed

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA