V2XT Speed control via pneumatic valve control

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

Post Reply
tsoftwerks
Posts: 23
Joined: Mon Jan 12, 2015 12:35 pm
Allin1DC CNC Controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No

V2XT Speed control via pneumatic valve control

Post 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.
cnckeith
Posts: 7300
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: V2XT Speed control via pneumatic valve control

Post 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
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
cncsnw
Posts: 3836
Joined: Wed Mar 24, 2010 5:48 pm

Re: V2XT Speed control via pneumatic valve control

Post 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).
Attachments
K101900.PDF
V2XT M400S schematic
(294.06 KiB) Downloaded 429 times
report.zip
Report containing V2XT PLC & macro update
(69.77 KiB) Downloaded 379 times
tsoftwerks
Posts: 23
Joined: Mon Jan 12, 2015 12:35 pm
Allin1DC CNC Controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No

Re: V2XT Speed control via pneumatic valve control

Post by tsoftwerks »

Hey! Thanks so much for the files!
Post Reply