1
General Mach Discussion / Multiple MPG encoders MACH3
« on: December 15, 2020, 05:45:09 AM »
Hi I'm hoping someone can steer me in the right direction.
I am setting up a mill.
Mach3 (licensed), Win 10, UC400ETH motion controller.
I have installed 2 mpg's one to control the X and the other to control the Y.
MPG1 A and B are connected to port 2 pins 10,11
MPG2 A and B are connected to port 2 pins 12,15
In port/pins config I enabled mpg#1 and mpg#2 and set the relevant pins and ports.
Then in function config I ran mpg calibration it worked correctly for mpg1 but it will not read any movement from mpg2.
On the settings tab MPG diagnostics MPG1 shows pulse and velocity, MPG2 shows nothing.
I opened the jog control and ALTA & ALTB have leds lit for X and Y. Setting the jog mode to MPG allows MPG1 to control axis X correctly, but MPG2 does nothing.
If I go back to ports and pins and disable MPG1, MPG2 will now work.
It seems I can only have one MPG at once connected but I'm sure that I must be missing something.
Any ideas?
I am setting up a mill.
Mach3 (licensed), Win 10, UC400ETH motion controller.
I have installed 2 mpg's one to control the X and the other to control the Y.
MPG1 A and B are connected to port 2 pins 10,11
MPG2 A and B are connected to port 2 pins 12,15
In port/pins config I enabled mpg#1 and mpg#2 and set the relevant pins and ports.
Then in function config I ran mpg calibration it worked correctly for mpg1 but it will not read any movement from mpg2.
On the settings tab MPG diagnostics MPG1 shows pulse and velocity, MPG2 shows nothing.
I opened the jog control and ALTA & ALTB have leds lit for X and Y. Setting the jog mode to MPG allows MPG1 to control axis X correctly, but MPG2 does nothing.
If I go back to ports and pins and disable MPG1, MPG2 will now work.
It seems I can only have one MPG at once connected but I'm sure that I must be missing something.
Any ideas?