Hello Guest it is April 12, 2024, 09:42:35 AM

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.

Topics - Durero

Pages: 1 2 »
I would like to make custom m-codes in my cutting programs that trigger an alert box on the screen which has to be clicked on by the user before the program will continue.

I have two examples in mind:

1.  An alert box close to the start of the cutting program which reminds the user to set Z-zero to the top of the workpiece or to the table.

2.  An alert box which pauses cutting in order for the user to re-clamp the workpiece before continuing cutting.

I've tried searching for how to do this but I'm not finding any lua-scripting examples which trigger an alert box on the screen.

Is this possible?  And can anyone steer me in the direction of where to start?  I've read through the Mach4 scripting manual but there are no hints for how to make an alert box.

Any help would be much appreciated.


Mach4 General Discussion / Advice on how to store RRO between sessions?
« on: November 21, 2017, 01:31:31 AM »
Still trying to wrap my head around lua programming in Mach4.

So to save my RRO setting between sessions, should I create a register?

Then save the last RRO setting on screen unload?

Then set RRO to the stored rate on first run of the PLC on Mach4 startup?

If anyone has any hints or tips for this it would be greatly appreciated!

I suspect that this is an easy one for many of you.

Mach4 General Discussion / Error: Axis 3 commanded while disabled
« on: October 16, 2017, 04:23:47 PM »
I'm getting this error now on startup of Mach4.

It began when I tried Go To Work Zero for the first time.  I found that error and fixed it in the screen startup script - same as explained in this thread: https://www.machsupport.com/forum/index.php/topic,35600.0.html

So my Go To Work Zero button is fixed and works perfectly, however since then the Axis 3 error keeps appearing on startup.

I have searched everywhere I can think of for some A axis reference that I may have inadvertently awoken when fixing the Work Zero thing but I can't find anything.

Any ideas of how to fix this would be greatly appreciated.

Thank you.

"Invalid value 2 for a boolean key "WholeWord" in config file"

I'm struggling to program m6 for my ATC.

I thought I had it licked, just needed to change all of my mc.mcCntlGcodeExecuteWait to mc.mcCntlGcodeExecute, but I've made too many changes and broken something.

Any clue for the meaning of this error message is greatly appreciated.


Mach4 General Discussion / Mach4 UI unresponsive during m6 macro
« on: September 27, 2017, 08:14:08 PM »
I'm getting a working ATC m6 script by following the Lua Scripting Manual.

So far so good, except that the UI is completely inactive during the toolchange, then updates correctly when m6 is finished.

I'd certainly prefer to see the DRO's update and be able to press Stop while I'm still working out the script.

Any ideas why the dead UI?

Thanks again to the patient helpers on this forum.

I'm doing my best to follow the M6 scripting example in the Lua Scripting Manual.

I'm adapting the example script for my machine and ATC, but when I run it this MTC message box appears (see attached image.)

I'm not asking for any message box anywhere in my M6 script.  Can anyone enlighten me as to why this keeps appearing and where it lives in Mach4?

Thanks in advance for any clues!


PoKeys / Does Pokeys 57E support more than 4 axis in Mach4?
« on: September 19, 2017, 11:01:28 PM »
The website for the 57E says 4-axis for Mach3 and Mach4, but there is another thread here which mentions support for more axis in Mach3.

Does anyone know if the 57E can support 5 axis or more machines in Mach4?


Mach4 General Discussion / Will the Mach4 Configuration Manual be updated?
« on: September 14, 2017, 12:19:21 AM »
There are quite a few settings in the current version of Mach4 > Configuration > General which are not explained in the Mach4 Installation Manual.

The manuals have not been updated since 2014 which makes setup extra challenging for new users or users who are updating to the current version of Mach4.

My rotary power switch is jammed! 

I can not fully rotate it to the off position or to the on position.

Does anyone know where I could find an installation guide for this type of switch?

I've disassembled the internal (inside the control box) part of the switch and it is perfectly fine.

The spring mechanism in the outside part of the switch seems to be jammed.

Any advice would be greatly appreciated!

I've attached a picture of the switch.

Mach4 General Discussion / how to connect analog joystick to Mach4?
« on: September 17, 2016, 09:54:48 PM »
Any suggestions for how to connect a generic 2 axis analog joystick with a potentiometer for each axis to Mach4?

I'd like to use a joystick for jogging like this one: http://www.ebay.ca/itm/1PCS-2-axis-Joystick-Potentiometer-JH-D202X-R2-5K-ohm-2D-Joystick-/201463142585?hash=item2ee82398b9

I'm running an ESS and C25 BOB but I think I need some other input method for analog signals?


Pages: 1 2 »