>
> Hi Stuart,
> Take a look at the spindle speed, gear change for the Mazak
> conversion done at fest.
>
> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?MazakRetro
>
> should get you close.
> the classicladder code is in ..../emc2/configs/mazak_demo/
> mazak_demo.clp
>
> HTH
>
> Dave
>
thanks Dave - this will help a lot
> Hi Stuart
>
> Sounds like you are facing many of the issues we encounter with larger
> retrofits. Certainly your choice of M words to associate with various gears
> is one such set but I caution that these things are not standardized in any
> meaningful way among control vendors. In fact a quick check of wikipedia
> shows them using the following line
>
> G96 S854 M42 M03 M08
>
> and associated description
>
> Variable speed cutting, 854 ft/min, High spindle gear, Start spindle CW
> rotation, Turn the flood coolant on. Notice they use m42 for high gear.
>
> As Dave points out we chose to auto change the gears in the Mazak testbed
> because we lacked a code to specify a change. It is nice however to be able
> to command the gear range separate from spindle speed. I believe that this
> will become more of a demand as we move toward retrofitting larger lathes.
>
> If the choice were mine, I'd much prefer a single command with the value
> immediately after but I know of no controller that curently does this.
>
> For your immediate gear changes you could write a comp for HAL or use a bit
> of ladder and a set of input buttons or vnc to accomplish gear change.
>
> Rayh
>
I will graft(scab) the ladder from the Mazak into my machine.
Chris Radek wrote
>
> I keep seeing this come up - seems like we should do something.
>
> Making some M codes that manipulate some HAL bits is not too hard. As
> Ray says, picking the M codes and figuring out how they should work is
> the hard part.
>
> For instance should they be a group so only one can be on at a time?
> What turns them off? Does M2/M30/% reset them? My machine has 2
> gears, Sam's has 16; maybe the next guy's has 64? What happens if
> you command a gear change while the spindle is running full speed? In
> what order are the M codes run if one of our new ones shares a line
> with other M codes? I bet there are other questions I haven't
> thought of right away.
>
> It would be great if you guys who have experience on a variety of
> machines could come up with a design that has the possibility of being
> flexible enough to run most gearboxes. The wiki would be a great
> place for this collaboration.
>
> I see M codes 10-29, 31-47, 70-99 are currently unused. There are
> some others but those are the big blocks.
>
> Chris
>
My thoughts on standardization run in this direction.
Standards
Standards are great when applied rigorously.
Increase the command space to Gxxxx Mxxxx Sxxxxxxx Oxxxxxxxxxx ... etc.
Force ALL controls and users to use the full space for all commands
G1,G01,G001 are unacceptable - G0001 is the only acceptable command.
This renders all commands unambiguous.
All controls handle each command exactly the same.
Easier said than done?! :) :) :) :)
OTH
A synonym table in every machine giving each machine owner the
ability to stand(bast)ardize the control code set for his machine
tool(s)/shop. I am guilty of wanting this.
We (our industry) have Okuma, Hurco, Mazak and other 'languages'.
These each have their place but they muddy the landscape of standards.
They each will 'accept' a Fanuc style program in the attempt to
ingratiate their machines into the world of standards.
I am looking forward to the day when every machine in my shop has
EMC2 on it. I will then have a standard.
> I just donned my nomex so I'm safe. ;-)
>
> Dave
>
distance is much better than nomex.
16 speeds? I thought 4 was a bunch.
thanks guys
Stuart
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users