Hello Guest it is July 23, 2021, 02:54:52 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 - DMBGO

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 »
General Mach Discussion / Re: Mach3 strange behaviour Z axis on lathe
« on: April 17, 2020, 05:43:50 PM »
Hi Tweakie, you can substitute M3 throughout my post, with Mach3, I was just too lazy to type it :).
It would certainly be a guess, but I suspect that the problem was caused by the ESS plugin. I could have disabled the ESS plugin, but I would have needed to setup a parallel port then to see if I was right. I also suspect there is more to it, because I have successfully run both the ESS and the VFD spindle, using the PP on the Ess to turn the spindle on and off, as well as to control the VFD spindle speed (with 0 - 10V) previously.

General Mach Discussion / Re: Mach3 strange behaviour Z axis on lathe
« on: April 11, 2020, 10:23:33 PM »
It was an expensive exercise, but I did fix it in the end. Thanks for all the helpful and corcerned replies. :)
I must admit that due to the lack of support I did consider not posting the final solution here, to what, after all is a strange problem.
In case someone comes across this issue, this is what fixed it:
As stated previously I setup a new installation on a different PC using W10 Home edition. I reinstalled the recommended version of M3 from the Warp9 website, however the issue previously described persisted.
I then hit upon the idea of running the commands that were generated by mach in the window showing the TAP file, one at a time, and testing the issue after each command. This enabled me to see where in the sequence the issue was introduced.
I discovered that after the M3 command to turn the spindle on, the axis would then only obey the G1 command in an increasing direction. Example G1F100Z100 - works G1F100Z0 doesn't work, although M3 on the computer behaves as if it is working.
I then disabled the spindle in M3 and restarted M3 (this last is important), the GCode TAP file was then able to be run.

General Mach Discussion / Re: Mach3 strange behaviour Z axis on lathe
« on: April 11, 2020, 05:16:46 PM »
Right, I hope this is of interest to someone else, since I rather feel that I am talking to myself here :(.
I have bought a retail version of Win10 home and found another PC. I will install Windows on that computer and restore and copy my mach3 folder onto it. This will tell me if the problem persists. If it does, it will be an expensive exercise.

General Mach Discussion / Re: Need Help, Please. Homing issue
« on: April 11, 2020, 05:09:52 PM »
Activating the limit switches when the machine isn't homing should cause a system "Reset", if the system is enabled before you push the switches, because the machine thinks it has somehow moved out of bounds.
Perhaps your memory is not what it used to be? (see what I did there?).

General Mach Discussion / Re: Mach3 strange behaviour Z axis on lathe
« on: April 10, 2020, 10:05:45 PM »
A further update to the issue, in the cold hard light of the next day. After a bit more fault finding, I have discovered that it is possibly a windows issue. If I start everything from"cold" (restart the lathe and restart M3) I am able to successfully run the Gcode that I posted before (G01F100Z0) and have it successfully move the axis from 100mm to 0mm. If I then run a Gcode cycle (the same boring cycle that I ran yesterday), I does not move the axis in a negative direction. After completing the cycle, It then won't obey the command (G01F100Z0) either. It will still work in a positive direction.
I am using a PC that is getting the windows insider updates, so I'm currently trying to go back to a previous build of windows to see if that fixes things.

General Mach Discussion / Re: Need Help, Please. Homing issue
« on: April 10, 2020, 09:00:02 PM »
Was there an indication on M3 that the Y limit was active? I think to start you need to see if the light in the M3 diags screen comes on to indicate whether the PC thinks the limit switch is active. You should be able to do this without moving the gantry, just manually activate the limit switch.

General Mach Discussion / Re: Mach3 strange behaviour Z axis on lathe
« on: April 10, 2020, 02:42:14 AM »
Just a quick update, I've just tested the X axis the same way as the Z axis, and it only moves in the positive direction as well. It's as if  the axis are both missing a G1 command in the decreasing direction. I'd immeditaley look at the wiring, but I don't see how G0 could work and not G1.

General Mach Discussion / Mach3 strange behaviour Z axis on lathe
« on: April 10, 2020, 02:30:42 AM »
Hi, it's been a while since I was here, but like a bad penny I keep turning up.
I had a problem with my Spindle on the lathe which turned out to be a faulty servo controller, so for the time being I have gone back to my VFD and 3 phase motor setup. This issue occurs regardless of the spindle running or not, also I'm using an ESS, so I doubt it's caused by interference from the VFD.
After getting the spindle working, I thought I'd give things a try and attempted to bore a 40mm wide x 25mm deep hole in a tube. The Z axis, however was unwilling to co-operate.
The problem when I run the job is as follows:
The X axis moves to the commanded position
The Z axis remains stationary, but the DROs on the computer count down as if it is moving.
Upon reaching the commanded depth (25mm) on the Z axis (but not actually moving Z) it moves back 25 mm and this time it actually moves Z, so it is actually 25mm away from the job on the Z axis.
This repeats, as it thinks it is doing cuts, so the Z axis is further and further away by 25mm a time from the job.
I am using step and direction to control the Z axis servo driver, so to test things, I commanded G0z0 when the Z axis was at 25mm. The z moved as expected. I then commanded G1f100z0 from 25mm and got no z movement, although the Z DRO showed the axis moving to 0.
I'm a bit perplexed by this behaviour and I'm hoping someone will have something for me to try.
Cheers and stay well

Thanks for the replies Craig and TP,

Craig, it doesn't sound like it's going to be as straight forward as I'd hoped. Thanks for your elaboration of what actually happens to performance of the servo when setting a global torque limit, rather than my simplistic interpretation of the same. I don't particularly want an impotent spindle servo with M3, at low speeds torque is already an issue.

TP, I'm not sure how to modify the code behind the stop or estop button, please feel free to elaborate.


After looking at the options you suggest in the manual again, you are saying that I should set a torque limit. This can take 2 forms, either a global setting (PA34 CCW rotation and PA35 CW rotation), or only when the input pin 25 (FIL) is high, or on (PA36 CCW rotation and PA37 CW rotation).
I am interpretting this to mean that these settings shouldn't affect the motor torque in normal continous speed operation, but only alter the maximum torque applied to the motor when changing speeds.
This means that since I am using this motor as a lathe spindle, it shouldn't affect normal machining, but only affect speeding up and slowing down.

Do I understand this correctly?



Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 »