RE: Analog Spindle
Dave, and anyone interested in the emc interpeter,
Please take a look a the following manual:
http://www.isd.cme.nist.gov/personnel/kramer/publications.html#RS274NGC3
Unless I am mistaken, it would appear that the emc interpeter is more
complete than we using it.
The S**** command for speed is ready to be used (I think) - just how can I
direct it?
The other functions that I am interested in are also there. Like clamping
outputs at the end of motion to hold position when using brakes on larger
machines. The controller I took off clamped the X and Z axes after a
configurable time delay, which kept the motors alot cooler when motion is
not required. I currently have the brakes wired through the software estop
and use a seperate 120v e-stop cct (mushroom button, overtravel limit
swtches, amp faults, etc) to disable the 3 phase power to the motion
contactors.
How can I configure the time delay before an axis is clamped and how can I
direct it to a STGII output? Once I have a bit that will toggle to the
outside world I can do the rest - It's the inside between the interpeter and
the STGII card where I have a hard time.
Kurtis
> -----Original Message-----
> From: emc-at-nist.gov [emc-at-nist.gov]On Behalf Of Dave Engvall
> Sent: Tuesday, September 03, 2002 3:18 PM
> To: Multiple recipients of list
> Subject: Re: Analog Spindle
>
>
>
> Hi all,
> Not that I did an exactly exhaustive search but the only stuff I find on
> spindle is in the G8x code for tapping and back-boring.
>
> It would seem that we really need, at a minimum, something that interprets
> SXXXX based on a max value in .ini and scales the analog output to the
> spindle servo. Now to close the loop we need emc to understand an index
> pulse and rotary motion.
> We can always run open loop with just the tach for control except
> if we want
> to thread or do other fancy things.
> The lathe people need some of the same stuff except for different axis
> names. I think forward, reverse and brake are already output pins
> so that is
> taken care of.
> There should be a way to fake some of this with an additional axis except
> that one will immediately get following errors.
>
> BTW-this is one of the functions I need badly for the Mazak. :-)
>
> HTH
>
> Dave
>
>
> On 9/3/02 10:04 AM, "Kurtis Martineau" <klmartineau-at-shaw.ca> wrote:
>
> >
> > Ray,
> >
> > I am talking about a cnc application with servos for X Y Z, and analog
> > spindle control ( from the g-code interpeter).
> > The direction enable bits on the parport are what I see. I
> want to see +-
> > 10 vdc out of my stgII card. I want to run the dac3 open loop,
> but there
> > really should be an analog input for the current (load)
> displayed 0-100% up
> > on the GUI for the operator and even maybe logging purposes.
> >
> > It appears that this is being done, or has been done by FMS (?), but in
> > minimilltask. At least some code that makes reference is there - but it
> > almost looks like a simulation or something...I wish I knew
> more about C. I
> > am sure that for those who do, the code makes sense.
> >
> > Kurtis
> >
> >
> >> Kurtis
> >>
> >> My memory fades but it seems to me that someone said that spindle speed
> >> was available with stg on the next axis after whatever you'd defined in
> >> your ini. I haven't a clue how you'd tell it how many pulses per
> >> rotation or max speed.
> >>
> >> Sounds like you are looking at a parport. How are you planning to get
> >> speed signal into the PC and the analog signal out?
> >>
> >> I am running my stepper based griz spindle with m3, m4 and m5
> but I don't
> >> try to control speed from the PC.
> >>
> >> Ray
> >>
> >>
> >> On Tuesday 03 September 2002 09:45 am, you wrote:
> >>> A look through ../emctask/minimilltaskintf.cc will reveal that some
> >>> code has been written to allow a dac to be configured to run an analog
> >>> spindle.
> >>>
> >>> SPINDLE_ON_INDEX for which dac. (ie. 3 for the fourth)
> >>> VOLTS_PER_RPM for obviously how many volts to output for every
> >>> commanded rpm.(ie. 0.001 for 1volt per 1000 rpm)
> >>>
> >>> I don't get any analog ouput from:
> >>> M3 S1000
> >>> I do get the clockwise direction bit to toggle. (M5 to stop, M4 for
> >>> counterclockwise)
> >>>
> >>> What do I need to do in order to get the analog spindle output?
> >>> Could this be brought over to work with bridgeporttask?
> >>>
> >>> Maybe a new name for the bridgeport stuff if any modifications are to
> >>> be done; something machine independant.
> >>>
> >>> Kurtis
> >>
> >
> >
> >
>
>
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact