Hello Guest it is October 16, 2019, 11:13:19 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 - smurph

681
Mach4 General Discussion / Re: Mach 4 Bug Reports
« on: May 06, 2014, 01:43:57 PM »
If you have an offset in place for the A axis, G81 does have an issue.

The line should wrap in the G code window.  Does it not?  It does on mine but maybe there is something different about your machine.  So check it out and let me know.

Steve

682
Mach4 General Discussion / Re: Mach 4 Bug Reports
« on: May 06, 2014, 03:11:24 AM »
No, that is not a bug.  Brian and I like it!  :)  Actually, it helps us in the development process.  Maybe we can put a switch in to turn it off or something.

683
Mach4 General Discussion / Re: Mach 4 Feature Request
« on: May 06, 2014, 03:05:53 AM »
Most settings are written to the INI file when they are changed.  (All of the Mach config is like this).  This is because they are part of the core and not the GUI.  However, some of the GUI settings are only saved at close.  This is the case for Tool and fixture offsets because they are really just modifying G code parameters.  So no, they are not saved to disk at the time they are modified.

684
Mach4 General Discussion / Re: Mach 4 Feature Request
« on: May 06, 2014, 02:44:18 AM »
Oh, and the keypads are resizable.  Make them as big as you want.  Easy touch screen access!!!  The size is remembered so you don't have to do it every time.  They are also intelligent as to their position.  They try to sit below the DRO so that the changes can be seen.  If the DRO is not in a position on the screen for this to be possible, the keypad will move to another location (above or beside) the DRO.  If all that fails, the keypad will pop up in the upper left corner of the main window.

Steve

685
Mach4 General Discussion / Re: Mach 4 Feature Request
« on: May 06, 2014, 02:41:01 AM »
Dan,

Brett posted a new install in the Announcements and updates thread.  Have a look at it.  I think you will like it.  :)

There is now a choice of editors for the DROs.

1.  In place (with the changes you wanted).
2.  Basic keypad.
3.  Extended Keypad (math funcs).
4.  Read only.

You will have to edit the screen and change the DRO's "Editor" property to get the Keypads.  The in place editor is the default.  Once you change a DRO to the Keypad type editor, you will then have to enable "Auto Calc" (like Mach 3) in the Operator menu.  The setting is persistent. 

Steve

686
Mach4 General Discussion / Re: Mach 4 Bug Reports
« on: May 06, 2014, 02:21:08 AM »
Yes, I did some digging and found the issue.  I really hate GUIs...  :)  It is tested and working.  But thanks for posting that up!  The secret is the Flush().  If you do not call that at the time your app closes, it will destroy the contents of the clipboard.  With a name like Flush() it seems counter intuitive!  So if I ever see an API with flush() in it, I will call it blindly from now on...  

Steve

687
Mach4 General Discussion / Re: Comments about Mach4 in Demo
« on: May 06, 2014, 01:28:37 AM »
HIYA STEVE, I ran itno a problem with this macro. IN the G65 call  Instead of the Parameter "A(#1)" being used to set the starting point angle for the macro Mach4 is trying to rotate the A axis to 45 deg at a VERY slow rate.


    O0008 (Main program)
    N005 G54 G90 S800 M03 T02 F100(Select coordinate system, absolute mode, start spindle, get next tool ready)
    N010 G00 X3.0 Y2.5 (Rapid to center of bolt hole pattern)
    N015 G43 H01 Z.1 (Instate tool length compensation, rapid up to workpiece)
    N020 G65 P1008 X3.0 Y2.5 Z0 R1.75 D0.75 A45.0 H8.0 C81. F50 (Machine entire bolt hole pattern with drilling cycle)
M30


    O1008 (Custom macro to machine bolt hole circle)
    #101=1 (Initialize counter)
    #102=#1 (Initialize current angle to A)
    #103=360 / #11 (Constant for incremental angular distance between holes)
    #104=#26 + 0.1 (Constant for rapid approach plane)
    #105=#26 - #7 (Constant for Z bottom position of hole)
    N1 IF [#101 GT #11] GOTO 99 (Test if loop is finished)
    #110=#24 + COS[#102] * #18 (Calculate X position for current hole based on current angle)
    #111=#25 + SIN[#102] * #18 (Calculate Y position for current hole based on current angle)
    G#3 X#110 Y#111 R#104 Z#105 F#9 (Machine current hole)
    G80 (Cancel cycle)
    #101=#101 + 1 (Step counter)
    #102=#102 + #103 (Step current angle)
    GOTO 1 (Go back to test at loop beginning)
    N099
 M99 (End of custom macro)


(;-) TP

Try running this without an offset on your A axis.  I think this is actually a G81 issue.

Steve.

688
Mach4 General Discussion / Re: Viewing #var values
« on: May 06, 2014, 01:23:04 AM »
You can make a screen page (or even a tab) that displays any G code var you want.  But I am working on a G code var plugin that will pop a floating window up much like the Diagnostics windows for mcRegFile and mcModbus.  Where you can "pin it" as always on top or not.

And I'm working on the #3000 stuff.  Just trying to get the more pressing issues looked at first.

Steve

689
Mach4 General Discussion / Re: Mach 4 Bug Reports
« on: May 06, 2014, 01:16:59 AM »
HIYA Steve,  I noticed that when you cut and paste from the gcode editor it does not always hold the CUT in the buffer and when you leave the Editor to paste it somewhere else the paste is EMPTY. Quirk ?? or made that way ??

Would it be possible in teh Gcode editor to have it ADD a "Newline" when you exit ??? This still gets a lot of newbies.

Just a thought, (;-) TP

Changing the settings in the config does not take effect until "Reset" is pressed.  So look at the modes string to be sure what you think is in effect is actually in effect.  Or, you can code it in your program.

Steve

690
Mach4 General Discussion / Re: Mach 4 Bug Reports
« on: May 06, 2014, 01:06:01 AM »
HIYA Steve,  I noticed that when you cut and paste from the gcode editor it does not always hold the CUT in the buffer and when you leave the Editor to paste it somewhere else the paste is EMPTY. Quirk ?? or made that way ??

Would it be possible in teh Gcode editor to have it ADD a "Newline" when you exit ??? This still gets a lot of newbies.

Just a thought, (;-) TP

The clipboard is destroyed when the editor is closed.  It is the same with the LUA editor.  It is a GUI framework thing for which I have not found and answer.  Yet...

Steve