lathe spindle question

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

tblough
Community Expert
Posts: 3503
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: lathe spindle question

Post by tblough »

Turn off Window's "Hide extensions for known file types". My guess is your file is actually named compile.cmd.txt which will not work.
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.


midy
Posts: 293
Joined: Wed Oct 11, 2017 12:20 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: lathe spindle question

Post by midy »

Thanks Tom, I had checked this


Centroid_Jacob
Web Developer
Posts: 96
Joined: Wed Oct 19, 2022 4:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: Yes
CPU10 or CPU7: No

Re: lathe spindle question

Post by Centroid_Jacob »

midy wrote: Fri May 09, 2025 10:33 am Thanks Tom, I had checked this
Midy,

Just had a look at your report that you posted earlier today. In the report.txt file listed in the report.zip, it is showing that you have compile.cmd in the C:/cncm directory.

Code: Select all

Directory of C:\cncm
...removed other items for brevity...
Tue Oct 15 19:34:46 2024                   43 		compile.cmd

The file size and timestamp match what I have here. You should be able to compile, based on that.


How computer savvy are you? Are you able to open Command Prompt? On Windows 10/11, you should be able to search the Start Menu for cmd and it should show up.

With Command Prompt open, can you enter this command?

Code: Select all

C:/cncm/compile.cmd acorn_mill_plc.src
That command just calls compile.cmd and feeds acorn_mill_plc.src to it, which should generate the compiled mpu.plc file after it outputs its progress.

If that command works, then something isn't setup right with your Notepad++ install but you can always call the command to recompile acorn_mill_plc.src into a mpu.plc. For lathe, the command would be "C:/cnct/compile.cmd acorn_lathe_plc.src" as was mentioned earlier.

You mentioned updating from 5.26 to 5.30, have you finished the upgrade yet? If so, please post a fresh report.
When requesting support please read this post first.

A fresh report makes it easier to assist you. To make a report check this post


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

Re: lathe spindle question

Post by cncsnw »

While you have the CMD prompt open, you could enter the following two commands:

Code: Select all

cd  \cncm
mpucomp  acorn_mill_plc.src  mpu.plc
In my opinion, some people spend far more time trying to figure out how to get PLC programs to compile from within NotePad++, than they would spend just learning how to compile a PLC program.

Compiling from a command prompt always works, regardless of whether NotePad++ is installed or configured correctly on that particular computer.


centroid467
Posts: 768
Joined: Thu Apr 14, 2022 2:46 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: lathe spindle question

Post by centroid467 »

To be clear, to address the target file "acorn_mill_plc.src", you must have the current working directory of the command prompt set to the same directory as said target file.

Marc's directions have you first move the current working directory to cncm which contains both, hence the lack of full paths in the second line.


If you are not familiar with command line usage, you can verify the working directory with the

Code: Select all

pwd
command and the contents of said directory with

Code: Select all

dir


midy
Posts: 293
Joined: Wed Oct 11, 2017 12:20 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: lathe spindle question

Post by midy »

Thanks for the great replys chaps. Duly noted and will give it a go for sure but im going to do a fresh install of cnc12 soon to update it. And see iff that also sorts this?? We will see? Probably tomorrow - thanks again for all the support


Post Reply