Upgrading V2XT DX32 Bridgeport Mill

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

Moderator: cnckeith

craigc
Posts: 22
Joined: Sun Sep 12, 2021 12:34 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Upgrading V2XT DX32 Bridgeport Mill

Post by craigc »

The V2XT Is a bit of a odd duck as far as the spindle air operated variable speed and the potentiometer to "estimate" the spindle RPM. This Mill has a odd power draw bar based on a pneumatic butterfly wrench and we haven't found a solution to mount a spindle encoder.

Is there a way to connect a 3 wire hall effect / magnet to a Allin1dc encoder input just to display RPM in CNC 12.

newest report
IMG_20220323_173044_2.jpg
Thanks


craigc
Posts: 22
Joined: Sun Sep 12, 2021 12:34 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Upgrading V2XT DX32 Bridgeport Mill

Post by craigc »

Does anyone know what logic I would need to have the pneumatic brake to work correctly on this mill in the Allin1DC.
It's currently disconnected.
IMG_20220323_173031_0.jpg
IMG_20220323_173044_2.jpg


cncsnw
Community Expert
Posts: 4584
Joined: Wed Mar 24, 2010 5:48 pm

Re: Upgrading V2XT DX32 Bridgeport Mill

Post by cncsnw »

It just takes two or three added lines in the PLC program, but ones which I do not have time to type in right now (need to get to work).

Are you controlling the spindle motor with reversing contactors, or with a VFD?

If with a VFD, did you wire a zero-speed signal from the VFD to INP12 on the Allin1DC?

If you are using a VFD and have no zero-speed signal, and you generally want the brake to be applied every time the spindle stops, then you will need to change the VFD's stopping method to free coast, instead of a ramped deceleration.


craigc
Posts: 22
Joined: Sun Sep 12, 2021 12:34 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Upgrading V2XT DX32 Bridgeport Mill

Post by craigc »

Thank you so much for taking the time to reply, I can wait :)
I've installed this VFD and have the programming cable and software.
https://www.factorymation.com/TD400-2003-13PH
This VFD has a braking transistor so I could connect the correct resistor if that would help.
No I haven't wired 0 speed to the Allin1DC or set the VFD to free coast but I will.
The brake stopped the spindle almost instantly on the old DX32 NC and I wonder if that is hard on the mill. If the E-stop is hit will it stop the spindle instantly and just coast to a stop under normal conditions?


tblough
Community Expert
Posts: 3536
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Upgrading V2XT DX32 Bridgeport Mill

Post by tblough »

The point is if you are using the mechanical brake, you don't want the VFD doing any braking. Mechanical or VFD braking, but not both.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.


craigc
Posts: 22
Joined: Sun Sep 12, 2021 12:34 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Upgrading V2XT DX32 Bridgeport Mill

Post by craigc »

Thanks for the clarification, I've never dealt with a pneumatic brake before and trying to learn the correct process.


cncsnw
Community Expert
Posts: 4584
Joined: Wed Mar 24, 2010 5:48 pm

Re: Upgrading V2XT DX32 Bridgeport Mill

Post by cncsnw »

A minimalist implementation, which works with a VFD programmed to free coast or with reversing contactors, would be to add the following code to your PLC program:

In the definitions section, choose an available output:

Code: Select all

SpindleBrake                  IS OUT6   ;
If necessary, locate and delete any code for the previous use of that output, which you presumably do not have on your machine (e.g. Mist, Clamp, ZBrakeRelease, WorkLightOut).

In MainStage, add the following:

Code: Select all

IF (Aux3Key  || KbAux3Key_M || SkinAux3_M) THEN (Aux3PD)
IF (Aux3LED ^ Aux3PD) || OnAtPowerUp_M THEN (Aux3LED)
IF Aux3LED && !SpindleEnableOut THEN (SpindleBrake)
This will make the Aux3 key or its equivalents control a spindle brake auto/off mode. If the Aux3 LED is on, the brake operates automatically: applied when the spindle is stopped, released when the spindle is running. If the Aux3 LED is off, the brake is released.

Save your changes and compile to mpu.plc.


craigc
Posts: 22
Joined: Sun Sep 12, 2021 12:34 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Upgrading V2XT DX32 Bridgeport Mill

Post by craigc »

Thanks again for your help, I'll try it on Monday.

Is there a way to connect a 3 wire hall effect / magnet to a Allin1dc spindle encoder input just to display RPM in CNC 12.


craigc
Posts: 22
Joined: Sun Sep 12, 2021 12:34 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Upgrading V2XT DX32 Bridgeport Mill

Post by craigc »

I tried to modify the PLC program as mentioned above but compile fails. Here is the compiler output and the modified .src file.
This is my first go at compiling so its probably something simple but I cant figure it out.
Centroid-Standard-Mill-ALLIN1DC-r7-spbrk.src
(133.68 KiB) Downloaded 33 times
"C:\cncm\compile.cmd" "Centroid-Standard-Mill-ALLIN1DC-r7-spbrk.src"
Process started (PID=1732) >>>

C:\Program Files (x86)\Notepad++>cd \cncm

C:\cncm>mpucomp.exe "Centroid-Standard-Mill-ALLIN1DC-r7-spbrk.src" mpu.plc
MPUCOMP v4.20 MPU11 PLC compiler
Copyright 2001-2018 Centroid Corp.

Input file : Centroid-Standard-Mill-ALLIN1DC-r7-spbrk.src
Output file: mpu.plc
Error Line 2544 Col 5: Undefined label Aux3Key
IF (Aux3Key || KbAux3Key_M || SkinAux3_M) THEN (Aux3PD)
^
Error Line 2545 Col 5: Undefined label Aux3LED
IF (Aux3LED ^ Aux3PD) || OnAtPowerUp_M THEN (Aux3LED)
^
Error Line 2546 Col 4: Undefined label Aux3LED
IF Aux3LED && !SpindleEnableOut THEN (SpindleBrake)
^
Error Line 2651 Col 5: Undefined label Aux3Key
IF (Aux3Key || KbAux3Key_M || SkinAux3_M) THEN (Aux3PD)
^
Error Line 2652 Col 5: Undefined label Aux3LED
IF (Aux3LED ^ Aux3PD) || OnAtPowerUp_M THEN (Aux3LED)
^
Error Line 2653 Col 4: Undefined label Aux3LED
IF Aux3LED && !SpindleEnableOut THEN (SpindleBrake)
^
Error Line 2544 Col 5: Bad Numerical Factor
IF (Aux3Key || KbAux3Key_M || SkinAux3_M) THEN (Aux3PD)
^
Error Line 2545 Col 5: Bad Numerical Factor
IF (Aux3LED ^ Aux3PD) || OnAtPowerUp_M THEN (Aux3LED)
^
Error Line 2546 Col 4: Bad Numerical Factor
IF Aux3LED && !SpindleEnableOut THEN (SpindleBrake)
^
Error Line 2651 Col 5: Bad Numerical Factor
IF (Aux3Key || KbAux3Key_M || SkinAux3_M) THEN (Aux3PD)
^
Error Line 2652 Col 5: Bad Numerical Factor
IF (Aux3LED ^ Aux3PD) || OnAtPowerUp_M THEN (Aux3LED)
^
Error Line 2653 Col 4: Bad Numerical Factor
IF Aux3LED && !SpindleEnableOut THEN (SpindleBrake)
^
Compilation failed.


tblough
Community Expert
Posts: 3536
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Upgrading V2XT DX32 Bridgeport Mill

Post by tblough »

That because in your source file the Aux3 key input is defined at "Aux3Key_I" and not "Aux3Key". Your LED references probably have an "_O" after them and your one-shots probably have an "_PD" added. You'll need to update the logic to incorporate these type identifiers.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.


Post Reply