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

Re: Upgrading V2XT DX32 Bridgeport Mill

Post by craigc »

Thanks for the help. Does this look correct? I am 30 miles from the machine so I cant try and compile it right now.

;--Auto Spindle brake with VFD zero-speed
IF (Aux3Key_I || KbAux3Key_M || SkinAux3_M) THEN (Aux3PD)
IF (Aux3LED_O ^ Aux3PD) || OnAtPowerUp_M THEN (Aux3LED_O)
IF Aux3LED_O && !SpindleEnableOut THEN (SpindleBrake_O)


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

Re: Upgrading V2XT DX32 Bridgeport Mill

Post by cncsnw »

Probably right. Some factory programs double up the "PD" suffix, so it is possible yours says "Aux3PD_PD" (go figure).

You can copy the PLC compiler, "mpucomp.exe", from the c:\cncm directory on the control computer, to whatever computer you like to work from. Then you can verify that PLC programs compile without error, even while working offline.

Regarding tokens, it is a matter of personal preference. I chose not to change my standard library of PLC programs when Centroid added the extra suffixes to theirs a few years ago. I feel that it is sufficiently obvious that "Aux3Key" and "Ax1PlusLimitOk" are inputs, and "Aux3LED" and "SpindleEnableOut" are outputs, without further adornment.


Post Reply