Welcome, Guest. Please login or register.
Did you miss your activation email?
October 22, 2014, 08:49:28 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »
101  Mach Discussion / Mach Screens / Re: Help me on: June 25, 2009, 02:47:09 PM
Grab the UserDRO's you have on your screen, then call on a Gcode command either adding to the current position using G90 or using incremental G91.

This is the idea, but you might need to check a number of things depending on your application to make sure the G0 call will be safe Wink and/or if you need to return the machine to a G90.

G91 Example:

Code:
amount_to_move =  GetUserDro(1000)
Code "G91 G0 Z" & amount_to_move

G90 Example:

Code:
amount_to_move = GetOEMDRO(802) + GetUserDro(1000)
Code "G90 G0 Z" & amount_to_move

Please first understand your machine and Gcode before running any code on your machine Wink
102  Mach Discussion / VB and the development of wizards / Re: turret tool macro on: June 25, 2009, 02:37:25 PM
Could you try replacing
Code:
code "g4p1"
   with
Code:
sleep(1000)
and let me know if that fixes it.
103  Mach Discussion / Mach Screens / Re: Help me on: June 23, 2009, 03:43:44 PM
Not sure what you are asking, but if you are having trouble "Jogging" the machine you will need to included a "Jog on/off" button.
104  Mach Discussion / VB and the development of wizards / Re: VB Button: Pause and Raise Z on: June 20, 2009, 05:33:36 PM
Thank you for pointing that out...that is my bad!

Code:
'FeedHold
DoOEMButton(1001)

'What mode are we in
mode = GetOEMLed(49)

'Wait for machine to stop
While IsMoving()
Sleep 100
Wend

'Sent command you can use G1 as well if need
Code "G90 G0 Z2"

'If we have changed from abs to inc mode then change back
If mode = true Then
   code "G91"
End If
105  Mach Discussion / VB and the development of wizards / Re: VB Button: Pause and Raise Z on: June 19, 2009, 12:02:15 PM
Yes in ABS it will go down to 2 inchs...so if your machine is at 2.000 and you run the script the machine will just sit there Wink
If you are at 3.000 it will come down/up (depending on your machine)  to 2.000.

If you want to increament in ABS you can:

Code:
DoOEMButton(1001)

'Wait for machine to stop
While IsMoving()
Sleep 100
Wend

'Get current Z
current_Z = GetOEMDRO(802)

'Add 2' to z
inc_z = current_Z + 2

'Sent command you can use G1 as well if need
Code "G0 Z" & inc_z
106  Mach Discussion / VB and the development of wizards / Re: VB Button: Pause and Raise Z on: June 19, 2009, 10:57:49 AM
Hi Anthony,
When you feedhold the machine the amount of time it takes to come to a stop will depend on your motor tuning Accel/Velocity.
You can either change this if your motors permit or use the "stop" (1003) rather than a "FeedHold" (1001)
107  Mach Discussion / Mach Screens / Re: Font size problem on: June 19, 2009, 12:12:09 AM
Yes Mach can do all of those and much more Smiley
Take a look at:
http://www.machsupport.com/MachCustomizeWiki/index.php?title=Main_Page

This will list some of the functions available and how to set/retrieve them.
108  Mach Discussion / Mach Screens / Re: Font size problem on: June 18, 2009, 09:42:22 AM
Try Right click on your desktop/Properties/Advance
Change your Font size to "Normal"
109  Mach Discussion / Flash Screens / Re: Can't get Mach Nation to work on: June 04, 2009, 12:39:53 PM
Sorry I didn see your message!
The flash update will come out around the same time as Mach4 with a number of components/elements.
110  Mach Discussion / General Mach Discussion / Re: Mach XML Reader on: June 04, 2009, 12:37:18 PM
thank you for the feed back Smiley

I will add in a better search words and a few more small features here soon.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!