I'm getting the error below while trying to compile the PLC source code. I followed the tech bulletin 294 to configure Notepad++ and I believe I have my folder structure correct for saving files. I was able to get the PLC source code to compile via the windows command prompt. Anyone familiar with this error?
"C:\cnct\compile.cmd" "Centroid-Lathe-Standard-OAK-r2-Axis-Brake-setup2.src"
; about to start a child process: ""C:\cnct\compile.cmd" "Centroid-Lathe-Standard-OAK-r2-Axis-Brake-setup2.src""
CreateProcess() failed with error code 2:
The system cannot find the file specified.
================ READY ================
Notepad ++ Compile Error
Moderator: cnckeith
-
- Posts: 20
- Joined: Wed May 22, 2019 9:14 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 0506190790
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Notepad ++ Compile Error
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Site Admin
- Posts: 8945
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: Notepad ++ Compile Error
try compiling without using Notepad ++ and see what happens..
here is link to PLC programming how to video playlist for your reference. the first one goes over setting up Notepad ++
https://www.youtube.com/playlist?list=P ... i2WKIedQlQ
here is link to PLC programming how to video playlist for your reference. the first one goes over setting up Notepad ++
https://www.youtube.com/playlist?list=P ... i2WKIedQlQ
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3540
- 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 ++ Compile Error
Well, it states that it cannot find "compile.cmd" in the cnct directory. Perhaps you were trying to run mpucomp.exe?
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.
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.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 20
- Joined: Wed May 22, 2019 9:14 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 0506190790
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Notepad ++ Compile Error
I was able to get the source code file to compile using the windows command prompt.cnckeith wrote: ↑Thu May 30, 2019 9:06 pm try compiling without using Notepad ++ and see what happens..
here is link to PLC programming how to video playlist for your reference. the first one goes over setting up Notepad ++
https://www.youtube.com/playlist?list=P ... i2WKIedQlQ
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 20
- Joined: Wed May 22, 2019 9:14 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 0506190790
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Notepad ++ Compile Error
Here are a few screenshots that show the file locations and names. Also a screenshot of the Compile Execute command from Notepad++ which was copied and pasted from tech bulletin 294.
- Attachments
-
- compile.cmd text.PNG (4 KiB) Viewed 3091 times
-
- Compile Execute.PNG (11.71 KiB) Viewed 3091 times
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3540
- 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 ++ Compile Error
Rename "compile.cmd" to "compile.bat" and update the execute command to reflect that as well.
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.
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.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 20
- Joined: Wed May 22, 2019 9:14 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 0506190790
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Notepad ++ Compile Error
Hi Tom,
I tried to relabel the compile.cmd file to compile.bat and updated the execute command and got the same error as before.
Thanks,
Wes
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3540
- 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 ++ Compile Error
Then the only other thing is that compile.bat is not in 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.
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.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)