Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: richardwalter on January 17, 2017, 04:20:34 AM

Title: How to generate a Mach3 error when a drive gives a fault output
Post by: richardwalter on January 17, 2017, 04:20:34 AM
I am working on a cnc plasma machine controlled by mach3. All motors are leadshine closed loop.
If the drives go into error, I want the machine to stop all motion until that error is fixed.

I wired the fault output of the drives to 4 different inputs. In ports & pins I configured them as input #1 to #4.


Can anyone help me on how to generate different errors for different drives, and to block all motion until the error is fixed.
Should this be done in the macropump? And what would the code look like?
I should tell that I have no experience with VB scripts yet, and only little with mach3 so far.

Thankypu.

About Me:
I'm new in this forum, I am a consultant and have worked with multiple firms