Hello Guest it is March 28, 2024, 06:44:33 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 - TriMan

Pages: 1
1
General Mach Discussion / Re: Help with jerky motion - again!
« on: October 02, 2018, 04:03:32 PM »
Hi Gerry and Tweakie,

Thanks for your comments on this.
I have now resolved the issue.
Gerry's hunch was correct, it was the Pokeys controller.

I opened a ticket with them and they were very helpful and went through the problem with me.
The Pokeys software comes with a really helpful troubleshooting feature. This showed I had slow USB communications, at approximately 8ms.

The issue ended up being related to the USB drivers I was using.
As it turned out I couldn't fix the problem using USB.

The solution ended up being for me to use the Pokeys ethernet input instead of USB.
The troubleshooting feature now shows a communications time of about 0.5ms and this 16 times speed improvement resolved the jerky motion.

Thanks again for your help.

best regards
Craig

2
General Mach Discussion / Re: Help with jerky motion - again!
« on: September 07, 2018, 09:36:06 AM »
Hi,

Just an update on progress.
I really really need this issue resolved, so I will continue until I find a solution. Since I imagine there are plenty of people out there successfully using Mach3, Pokeys 57CNC via USB and servo motors (with just step/dir mode), then there must be a solution. Not forgetting also that I can get perfectly smooth operation under some conditions.

Whilst testing Mach3, the laptop I was using for Mach3 died, so I have replaced it with a new PC based on a motherboard from MSI (H110M pro-vd) and using the same HDD. And I still have the same issue. So whatever the problem, it would appear not to be PC HW based.

Just to explain what's happening with the jerking. If I use G0X10 to move 10mm, it seems to split the move into about 3 segments and the motor ramps up and down for each segment. This gives the jerky motion. Now I don't know how Mach3 works, nor how Polabs USB driver works for the 57CNC. So I can't see whether Mach3 is splitting the move command into smaller segments and the Pokeys board is just following what it's told, or Mach3 is passing the correct move command to the Pokeys board and it is causing the segmentation and jerky movement. I still need to check with Polabs.

I did also try an old fix using RMClock, which stops the CPU from going into sleep mode by always giving it something to do. This also made no difference. I just wondered if the CPU was regularly going into sleep mode (to save power for example) and this was causing Mach3 to split up the move into segments. But I'm sure others would have had this same issue and I would have read something about this on the board.

regards
Craig

3
General Mach Discussion / Re: Help with jerky motion - again!
« on: September 04, 2018, 09:04:31 AM »
Hi Gerry,
Thanks for the quick response.
I forgot to mention that I'm using Pokeys 57CNC with USB interface.

I just checked the CPU usage whilst it was implementing a very jerky G0X100 move, ie a move of 100mm and the maximum CPU usage registered 25%, well away from 100%.
Also there's 2G of free memory available, so not running out of memory either.

regards
Craig

4
General Mach Discussion / Help with jerky motion - again!
« on: September 04, 2018, 08:00:34 AM »
Hi,
I would really appreciate some help with jerky motion on my milling machine.

I've read many many post and tried lots of different options and I still have the problem.

So, if I hold the arrow keys down, then motion is smooth.
If I use an external MPG then the motion is smooth.
If I push the RefAllHome button then the motion is smooth (this I find odd).

But if I type a simple command like G0X10 (for example), then the motion is significantly jerky.
This affects all three axes equally. If it runs smooth then all 3 axes are smooth. It is runs jerky then all 3 axes are jerky.

Also if I type:
G64
G0X10  (in mm)
then then the motion is jerky.

It follows that if I load a g-code program then the motion is jerky.

I've tried all the combinations of CV and FullStop modes with no difference. Not that I would expect any difference with a simple one command of G0X10.

I've tried all sorts of motor tuning options of fast acceleration fast speed. slow acceleration slow speed, etc. And still I get jerky motion with the G0X10 command.

My setup is a Bridgeport CNC Interact with upgraded servo motors using Mach3 version R3.043.
 

Thanks
Craig

5
PoKeys / Re: Pokeys57CNC Problem with Matrix Keyboard
« on: March 17, 2018, 05:30:39 PM »
Hi All,

OK, it's now resolved. I replaced input pins 3,4 with 18 and 28. It's a shame because I had 18 ,28 marked for something else.
So what's the difference between these pins?

Pins 3 and 4 are type DI33P and pins 18 and 28 are type DI033. Both are input pins but the DI33P are filtered and I suspect the filtered inputs were making the keyboard scanning reading unreliable.

What I'm surprised about is there seems to very little about this issue on the net - not that I could find anyway.

Hope this helps anybody else with a similar problem.

Craig


6
PoKeys / Re: Pokeys57CNC Problem with Matrix Keyboard
« on: March 17, 2018, 02:08:41 PM »
Hi All,

Just a further comment about what I've found.
I set the 4x3 matrix with rows using pins: 29, 30, 25, 23
And Columns 3, 4, 26

The buttons which use pin 26 as column work reliably.
The buttons which use pins 3 or 4 are terribly unreliable.

Am I missing something here. Are pin 3 and 4 special in some way. Should I avoid using them. What pins can I use for the keyboard matrix and which ones should I avoid.

Thanks in advance.

Craig

7
PoKeys / Pokeys57CNC Problem with Matrix Keyboard
« on: March 17, 2018, 08:20:23 AM »
Hi All,

I have Mach3 running with a Pokeys57CNC board. It has 3 axis motor controlling 3 servo motors, PWM 10V analogue driving the spindle, and all the limit, home and E-Stop switches are all working fine. So far so good, the 57CNC has been a great board and rather straight forward to configure.

However, I recently added a small matrix keyboard 3x4 and this is giving me significant trouble to get up and running.

It works, but VERY badly. If I press a key, it registers after about 2-3 seconds. If I hold the button down, then it works maybe 3 times every 10 seconds and very unreliably. I've followed the setup description in the manual, there are no external components (so no external pull up resistors for example) just the buttons wired in a matrix for the keyboard. I also implemented the trivial 1x1 matrix and it shows the same behaviour.

To see the operation of a button, I used both Mach3 and directly with the Pokeys configuration tool. Both show the same behaviour, so I doubt it's directly a Mach3 related issue, apart from the configuration mentioned above.

Any help with this would be appreciated.

Craig

8
Hi,
I would like to know the answer to this too.
Anyone know if there are plans for the XHC pendant to support MACH4.

Craig

Pages: 1