RE: Analog Spindle



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