On Sun, 7 Dec 2014, Jeremy Jones wrote: > Date: Sun, 7 Dec 2014 09:16:53 -0500 > From: Jeremy Jones <[email protected]> > Reply-To: "Enhanced Machine Controller (EMC)" > <[email protected]> > To: "Enhanced Machine Controller (EMC)" <[email protected]> > Subject: Re: [Emc-users] 7i76 spindle output > > loadrt scale count=1 > addf scale.0 servo-thread > setp scale.0.gain 0.002 > net spindle-speed-scale motion.spindle-speed-out => scale.0.in > net spindle-speed-DAC scale.0.out => <your DAC pin name> >
Motion (as of 2.6 I believe) now has an absolute pin: motion.spindle-speed-out-abs So its simpler now, Also if the VFD has a accurate analog input so you dont need to add an offset, the scale component is not needed either and motions spindle speed pin can be directly connected to the 7I76 spinout hal pin: net spindlerpm motion.spindle-speed-out-abs => hm2_5i25.0.7i76.0.0.spinout The scale is set with hm2_5i25.0.7i76.0.0.spinout-scalemax and bounds are set with hm2_5i25.0.7i76.0.0.spinout-maxlim and hm2_5i25.0.7i76.0.0.spinout-minlim so for example with a 6000 RPM maximum spindle speed you would: setp hm2_5i25.0.7i76.0.0.spinout-scalemax 6000 setp hm2_5i25.0.7i76.0.0.spinout-maxlim 6000 setp hm2_5i25.0.7i76.0.0.spinout-minlim 0 > > That's whats in the integrator manual. I started out with the abs I copied > from a similar machine but then tried this and it worked.. I will finish > the abs and report back. Should I look into adding my info, once complete, > to wiki for others to use? My combination of setup and VFD are pretty > common. > > > > Alex - I think it might. I currently have it hooked up CW on one pin and > CCW on another. Let me see if I can switch that to a single pin. I am using > the 0-10v pot on the VFD but it uses separate pins for the > direction...which confuses me why it works one way perfectly and the other > way is way off. Like you said I guess it's the negative. > > Once I get this figured out I want to tackle the MODBUS setup for mine too. > Just figured this would be easier for now. > > On Sun, Dec 7, 2014 at 5:22 AM, alex chiosso <[email protected]> wrote: > >> Hi Jeremy. >> Does your VFD have a CW-CCW physical input to reverse the motor rotation ? >> If yes you should wire it and activate it related to the sign of >> motion.spindle-speed-out . >> Or if your VFD has a differential (+/-10Vdc) input you should use the >> motion.spindle-speed-out (scaled as needed) to activate the analog speed >> reference . >> >> Alex >> >> On Sun, Dec 7, 2014 at 11:02 AM, andy pugh <[email protected]> wrote: >> >>> On 7 December 2014 at 02:51, Jeremy Jones <[email protected]> wrote: >>>> I had ABS going and then I switched it over to scale like in the >>> integrator >>>> manual. I can try and switch it back. >>> >>> I admit that I have never read the integrator manual, so I don't know >>> what it says. However I suspect that it hasn't caught up with the fact >>> that there are now direct ABS outputs for spindle speed from motion: >>> http://www.linuxcnc.org/docs/html/man/man9/motion.9.html >>> >>> -- >>> atp >>> If you can't fix it, you don't own it. >>> http://www.ifixit.com/Manifesto >>> >>> >>> >> ------------------------------------------------------------------------------ >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> >>> >> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Emc-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> >> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >> _______________________________________________ >> Emc-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
