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)
Upgrading V2XT DX32 Bridgeport Mill
Moderator: cnckeith
-
- 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
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: Upgrading V2XT DX32 Bridgeport Mill
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.
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.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)