Page 1 of 2

Upgrading V2XT DX32 Bridgeport Mill

Posted: Wed Mar 02, 2022 8:51 pm
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

Re: Upgrading V2XT DX32 Bridgeport Mill

Posted: Thu Mar 24, 2022 10:51 am
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

Re: Upgrading V2XT DX32 Bridgeport Mill

Posted: Thu Mar 24, 2022 12:10 pm
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.

Re: Upgrading V2XT DX32 Bridgeport Mill

Posted: Thu Mar 24, 2022 12:35 pm
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?

Re: Upgrading V2XT DX32 Bridgeport Mill

Posted: Thu Mar 24, 2022 1:42 pm
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.

Re: Upgrading V2XT DX32 Bridgeport Mill

Posted: Thu Mar 24, 2022 1:58 pm
by craigc
Thanks for the clarification, I've never dealt with a pneumatic brake before and trying to learn the correct process.

Re: Upgrading V2XT DX32 Bridgeport Mill

Posted: Fri Mar 25, 2022 12:19 am
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.

Re: Upgrading V2XT DX32 Bridgeport Mill

Posted: Fri Mar 25, 2022 8:43 am
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.

Re: Upgrading V2XT DX32 Bridgeport Mill

Posted: Wed Mar 30, 2022 12:46 pm
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.

Re: Upgrading V2XT DX32 Bridgeport Mill

Posted: Wed Mar 30, 2022 3:25 pm
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.