Hello Guest it is April 16, 2024, 06:06:05 AM

Author Topic: MPG not working properly  (Read 3592 times)

0 Members and 1 Guest are viewing this topic.

MPG not working properly
« on: October 17, 2016, 08:39:18 AM »
Hi All

I am at the final stages (I hope) of an Emcoturn 120 lathe mach3 Pokeys 57E retrofit

I had just about everything working fine when I wanted add final piece of jigsaw

which was the installation and control of a lubrication system. When the relay was

activated to operate pump I was getting some electrical noise showing on my screen.

To combat this I decided to tidy up the bunch of spagetti that I called wiring.

I rerouted all on cable tray (separating power and signal) and checked all my cable shielding grounds etc etc.

All has worked well EXCEPT my MPG wheel that I use to control jogging on

the Z and X axis.  When I start to jog using the wheel (using step) If I move just

one increment just keeps pulsing movement and only stops when the reset is pushed.

When the reset is activated again the movement continues. It only stops fully when

mach shut down and then started up again. I have noticed that in the diagnostics page

the mpg dro shows -65536.00 as soon it is used.

Note. The pulsing is not regular but rather more intermittent but always there.

The jogging works perfectly if I use the keyboard arrows or the Tab flyout screen to control the jogging.

The MPG was set up on pin 8 (A)  and pin 12 (B) using ultra fast encoder  setting.

(Pin 13 Ultra fast encoder index was automatically generated but not used. Can't remember if that was there before)

I have tried using pin positions 1(A) and 2 (B)  (fast encoder checked) but same outcome.

The wheel is the large version supplied by Pokeys.

No signs of noise on the system now.

(The ethernet cable is cat6 shielded)

5v supply seems ok  (tried using both pokeys 5v and separate 5v supply)

(don't have oscilloscope to check wheel can this be done using voltmeter?)

Any help would be greatly appreciated

George





Re: MPG not working properly
« Reply #1 on: October 19, 2016, 07:02:55 AM »
Cracked it !!!  (I hope)

Can't remember changing it but for some reason I had the Mach3 MPG brain ( ModIOMPG.brn ) checked

and I think this was competing with Pokeys control.

Anyway I have unchecked it and it appears to be working fine now.