Notepad Compiler Error

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

logix09
Posts: 5
Joined: Tue Jun 28, 2022 8:11 am
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Notepad Compiler Error

Post by logix09 »

I just finished setting up Notepad++ compiler, using the TB294 instructions. Every time i run a compile, I get this error:
Screenshot 2022-06-28 074823.png
Screenshot 2022-06-28 074823.png (2.53 KiB) Viewed 1384 times
I've checked the file location, and it is located in the C:\cncm directory. I've tried several different files in the directory and it keeps giving the same error.

Any help is greatly appreciated.
tblough
Posts: 3096
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: Notepad Compiler Error

Post by tblough »

Do you have Windows set to hide file extensions? Is compile.cmd actually compile.cmd.txt?
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.
logix09
Posts: 5
Joined: Tue Jun 28, 2022 8:11 am
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Notepad Compiler Error

Post by logix09 »

No, confirmed that it isn't compile.cmd.txt, and i can see all file extensions.

One thing that came to mind, was that I don't have admin privilege's. Would that stop it from compiling?
tblough
Posts: 3096
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: Notepad Compiler Error

Post by tblough »

What are the contents of your compile.cmd file?
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.
logix09
Posts: 5
Joined: Tue Jun 28, 2022 8:11 am
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Notepad Compiler Error

Post by logix09 »

cd \cncm
mpucomp.exe %1 mpu.plc
pause
eng199
Posts: 373
Joined: Fri Jan 10, 2014 11:29 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Howard, PA

Re: Notepad Compiler Error

Post by eng199 »

You are trying to compile "cncxmsg.txt". That is not a PLC program. PLC source will end with ".src". I am not sure why the error is about not finding a file, but I get the same message trying to compile ".txt" files.
logix09
Posts: 5
Joined: Tue Jun 28, 2022 8:11 am
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Notepad Compiler Error

Post by logix09 »

I am trying to compile Centroid-Standard-Mill-ALLIN1DC-ATC-Umbrella-r7.src
I get the same error when I try to compile anything.
Attachments
Screenshot 2022-07-13 131421.png
Screenshot 2022-07-13 131421.png (3.27 KiB) Viewed 1286 times
tblough
Posts: 3096
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: Notepad Compiler Error

Post by tblough »

What directory are you currently in, and what directory is the .src file in? Notepad++ cannot find the src file in the current directory.
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.
logix09
Posts: 5
Joined: Tue Jun 28, 2022 8:11 am
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Notepad Compiler Error

Post by logix09 »

I see that. It is the local drive, in the cncm folder. Both the compile.cmd, and the src. file are in the same cncm folder.
suntravel
Posts: 1967
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Notepad Compiler Error

Post by suntravel »

I have this error on any PC not setup for CNC use. Maybe it is a problem with firewall/security settings on the PC.

Uwe
Post Reply