Mach3 Edge finder buttons

Поділитися
Вставка

КОМЕНТАРІ • 29

  • @mattinkel7342
    @mattinkel7342 5 років тому +1

    Hi Jim , I wanted to add my thanks here in the comments, I saw these videos a while back and well this evening I decided to finally get round to adding these scripts (and the one for the circle centre finder one )to my machine, all work great and its really good to have that functionality,I'm no programmer but managed to get it all up and running. I enjoy learning new stuff and studying your code line by line is a great example to help me further that.. so many thanks sir its much appreciated :)

    • @JimTaylor42
      @JimTaylor42  5 років тому +1

      It is very nice to know that my work is helping people out there. Many thanks

  • @katjakuvaja5892
    @katjakuvaja5892 3 роки тому

    Thank you for sharing, script works! Greetings from Finland

  • @barrikellow9889
    @barrikellow9889 7 років тому

    Thanks for sharing Jim, love your machine.
    Hey guys swap NE for
    in the code when you find Wend it should be on a line of it´s own, hit enter and drop Code down to the next line.

    • @richardking7996
      @richardking7996 6 років тому

      Hi Barri
      Am I right that every line you find NE in it you change to .

  • @АнтонКриволапов-ь1з
    @АнтонКриволапов-ь1з 6 років тому +1

    Hi Jim, your script works. Try to study 6040CNC now, your video helps.
    Thanks from Russia, Norilsk

  • @deanrichards7449
    @deanrichards7449 6 років тому

    Hi Jim, I managed to get it working, but had to copy the text to notepad first, copy the notepad text and then paste into the button script. If i copied direct from the UA-cam page, It just didnt work for some reason. I also got the hole centre script working but to get it working, i had to remove the "Wend" command after the "Code "G0 Y" &YCenter 'rapid move To the center location While IsMoving ()" line, and had to add in a "G0 X" &XCurrent for the return after X move to the right.

    • @JimTaylor42
      @JimTaylor42  6 років тому

      I have tried to implement the same fix as yourself by copying the code into Notepad. When I did this it did not copy the crlf codes for the text. This resulted in the code being one massive block of text with no discreet lines. Did this happen with you? If it did then when you pasted it back to the button script, how did you regenerate the individual lines?

    • @deanrichards7449
      @deanrichards7449 6 років тому +1

      Jim Taylor hi Jim, Yes, it was just one long line. I had to edit it all and put it in sequence, then I ran the script editor which showed the errors I missed. All good now once I deleted the “Wend” command as mentioned.

  • @glenncampbell839
    @glenncampbell839 6 років тому

    Hello Jim,Thank you for sharing. It is much appreciated. Where are you from? I am from New Hampshire USA. Have a great day.

  • @daleksw
    @daleksw 6 років тому

    Certainly one obvious error not far from the start. Where you currently have
    XCurrent = GetDro(0)
    Current = GetDro(1)
    I think you;ll find it works better if you have
    XCurrent = GetDro(0)
    YCurrent = GetDro(1)
    The code 10 ir so lines later
    Rem Probe up
    YNew = YCurrent + 75
    will have much more chance of doing something useful

    • @JimTaylor42
      @JimTaylor42  6 років тому

      Well done. You have spotted a real error. This error is in both the Y direction probes (probe bottom edge and probe top edge). Also, in the 'probe top edge' the 'Rem Prob up' line would be more correct if it was 'Rem Probe down'. Thanks for letting me know.

  • @snlylmz1
    @snlylmz1 6 років тому

    Hi Jim, I copied your script to mach3 which is r2. Working propelry. Thanks.

  • @rienboom
    @rienboom 7 років тому

    Dear Jim,
    I'm 70 and live on Curacao and my English script is not zobest. Very interested in the world, I bought a Chineshe cnc 2030 which works with mach3. I would also like to find the corners easily and have also tried to install your script. Unfortunately, the result is not good. The XY moves all the way but measuring the corners of my totchfinder is not found. Also have no knowledge or experience for writing the script, so a problem. I think you're wondering and I wonder what's wrong with me.
    Regards,
    Rien

    • @JimTaylor42
      @JimTaylor42  7 років тому

      Dear Rien
      Without knowing the configuration of your machine it is difficult to give you advise on your problem. However, here are a few things to think about.
      1. My edge finding system as described in my video, will only find the edges of metal parts unless some kind of electrical contact piece, for the probe to touch, is placed on the part.
      2. The probe or pin mounted in the spindle collet must be electrically connected to the correct input on your cnc breakout board.
      3. You will also need to set the Mach3 probe, port number and pin numbers (input signals) settings correct according to your system.
      4. For a more detailed explanation of how I connect my system for the probing please see my video at: ua-cam.com/video/38bJjcp97QI/v-deo.html - 'Yet another Zero touch probe'.
      I hope that this is of help to you... Oh, by the way, I am 77.

    • @rienboom5538
      @rienboom5538 7 років тому

      Hello Jim, Thanks for your response, have another question. You say in this script to change EN into the two not-equals brackets. What do you really mean?
      Is that X and Y or LH and RH. Both have tried but do not work. Greetings and please hear from you.

  • @juhavuorinen3945
    @juhavuorinen3945 2 роки тому

    Usb bob does not support edgefinder

  • @deanrichards7449
    @deanrichards7449 6 років тому

    Hi Jim, I am only able to get Y axis to work. the other come up with a "Scripter Compile Error" any ideas?

    • @JimTaylor42
      @JimTaylor42  6 років тому

      When you downloaded my code, did you replace all of the instances of 'NE' with '' angle brackets?

    • @deanrichards7449
      @deanrichards7449 6 років тому

      Hi Jim, yes, replaced them all. i also tried the script for the circle (hole) centre finder and got the same errors. Just wondering if there is something missing from the scripts when they were copied to the UA-cam page?

    • @JimTaylor42
      @JimTaylor42  6 років тому

      I don't think so since others that have used it seem to had no problems. Only Barri Kellow found one problem and fixed it - see below. I see that you say that the Y axis works. Have a close look at the other axes and make sure that they follow exatly the same syntax as the Y axis but with only the obvious differences.

    • @BryceDeppeler
      @BryceDeppeler 6 років тому

      for the X axis, put the "Code "F"...." after WEND on a new line. You'll notice that it's like that on the Y axis

  • @firecardenal
    @firecardenal 7 років тому

    Hi Jim.
    Thanks for sharing.
    Actually isnt working. Says Syntax error.
    Can you help me please?
    I have mach3 R2.63
    Thanks a lot.

    • @JimTaylor42
      @JimTaylor42  7 років тому

      My Mach3 is version R3.042.040. I suggest that you upgrade and try again. Good luck.

    • @firecardenal
      @firecardenal 7 років тому

      Thanks Jim for your answer.
      But No. Unfortunately I have not had success with the update.
      When you say change the letters NE. I do not know what to put in that place.
      Could you expand your explanation?
      Thank you very much.

    • @JimTaylor42
      @JimTaylor42  7 років тому

      Sorry that the update did not fix it. As regards the change in the letters NE, I think that you should be replying to barri kellow.