Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE solenoids and encoder

2010-08-08 Thread Andy Pugh
On 8 August 2010 04:35, Igor Chudov ichu...@gmail.com wrote: Say, I say S3000 and drill. Then I change tool to a tap and say S300 and rigid tap. To accomplish that, EMC would actuate SPEED DECREASE solenoid and wait until the output speed, as reported by the encoder, approximately equals the

Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE solenoids and encoder

2010-08-08 Thread Igor Chudov
On Sun, Aug 8, 2010 at 5:33 AM, Andy Pugh a...@andypugh.fsnet.co.uk wrote: On 8 August 2010 04:35, Igor Chudov ichu...@gmail.com wrote: Say, I say S3000 and drill. Then I change tool to a tap and say S300 and rigid tap. To accomplish that, EMC would actuate SPEED DECREASE solenoid and wait

Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE solenoids and encoder

2010-08-08 Thread Jon Elson
Igor Chudov wrote: Andy, my feeling on the matter, is that your solution is great. I should somehow activate these comparators for a short time after a speed change command (like for 7 seconds) and then disable them afterwards. That way reversing with a VFD, is not a problem. There is a

Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE solenoids and encoder

2010-08-08 Thread Stephen Wille Padnos
Jon Elson wrote: Igor Chudov wrote: Andy, my feeling on the matter, is that your solution is great. I should somehow activate these comparators for a short time after a speed change command (like for 7 seconds) and then disable them afterwards. That way reversing with a VFD, is not a

Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE solenoids and encoder

2010-08-08 Thread Igor Chudov
On Sun, Aug 8, 2010 at 1:08 PM, Jon Elson el...@pico-systems.com wrote: Igor Chudov wrote: Andy, my feeling on the matter, is that your solution is great. I should somehow activate these comparators for a short time after a speed change command (like for 7 seconds) and then disable them

Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE solenoids and encoder

2010-08-08 Thread Andy Pugh
On 8 August 2010 19:08, Jon Elson el...@pico-systems.com wrote: There is a spindle-at-speed function that could be used to decide when the speed control logic has finished. I believe that is an input, used to feed-hold until the drive indicates that the spindle is at the correct speed. --

Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE solenoids and encoder

2010-08-08 Thread Igor Chudov
Guys, I am just thinking, perhaps what I am trying to accomplish (speed change via varidrive), could be best accomplished via an M100 command (shell script). Shell or perl scripts have access to hal, right? I would write something like (in pseudocode) $desired_speed = ARGV[0] $delta = max( 5,

Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE solenoids and encoder

2010-08-08 Thread Igor Chudov
I forgot to cancel SPEED INCREASE/DECREASE at the and of the pseudocode. Sorry! On Sun, Aug 8, 2010 at 1:51 PM, Igor Chudov ichu...@gmail.com wrote: Guys, I am just thinking, perhaps what I am trying to accomplish (speed change via varidrive), could be best accomplished via an M100 command

Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE solenoids and encoder

2010-08-08 Thread Jon Elson
Igor Chudov wrote: Jon, what is FF? Anyway, I will start with easy buttons, such as BRAKE AUTO/OFF. But I want to do everything right when it comes to other things, such as spindle speed control, etc. Sorry, flip-flop. a mechanism that sets to one logic value on a particular trigger,

Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE solenoids and encoder

2010-08-08 Thread Igor Chudov
Jon, yes, good point on brake. I also want to let the vfd to stop the spindle, and will use the brake for speed changes. On Aug 8, 2010 3:10 PM, Jon Elson el...@pico-systems.com wrote: Igor Chudov wrote: Jon, what is FF? Anyway, I will start with easy buttons, such as BRAKE AUTO... Sorry,

[Emc-users] Spindle speed control with SPEED INCREASE/DECREASE solenoids and encoder

2010-08-07 Thread Igor Chudov
I have a Bridgeport Interact mill with a three phase spindle motor on a VFD. In addition, the mill has a vari-drive system with SPEED INCREASE and SPEED DECREASE selector. This selector activates pneumatic solenoids that drive an air motor. The motor actually increases and decreases speed of the