Hello Guest it is May 17, 2024, 03:23:38 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Brian Barker

231
we are not removing the set file so it should be OK

232
Mach4 General Discussion / Re: Lua Script and reading register's Help
« on: January 07, 2021, 01:23:31 PM »
Well I don't know. You may be doing something we are not thinking about. I can look at it if you like . brianb at machsupport.com is where you can send it. If I need any dependents please send them as well.

Thanks
Brian

233
Mach4 General Discussion / Re: Lua Script and reading register's Help
« on: January 07, 2021, 01:15:02 PM »
I hear you brother! How do you think I knew what to do! LOL We are all in this together.

234
Had a chat with the other guys and that should be all good in version 4580.  So check that and see if it works for you.

235
Mach4 General Discussion / Re: Homing initialization error
« on: January 06, 2021, 06:47:26 PM »
Sounds like you have a script in your cycle start button that is checking the home switches. Did you add any extra code to your cycle start?

236
Mach4 General Discussion / Re: Lua Script and reading register's Help
« on: January 06, 2021, 06:45:10 PM »
Do a tonumber() on the Pokeys variable in your if statement. Lua will not guess the data type correctly every time .

237
Will look at it but I can tell you I never use it :( . The guys are testing and fixing screens to get ready for a release . I will see if they have found the issue as well.

238
Mach4 General Discussion / Re: Modbus Programming guidance needed
« on: January 06, 2021, 06:37:37 AM »
Nice!

239
Mach4 General Discussion / Re: add condition on Gcode
« on: January 06, 2021, 06:35:59 AM »
Okay, to do that you need Macro B , it has if, then, else and goto. This is only in the industrial version. If you have industrial a great reference is Peter Smid’s programming in MacroB book.

240
Mach4 General Discussion / Re: M6 Script Problem
« on: January 05, 2021, 08:33:44 PM »
I just do the math to see if it hit or not. That is sort of standard for big machines. Am I missing something ? My code I posted needs nothing about the probe hit or not, it will ask tell you if it did