Can't find mpucomp.exe

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
fusion
Posts: 98
Joined: Wed May 09, 2018 7:54 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 0479B7ADF2F3-1127192707
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Greensboro, NC

Can't find mpucomp.exe

Post by fusion »

Hello,
I am trying to modify the PLC program on my Acorn lathe. I would like to change the logic of the Shuttle Express device, so that when selecting an axis, it only chooses between axis 1 and axis 2, and skips over axis 3 and axis 4. I assume I can remark out the necessary lines to accomplish this.
I have read the PLC manual and watched some videos. In the manual is says to compile the source code, you use a program in the cncm or cnct folder that is called mpucomp.exe. I have searched in all my folders and I can't find that program.

What am I doing wrong? Do I need to edit the acorn_universal_template.src file, and then run the wizard to compile it?
Any help would be much appreciated.
If a Centorid Tech can easily remark out the necessary lines and compile it for me, that would be great.

Thanks for your help.
Mike


CentroidFrog
Tech Support
Posts: 141
Joined: Wed Jan 29, 2025 9:39 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Can't find mpucomp.exe

Post by CentroidFrog »

On page 13 of the PLC programming manual you will find information on how to compile a PLC program using the command prompt:
https://www.centroidcnc.com/centroid_di ... df#page=13
First, change to the cncm directory in the command prompt:

Code: Select all

cd \cncm
Next, compile the PLC program:

Code: Select all

mpucomp your_plc_program.src mpu.plc
Compiling the PLC program can also be done using Notepad++, which I'd highly recommend using if you're not.
Information on configuring Notepad++ can be found in tech bulletin 294:
https://www.centroidcnc.com/dealersuppo ... ds/294.pdf
Want to post your own question?
Check this out first: http://centroidcncforum.com/viewtopic.php?f=60&t=1043
Acorn CNC tech tips: viewforum.php?f=63


fusion
Posts: 98
Joined: Wed May 09, 2018 7:54 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 0479B7ADF2F3-1127192707
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Greensboro, NC

Re: Can't find mpucomp.exe

Post by fusion »

So there is no stand alone executable program called mpucomp.exe? I haven't tried anything yet, I was just confused because I couldn't find a program with that name.
Thanks!
Mike


suntravel
Community Expert
Posts: 3664
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: Can't find mpucomp.exe

Post by suntravel »

Sure it is in the cncm folder.

If not you have deleted it.

Uwe


fusion
Posts: 98
Joined: Wed May 09, 2018 7:54 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 0479B7ADF2F3-1127192707
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Greensboro, NC

Re: Can't find mpucomp.exe

Post by fusion »

Thanks Uwe. I'm really confused now. I checked the cnct folder on the lathe that I am building now, and mpucomp.exe is there. But when I look at the cncm folders I have backed up on my thumbdrive from my milling machine, both 4.2 and 5.3; neither one has the mpucomp.exe file.

When I backed them up onto the thumbdrive, I just copied the main cncm folders.

This is very odd. But at least the issue is resolved. Thanks again.
Mike


Post Reply