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

deployprobe.g for Euclid not running

Scheduled Pinned Locked Moved Solved
Tuning and tweaking
5
23
1.2k
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
    Adamfilip @jay_s_uk
    last edited by 16 Jun 2022, 14:59

    @jay_s_uk

    I run this after i have already homed

    this is my config if it helps

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.5 on Wed Jan 08 2020 19:38:55 GMT-0500 (Eastern Standard Time)
    ; General preferences
    ;M564 H0 ; allow movement without homing
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"TitanXY" ; set printer name
    M669 K0 ; Motion Kinematics for Cartesian mode
    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet
    ; Drives
    M569 P0 S0 ; X Motor physical drive 0 goes backwards previously P0
    M569 P1 S1 ; Y Motor
    M569 P2 S1 ; Z physical drive 2 goes backwards
    M569 P3 S1 ; E0 Extruder physical drive 3 goes Forwards
    ;M569 P4 S1 ; 2nd Y Motor on E1 Driver
    M584 X0 Y1 Z2 E3 ; set drive mapping , Y is on two drivers. E1 as well
    M350 X16 Y16 Z4 I1 ; configure microstepping without interpolation, previously 32
    M350 E16 I1 ; configure microstepping with interpolation
    M92 X80 Y80 Z800 E409 ; set steps per mm
    M566 X900 Y900 Z50 E1600 ; Set maximum instantaneous speed changes (mm/min) JERK
    M203 X21000 Y21000 Z500 E10000 ; Set maximum speeds (mm/min)
    M201 X2000 Y2000 Z50 E5000 ; Set accelerations (mm/s^2)
    ;M204 P1000 T3000 ; Set printing and travel accelerations
    M906 X1100 Y1100 Z1200 E1200 I30 ; Set motor currents (mA) and motor idle factor in per cent X1400 Y1400 Z1300
    M84 S30 ; Set idle timeout
    M572 D0 S0.01 ; Pressure Advance ; Set idle timeout
    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X300 Y300 Z550 S0 ; set axis maxima
    ; Endstops
    M574 X2 S1 P"!xstop" ; X max active high endstop switch
    M574 Y2 S1 P"!ystop" ; Y max active high endstop switch
    M574 Z1 S1 P"!zstop" ; Z min active high endstop switch
    ;Euclid Settings
    M574 E1 S2
    ;
    M558 K0 P5 C"^zprobe.in" H4 F500 60 T9000 A1 S0.01
    G31 K0 P500 X0 Y-39 Z3.55
    M557 X10:290 Y10:290 S40 ; define mesh grid S86 = Spacing 86mm
    ;Magnetic Filament Monitor
    ;M591 D0 P3 C"e1_stop" S1 ; filament monitor connected to E0_stop
    ;M591 D0 ; display filament sensor parameters for extruder drive 0
    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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
    M140 H0 ; Map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M307 H1 B0 R1.591 C187.0:154.2 D7.57 S1.00 V24.1
    M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M143 H1 S285 ; set temperature limit for heater 1 to 280C
    M307 H1 R1.71 C175.5:157.9 D5.73 S1.00 V24.1
    ;Chamber Temp
    M308 S2 P"Chamber" Y"thermistor" T100000 B4725 C7.06e-8 A"Chamber"
    ; Fans
    M950 F0 C"fan2" Q500 ;create fan 2 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
    ;M950 F2 C"fan1" Q500 ; create fan 2 on pin fan1 and set its frequency
    ;M106 P2 S1 H1 T45 ; set fan 2 value. 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 are not defined
    ;M564 S0 H0 ;disable homing and no limits on movement
    undefined undefined 2 Replies Last reply 16 Jun 2022, 14:59 Reply Quote 0
    • undefined
      jay_s_uk @Adamfilip
      last edited by 16 Jun 2022, 14:59

      @adamfilip it should just run then. I don't see anything wrong with the logic.
      What version of RRF are you running?

      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 2 Replies Last reply 16 Jun 2022, 15:01 Reply Quote 0
      • undefined
        Adamfilip @jay_s_uk
        last edited by 16 Jun 2022, 15:01

        @jay_s_uk

        Board: Duet 2 WiFi (2WiFi)
        Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.1 (2022-06-01)
        Duet WiFi Server Version: 1.26

        1 Reply Last reply Reply Quote 0
        • undefined
          fcwilt @Adamfilip
          last edited by 16 Jun 2022, 15:23

          @adamfilip

          If you have two steppers for the Y axis why do they not appear in your M584 commands?

          Normally it would look like this (based on the comments):

          M584 X0 Y1:4 Z2 E3

          Thanks.

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          undefined 1 Reply Last reply 16 Jun 2022, 15:30 Reply Quote 0
          • undefined
            Adamfilip @fcwilt
            last edited by 16 Jun 2022, 15:30

            @fcwilt actually I use too, its changed to only a signal Y.
            sorry some old notes still linger

            1 Reply Last reply Reply Quote 1
            • undefined
              Adamfilip @jay_s_uk
              last edited by 16 Jun 2022, 15:37

              @jay_s_uk yeah its weird.

              I restarted the machine. did home all.
              ran the macro and nothing.
              not even the first echo statement showed up in console

              undefined undefined 2 Replies Last reply 16 Jun 2022, 15:44 Reply Quote 0
              • undefined
                Adamfilip @Adamfilip
                last edited by 16 Jun 2022, 15:44

                @adamfilip

                I copied the entire deployprobe.g code into a macro and it runs on its own

                so it seems like the deployprobe.g itself isnt being run when asked with
                M401 P1 ;Deployprobe

                undefined undefined 2 Replies Last reply 16 Jun 2022, 15:46 Reply Quote 0
                • undefined
                  fcwilt @Adamfilip
                  last edited by 16 Jun 2022, 15:45

                  @adamfilip

                  Just to provide another point of view.

                  I no longer home things as needed because I found I did not like homing taking place unexpectedly because I had tried to do something that required the printer to be homed, like mount the probe.

                  So now I just check that the printer is homed and abort if it is not.

                  I have a Euclid on one of my printers but I don't use the deploy/retract feature that is part of the firmware. I call my routines to mount/unmount the probe as needed. I have found that for normal operations I can keep the probe mounted except during actual printing. Any operation that needs the probe, such as setting the Z=0 Datum, mounts the probe and leaves it mounted. In the print start code just before actual printing begins the probe is unmounted.

                  Just food for thought.

                  Frederick

                  Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    fcwilt @Adamfilip
                    last edited by 16 Jun 2022, 15:46

                    @adamfilip said in deployprobe.g for Euclid not running:

                    so it seems like the deployprobe.g itself isnt being run when asked with
                    M401 P1 ;Deployprobe

                    Doesn't the firmware track the state of the probe and only run the deploy/retract routines when it thinks it needs to?

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      oliof @Adamfilip
                      last edited by 16 Jun 2022, 15:47

                      @adamfilip If the euclid is your only probe, drop the P1 and only run M401. Alternately, try P0 because your probe definition assignes ID 0.

                      <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                      undefined 1 Reply Last reply 16 Jun 2022, 15:50 Reply Quote 1
                      • undefined
                        Adamfilip @oliof
                        last edited by 16 Jun 2022, 15:50

                        @oliof Thank you both M401 and M401 P0 worked!

                        undefined 1 Reply Last reply 16 Jun 2022, 15:53 Reply Quote 1
                        • undefined
                          Adamfilip @Adamfilip
                          last edited by 16 Jun 2022, 15:53

                          @adamfilip only other error im getting in console is

                          Probe Pickup complete
                          Warning: G3000: Command is not supported

                          undefined 1 Reply Last reply 16 Jun 2022, 15:54 Reply Quote 0
                          • undefined
                            Adamfilip @Adamfilip
                            last edited by 16 Jun 2022, 15:54

                            @adamfilip

                            G90 ; absolute positioning
                            G0 X150 Y150 G3000 ; move to the center of the bed
                            M400 ; wait for moves to finish
                            undefined 1 Reply Last reply 16 Jun 2022, 15:54 Reply Quote 0
                            • undefined
                              Adamfilip @Adamfilip
                              last edited by 16 Jun 2022, 15:54

                              @adamfilip probably just a typo and should be F

                              1 Reply Last reply Reply Quote 2
                              • undefined Phaedrux marked this topic as a question 16 Jun 2022, 17:04
                              • undefined Phaedrux has marked this topic as solved 16 Jun 2022, 17:04
                              19 out of 23
                              • First post
                                19/23
                                Last post
                              Unless otherwise noted, all forum content is licensed under CC-BY-SA