Search found 11 matches
- Wed Sep 15, 2021 9:13 am
- Forum: Centroid Acorn CNC Controller
- Topic: notepad ++
- Replies: 2
- Views: 940
Re: notepad ++
It states in the box that you need to be in administrator mode to use that option. Exit Notepad++ and then run as administrator. To do this right click on the Notepad++ icon on your desktop and select "Run as Administrator" and then go back to the "preferences" and it will no lo...
This post has been liked 0 time(s).
- Tue Sep 14, 2021 4:24 pm
- Forum: Centroid Acorn CNC Controller
- Topic: notepad ++
- Replies: 2
- Views: 940
notepad ++
Good afternoon, I'm following the installation bulletin for notepad++ but I'm missing something that impedes me to have a successful install please see the attached picture. I cannot select file associations.
This post has been liked 0 time(s).
- Fri Sep 10, 2021 5:16 pm
- Forum: Centroid Acorn CNC Controller
- Topic: M CODES!
- Replies: 15
- Views: 3674
Re: M CODES!
Screenshot 2021-09-10 170903.jpg I worked with your atest.cnc file. As I understand it, you had 2 problems: 1. .bat running too many times 2. file contents not updating after each M123 Do you still encounter both problems 1 and 2, or just one, or something else? Ok, if in M130 L1 in bought iteratio...
This post has been liked 0 time(s).
- Fri Sep 10, 2021 4:25 pm
- Forum: Centroid Acorn CNC Controller
- Topic: M CODES!
- Replies: 15
- Views: 3674
Re: M CODES!
Also, I didn't see your .bat or .bmp, so I tested with a simple print.bat, just to see that prtLABEL.txt was updating. test print.bat contents: type ncfiles\prtLABEL.txt pause Thanks for your help, the .bat script is in my first post, the forum doesn't let me upload any .bat or .bmp file for some r...
This post has been liked 0 time(s).
- Fri Sep 10, 2021 4:09 pm
- Forum: Centroid Acorn CNC Controller
- Topic: M CODES!
- Replies: 15
- Views: 3674
- Fri Sep 10, 2021 3:57 pm
- Forum: Centroid Acorn CNC Controller
- Topic: M CODES!
- Replies: 15
- Views: 3674
Re: M CODES!
yep, tried that and I'm still getting 3 extra .bat running at the same time for the first iteration and 1 for the second. Are your runtime graphics on (parameter 150)? The plot is executing the .bat file extra times. Try opening your file again with M121 before M130 to flush the data. Also try M130...
This post has been liked 0 time(s).
- Fri Sep 10, 2021 2:31 pm
- Forum: Centroid Acorn CNC Controller
- Topic: M CODES!
- Replies: 15
- Views: 3674
Re: M CODES!
You might also need to put additional M120 calls between each operation. For example: M120 "dummy.txt" By using M120 to open a different file, you force CNC12 to flush and close the one that it previously had open. That should ensure that the contents have been written by the time you cal...
This post has been liked 0 time(s).
- Fri Sep 10, 2021 12:39 pm
- Forum: Centroid Acorn CNC Controller
- Topic: M CODES!
- Replies: 15
- Views: 3674
Re: M CODES!
Not sure if I'm following you exactly, but each time M120 is passed, it will close the previous file and open a new one, overwriting the existing one. So you'll only get the last value. You might need to use a M00, M01, or M224/225 to wait for the bat file to do it's thing. There's also a L1 parame...
This post has been liked 0 time(s).
- Fri Sep 10, 2021 12:33 pm
- Forum: Centroid Acorn CNC Controller
- Topic: M CODES!
- Replies: 15
- Views: 3674
Re: M CODES!
Yes!, thanks for your help, in fact every time M120 is called M125 writes the text and M150 is immediately call to execute the information, then the machine moves to a different coordinate and does it all again.
regardless of what I do I only get the last call and .bat is called 3 times at once.
regardless of what I do I only get the last call and .bat is called 3 times at once.
This post has been liked 0 time(s).
- Fri Sep 10, 2021 12:37 am
- Forum: Centroid Acorn CNC Controller
- Topic: M CODES!
- Replies: 15
- Views: 3674
Re: M CODES!
[]this is how my .bat file looks like.
@echo off
FOR /F "tokens=* delims=" %%I in (C:\cncm\ncfiles\prtLABEL.txt) do (SET imagen=%%~nI)
Set MyVar=%imagen%
set MyVar=%MyVar: =%
"C:\Users\FileEXAMPLE\OutSide_K_Image\%MyVar%.bmp"
PAUSE
@echo off
FOR /F "tokens=* delims=" %%I in (C:\cncm\ncfiles\prtLABEL.txt) do (SET imagen=%%~nI)
Set MyVar=%imagen%
set MyVar=%MyVar: =%
"C:\Users\FileEXAMPLE\OutSide_K_Image\%MyVar%.bmp"
PAUSE
This post has been liked 0 time(s).