Hello Guest it is March 29, 2024, 06:38:36 AM

Author Topic: lua error  (Read 4219 times)

0 Members and 1 Guest are viewing this topic.

Offline madi

*
  •  17 17
    • View Profile
lua error
« on: October 02, 2018, 10:54:19 AM »
hello guys,, i got this massage after i load mach4mill 6 axis program< and also the other mill program, except router program, what should i do?

"lua error while running chunk
attempt to call a ni value
attack traceback"

not sure the last sentence is.. too smal to read. please help ??? ??? ???
Re: lua error
« Reply #1 on: October 02, 2018, 12:02:21 PM »
Hello Madi,

In one release, that error message appeared in the Status bar. It shouldn't be there, but it is not actually reporting a current error. If you click the 'History' button and open that window, you'll see that no error messages have triggered. Hitting 'Clear' in that window will remove the message from the Status bar.

Apologies,
Bryanna

Newfangled Solutions Helpdesk: http://support.machsupport.com
YouTube Support Channel: https://www.youtube.com/c/MachSupportOfficial

Offline madi

*
  •  17 17
    • View Profile
Re: lua error
« Reply #2 on: October 02, 2018, 12:26:04 PM »
thanks,, i will try to setup it,, and i will post what is happen.. thanks

Offline madi

*
  •  17 17
    • View Profile
Re: lua error
« Reply #3 on: October 02, 2018, 10:29:22 PM »
you are right  bryannab, it is working,,  another issue is , the dro is unstable, not like the previous version.. and i cant create another profile from existing profile, except the profile that do not come out with error message after its been loaded.. ??? ???

Offline madi

*
  •  17 17
    • View Profile
Re: lua error
« Reply #4 on: October 02, 2018, 10:59:45 PM »
FOUND ANOTHER ISSUE,, CANT GO TO WORK ZERO. MESSAGE APPEAR "AXIS 3 COMMANDED WHILE DISABLE" ???
Re: lua error
« Reply #5 on: October 03, 2018, 08:10:58 AM »
Madi,

Can you tell me more about what is happening with the DRO? I'm not sure what you mean by 'unstable'. You can create a copy of your profile by going to Help>Support>Package Current Profile. Then you can import that back into Mach4 and call it whatever you'd like. That status bar message is not something that affects the usefullness of the profile itself, it's just a label that got stuck. You can change it using the screen editor if you'd like it gone completely. I can send you an explanation on how to do that as well.

As for the 'Go to Work Zero' button, it needs to be customized. The default command behind that button is "G00 X0 Y0 A0" but it can be changed. One of our techs made a video on how to do that here: https://youtu.be/SZuEJn046Pw

Edit: I made a video (link below) showing another customer how to remove the label from the Status bar. If a real error message is being displayed, it will also appear in the 'History' window. In this customer's case, and in yours I suspect, you won't see the error message there. To delete the label from the Status bar, follow along with the video and you shouldn't see it again.

https://youtu.be/NsxPzRLb3dc


Best wishes,
Bryanna
« Last Edit: October 03, 2018, 09:26:17 AM by bryannab »
Newfangled Solutions Helpdesk: http://support.machsupport.com
YouTube Support Channel: https://www.youtube.com/c/MachSupportOfficial

Offline Stuart

*
  •  311 311
    • View Profile
Re: lua error
« Reply #6 on: October 03, 2018, 10:14:29 AM »
Bryanna

Have a look in the vidieo section Daz the gas has done one that explains it very well and the reason why it’s there

http://www.machsupport.com/forum/index.php/topic,38350.0.html

Re: lua error
« Reply #7 on: October 03, 2018, 10:28:14 AM »
Thank you for sharing that, I'll give it a watch. I had three users with questions about this just over the last two days, so I wanted to make something quick to show how to fix it. :)

-Bryanna
Newfangled Solutions Helpdesk: http://support.machsupport.com
YouTube Support Channel: https://www.youtube.com/c/MachSupportOfficial

Offline madi

*
  •  17 17
    • View Profile
Re: lua error
« Reply #8 on: October 03, 2018, 11:13:43 AM »
the dro is like showing the two different reading flipping.. not fixed..the tool ypath is like jumping around.. i try to upload a video..
thanks bryannab.

Offline madi

*
  •  17 17
    • View Profile
Re: lua error
« Reply #9 on: October 04, 2018, 02:21:06 AM »
got another message.. dont know what it is..: Lua: Syntax error during pre-compilation
[string ""]:1: unexpected symbol near '+'