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

    optical ABL for 6HC OPB 880T51

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    7
    28
    1.0k
    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.
    • oliofundefined
      oliof @Phaedrux
      last edited by

      @Phaedrux think of a bistable mechanism that is triggered by hitting those tabs. So the deployprobe should be a series of moves in front and then to touch the tab, and the retract probe should be a similar series of moves, just to the other tab.

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

      rexxundefined 1 Reply Last reply Reply Quote 1
      • BoAundefined
        BoA
        last edited by

        https://hotends.dozuki.com/Wiki/TouchMI_Sensor(EN)

        1 Reply Last reply Reply Quote 0
        • rexxundefined
          rexx @oliof
          last edited by

          @oliof

          exactly!
          any chance you have an example for me i am new with codes by far and could use a hand

          oliofundefined 1 Reply Last reply Reply Quote 0
          • oliofundefined
            oliof @rexx
            last edited by oliof

            @rexx

            Here is how I envision it, with a lot of assumptions you need to double and triple check on your machine. All distances are for the sake of the example and since I know nothing about your machine are just to make maths easier to explain the process.

            Assuming you have left handed coordinate system with the coordinate origin at the front left, and a 250x250mm bed, with the "deploy tab" 10mm behind the bed on the left hand side, and the "retract tab" 10mm behind the bed on the right hand side. The tabs are inset 5mm from the edge of the bed on the left hand side, and 30mm from the edge of the bed on the right hand side, and the mechanism is to the left hand side of your nozzle with an X offset of 25mm and the probe actuator in line with the probe.

            I assume you have a z endstop and the tab activation height is 10mm.

            your deployprobe.g would look somewhat like this.

            G28                         ; home all axes before deploying
            M400                        ; clear movement queue
            M913 X30 Y30                ; reduce motor current for safety 
            M208 Y0:262                 ; extend Y axis for probe actuation
            G0 X125 Y125 Z10 F600       ; move toolhead to safe position 
            G0 X30                      ; move  toolhead to trigger position X-- tab position (5) plus probe offset (25)
            G0 Y260                     ; move  toolhead to trigger position Y 
            G0 Y220                     ; back off from trigger tab
            G0 X150 Y125                ; move toolhead so deployed probe is at center of bed
            M400                        ; clear movement queue 
            M208 Y0:250                 ; reset Y axis for printing
            M913 X100 Y100              ; reset motor currents to standard
            

            your retractprobe.g would look somewhat like this

            M400                        ; clear movement queue 
            M913 X30 Y30                ; reduce motor current for safety 
            M208 Y0:262                 ; extend Y axis for probe actuation
            G0 Y125 X245 Z10   F600     ; move toolhead to trigger position X -- tab position (220) plus probe offset (25)  
            G0 Y260                     ; move toolhead to trigger position Y
            G0 Y220                     ; back off from trigger tab
            G0 X150  Y125               ; move toolhead to center of bed
            M400                        ; clear movement queue
            M208 Y0:250                 ; reset Y axis for printing
            M913 X100 Y100              ; reset motor currents to standard
            

            Again, this is completely hypothetical and may or may not work for your machine.

            The whole thing could be made smarter with metacommands (for example only homing if an axis is not homed), and if you have a way to check whether actuation works (for example by closing a contact that is set up as a trigger, setting a global variable depending on whether it is set or not) this could be made relatively safe. Before you blindly add code snippets, run them line by line and have a hand on the emergency stop button on every step.

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

            rexxundefined 2 Replies Last reply Reply Quote 1
            • A Former User?
              A Former User
              last edited by A Former User

              This post is deleted!
              rexxundefined 1 Reply Last reply Reply Quote 1
              • A Former User?
                A Former User
                last edited by A Former User

                This post is deleted!
                rexxundefined 2 Replies Last reply Reply Quote 1
                • rexxundefined
                  rexx @oliof
                  last edited by

                  @oliof
                  exactly what i was looking for thank you! and i understand to check my work and is only for example only so i can read backwards saving me decent time catching on faster
                  its not rocket science i get that but overwhelming at first and ever changing so this in is much appreciated!

                  Cheers

                  oliofundefined 1 Reply Last reply Reply Quote 0
                  • oliofundefined
                    oliof @rexx
                    last edited by

                    @rexx we all started out somewhere (-:

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

                    1 Reply Last reply Reply Quote 1
                    • rexxundefined
                      rexx @A Former User
                      last edited by

                      @arnold_r_clark
                      Reguars thank you for that

                      this is perfect
                      the new guys(me) love the little things and your help is appreciated here

                      should you be interested in helping remote for compensation i would be interested in that sould you be.

                      and if i am stepping over the rules here i applogize and will retract if found inappropriate (DC42 and friends)

                      i feel i will be able to hash it out but its gonna be a long curve i would like it a bit straighter..

                      thank you Arnold

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

                        @arnold_r_clark DSC_0732.JPG DSC_0733.JPG DSC_0731.JPG

                        here is the abl i am using

                        the bar on this ABL is hit with tabs deploying the pin another tab is hit to return the probe
                        at the top you can see the pin to switch intersection is fixed an PCB OPTICAL will not fit this part unless i modifiy but not sure that is ideal the mounting is tiny tiny.... of course and would not fit unless i sepetate the pcb out board....hummmm

                        thanks for your efforts

                        Cheers

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

                          @arnold_r_clark

                          i just re read your post to "correlation" missed that part my bad i understand to implement this and i am good....

                          question: does a 222 resistor and 101 come in an inline form how do you find the impedances to replicate or do you know what the values are for them OR do you think mounting this board remote is a better route

                          either way i get the set up now after looking at the 4 wires switch to 3 wire outs but I only thought there was one resistor needed so that 90%

                          thanks

                          rexxundefined dc42undefined 2 Replies Last reply Reply Quote 0
                          • rexxundefined
                            rexx @rexx
                            last edited by

                            @rexx use a meter dummy....

                            1 Reply Last reply Reply Quote 0
                            • rexxundefined
                              rexx @oliof
                              last edited by

                              @oliof

                              under your deployprobe.g lines 4 and 11 have : full colon yet 8 does not what does this difference mean?

                              if i set the reduce motor current for probing does it mean X30 y30 in the M906 means 30=300 mA each?
                              i have 3 nema 23 and 1 nema 17 so i think i will start at 800mA for the 17 and 1800 mA for the 23... for normal current how does the current reduction work by % or individual axis current set points?

                              DSC_0730.JPG

                              here is the 2 wire optical for xy stops they trigger with no power and a contact multi-metre setting just fine could i possibly use them like a micro switch? IO in and ground

                              they are hamlin 0404 (59085-040)

                              also noticed i think but can you momentarily go outside my X stop to deploy or do i need to move the stop so its with in the stops to deploy?

                              i am getting closer i can smell it and i haven't even plugged in yet 😉

                              oliofundefined 1 Reply Last reply Reply Quote 0
                              • oliofundefined
                                oliof @rexx
                                last edited by

                                @rexx said in optical ABL for 6HC OPB 880T51:

                                under your deployprobe.g lines 4 and 11 have : full colon yet 8 does not what does this difference mean?

                                Lines 4 and 11 are M208 commands. I prefer the syntax variant where I set minima and maxima separated by a colon. Line 8 is a G0 command and the space in the example between Y and 220 is wrong. It should be G0 Y220.

                                if i set the reduce motor current for probing does it mean X30 y30 in the M906 means 30=300 mA each?

                                Good catch, that should have been M913. Sorry for this mistake! I will fix my mistakes now.

                                i have 3 nema 23 and 1 nema 17 so i think i will start at 800mA for the 17 and 1800 mA for the 23... for normal current how does the current reduction work by % or individual axis current set points?

                                With the M913 command as mentioned above.

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

                                rexxundefined 2 Replies Last reply Reply Quote 0
                                • rexxundefined
                                  rexx @oliof
                                  last edited by rexx

                                  @oliof

                                  so with M208 can i go outside the stops momentarily? like 10mm to deploy me ABL?
                                  or must i have the abl inside the stops?
                                  its a hit to deploy and stow and the stow is like 5-10mm past the stop but i could move the trigger tab to accommodate but don't want to if i dont need to.and can pass the stop slightly

                                  my home pos is on the back right
                                  my bed is 235x235x300
                                  is it typical to use 0 for home or better to use closest bed corner from home as 0?

                                  reason is my home pos to the start of the bed is a bit like x30y180 if 0 is home
                                  or am i better to use x-30y-180 for home
                                  or should i just use ocotoprint and forget all this and baby step the numbers that way??and record...
                                  i think my duet 2 is set home 0 bed +##
                                  just trying to get an insight on the best approach here

                                  1 Reply Last reply Reply Quote 0
                                  • rexxundefined
                                    rexx @oliof
                                    last edited by

                                    @oliof no applozies needed

                                    oliofundefined 1 Reply Last reply Reply Quote 0
                                    • oliofundefined
                                      oliof @rexx
                                      last edited by

                                      @rexx it depends where the endstops are and if you can physically pass them by. also depends on the length of you trigger leg if you actually need to pass them by. Without more detailed photos of your printer I'll probably give misleading answers.

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

                                      rexxundefined 2 Replies Last reply Reply Quote 0
                                      • rexxundefined
                                        rexx @oliof
                                        last edited by rexx

                                        @oliof
                                        good day,
                                        the travel is there the oem setup allowed bump past the stop i have about an inch and only need .5" to tap the abl retract away but at the stop switch its not enough to complete the retract probe tap completely the printer was duel material and nozzzles and now only one so i have extra room

                                        it also may make more simplicity to simply chop the trigger tab down .5" where any home would retract the probe if it was deployed when homing then i only need deploy.g i think...
                                        and i would need to home in a way it goes to the back center (outside the bed) then x's homed as the tabs and slider are to be hit from the side to side not back to front

                                        for deploy similar just the other sides tab but first must be somewhere in the middle of x then to the back not to catch on an angle but side to side for the ABL use only.

                                        when just the x stop is hit can it go 13mm more in that direction being told in the code for only x stop?

                                        1 Reply Last reply Reply Quote 0
                                        • rexxundefined
                                          rexx @oliof
                                          last edited by rexx

                                          @oliof

                                          i will snap a pic soon for you getting close with the wiring

                                          for my abl optical switch if i use a 10k resistor across 5v and gnd guys said series resistor is that diffrent or just the way its wired?

                                          are they directional a typical resistor?

                                          sorry for all the school questions...

                                          the head is back in the machine and its not gonna ever print single wall print with only supports at 2000% (the oem limitations no wall line counts 1 only no turning off supports N/A no raft N/A to revome either the sparse or 100% infil option only is pure sponcership)
                                          now just dont crash it... stay tuned

                                          1 Reply Last reply Reply Quote 0
                                          • rexxundefined
                                            rexx
                                            last edited by

                                            @rexx said in optical ABL for 6HC OPB 880T51:

                                            hamlin 0404 (59085-040)
                                            hey good day
                                            the two wire hamlin switchs are magnetic so A.picture is how they will go correct?
                                            265167db-f965-4739-a1c0-acfa8501f176-image.png

                                            does my opto 4 wire need to be wired like B pic or C picture for use as probe trigger

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