Hello Guest it is March 28, 2024, 09:17:14 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.


Topics - mibars

Pages: 1
1
General Mach Discussion / "Safe Z off" + "go to zero" = lost steps
« on: November 12, 2013, 04:28:48 AM »
Hi!

I've struggeled with this problem for few days. I use Mach3 to drive stepper motor in my stress testing device, just one axis. I've disabled splindle outputs, other axis and also "safe z" feature as I don't need them.

I'm running at 100KHz, motor is tuned to 750 RPM (1500mm/min with 2mm screw) with acceleration "300" (up to 500 works nice) driver is providing 1/8 step division (800 steps/mm, 1600 steps/rotation) It is able to keep that speed with axis loaded with 150N. The problem was that every time I've pressed "go to zero" I recieved a message like "safe Z turned off ignoring...." and I instantly lost steps even with acceleration 100 and speed reduced to 500rpm (1000mm/min). Driver and Mach kept going but motor just made some noise.

Then I've enabled Safe Z again (which is useless as I have no Z axis) and problems dissapeared.

What happened? Does Mach3 lose steps on error messages?

2
Hi there!

I'm looking for a way to control stepper motor from PC and this idea came into mind: Why not use Mach3 and Mach3 - dedicated electronics (that we alredy have) to do it?

Basically what I need is the ability to somehow control Mach3 from external program, probably by sending G-codes as the program does it's job. That program would set the speed and send commands to stop when certain conditions are met, then ask Mach to go back to zero.

Is it possible to do so?

Pages: 1