Hello Guest it is March 28, 2024, 03:31:22 PM

Author Topic: How to generate a Mach3 error when a drive gives a fault output  (Read 1328 times)

0 Members and 1 Guest are viewing this topic.

How to generate a Mach3 error when a drive gives a fault output
« 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
« Last Edit: January 17, 2017, 06:08:09 AM by Tweakie.CNC »