Hello Guest it is March 28, 2024, 01:22:24 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 - wgpeters

Pages: 1 2 »
1
General Mach Discussion / Lathe wizard taper locks up crashes Mach4 Lathe
« on: November 11, 2022, 06:54:39 PM »
Hello,

Attempting to cut a morse taper today, I used the turn cycle to prepare the blank, and then tried to use the taper cycle to cut the taper. 

The taper cycle has locked up my Mach4 screen, and the wizard is locked up to the point I can't even close it with the task manager.  The wizard screen shows taper cycle 0, which I can't remove, and only the 'settings' button brings up the settings screen (gear icon in upper left).
This has happened twice today.  I had to do a full restart the first time.

I can minimize the wizard window, and there are no hidden popups underneath the main screen or the wizard.

I reloaded the current Mach4 system earlier, but the wizard locked up again.

Any suggestions?

Bill
G0704
Sherline Mill
Sherline Lathe
Jet 9x20 (manual)


2
Mach4 General Discussion / Re: Mach4 jogging output.. diagnostics screen
« on: February 27, 2019, 04:18:03 PM »
Craig,

I used incremental mode with the pendant and Mach with both set to 1% jog rate.  My pendant reverts to 50% everytime I start up Mach or do a reset.

Works fine as long as I don't reverse the pendant wheel while the axis is moving.

Bill

3
Mach4 General Discussion / Re: Mach4 jogging output.. diagnostics screen
« on: February 27, 2019, 01:41:51 PM »
Craig,

I just had some time to do some more experiments.
I took your suggestion and lowered the jogging rate to 1%
At 1%, jogging works perfect from the onscreen buttons.  At 3% it fails, and at 2% fails sometimes.
Perhaps this is a communication problem with the speed of the USB causing lost or garbled coms from the UC100.

Also, at 1%, the backlash comp works!  It seems the backlash problem was actually caused by the jogging problem.
With the backlash set to .0034, the positioning is right on the money according to my dial indicator.  Without it, positioning is off by .003+ when changing directions.

So, I have proved that the UC100 does do backlash compensation with Mach4.
This was verified by my dial indicator on the Z axis tested with jogs of .001 .010, .1, and 1 inch travels in both directions.

But, there is still a problem that happens with the pendant. (VistaCNC P1A).  If I click the pendant in one direction, and back up a click while the axis is moving, it generates way to many pulses and the axis won't stop.  I am going to assume that this problem belongs to the pendant, and not to Mach4 or UC100.  It could also be speed problems with the USB ports.  Unfortunately, Mach4 is licensed to my laptop, so it will be dificult to test that idea with another computer.

So now, I can use my pendant to accurately touch off on my work piece. 

Thank you for your help.  (of course any more ideas and suggestions are welcome :)

Bill

4
Mach4 General Discussion / Re: Mach4 jogging output.. diagnostics screen
« on: February 26, 2019, 08:18:55 PM »
I bought 2 UC100s about a year ago.  I got them from DPP based on Sherline's suggestion, and they are made by cncdrive.
Yes, I installed the software usb drivers from cncdrive.  I did have to install special drivers using their installer.
Since Mach can operate my steppers, and gcode runs ok, I'm confident that I have real UC100s.
Once, when I started Mach, cncdrive downloaded an updated firmware to the UC100.

I have turned morse tapers using Mach's lathe wizards to make tool holders for my mill, and that worked perfectly.
What doesn't work is jogging small increments, like .001 or .0001 inches, and backlash.  So I can't touch off using my pendant, or the screen jogs.

There are a few other minor bugs I found in Mach, like when changing a motor parameter on one axis, the other axis becomes slaved to the motor I just changed.  IE: sometimes, not always, changing the max feed rate will link the Z and X axis together until I restart Mach or hit the reset button a few times.  Thats pretty weird, Mach4 gets confused!

If I set up a dial indicator to check Z movement, and then do a lot of jogging Z back and forth, the axis does not track correctly and Z ends up in the wrong position.  But if I issue G0 Z0, it returns to its 0 position correctly.  I can't trust jogging, but gcodes seem to work properly.

For instance.  If I run gcode like this:
g0 z .001
g0 z .002
g0 z .003
...
g0 z .010
Z axis moves correctly.
then
G0 z0
returns to the Z position correctly

By the way, cncdrive has been 0 help, and just say its Mach4's fault. 

I think I will try the motion simulator tomorrow and see if the same thing happens.

I appreciate the help and suggestions :)

Bill

5
Mach4 General Discussion / Re: Mach4 jogging output.. diagnostics screen
« on: February 26, 2019, 07:33:24 PM »
Yeah, I can do that.  16 is the number of steps that moves my Z or X by 0.001 inch.  So 16 is correct.
I deleted the intermediate steps from the log, but they showed that the axis ramped up and down in speed, so the acceleration parameter does work.
 
It doesn't matter how long I wait between jogs.  I get the same result.  I have also tried slowing down the acceleration which also produced the same result.

I'll try that tomorrow.

6
Mach4 General Discussion / Re: Mach4 jogging output.. diagnostics screen
« on: February 26, 2019, 06:46:50 PM »
Quote
To my knowledge none of the UC***** series has backlash comp nor does PMDX. That leaves PoKeys 57CNC, Warp9 ESS
and Vital Sytems Hicon that do have it.
According to their documentation it does have backlash comp, at least for Mach3

I have attached a screenshot of my motion device selection, a screenshot of the UC100 diagnostic screen which is pretty useless.
I also attached a portion of a diagnostic logfile which was made by continuously jogging Z+ by .001 (16 steps)

I removed all the intermediate steps for each jog, as only the first and last are interesting.

When I jog, the first jog moves the stepper correctly.  The next jog just jiggles the stepper,  then the next jog moves the stepper again.
Every other step works ok.

The correct jog ends with the line EX_NONE set to the beginning step.
The next jog starts again where the previous EX-NONE says.

This is exactly what the stepper does.  A good jog, then the next jog backs up to the start position of the previous jog and repeats the steps.

7
Mach4 General Discussion / Re: Mach4 jogging output.. diagnostics screen
« on: February 25, 2019, 09:19:13 PM »
I have never enabled the sim plugin.  I have a dial indicator set up and I watch the handwheels spin on the lathe as I jog.
As I said, I have backlash turned off, set to 0.000 so that is not the issue I posted about.

UC100 does not have much in the way of diagnostic screens.  They are limited to indicator lights for the signal lines, but no logging of commands or steps.

Just by watching the handwheels verifies that the jogging is not correct. 
Tomorrow, I will get some screen grabs to show how Mach is set up and how I got the diagnostic file.

With the lathe, I can live without backlash comp, as most of the cutting I do is in one direction, and backlash doesn't matter during tool retraction.  Its a must for my mill though.

It would be very helpful to know what Mach sends to the UC100 and what it sends back.  I don't see the protocol documented anywhere.



8
Mach4 General Discussion / Re: Mach4 jogging output.. diagnostics screen
« on: February 25, 2019, 08:20:40 PM »
Its not UC100 diagnostics, its the built in Mach4 diagnostics selected from the Mach4 main menu bar. 
I'll try to grab a screen shot tomorrow, since I am not in my shop at present.

Stepper drivers do have enables, and they do work.  Everything works correctly as far as I can tell except jogging and backlash compensation.  Backlash compensation is a real disaster and is unusable.


9
Mach4 General Discussion / Re: Mach4 jogging output.. diagnostics screen
« on: February 25, 2019, 08:01:28 PM »
Hi,
that looks like the Sim(ulator) diagnostic output.

Are you sure that you have the UC100 plugin enabled and selected as the current motion control?

Craig
Yes, enabled and current.

10
Mach4 General Discussion / Mach4 jogging output.. diagnostics screen
« on: February 25, 2019, 06:33:07 PM »
I have had no luck with Mach4 jogging correctly.
Setup is Mach4 hobby, UC100, Sherline motor drivers, Sherline lathe, Backlash disabled (set to 0.0000)
Jogging increment set to 0.001 inch.
Jogging .001 should require 16 steps.
Testing done on Z axis.
Axis homed to 0.000
Onscreen Z+ jog button clicked, and diagnostic screen shows for motor 2 (my Z axis motor)
EX_JOG_INCR,        0,        0,        0,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        0,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        0,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        0,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        1,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        1,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        1,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        1,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        1,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        2,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        2,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        2,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        3,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        3,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        4,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        4,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        4,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        5,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        6,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        6,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        7,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        7,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        8,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        8,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        9,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       10,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       10,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       11,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       11,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       12,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       12,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       13,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       13,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       13,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       14,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       14,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       14,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       15,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       15,        0,        0,        0,        0,        0
EX_STOP_REQ,        0,        0,       16,        0,        0,        0,        0,        0
EX_NONE    ,        0,        0,        0,        0,        0,        0,        0,        0
DRO shows position at 0.001 correctly.

When clicking Z+ again, diagnostics show
EX_JOG_INCR,        0,        0,        0,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        0,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        0,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        0,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        1,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        1,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        1,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        1,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        1,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        2,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        2,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        2,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        3,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        3,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        4,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        4,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        4,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        5,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        6,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        6,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        7,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        7,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        8,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        8,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,        9,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       10,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       10,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       11,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       11,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       12,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       12,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       13,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       13,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       13,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       14,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       14,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       14,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       15,        0,        0,        0,        0,        0
EX_JOG_INCR,        0,        0,       15,        0,        0,        0,        0,        0
EX_STOP_REQ,        0,        0,       16,        0,        0,        0,        0,        0
EX_NONE    ,        0,        0,       16,        0,        0,        0,        0,        0
DRO still shows 0.001, instead of 0.002

Jogging again moves Z by .001

Every other jogging move results in no actual movement.

A couple more diagnostic logs with the intermediate lines removed:

...
EX_JOG_INCR,        0,        0,       16,        0,        0,        0,        0,        0
EX_STOP_REQ,        0,        0,       32,        0,        0,        0,        0,        0
------ lines removed
EX_NONE    ,        0,        0,       16,        0,        0,        0,        0,        0
...
EX_JOG_INCR,        0,        0,       16,        0,        0,        0,        0,        0
------ lines removed
EX_STOP_REQ,        0,        0,       32,        0,        0,        0,        0,        0
EX_NONE    ,        0,        0,       32,        0,        0,        0,        0,        0
...

Also, setting jog increment to 0.100 inch  and jogging Z+ should output 1600 pulses, but outputs only 1599.  Then jogging Z- by 0.1 outputs 1600 pulses in reverse direction, so it does not return to zero.  Every time jogging Z+ and then Z- leaves the position farther off from zero, so a cumulative error is introduced.

BTW, what does EX_NONE indicate

Pages: 1 2 »