Hello Guest it is April 24, 2024, 11:35:14 PM

Author Topic: Manual pulse encoder & mach3  (Read 8397 times)

0 Members and 1 Guest are viewing this topic.

Offline MN300

*
  •  298 298
    • View Profile
Re: Manual pulse encoder & mach3
« Reply #80 on: January 29, 2022, 12:30:15 AM »
Hi Kyle,
I have looked at the photos, here is what I see,
The Zener diodes appear to be backwards, the end with the band should be connected to the input.

Jumper settings:
COM = GND
Pins 2-9 = Inputs
Pins 2-9 = PullUps
These are what I expected

Pins 10..15 = PullDown
Is this what you want? What are you connecting to these?

Check the voltage on the encoder inputs, They should switch from 4.7V to less than 1.6V. Lower than 1V would be even better.

John
Re: Manual pulse encoder & mach3
« Reply #81 on: January 29, 2022, 11:33:36 AM »
Hi Kyle,
I have looked at the photos, here is what I see,
The Zener diodes appear to be backwards, the end with the band should be connected to the input.

Jumper settings:
COM = GND
Pins 2-9 = Inputs
Pins 2-9 = PullUps
These are what I expected

Pins 10..15 = PullDown
Is this what you want? What are you connecting to these?

Check the voltage on the encoder inputs, They should switch from 4.7V to less than 1.6V. Lower than 1V would be even better.

John

Good eye John, you were right haha! I had signal sinking to the grounds. Swapped those zeners and now I have MPGs working.

BUT

this is an issue... lol

https://youtube.com/shorts/u5Wmyd8-Gsg?feature=share

Both set up in the same fashion, any reason the X just goes back and forth?

(I calibrated both axis with ghe mach calibration).

Thanks,

Kyle

Offline MN300

*
  •  298 298
    • View Profile
Re: Manual pulse encoder & mach3
« Reply #82 on: January 29, 2022, 11:47:57 AM »
Kyle,
It looks like one of the signals from the encoder is not making its way in to the MACH logic. It could be hardware or it could be software setup. Use your meter to check the input levels.
 You could have the problem with the input not going low enough. If so, a workaround would be to try a different input until the problem is properly fixed.

John
Re: Manual pulse encoder & mach3
« Reply #83 on: January 29, 2022, 11:52:41 AM »
Kyle,
It looks like one of the signals from the encoder is not making its way in to the MACH logic. It could be hardware or it could be software setup. Use your meter to check the input levels.
 You could have the problem with the input not going low enough. If so, a workaround would be to try a different input until the problem is properly fixed.

John

I did a quick test, I switched the Z axis to MPG1 and X axis to MPG2.

MpG 2 moved X axis fine, MPG1 did the same on the Z axis.

So definitely something with the X axis mpg.

I only have 1 wire referencing the MPG2 going to a common port. My suspicion is that I need another wire going from MPG1 to common as well?

As seen in the photo below.

Offline MN300

*
  •  298 298
    • View Profile
Re: Manual pulse encoder & mach3
« Reply #84 on: January 29, 2022, 11:59:31 AM »
When you switched the MPGs, was that in software or hardware?

The commons of the MPGs are tied together by the white power supply wire, one connection to the BoB is enough.
Re: Manual pulse encoder & mach3
« Reply #85 on: January 29, 2022, 12:02:44 PM »
When you switched the MPGs, was that in software or hardware?

The commons of the MPGs are tied together by the white power supply wire, one connection to the BoB is enough.

That was in the software in the MPG tab out screen.

I will pull off the mpg housing and see if one of the wire solders let lose?

I'll move the X axis ports over to other ports and see if that fixes too.
Re: Manual pulse encoder & mach3
« Reply #86 on: January 29, 2022, 12:19:31 PM »
When you switched the MPGs, was that in software or hardware?

The commons of the MPGs are tied together by the white power supply wire, one connection to the BoB is enough.

All wiring looks to be sound and moving pins on the BoB gives the same result. So not the bob pins and not the wiring.

Hope it's not a bad MPG 😵

Offline MN300

*
  •  298 298
    • View Profile
Re: Manual pulse encoder & mach3
« Reply #87 on: January 29, 2022, 12:23:33 PM »
Measuring the output voltages will tell you if a MPG is bad or marginal. Please report back on the high and low voltages of each output. You could even check the working one for reference.
Re: Manual pulse encoder & mach3
« Reply #88 on: January 29, 2022, 12:29:48 PM »
Measuring the output voltages will tell you if a MPG is bad or marginal. Please report back on the high and low voltages of each output. You could even check the working one for reference.

Both give roughly the same V outputs.

Drops to 0.3V - 0.22V and up to 2.9-4.5V on the high.

Both wired the same other then the working one has the common wire direct to it.

Thanks,

Kyle

Offline MN300

*
  •  298 298
    • View Profile
Re: Manual pulse encoder & mach3
« Reply #89 on: January 29, 2022, 12:37:50 PM »
Have you tried moving the MPG outputs to different inputs? You could exchange the two MPGs. If the problem remains the same, that is X moving incorrectly, then the problem is in the BoB or the setup.