Page 1 of 1

V2XT Speed control via pneumatic valve control

Posted: Thu Oct 08, 2015 3:49 pm
by tsoftwerks
Just curious if there is example code out there to get my spindle gear position back into my allin1dc. I have the V2XT Bridgeport retrofit and works great, but I am manually adjusting spindle speed via the keyboard, and I get no feedback of the spindle speed, just have to wing it. Seems like I should be able to get the pot value back from the pulley position via a adc input on the allin1, and use some logic to be able to drive the pneumatic controls to increase and decrease the speed to the machine coded value... of course checking the back gear switch to see if I am in back gear.... has anyone done this? I have a VFD, but would prefer to keep the motor at constant freq and use the gears as bridgeport intended. Hoping someone has done this already and can share the code with me?

Thanks.

Re: V2XT Speed control via pneumatic valve control

Posted: Fri Oct 09, 2015 8:31 pm
by cnckeith
yep, you can do it and it has been done. i'll have to dig around to find notes on it. maybe marc or scott could comment.
others have installed encoders on the spindle as well. not only to gain accurate rpm feedback but also for rigid tapping capabilities

Re: V2XT Speed control via pneumatic valve control

Posted: Fri Oct 09, 2015 11:58 pm
by cncsnw
Here is a program that does what you are looking for.

It has a few other non-standard features:
Haas indexer control on OUT9, INP7, M51
Low-range switch moved from INP12 to INP13
Speed-up and Speed-down solenoids on OUT4 and OUT5
Spindle brake release solenoid on OUT6
No Mist coolant support

Set your spindle speed tolerance window in Parameter 942. Probably something around 20 should work.

Also attached is a schematic from a similar system. Some of the I/O devices are different, but it shows an example of connecting the vari-speed feedback pot (ca. line 36, note the 2K series resistor) and the PNP prox sensor under the back gear lever (ca. line 56).

Re: V2XT Speed control via pneumatic valve control

Posted: Wed Oct 21, 2015 8:23 am
by tsoftwerks
Hey! Thanks so much for the files!