I used the encoder for speed feedback on my lathe. The program doesn't have any idea what speed the gearbox is but it figures it out and runs at the correct speed the best it can. I use HAL components to digital filter it, it takes a couple seconds to get to the correct speed but it works pretty good. The worst thing is when threading EMC2 zero's the encoder making it look like a huge speed error. I used HAL components to limit the rate of change to things that are possible, going many revolutions in reverse in a millisecond or so isn't possible. My feedback would work better if it would just skip the feedback when the encoder count gets zeroed. Perhaps hal components could adjust your vari-drive and VFD?
Roger Neal ----- Original Message ----- From: "Igor Chudov" <[email protected]> To: "Enhanced Machine Controller (EMC)" <[email protected]> Sent: Monday, December 20, 2010 9:00 PM Subject: [Emc-users] Varispeed transmission and VFD, meaning of S code? > My Bridgeport Interact 2 mill has two speed control elements: > > 1) A constant power belted vari-speed control, and > 2) Variable frequency drive. > > The vari-speed control can potentially be operated from EMC also, as it is > based on a pneumatic motor controlled by two valves. Right now the control > is not hooked to EMC in any way, and I operate the valves with a > standalone > switch. > > I would like to somehow control speed with the S parameter. > > My current idea is that S is strictly responsible for frequency and goes > from 0 to 60. So the value of S is strictly the driving frequency and it > has > nothing to do with the varispeed. For now, I will continue to operate the > valves by manually using the switch control handle. > > If I ever want to control varispeed automatically, I could do it with a > M100 > shell script, if I hook up the valves to the PPMC control. > > The reason for wanting to use the varispeed, of course, is to be able to > change spindle speed and keep power, while operating a wide range of tools > within one program. > > Does this approach of setting S from 0 to 60 (hertz) look flawed or weird > to > you? > > I do not want my mill to be weird, in the sense of an old CNC operator > finding its operation counterintuitive. > > i > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
