Hello Guest it is April 25, 2024, 05:38:32 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 - Ron Ginger

851
Newfangled Solutions Mach3 Wizards / Re: New Teach wizard
« on: April 26, 2007, 09:43:49 AM »
Sorry, but I do not understand your problem- CopyCat looks for the license at the end of a run, and does not return the code to Mach unless there is a license. You can run it without a license, you just cant save the file.

can you tell me more about what you see?


852
Newfangled Solutions Mach3 Wizards / Re: Cannot change values (Fields)
« on: April 22, 2007, 09:52:02 PM »
The license is onlychecked at the time the wizard returns conrol to Mach, it does not affect button press.

The usual reason for fields chaning back in not pressing enter. Are you sure you are pressing enter? is it the main enter on the big keyboard or is it an enter key on a numeric keypad?

853
General Mach Discussion / Re: Momentary Outputs
« on: April 14, 2007, 02:01:43 PM »
I would do something like this:

call ActivateSignal(SigNo)
code "G4 p1"
while IsMoving
Wend
call DeActivate Signal(SifNo)

The G4 value is in seconds. The While IsMoving is needed to make Mach wait until the code has completed before returning.


854
I have also had troubles with the editor. When you get an error and VB opens the edit box it seems to be called 'hiddenscript' if you edit there and save it it does not put that code back into the button script. Always simply take note of the error, then close that box and re-open the edit with the menu item to edit button script.

Note also that you should do the 'Save current screen layout' after every edit. Vb has a maddening habit of crashing Mach after several minutes editing VB code. I have had this happen many times while working on wizards, I suspect it some kind of memory leak problem, but it seems if you use the edit button script enough times in one session it will eventually crash.

I always select, copy, then paste my code into a text file. That also helps create a documentation file you can print.

855
General Mach Discussion / Re: newfangled problem
« on: April 07, 2007, 11:19:14 AM »
I think you have a problem! There are several things in the VB implementation that just assume its installed in C:\Mach3. I dont think there is any way to fix it all, certainly not anything I can do from within the VB code.

What script did you change to look at Drive D: ?

Does Mach work OK for all its other functions?


856
Newfangled Solutions Mach3 Wizards / Re: cut gear and cut spline
« on: April 04, 2007, 08:04:10 PM »
I recently fixed a bug in the gear cutter. It was not adding in the tool radius, but it otherwise was generating good code. Be sure you select one of the 4 views in the upper right corner that define which setup you are using- cutter in front or back or work and direction of travel.

My corrected wizard has been sent to Art to include in the next Mach release, but I think it arrived just about the time he left on vacation. It should be in the next release.

The code generated does uses a subroutine for the Y moves, the code you see in the gcode box is just the main routine. The subroutine is placed in teh Subroutines folder and is called Index.tap

I have not looked at the spline wizard yet, but I have heard it has a lack of features. I will be looking at it soon

ron ginger

857
General Mach Discussion / Re: Button Script - Question
« on: April 04, 2007, 07:51:44 PM »
There is no way to do that- Mach wont actually start the VB code until the button is released, as is true of all windows buttons. Try clicking on a button, then dragging the mouse off before you release it.  YOu willnot do the buttons function.

ron ginger

858
VB and the development of wizards / Re: Macros, Reading of.
« on: April 04, 2007, 07:46:01 PM »
You can also simply open them with any text editor, like notepad. They are simple text files. Do NOT use a word processor program, they will likely introduce formatting characters that will prevent the macros from running in Mach

Using the VB editor function will allow you to actually run the code for debugging.

859
Please tell me what version of the wizards you are running- the version number shows in the top right corner of the first screen.

I cannot repeat this problem on the latest version, or on my most recent update.

thanks

ron ginger

860
Ok, That is the code for the preview button of the hole circle wizard. It is the correct code.

I have run this wizard several times, with your numbers, and it has never given me an error.

Line 33 is checking the Q value, which will be the peck depth to be sure it is  not zero. You said you entered -.250, which should pass the test. The number is taken form a DRO, which can only be a numeric value, and its comparing to a numeric constant, so I dont see how any type mismatch can occur.

I see no error and cannot understand why you see one.

Does the Post Code button work OK? Thats what matters, not the preview.

Im also confused that you can see this code. The wizards are protected by a password, if you select 'edit button script' from the menu you ought to be required to enter a password. How are you getting to this code? What mach version are you using?

Its not related to this problem, but I think you may be making an error on the tool selection screen. Before you press Continue you should press the button to calculate the chip load and the feed. Unless you press that button you will be using whatever value was last saved, not the one you are just entering. You also said Feed% was zero- that is not allowed, and if you had pressed the calculate feed button you should have seen an error message for that.

Sorry I cannot repeat this error, I have no way to tell whats happening to your system.

ron ginger