Hello Guest it is February 21, 2024, 05:32:34 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 - danielb987

Pages: 1
1
I'm creating VB scripts which I'm running using the Mach3 VB script editor.

If I click on the big red "Reset" button in Mach3 while having a VB script running, the script immediately stops, but as soon as I click the "Reset" button again, the script starts running again. And as long as the script is running, it is impossible to stop it with Mach3 VB script editor. This is a BIG problem for me for two reason:

1) If an error occurs, for example if I need to emergency stop the machine, I click on the "Reset" button and the machine stops. But to correct the problem I need to run Mach3 manually and to do that I need to click on the "Reset" button again and then the VB program starts again, leading to an even bigger problem.

2) My programs take a very long time to run, for example doing a probe may take an hour. So I need to be able to start the program and let it run a short while to test it, and then I need to be able to interrupt it to change the program. But I haven't found a way yet to interrupt a running VB script.

I tried the IsEStop() function inside every loop in the program, but it doesn't stop the program. I have the code:

If IsEStop() Then
    Stop
End If

But this code doesn't stop the program when I click on the "Reset" button.

Best regards,
Daniel

2
General Mach Discussion / Continuously run rotating axis in Mach3?
« on: December 07, 2016, 02:31:56 PM »
Is it possible to tell Mach3 to continuously to run a rotating axis at a specified speed?

In some cases, it is useful to be able to use a CNC milling machine as a lathe. I have a three axis CNC router with an additional table with two rotational axles. I would like to be able to tell Mach3 to run the B axis continuously at a high speed and at the same time move the other axles at a low speed. The idea is to use the B axis as the spindle in a lathe.

Is it possible to do this, using G-code, VB commands or some other way?

My milling machine looks like this:
http://www.ebay.com/itm/271434433386

Best regards,
Daniel

Pages: 1