Hello Guest it is March 29, 2024, 12:39:58 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 - Ya-Nvr-No

161
Mach4 General Discussion / Re: Screen Set Ideas
« on: December 09, 2014, 08:01:59 AM »
What did you want to do different in the "Dry Run" from the "Run From Here" feature that already exists?

You had made a Comment that the "Dry Run" was a Replacement for "Run from Here"

http://www.machsupport.com/forum/index.php/topic,28572.msg200712.html#msg200712
Dry Run is working well. It is the replacement for RunFromHere is you want more control.  Other wise you can use the one from the Actions drop down in the screen editor.

Now it looks like a Plugin would be functionally needed to do some of these features, guess as Scott I'm a little confused too. I can do all the same from my screen set but I'm still testing as to if "Dry Run" or Run from Here" knows what is currently active (spindle, coolant, current tool and the tool length set, other set outputs, Cutter comp, etc...) And not having that reference manual to refer too, we as end users are just kicking tires and playing pocket pool.  :)

162
Mach4 General Discussion / Re: Screen Set Ideas
« on: December 08, 2014, 09:58:33 AM »
Was playing around with the Dry run function and noticed that it does not start the spindle, coolant, or pick up the tool changes for my testing.  ???

Is fast at jumping to the line I set and then moving from the last gcode line location after a Cycle Start

163
General Mach Discussion / Re: Dual head offsets.
« on: December 07, 2014, 07:33:13 AM »
Ya-Nvr-No

All the cylinder system is already setted, the return is automatic whem the screw is flat on the panel... i was thinking on using dwell to make the delay, but i found on configuration a delay on M8, that is perfect for this "screw" head  ;) My only problem is with offset  :(

You put the offset on the mach3 config, right?....Them you only put the G54 and G55 with the coordinates of the holes?

Return stroke of your cylinder on a M08 might happen but what turns off the model command M08 other than a M09 or M30? (you have to reset it to use it again) will work but its not industrial robust or efficient. Good luck and have fun.  :)

You put the offset values in "fixture offsets" you just have to know the difference between the spindle and your cylinder center lines.

164
General Mach Discussion / Re: Dual head offsets.
« on: December 06, 2014, 10:44:00 PM »
Not that id do this way,  ;)  but it would work if the cylinder stroke did what you wanted and you just set the delay to what you need

g54 x1 y1 (move to the hole for drill)
g1 z-2 f20 (feed down)
g0 z1

g55 x1 y1 (move to the hole for screw insert)
m08 (cylinder down)
g4 p2 (delay)
m09 (cylinder up)

g54 x10 y10
g1 z-2 f20
g0 z1

g55 x10 y10
m08
g4 p2
m09

165
General Mach Discussion / Re: Dual head offsets.
« on: December 06, 2014, 10:04:30 PM »
Don't see any reason why you can't in mach3 call one head Z and the other A , B or C (or one A the other B) you just don't have some tool offset features but if you zero out each spindle to the tool tip its just numbers. Use linear setup option for the A,B or C axis, not rotary.

It's up to you how you write your programs and setup your machine. The fixture offset still can be used and all you would have to do is edit the second spindle name in a text file. Or use a creative post process.

166
Show"N"Tell ( Your Machines) / Re: The "Mach4" 3D Laser Build
« on: December 06, 2014, 03:14:57 PM »
Waiting on wheels and lots of soldering.  :-\

167
Mach4 General Discussion / Re: Screen Set Ideas
« on: December 05, 2014, 08:07:03 PM »
Added some buttons so I can set the dros to either inch or metric equivalent.
Provided the screen set so you can learn a little and play.
You will have to create the Registers if you want, as those are stored in the machine.ini file on closing.

Take note, this was setup as Inch as the default so if you use metric its up to you to understand the issues and change the formulas to suit.


Update: Played around with some new buttons for scaling and orienting the toolpaths view
sets the toolpath for each tab based on knowing what tab is current

I replaced the screen.set with an updated one showing how its done.

168
Mach4 General Discussion / Re: Trying to get the current Gcode line #
« on: December 05, 2014, 06:58:48 AM »
pulled this right out of one of the plc scripts

local TotalLines = mc.mcCntlGetGcodeLineCount(inst);
local GcodeCurrentLine = mc.mcCntlGetGcodeLineNbr(inst);
local GcodePercent = (GcodeCurrentLine/TotalLines) * 100;

scr.SetProperty('droTotal', 'Value', tostring(TotalLines+1));
scr.SetProperty('droPercent', 'Value', tostring(GcodePercent));
scr.SetProperty('guageGcode', 'Value', tostring(GcodePercent) );

169
Mach4 General Discussion / Re: Screen Set Ideas
« on: December 04, 2014, 10:57:58 PM »
Thanks, I'm trying to show what can be done and create Ideas that other fly with.  :)

Steve your the main man that's making this all possible,  8) Thanks again

this code is what was added to the PLC script, and of course had to make some additions and changes to the screen
I did add some registers to beable to pass the data to other resources.
but it takes very little to get a screen you might like.
 
Code: [Select]
   local valxinch = mc.mcAxisGetPos(inst, 0);
    local valyinch = mc.mcAxisGetPos(inst, 1);
    local valzinch = mc.mcAxisGetPos(inst, 2);
    local valadeg = mc.mcAxisGetPos(inst, 3);
    local metricConvert = 25.40007660663105

    local valxmm = valxinch * metricConvert;
    local valymm = valyinch * metricConvert;
    local valzmm = valzinch * metricConvert;
    hReg = mc.mcRegGetHandle(inst, "iRegs0/xmm");
    mc.mcRegSetValue(hReg,valxmm);
    hReg = mc.mcRegGetHandle(inst, "iRegs0/ymm");
    mc.mcRegSetValue(hReg,valymm);
    hReg = mc.mcRegGetHandle(inst, "iRegs0/zmm");
    mc.mcRegSetValue(hReg,valzmm);
    hReg = mc.mcRegGetHandle(inst, "iRegs0/xinch");
    mc.mcRegSetValue(hReg,valxinch);
    hReg = mc.mcRegGetHandle(inst, "iRegs0/yinch");
    mc.mcRegSetValue(hReg,valyinch);
    hReg = mc.mcRegGetHandle(inst, "iRegs0/zinch");
    mc.mcRegSetValue(hReg,valzinch);
    hReg = mc.mcRegGetHandle(inst, "iRegs0/adeg");
    mc.mcRegSetValue(hReg,valadeg);

    scr.SetProperty('xdro1', 'Units', '0');
    scr.SetProperty('ydro1', 'Units', '0');
    scr.SetProperty('zdro1', 'Units', '0');
    scr.SetProperty('xdro1mm', 'Units', '1');
    scr.SetProperty('ydro1mm', 'Units', '1');
    scr.SetProperty('zdro1mm', 'Units', '1');

    scr.SetProperty('xdro1', 'Value', tostring(valxinch));
    scr.SetProperty('ydro1', 'Value', tostring(valyinch));
    scr.SetProperty('zdro1', 'Value', tostring(valzinch));

    scr.SetProperty('xdro1mm', 'Value', tostring(valxmm));
    scr.SetProperty('ydro1mm', 'Value', tostring(valymm));
    scr.SetProperty('zdro1mm', 'Value', tostring(valzmm));

170
Mach4 General Discussion / Re: Screen Set Ideas
« on: December 04, 2014, 10:46:17 PM »
Kind of liking these new Dual DRO's