Hello Guest it is March 29, 2024, 05:00:41 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - leversole

Pages: « 1 2 3 4 5 6 7 8 9 10 11 »
61
VB and the development of wizards / VB Script triggered by Gcode?
« on: January 25, 2016, 05:51:40 PM »
Looking around in here and a lot of posts have to do with automatic tool changing...I do not have this but it got me thinking...can you make a script run when the Gcode gives certain commands, like M6 (tool change)? May be old hat to you guys, but it would be cool on my Ox style CNC router to move to the front of the machine (couple of user DRO positions), and wait for me to change the tool, press a button, move to the next location in the cut, touch off the Z axis, then take off. That would be way cool! I was just looking at my Gcode and I do not see a command to turn of the spindle when the M6 command comes up, but Mach3 turns it off so there must be some "hook" to know that a tool change needs to occur...if there are previous posts that explain this point them out and I will read them...

Thanks
Leslie

62
Mach Screens / Re: Redraw toolpath
« on: January 23, 2016, 05:01:00 PM »
You are right! I guess experience is the BEST teacher! It is good though tath others can learn and spark new ideas from other's exchanges!

63
Mach Screens / Re: Redraw toolpath
« on: January 23, 2016, 04:52:30 PM »
It should be
DoOemButton rather than just DoButton.
Hood

Cool! Was looking thru the VB wiki and saw OEMButton, figured I would try it and it worked! I came back here to let everyone know, and saw your post! Also removed the sleep as not needed!

Thanks ALL

64
Mach Screens / My screen
« on: January 23, 2016, 04:30:13 PM »
Been playing with MachScreen, learned a lot by looking at others screens and getting good answers on the forums...This screen matches the way I work my router...I am pretty impressed with it...Like the 2010 screen set, I like the wndows look...I have not used it for real yet, but I have run many simulations, tool changes, touch probing the Z, etc...I like it!


65
Mach Screens / Re: Redraw toolpath
« on: January 23, 2016, 04:09:26 PM »
Tried it, no change...

value = GetParam("Boundry")
if  value = 1 then
  SetParam "Boundry" , 0
Else
SetParam "Boundry" , 1
End If
sleep(1000)
dobutton(160)

66
Mach Screens / Re: Redraw toolpath
« on: January 23, 2016, 03:27:21 PM »
I duplicated them, just trying to get one button to change AND regen the toolpath...I got the idea from a youtube mach help video...the person had one button that redrew the toolpath window whne he changed the toolpath to show the table limits....

My two buttons work like the 1024 set, jsut trying to make if one button? DOnt know why the last line (dobutton(160)) is not working...

67
General Mach Discussion / Offsets strange behaviour
« on: January 23, 2016, 02:34:40 PM »
I have G55 offsets set to X+2.000 and Y+2.000...when I select G55, the DROs show -2 on X and Y as expected...if I then go to zero (G0 Y0X0) it moves to .0061 on both axis, and when I check the machine position, it shows 1.9939...I am not currently hooked to any drives, is this a function of the motor settings? Like it cant decel in time? Seems strangwe to me...

Thanks
Leslie

68
Mach Screens / Redraw toolpath
« on: January 23, 2016, 02:26:53 PM »
I hope you guys dont get pi$$ed at all of the questions, I try to search the forums and figure it out myself before I ask!  ::)

I added a button to show or hide the table boundarys, I wanted it to regen after, used the do button 160 code (same code the regen button does),
cant get it to work...

value = GetParam("Boundry")
if  value = 1 then
  SetParam "Boundry" , 0
Else
SetParam "Boundry" , 1
End If
dobutton(160)

69
Mach Screens / Re: Go to user inputs
« on: January 23, 2016, 02:07:30 PM »
Thanks all...the more I think about it, the MDI is the way to go, and, if, I alsways want to go to X2 and Y2, I would use like G55 offset...

70
Mach Screens / Go to user inputs
« on: January 23, 2016, 10:05:42 AM »
Still simulating with Mach 3...can not find any info on using the axis dro to "go to" an entered coordinate...

In simulation, I can enter a number into, say the X axis dro and the toolpath window jumps to the entered coordinate, will this  (in real life) rapid to the new coordinate or is there another way?

I know I can set up fixturing offsets to do the same thing, just wondering about moving an axis to a specific coordinate, that is, enter a number, and have the axis move to that location

Thanks

Pages: « 1 2 3 4 5 6 7 8 9 10 11 »