Welcome, Guest. Please login or register.
Did you miss your activation email?
October 24, 2014, 08:28:11 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 »
61  Mach Discussion / Feature Requests / Re: Warning if in Demo mode on: April 24, 2010, 05:57:39 AM
Yeah, put that code into a Macro file and under "Config/General Logic Configuration" add the macro number to "Initialization String".

62  Mach Discussion / Feature Requests / Re: Warning if in Demo mode on: April 23, 2010, 07:13:45 PM
I would run this script when Mach starts up and that should solve the problem:

Code:
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists("C:\Mach3\Mach1Lic.dat") Then
Else
MsgBox "Not Fully Capable In Demo Mode"
End If
Set fso = Nothing
63  Mach Discussion / Flash Screens / Re: My flash screenset with touch and wizards on: April 09, 2010, 05:25:30 PM
Great job, please post this in the "Work in progress" section as well.
64  Mach Discussion / General Mach Discussion / Re: Need help from Mach programmer or advanced user on: April 08, 2010, 04:38:14 PM
The "Remembered position" grabs the current X,Y,Z,A and on Start will position the machine back before running the file.
You could have a variable that stores the current position when the FeedHold LED is active and the machine has stopped moving, then on the "Start" button issue a Gcode command to return to that position and then start to run the file again. You might just do VB in FLash or call on a macro with this code in it for example ( BTW: You may not want to move the Z this way, the code is just the idea of how to do it Wink ):

Something like this:

On The Feed hold button

'FeedHold
DoOemButton(1001)

'Wait for machine to stop
While ISMoving()
SLEEP(250)
Wend

'Store location
SetUserDRO(2000,GetOEMDRO(800))
SetUserDRO(2001,GetOEMDRO(801))
SetUserDRO(2002,GetOEMDRO(802))


==On the Start Button==

If(GetOEMLED(805) Then

storedX = GetUserDRO(2000)
storedy = GetUserDRO(2001)
storedz = GetUserDRO(2002)

Code("Go X" & storedX & "Y" & storedy & "Z" & storedz)

'Wait to move back
While ISMoving()
SLEEP(250)
Wend

End IF

'Run File
DoOEMButton(1000)
65  Mach Discussion / Flash Screens / Re: Mach Components AGD on: April 01, 2010, 01:48:29 PM
Yes that is true, you will need to have the Gcode on each page. You can place it off the "Stage" out of view.
I can update the Gcode so you don't have to do that, but will not be able to get to it till next month.
66  Mach Discussion / Works in progress / Re: Any screens that DON'T use bitmaps?!@!? on: March 02, 2010, 11:46:09 AM
Sorry Sad I did not mean %50 but %5
67  Mach Discussion / Works in progress / Re: Any screens that DON'T use bitmaps?!@!? on: March 01, 2010, 11:46:40 PM
Vector Graphics are completely different from bitmaps. Rather than a collection of dots, vector images are mathematical formulas. Think about it like instead of remembering all the dots of a circle (in a bitmap format) you just say: a circle with a 3 units radius, I think you get the idea now.The formats include: ai, cdr, dxf, emf, svg and swf.
Because of the nature of vector graphics, they generally have smaller file size than bitmaps (just formulas not info about every dot in the image). They are so easy resizing, double the circle size, the software just has to modify the formula from a circle with 3 units radius; to a circle with 6 units radius and you'll get very sharp new image without any loss in quality and in a double size. Fonts are a good example of vector graphics no matter how you enlarge your font, it will look very sharp.

I can also tell you that I can use 10,000 wacth function like the macro pumps in Mach at the cost of 1 macro pump in VB by mach for the same CPU usage Wink
68  Mach Discussion / Works in progress / Re: Any screens that DON'T use bitmaps?!@!? on: March 01, 2010, 08:29:48 PM
if it is a simple GUI let me know and I will make it up for you.
69  Mach Discussion / Works in progress / Re: Any screens that DON'T use bitmaps?!@!? on: March 01, 2010, 07:53:07 PM
Flash uses vector, there is a Mach.swf screen in the Flash folder that you can load. Flash will use %50 less Ram and CPU then redering bitmaps.
70  Mach Discussion / VB and the development of wizards / Re: For Loops inside of If Statement Help Please on: February 13, 2010, 11:46:14 PM
BTW: I just noticed the "_" to resolve the Compile Error syntax error...but haven't looked at if what code you have will work  Grin So go with whatever Dave has for you Smiley
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!