Hello Guest it is April 23, 2024, 09:31:29 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

81
Mach4 General Discussion / Re: Screen Set Ideas
« on: September 16, 2015, 09:36:54 PM »
wrote a little test script for under a button that aligns the master slave association.

homing X finds the switches and resets the counts to zero as usual.

then hit the button to auto remap the slave axis, set the counts off (3000 in this example) , it then moves to zero on that axis then sets them back to correct master slave relationships. Happens fast and automatically. Just have to know how many counts they are out.

was not possible till Steve added the API control to set home with a mc.mcMotorSetHomePos call.

Thanks Steve.




82
Mach4 General Discussion / Re: Screen Set Ideas
« on: August 23, 2015, 10:40:48 AM »
Showing multiple stay on top wizards, all seeming to work well with the merging screen set data.

And a Lot of merging of code "screen load" and "PLC" scripts.  8)

83
Mach4 General Discussion / Re: Screen Set Ideas
« on: August 21, 2015, 11:20:41 PM »
Showing that merging screens are possible.

84
Mach4 General Discussion / Re: Screen Set Ideas
« on: July 10, 2015, 06:13:06 AM »
I noticed that recently the API had changed again and screwed up my fixture offset routine.

Took me a while to figure out what changed and how to fix it

But this is the basic script in the PLC and just some basic screen additions, just takes time and not giving up.

Code: [Select]
local var4014 = mc.mcCntlGetPoundVar(inst, 4014);
fixtureNum = (var4014*10)

scr.SetProperty('droFixture', 'Value', tostring(fixtureNum));
if (fixtureNum > 6 and fixtureNum < 127) then
    scr.SetProperty('txtFixture', 'Label', 'G54.1 P' .. tostring(fixtureNum-6));
else
    scr.SetProperty('txtFixture', 'Label', 'G' .. tostring(fixtureNum+53));
end

85
Mach4 General Discussion / Re: Mach 4 Axis Calibration solution
« on: July 10, 2015, 05:51:19 AM »
Chris this idea might work for you if you know how to edit your screen sets, lot less coding and its handy, thanks for the idea and the cool tool you made.

http://www.machsupport.com/forum/index.php/topic,27162.msg211532.html#msg211532

86
Mach4 General Discussion / Re: Screen Set Ideas
« on: July 09, 2015, 02:16:11 PM »
Raining again here so had some time to catch up a little and added this to a screen set this morning, been busy building things this year so Lua is on hold for the most part.

noticed a cool tool by chris and a request he had, so threw this together along with a request for a goto location button someone wanted.
http://www.machsupport.com/forum/index.php/topic,30461.msg211520.html#msg211520

the goto button uses the position in the dro boxes, then next to the box's are buttons that are used from a reference home to a location you drove the axis too. (so yes the axis's have to be referenced/homed)

And then If you update the values in the dro boxes after the move with the know distance traveled, when you press the button they pop up the new corrected count value for that axis.

the last image is the test code I used to create the script under the buttons for the count calculations.

Easy peasy... Have fun  ;) I have more to build

87
Russ do you recognize  these?  ;)

Made a few, and a few extra so I can get back to that Laser build project. (Thanks again for the extrusion)

http://youtu.be/9i8FNma-OlM

damn poor Photo shows the ID hex turned with a single point tool on the lathe.
Video shows the turning, threading, center hole and cross hole operations.


88
Mach4 General Discussion / Re: Mach 4 Feature Request
« on: February 23, 2015, 09:06:07 AM »
f___  BR549 I am a boy not a girl (:-)),

http://www.machsupport.com/forum/index.php/topic,28556.msg200410.html#msg200410

hell, I been confused from way back when you referenced "madam secretary"  ???  ;D

89
Thanks, I still can add two more controllable drives  ;D

here is that macro I wrote, thought others might like to see it or adapt it to their needs.

By changing a couple of variables and making sure where your part hole center line and the hole face is, this will peck at any X Z angle.

https://www.youtube.com/watch?v=I35FEU8EDjk

90
I have a love-hate relationship with these wedge block tool holders.
Found when I added one that the handle interfered with another one.
So I found the angle wrote a macro and machined 3 new holes 90 degrees apart @ 74 degrees in this case. (that must be... China 75 degree)

Now have this machine configured to be setup as a lathe or a mill (in this case I ran it as a mill using X & Z to feed in and out)
z=x
x=y
y=z
c=a
a=b
b=c