Hello Guest it is March 28, 2024, 06:37:02 PM

Author Topic: Lua: Error occurred while opening file  (Read 1050 times)

0 Members and 1 Guest are viewing this topic.

Lua: Error occurred while opening file
« 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
Re: Lua: Error occurred while opening file
« Reply #1 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.