Hello Guest it is January 22, 2020, 10:24:25 PM

Author Topic: MPG on port 3 problem  (Read 9758 times)

0 Members and 1 Guest are viewing this topic.

MPG on port 3 problem
« on: May 04, 2009, 05:00:00 AM »
I have some movement using the MPG

But only forward and it is erratic

The pins on port 3 SS are marked 1 to 6

1 to 3 are inputs

4 to 6 are encoders

So that makes 9 pins numbered 1 to 6  ???

Any other help appreciated in setting the ports and pins correctly on port 3

Thanks
Phil
« Last Edit: May 04, 2009, 05:01:55 AM by Phil_H »
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: MPG on port 3 problem
« Reply #1 on: May 04, 2009, 08:20:46 AM »
you dont need to put it on port3, I have mine on port2. Having said that it should work fine on port 3, I have the buffered outputs from my spindle servo drive on port3. There are two sets of inputs, cant remember which are which but some are differential and the others single ended. That means if you wish to use them for single ended MPG or for that matter just general inputs you will have only six available. The three differential have six terminals a+ a- b+ b- i+ i- if you are just hooking up a single ended encoder/mpg then the - ones dont get used.

Hood
Re: MPG on port 3 problem
« Reply #2 on: May 04, 2009, 12:29:31 PM »
Hi Hood,

Put it on a standard BOB it works fine

Which for me is a result  ::)

Phil
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable
Re: MPG on port 3 problem
« Reply #3 on: May 04, 2009, 12:50:10 PM »
Here is what doesn't make sense to me

9 pins excluding 5V & Gnd only 6 numbers to go round

Hope you see the pics

The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: MPG on port 3 problem
« Reply #4 on: May 04, 2009, 01:33:55 PM »
1A, 1B and 1I are inputs 1,2 and 3 on Port3
 2A+, 2B+ and 2I+ are inputs 4,5 and 6
2A- 2B- and 2C- are only used if you are connecting a differential encoder or Differential MPG to Port 3. A differential encoder will have A+ A- B+ B- I+ I-, a single ended encoder will only have A B and I

So if your MPG is single ended you just connect to  1A and 1B and then in ports and Pins, MPG page set it up as Port3 Pin1 for A and Port3 Pin2 for B.

Hood
Re: MPG on port 3 problem
« Reply #5 on: May 04, 2009, 02:58:20 PM »
Sorry Hood you have mad a mistake there.

There is the type that i have which has A, B, 0V & +Vcc  ;D

So for dummies like me

A goes to 1A
B goes to 1B

And it would allow a total of 3 of these

1I & 2A = No 2

2B & 2I = No 3

Phil
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: MPG on port 3 problem
« Reply #6 on: May 04, 2009, 03:03:06 PM »
yes, if you wanted 3MPGs then you could do that, you could also connect them to any pin on port2 or any of the inputs on Port1 :)
But why would you want 3 MPGs? You related to Brett or something and have extra hands ;D
Hod
Re: MPG on port 3 problem
« Reply #7 on: May 04, 2009, 03:45:27 PM »
No extra hands but i will have two MPGs so i can use my lathe manually (Sad i know)

I just love to turn the handles

And a index timing pulse for the spindle

It seems to me to be better to put the pulses directly in the SS without going through a BOB

Plus it means i don't need a second BOB which is a Scottish trait coming out.  ;D ;D ;D

Phil
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: MPG on port 3 problem
« Reply #8 on: May 04, 2009, 03:47:59 PM »
Well I know you cant have any Scots blood in you or you would be ashamed to have that avatar ;D

Hood
Re: MPG on port 3 problem
« Reply #9 on: May 04, 2009, 04:06:19 PM »
The only Scots I've had in me is Scotch.  ;D

Just tried the Mpg works a treat.

Now i just need to get me brains sorted.  ;)

Phil
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable