Hello Guest it is April 26, 2024, 01:11:47 PM

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 - zealous

61
Mach Screens / Re: Cycle running LED
« on: April 25, 2010, 10:17:04 PM »
I can second that there is a bug when making a call for the current state of the Cycle start LED804.
You might send Brian a email or post on the Yahoo forum.

BTW for a fix for now you can call a Code"M*********" and retrive the correct state of the Cycle start.
Vb is handled diffrently from a button then it is from a Macro.

62
Feature Requests / Re: Warning if in Demo mode
« on: April 24, 2010, 06:57:39 AM »
Yeah, put that code into a Macro file and under "Config/General Logic Configuration" add the macro number to "Initialization String".


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

Code: [Select]
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

64
Flash Screens / Re: My flash screenset with touch and wizards
« on: April 09, 2010, 06:25:30 PM »
Great job, please post this in the "Work in progress" section as well.

65
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 ;) ):

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)

66
Flash Screens / Re: Mach Components AGD
« on: April 01, 2010, 02: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.

67
Works in progress / Re: Any screens that DON'T use bitmaps?!@!?
« on: March 02, 2010, 11:46:09 AM »
Sorry :( I did not mean %50 but %5

68
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 ;)

69
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.

70
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.