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

    Euclid facility

    Scheduled Pinned Locked Moved
    General Discussion
    10
    91
    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.
    • A Former User?
      A Former User @A Former User
      last edited by

      retract
      ; ***********************************************************
      ; Euclid Probe Fixed Dock Retract Probe Macro M402
      ; RRF3.x Firmware Example
      ; saveas system/retractprobe.g
      ; comments and echo statements throughout are provided for convenience
      ; ***********************************************************
      ; __________________________________________________________________________
      ; | |
      ; | |
      ; | |
      ; | |
      ; | |
      ; | |
      ; | |
      ; | |
      ; | |
      ; | |
      ; | * Probe Ready Position |
      ; | X150 Y150 |
      ; | |
      ; | |
      ; | * Dock Re-entry staging position |
      ; | X0 Y70 |
      ; | |
      ; | |
      ; | * Dock Exit Position |
      ; | X0 Y40 |
      ; | |
      ; | |
      ; | |
      ; | |
      ; | |
      ; | X0 Y0 X30 Y0 X100 Y0 |
      ; | * Dock * Dock Side * Dock Preflight |
      ; |________________________________________________________________________|
      ;
      ; Above is example 300x300 bed to coorelate with macros and movements below.
      ; This example is for a fixed dock, fixed gantry/carraige and moving bed motion system.
      ; RailCore, Ender5, V-Core3, etc...
      ; coordinates are re-written below above the macros

      echo "running retractprobe.g macro"
      ; uncomment next line to echo the probe deploy state
      ; echo "Object Model Deployuser token =" ^sensors.probes[0].deployedByUser

      ; Preflight position is X100 Y0
      ; Dock Side position is at X30 Y0
      ; Docked probe postion is at X0 Y0
      ; Dock exit point is at X65 Y0
      ; Dock Re-Entry Staging Position is at X0 Y70
      ; Probe Ready Position X150 Y150

      G90 ; absolute positioning

      M564 S0 ; allow beyond limit axis to print area

      if sensors.probes[0].value[0]!= 0
      echo "Probe Value =" ^sensors.probes[0].value[0]
      echo "Object Model Deployuser token =" ^sensors.probes[0].deployedByUser
      abort "retractprobe: Probe not currently picked up!"

      ; echo "pass first logic loop"

      ; uncomment next line to echo the probe value and probe deploy state
      ; echo "Probe Value =" ^sensors.probes[0].value[0]
      ; echo "Object Model Deployuser token =" ^sensors.probes[0].deployedByUser

      G0 X0 Y70 F3000 ; move to ready position
      M400 ; wait for moves to finish

      G0 X0 Y30 F3000 ; move to the entry position for the dock
      M400 ; wait for moves to finish

      G0 X0 Y8.5 F300 ; move into the dock position
      M400 ; wait for moves to finish
      G4 P250 ; pause 250 usecs

      G0 X30 Y8.5 F6000 ; move to the side adjacent to the dock swiping the probe off
      G0 X100 Y8.5 F3000 ; move to the side adjacent to the dock swiping the probe off
      M400 ; wait for moves to finish

      ; uncomment next line to echo the probe value and probe deploy state
      ; echo "Probe Value =" ^sensors.probes[0].value[0]
      ; echo "Object Model Deployuser token =" ^sensors.probes[0].deployedByUser

      G0 X170.0 Y170.0 F6000 ; move to the center of the bed
      M400 ; wait for moves to finish

      M564 S1 ; limit axis to print area

      ; echo "complete movement commands"

      if sensors.probes[0].value[0]!= 1000
      ; echo "Probe Value =" ^sensors.probes[0].value[0]
      ; echo "Object Model Deployuser token =" ^sensors.probes[0].deployedByUser
      abort "retractprobe.g Probe not correctly dropped off in dock!"

      M564 H1 S1 ; Restrict movement to within axes boundaries (for normal Y movement)

      echo "Macro retractprobe.g complete"

      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

      A Former User? 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @A Former User
        last edited by

        homez
        G91 ; relative positioning
        G1 H2 Z5 F6000 S2 ; lift Z relative to current position
        G90 ; absolute positioning
        G1 X152 Y166.4 F6000 ; go to first probe point
        G30 ; home Z by probing the bed

        ; Uncomment the following lines to lift Z after probing
        ;G91 ; relative positioning
        ;G1 Z5 F100 ; lift Z relative to current position
        ;G90 ; absolute positioning

        ; ***********************************************************
        ; Euclid Probe homez.g Example Macro
        ; RRF3.X Firmware Example
        ; saveas system/homez.g
        ; comments and echo statements throughout are provided for convenience
        ; ***********************************************************

        if !move.axes[0].homed || !move.axes[1].homed ; If the printer hasn't been homed, home it
        M98 P"0:/sys/homexy.g"
        M561 ; clear any bed transform
        M290 S0 R0 ; clear baby steps
        G91 ; relative positioning
        G1 H2 Z6 F6000 ; lift Z relative to current position to clear any obstructions
        M400
        G90 ; absolute positioning
        ; echo "Call deployprobe.g macro"
        M401 P0 ; This runs macro file deployprobe
        ; echo "Return"
        G1 X145 Y162.5 F9000 ; go to center of bed in advance of probe that point
        M400
        ; echo "G30 Command"
        G30 ; Probe the bed at the current XY position. When the probe is triggered,
        ; adjust the Z offset of the current tool to make the current position Z=0.
        G1 Z10 ; raise Z=10
        M400
        G4 P500
        ; echo "Call bed4point.g macro"
        M98 P"0:/sys/bed4point.g" ; tram bed
        ; echo "Return"
        G1 X145 Y162.5 F9000 ; go back to the first probe point and reprobe 0 in case it moved
        G30
        ; echo "Call retractprobe.g macro"
        M402 P0 ; retract probe
        ; echo "Return"
        G1 Z10 F600 ; lift Z relative to current position
        G90 ; absolute positioning
        M564 S1 H0 ; reset the bounding limits
        ; G1 X150 Y0 F9000 ; move carraige to center front

        A Former User? 1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @A Former User
          last edited by

          homeall
          G91 ; relative positioning
          G1 H2 Z5 F6000 S2 ; lift Z relative to current position
          G1 H1 X-355 Y355 F6000 ; move quickly to X or Y endstop and stop there (first pass)
          G1 H1 X-355 ; home X axis
          G1 H1 Y355 ; home Y axis
          G1 X5 Y-5 F6000 ; go back a few mm
          G1 H1 X-355 F400 ; move slowly to X axis endstop once more (second pass)
          G1 H1 Y355 ; then move slowly to Y axis endstop
          G90 ; absolute positioning
          G1 X170 Y180 F6000 ; go to first probe point X11.5 Y65.8 Z0 The coordinate put the Z sensor in the center of the bed.
          G30 ; Probe

          ; Uncomment the following lines to lift Z after probing
          ;G91 ; relative positioning
          ;G1 Z5 F100 ; lift Z relative to current position
          ;G90 ; absolute positioning

          A Former User? 1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @A Former User
            last edited by

            m401Capture d’écran 2022-09-09 234023.jpg

            1 Reply Last reply Reply Quote 0
            • PaulHewundefined
              PaulHew
              last edited by PaulHew

              Firstly I would make sure the probe works correctly.

              Get the EndStops Monitor plugin from Here

              Click the 'Plugins' button on left toolbar
              61736896-1f41-4672-ac6d-3826ff6d837a-image.png
              Then click
              3fdf8345-16ce-48a8-8a6c-edbd0d0f3a79-image.png
              Select the file you just downloaded, and install it.

              When it is installed, you need to enable it by clicking the green 'Start' button

              6ccb446e-a3d8-4cbe-9fd5-8e3c314e407c-image.png

              Press 'F5' on your keyboard to refresh the printers webpage.
              go here
              70a47b4b-105f-45b8-9c94-2a1b28ee7cca-image.png
              Click the 'Endstops' tab and it will display the status of your endstops
              49b96a67-cce7-4264-87a5-17184e886c88-image.png

              With the Euclid NOT connected it should say 'Yes' under triggered

              With the Euclid connected and the switch NOT activated your screen should look like this.
              a9e28173-50db-4aa8-9ebb-5bfe6fd7a499-image.png

              Also note the 'Z-Probe' field in the 'Status' box at the top of the screen
              36c49127-c73f-44a9-be28-75b683ad7cee-image.png

              When the Euclid is connected and the switch is NOT depressed it should read 0

              When Euclid not connected it should read 1000 and be high lighted in RED

              cd19c577-e3e9-47bd-819a-1b37acd67401-image.png

              If this is not the case, add a '^' to this line, like mine.

              M558 K0 P8 C"^io0.in" H8 F300 60 T9000 A3 S0.01
              

              Let us know how you get on.

              Regards,
              Paul.

              RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
              Voron 2.4 disassembled..... Waiting for the RailCore Mini....

              A Former User? 1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User @PaulHew
                last edited by

                @paulhew
                no it did not work when the bed goes up and it coughs the probe sensor the bed does not stopCapture d’écran 2022-09-10 094421.jpg

                A Former User? 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @A Former User
                  last edited by

                  Capture d’écran 2022-09-10 094716.jpg

                  A Former User? 1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User @A Former User
                    last edited by

                    it works it detects the probe I changed this line
                    C"^io8.in"
                    C"^io2.in"

                    A Former User? PaulHewundefined 2 Replies Last reply Reply Quote 0
                    • A Former User?
                      A Former User @A Former User
                      last edited by

                      but i get this error when i do home

                      10/09/2022 10:07:04 G28
                      Error: Probe already triggered at start of probing move
                      Error: Probe already triggered at start of probing move

                      1 Reply Last reply Reply Quote 0
                      • PaulHewundefined
                        PaulHew @A Former User
                        last edited by

                        @sgk why are you using 2 io's?
                        Please post your config.g, not just bits of it.
                        Also a picture like below, WITHOUT the Euclid connected.
                        783f2682-bdd7-4e61-b318-8fb3ad7f1fa5-image.png
                        P.

                        RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                        Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                        A Former User? 1 Reply Last reply Reply Quote 0
                        • A Former User?
                          A Former User @PaulHew
                          last edited by

                          @paulhew
                          ; ================ Drives mapping =================

                          M569 P1 S0 ; physical drive 0.1 goes forwards - X driver
                          M569 P2 S0 ; physical drive 0.2 goes forwards - Y driver
                          M569 P3 S1 ; physical drive 0.3 goes forwards - Z1 Right driver
                          M569 P4 S0 ; physical drive 0.4 goes forwards - Z2 Left driver
                          M569 P0 S1 ; physical drive 0.0 goes forwards - extruder driver

                          M584 X1 Y2 Z4:3 E0 ; set drive mapping

                                                             ; ================ Drives settings ================
                          

                          M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
                          M92 X200.00 Y200.00 Z800.00 E693.55 ; set steps per mm - for Matrix extruder:E324.214

                          M566 X500 Y500 Z800 E600 ; Set maximum instantaneous speed changes (Jerk) (mm/min)
                          M203 X20000 Y20000 Z600 E3600 ; Set maximum speeds (mm/min)

                          M201 X1000 Y1000 Z100 E600 ; Set accelerations (mm/s^2)

                          M906 X1350 Y1350 Z1200 E700 I10 ; Set motor currents (mA) and motor idle factor in per cent
                          M84 S60 ; Set idle timeout

                                                       ; ================ Independent Z leveling (original 2 z-axis) =================
                          

                          M671 X-45.0:364.0 Y165.0:165.0 S5.0 ;bed compensation

                                                          ; ================ Axis Limits ====================
                          

                          M208 X-3.50 Y0 Z0 S1 ; Set axis minima
                          M208 X330 Y320 Z350 S0 ; Set axis maxima

                                                       ; ================ Endstops =======================
                          

                          M574 X1 S1 P"io0.in" ; configure active-high endstop for low end on X via pin io0.in
                          M574 Y2 S1 P"io1.in" ; configure active-high endstop for low end on Y via pin io1.in
                          M574 Z1 S2 ; configure Z-probe endstop for low end on Z

                                                         ; ================ Z-Probe ========================
                          

                          ;M558 P8 C"io2.in" A5 H5 F120 T15000 ; set Z probe type to unmodulated and the dive height + speeds (for Mini IR sensor M558 P8 C"io2.in" A2 H5 F120 T15000)
                          ;M558 K0 P5 C"io8.in" H8 F300 60 T9000 A3 S0.01
                          M558 K0 P5 C"^io2.in" H8 F300 60 T9000 A3 S0.01 ;
                          ;M558 K0 P5 C"^io2.in" H8 F300 T9000 A3 S0.01 ; K0 for probe 0, P5 for NC switch, C for input pin,

                          ;G31 P50 X-1 Y-20 Z1.444 ; Set Z probe trigger value, offset and trigger height
                          G31 K0 P500 X-27.955 Y-18.716 Z1.033 ; CHECK for LOOSE things first! set Z probe trigger

                          M556 S50 X0 Y0 Z0 ; set orthogonal axis compensation parameters

                          M557 X20:270 Y20:270 P3 ; Define mesh grid

                                                            ; ================ Heaters ==============================================
                          

                          M308 S0 P"temp0" Y"thermistor" A"Bed" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0
                          M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 (if NOT using SSR - delete Q10)
                          M307 H0 R0.312 K0.313:0.000 D13.50 E1.35 S1.00 B0 ; disable bang-bang mode for the bed heater and set PWM limit
                          M140 H0 ; map heated bed to heater 0
                          M143 H0 S100 ; set temperature limit for heater 0 to 100C

                          M308 S1 P"temp1" Y"thermistor" A"Hotend" T107537 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
                          M950 H1 C"out2" T1 ; create nozzle heater output on out1 and map it to sensor 1
                          M307 H1 R2.451 K0.445:0.102 D5.36 E1.35 S1.00 B0 V24.1 ; disable bang-bang mode for heater and set PWM limit
                          M143 H1 S280 ; set temperature limit for heater 1 to 280C

                                                     ; ================ Fans & Lights ==================
                          

                          M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
                          M106 P0 S0 H1 T35 ; set fan 0 value. Thermostatic control is turned on
                          M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
                          M106 P1 S0 H-1 C"Layers Fan" ; set fan 1 value. Thermostatic control is turned off
                          M950 F2 C"out9" Q500 ; create fan 2 on pin out9 and set its frequency (lights)
                          M106 P2 S0.2 H-1 C"Lights" ; set fan 2 value. Thermostatic control is turned off (lights)

                                                            ; ================ Tools ==========================
                          

                          M563 P0 D0 H1 F1 ; 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 ====================
                          

                          M572 D0 S0.05 ;pressure advance Set bowden extruder elasticity compensation for E0
                          M207 S1.5 F3600 Z0.01 ; Set firmware retraction parameters
                          M564 H0 ; Let the Jog buttons work blv: added to allow jog buttons
                          ; ================ Miscellaneous ==================
                          ;M575 P1 S1 B57600 ; enable support for PanelDue
                          M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

                          Capture d’écran 2022-09-10 104241.jpg 3c42b59b-6af7-4984-a76e-bb71bb06e20f.jpg

                          1 Reply Last reply Reply Quote 0
                          • PaulHewundefined
                            PaulHew
                            last edited by

                            when you MANUALLY connect the probe to its dock, does Z-Probe in the dashboard change from a Red 1000 to 0?

                            RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                            Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                            A Former User? 1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @PaulHew
                              last edited by

                              @paulhew YES

                              A Former User? 1 Reply Last reply Reply Quote 0
                              • A Former User?
                                A Former User @A Former User
                                last edited by

                                now it works but when I launch home I have this error and the probe does not feel the bed I would like to make a video but in this forum I cannot put a video

                                A Former User? Norderundefined 2 Replies Last reply Reply Quote 0
                                • A Former User?
                                  A Former User @A Former User
                                  last edited by

                                  @sgk 10/09/2022 10:50:49 Upload of bed.g successful after 0s
                                  10/09/2022 10:50:07 G28
                                  Error: Probe already triggered at start of probing move
                                  10/09/2022 10:49:44 Upload of bed.g successful after 0s

                                  A Former User? 1 Reply Last reply Reply Quote 0
                                  • A Former User?
                                    A Former User @A Former User
                                    last edited by

                                    example when I do g32 the probe does not feel the bed

                                    1 Reply Last reply Reply Quote 0
                                    • Norderundefined
                                      Norder @A Former User
                                      last edited by

                                      @sgk said in Euclid facility:

                                      ...I would like to make a video but in this forum I cannot put a video

                                      Upload video to YouTube and post the link here.

                                      DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                                      Thingiverse

                                      A Former User? 1 Reply Last reply Reply Quote 0
                                      • A Former User?
                                        A Former User @Norder
                                        last edited by

                                        @norder yes ok

                                        A Former User? 1 Reply Last reply Reply Quote 0
                                        • A Former User?
                                          A Former User @A Former User
                                          last edited by

                                          https://youtu.be/8k9bdBqXdbc

                                          1 Reply Last reply Reply Quote 0
                                          • PaulHewundefined
                                            PaulHew
                                            last edited by

                                            So it homes Z OK.
                                            Just the 4 point mesh is the issue?

                                            RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                                            Voron 2.4 disassembled..... Waiting for the RailCore Mini....

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