Mach 3 tool setter Big-tex version - Page 3


Page 3 of 21 FirstFirst 12345613 ... LastLast
Results 41 to 60 of 416

Thread: Mach 3 tool setter Big-tex version

  1. #41
    Member
    Join Date
    Jan 2009
    Location
    australia
    Posts
    72
    Downloads
    0
    Uploads
    0

    Default

    I second that,
    That Big Texan bloke has given us all a great tool.
    Dale, I hope you get yours sorted out, You will love it.
    Cheers
    Denis



  2. #42
    Registered
    Join Date
    Mar 2009
    Location
    UK
    Posts
    624
    Downloads
    0
    Uploads
    0

    Default

    Hi,

    First big thanks and respect to Ernie and BigTex for this great tool which makes life so so so much easier.

    This my Metric version.

    Denz's metric version i down loaded only changed some of the units to metric, it only altered the initial zero and tool change setup to metric units all the other probe functions were still in imperial units.

    This version changes every probe function to metric, i,ve also made a few changes by adding a few constants at the start of the code to make it easier to change things like feedrate,travel amounts, retract amounts etc by just changing the setting in one place which then gets passed down thru the code where ever needed.

    I use a lot aluminium on my machine and some times things can get a bit tight for room between cutter and top of part which doesn't leave much room for offset plates.
    Because the part is metal i shouldn't need an offset plate and just need to touch part with probe wire and then referance from top of part.
    With the previous version i had this was a problem because if you left the offset plate DRO set to zero it behaved strange.
    So i,ve made it so that it works eithier with or without offset plate and still retracts and sets DRO's like if you used a offset plate.

    I,ve tested every probe function extensively on my machine and it works perfect everytime. . . . BUT.!!
    I,M NO PROGRAMMER SO TEST THIS YOURSELF . . . CAREFULLY.

    I,ve got a few little changes i want to make but it works perfect as is, but i will keep tweaking it and post any updates that i make.

    Cheers
    Dean



  3. #43
    Registered
    Join Date
    Nov 2009
    Location
    uk
    Posts
    68
    Downloads
    0
    Uploads
    0

    Default Video of my set up up using the big tex marco

    I've up loaded a vid to you tube on using the metric macro tool setter. Its been working find most of the time. When I get time I think I'll copy the code back to the normal screen sets as I am not a big fan of the blue screen set, its too busy for my liking. Dean, I've downloaded your screen set I'll give it a try in the next week or two and see if it is more stable then the one I'm using now.

    Regards

    Dale

    web link: [nomedia="http://www.youtube.com/watch?v=VgylyFwoq8s"]YouTube- tool zero probe_0001.wmv[/nomedia]


    <object width="980" height="765"><param name="movie" value="http://www.youtube.com/v/VgylyFwoq8s&hl=en_GB&fs=1&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/VgylyFwoq8s&hl=en_GB&fs=1&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="980" height="765"></embed></object>



  4. #44
    Registered
    Join Date
    Mar 2009
    Location
    UK
    Posts
    624
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Dale gribble View Post
    I've up loaded a vid to you tube on using the metric macro tool setter. Its been working find most of the time. When I get time I think I'll copy the code back to the normal screen sets as I am not a big fan of the blue screen set, its too busy for my liking. Dean, I've downloaded your screen set I'll give it a try in the next week or two and see if it is more stable then the one I'm using now.

    Regards

    Dale
    It works fine for me here all the time, i have 1 little issue that i think is probably more to do with the Machblue set or a mach bug than the probe code.
    I dont use limit switchs only home switchs and use softlimits for limits, for some reason every now and again it mucks up the softlimits and mach gets confused, it's easy to fix i just ref home and everything resets fine it's more of an annoyance than a problem.

    I,m like you with Machblue far too clutterd for me.

    So i,m going to design my own eventually but untill then i,m going to use Hoss's version which i like a lot because of the corner finding probe etc and just copy across the tool change code and stick a few controls on the main screen.

    I really love these probing features i cant belive how much easier it makes working.

    Regards
    Dean.



  5. #45
    Member
    Join Date
    Aug 2004
    Location
    US
    Posts
    2849
    Downloads
    0
    Uploads
    0

    Default

    Will loading this affect my config and motor tuning parameters?

    Thanks,

    Paul



  6. #46
    Registered
    Join Date
    Mar 2009
    Location
    UK
    Posts
    624
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by ViperTX View Post
    Will loading this affect my config and motor tuning parameters?

    Thanks,

    Paul
    No not at all, just make sure you load the right version for the units you use.

    You will love it, it's a great tool.



  7. #47
    Member
    Join Date
    Apr 2006
    Location
    na
    Posts
    1016
    Downloads
    0
    Uploads
    0

    Default add variable for metric or imperial in code?

    suggestion, why cant we have a check box (on the screen ) or a setup.txt file to select metric / imp.

    is would allows use to pick what ever units they like, thus one code to maintain for future upgrade and use variable in the code to switch from metric to imp?

    someone who handy in writing code... can you please.....modify the code so user can select what units there perfer?



  8. #48
    Registered
    Join Date
    Mar 2009
    Location
    UK
    Posts
    624
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by eloid View Post
    suggestion, why cant we have a check box (on the screen ) or a setup.txt file to select metric / imp.

    is would allows use to pick what ever units they like, thus one code to maintain for future upgrade and use variable in the code to switch from metric to imp?

    someone who handy in writing code... can you please.....modify the code so user can select what units there perfer?
    It probably could be done with a button but it would just be the same as loading a screen set i think because of the nature of how they work.?



  9. #49
    Member
    Join Date
    Apr 2006
    Location
    na
    Posts
    1016
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by hemsworthlad View Post
    It probably could be done with a button but it would just be the same as loading a screen set i think because of the nature of how they work.?
    can someone volunteer to make this a simpler "one" code metric / imperal version?



  10. #50
    Member
    Join Date
    Aug 2004
    Location
    US
    Posts
    2849
    Downloads
    0
    Uploads
    0

    Default

    Okay, I've loaded the software and have made the touch plate and made the proper connections to my C11G-BOB. The input status light for Pin 15 turns off whenever the touch plate is touched to the end mill in the spindle.

    I hit the Mach3 Ref All Home button and all the axis home.

    I then press the Initial Zero Setup, so the milling head moves down slowly from the top of the z-axis, does a little stutter step about 4 inches from the touch plate, but continues down...touches the touch plate....backs up a bit and retouches the touch plate....backs up about 1/4 inch...pauses and then the head moves up the z-axis until it trips the z-axis limit switch.

    What am I doing incorrectly?

    Thanks,

    Paul

    I just checked and my SafeZ setting is set to zero, but I'm not sure if that's the reason for the action above.



  11. #51
    Registered
    Join Date
    Nov 2009
    Location
    uk
    Posts
    68
    Downloads
    0
    Uploads
    0

    Default

    Paul,

    The code works by, 1st the tool moves to wards the touch plate @ a fast feed rate, then backs off a small amount, then touches with a slow feed rate. Then the tool backs off an amount thats set in the macro code and then moves over to the fixed touch plate and then repeats the process it did for the mobile touch plate. You may need to alter the amount it backs off after the first touch plate.

    Regards

    Dale



  12. #52
    Registered Big-tex's Avatar
    Join Date
    Jul 2009
    Location
    USA
    Posts
    272
    Downloads
    0
    Uploads
    0

    Default

    You mus edit script as needed.

    Option Explicit 'NOTE: This script is for Inches as Native Units
    Dim xjobcoord
    Dim yjobcoord
    Dim xmachcoord
    Dim ymachcoord
    Dim zmachcoord
    Dim xprobeloc
    Dim yprobeloc
    Dim xtoprobe
    Dim ytoprobe
    Dim PlateOffset
    Dim CurrentFeed
    Dim ZNew
    Dim Zplate
    Dim Zrestposition
    Dim ZMaterialmachcoord
    Dim ZPlatejobcoord
    Dim Zplatetomaterial

    xjobcoord = GetDRO(0) 'get current job coordinate for X
    yjobcoord = GetDRO(1) 'get current job coordinate for Y

    xmachcoord = GetOemDRO(83) 'get current machine coordinate for X
    ymachcoord = GetOemDRO(84) 'get current machine coordinate for Y
    zmachcoord = GetOemDRO(85) 'get current machine coordinate for Z

    xprobeloc = GetUserDRO(1100) 'get X machine coordinate location of the touch plate
    yprobeloc = GetUserDRO(1101) 'get Y machine coordinate location of the touch plate

    xtoprobe = xprobeloc-xmachcoord+xjobcoord 'calculate the X move from the current location to the touch plate
    ytoprobe = yprobeloc-ymachcoord+yjobcoord 'calculate the Y move from the current location to the touch plate

    Rem VBScript To probe In the z axis

    If GetOemLed (825) <> 0 Then 'Check to see if the probe is already grounded or faulty
    Code "(Z-Plate is grounded, check connection and try again)" 'this goes in the status bar if aplicable
    Else
    Code "G4 P1" 'Pause 1 seconds to give time to position probe plate
    PlateOffset = GetUserDRO(1151) 'Get plate offset DRO
    CurrentFeed = GetOemDRO(818) 'Get the current feedrate to return to later

    Rem Probe In the z direction

    Code "F12" 'slow down feedrate to 12 ipm
    ZNew = GetDro(2) - 6 'probe move to current z - 6 inches
    Code "G31Z" &ZNew
    While IsMoving() 'wait for probe move to finish
    Wend

    ZNew = GetVar(2002) 'read the touch point
    Code "G0 Z" &ZNew +.1 'move back to hit point incase there was overshoot +.1
    While IsMoving ()
    Wend

    Rem End add lines

    Code "F4" 'slow down feedrate to 4 ipm
    ZNew = GetDro(2) - .25 'probe move to current z - .25 inches
    Code "G31Z" &ZNew
    While IsMoving() 'wait for probe move to finish
    Wend

    ZNew = GetVar(2002) 'read the touch point
    Code "G0 Z" &ZNew 'move back to hit point incase there was overshoot
    While IsMoving ()
    Wend

    If PlateOffset <> 0 Then
    Call SetDro (2, PlateOffset) 'set the Z axis DRO to plate thickness
    Code "G4 P0.25" 'Pause for Dro to update.
    ZNew = PlateOffset + 1.6315 'calc retract
    Code "G0 Z" &ZNew 'put the Z retract height you want here
    While IsMoving ()
    Wend

    End If

    End If


    This entire code but line needed to be changed is here below

    ZNew = PlateOffset + 1.6315 'calc retract
    plate offset is your plate thickness + 1.6315= equals hight retracted

    edit value 1.6315 to what is needed same goes for retraction after second plate touch off. I hope that helps.



  13. #53
    Registered Big-tex's Avatar
    Join Date
    Jul 2009
    Location
    USA
    Posts
    272
    Downloads
    0
    Uploads
    0

    Default

    Viper are from TX? Dallas area?



  14. #54
    Member
    Join Date
    Aug 2004
    Location
    US
    Posts
    2849
    Downloads
    0
    Uploads
    0

    Default

    Big-Tex,

    Nope from Round Rock just a few miles north of Austin.

    How do I edit the .set file?

    How do I assign the m6 macro to the the button.

    Thanks,

    Paul



  15. #55
    Registered Big-tex's Avatar
    Join Date
    Jul 2009
    Location
    USA
    Posts
    272
    Downloads
    0
    Uploads
    0

    Default

    Paul
    I will be free after 5:30 PM you got my number in PM inbox.

    Brother I used to work in Georgetown just quit that job recently..



  16. #56
    Registered Big-tex's Avatar
    Join Date
    Jul 2009
    Location
    USA
    Posts
    272
    Downloads
    0
    Uploads
    0

    Default

    Another happy customer



  17. #57
    Registered Big-tex's Avatar
    Join Date
    Jul 2009
    Location
    USA
    Posts
    272
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by eloid View Post
    suggestion, why cant we have a check box (on the screen ) or a setup.txt file to select metric / imp.

    is would allows use to pick what ever units they like, thus one code to maintain for future upgrade and use variable in the code to switch from metric to imp?

    someone who handy in writing code... can you please.....modify the code so user can select what units there perfer?
    I already have an ideas in my mind how to do it.....

    Will need a 1 tester for metric.......



  18. #58
    Registered
    Join Date
    Mar 2009
    Location
    UK
    Posts
    624
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Big-tex View Post
    I already have an ideas in my mind how to do it.....

    Will need a 1 tester for metric.......
    I,ll be that man, just let me know.



  19. #59
    Member
    Join Date
    Apr 2006
    Location
    na
    Posts
    1016
    Downloads
    0
    Uploads
    0

    Default

    can someone modify the code to a have check box or setting in a ini file etc.
    to set unit... thus there would be only one source code to up date for
    new realeses if there available



  20. #60
    Registered Big-tex's Avatar
    Join Date
    Jul 2009
    Location
    USA
    Posts
    272
    Downloads
    0
    Uploads
    0

    Cool

    Quote Originally Posted by hemsworthlad View Post
    I,ll be that man, just let me know.
    Will do, count on it!!!!!!!!!!!!!!!



Page 3 of 21 FirstFirst 12345613 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Mach 3 tool setter Big-tex version

Mach 3 tool setter Big-tex version