Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: WEBSTERDOUGLASMICHAEL on March 30, 2021, 09:16:24 PM

Title: Lua: Error occurred while opening file
Post by: WEBSTERDOUGLASMICHAEL on March 30, 2021, 09:16:24 PM
I'm using mach 4 with the pmdx-411 smartbob. Everything was working fine until today and every time I try to jog i get this error.

PMDX: DEVICE ERROR 'SYSTEM ERROR(7): Motion Underrun'

I also realized it was giving an error at startup
 
PMDX: Communication status 'Sync'd to Device'
Lua: Error occurred while opening file
cannot open C:\Mach4Hobby\Profiles\PMDXMILL\Macros\mcLua.mcc: No such file or directory

Im not sure what to do. Any help would be greatly appreciated
Title: Re: Lua: Error occurred while opening file
Post by: GOOMBA on March 31, 2021, 02:19:55 PM
Disable the motion controller plugin for now.
Remove it from the directory all together.
Then put the attached file into the "Macros" folder inside your MACH4 directory.
MACH4 Hobby > desired Profile > Macros
Then start the profile again and let me know what happens.
Make sure to select Simulation mode again under motion controller selection.