auggie with mpg

Discussions and file drops for Auggie
Richard Cullin
Old Timer
Posts: 152
Joined: Sat Jun 02, 2012 5:45 am

auggie with mpg

Post by Richard Cullin »

how do go about getting a mpg to work with auggie ?
have wired it up like this
Attachments
mpg.jpg
Richard Cullin
Old Timer
Posts: 152
Joined: Sat Jun 02, 2012 5:45 am

Re: auggie with mpg

Post by Richard Cullin »

pokeys setting, I know this screen shot is a demo the real pokeys is set as per this
Attachments
po-mpg.jpg
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4592
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: auggie with mpg

Post by ArtF »

Hi Richard:

  Sorry for the delay in getting back to you on this, Ive been away.

  I know MPGS are tested, YaNvrNo used them for me as a test. I will reseach to see how its done,
but as I recall you simply hook them up as per Pokeys and select the MPG state in Auggie. The state will
change to something like 10 and will jog by MPG ( and do nothing else) till MPG mode is turned off.

  Do you get any responce in MPG mode in Auggie? Does the state change ( DRO in upper right that displays a 3 when you reset Auggie).

Thx
Art


Art
Richard Cullin
Old Timer
Posts: 152
Joined: Sat Jun 02, 2012 5:45 am

Re: auggie with mpg

Post by Richard Cullin »

I get no response from auggie to the mpg , the mpg counts as expected using the pokeys encoder raw values test
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4592
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: auggie with mpg

Post by ArtF »

Richard:

Does the state change to a number 10 when you select MPG mode and is the jogging enable button lit?

Art
Richard Cullin
Old Timer
Posts: 152
Joined: Sat Jun 02, 2012 5:45 am

Re: auggie with mpg

Post by Richard Cullin »

yes
I get a message set mpg mode %d and state goes from 3 to 10
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4592
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: auggie with mpg

Post by ArtF »

Richard:

Thx, Ill check it out. I may have to add a couple of mpg's to see whats up. I do have a few on the shelf.
Ill get back to you, they should work.

Art
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4592
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: auggie with mpg

Post by ArtF »

Jim:

  In the pokeys pulse engine engine config there is a setting for which encoder is for what axis, and a enable/disable.
Is that turned on?

Art
Richard Cullin
Old Timer
Posts: 152
Joined: Sat Jun 02, 2012 5:45 am

Re: auggie with mpg

Post by Richard Cullin »

no , I missed that bit .  I was hoping to use one mpg with a switch to change axis
Richard Cullin
Old Timer
Posts: 152
Joined: Sat Jun 02, 2012 5:45 am

Re: auggie with mpg

Post by Richard Cullin »

ok that's one axis.
is it possible to move multiple axis' with one mpg ?
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4592
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: auggie with mpg

Post by ArtF »

Hi:

Hmm, Im not sure. Once you select state #10, all control is in the pokeys hands. So the way
it operates will be as they describe it as I have no control from Auggies side. I dont think they
allow for one to control both, BUT, I suspect you could just switch one of the encoder outputs between
two inputs. Theres likely a control there to set it from Auggies side from software though, if so Ill add a script control for it so a button could swap the axis for one encoder.

Art
Richard Cullin
Old Timer
Posts: 152
Joined: Sat Jun 02, 2012 5:45 am

Re: auggie with mpg

Post by Richard Cullin »

looking at the pendant connector gives the impression that its possible somehow
Attachments
pendant.jpg
Richard Cullin
Old Timer
Posts: 152
Joined: Sat Jun 02, 2012 5:45 am

Re: auggie with mpg

Post by Richard Cullin »

art

is there a  setmpgmode()  and or a onmpg()  function that could set/reset a pin to reflect mpg state and
a way to read a pin to set mpg mode on/off ?

i'm now thinking of a microcontroller to switch mpg signals to relevant enc pins ,it would be nice to control jogging from the mpg unit
might make wireless too , go the whole hog
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4592
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: auggie with mpg

Post by ArtF »

Richard:

  In checkng it looks to me like the pendent reports to software in its plugin ( in mach3 for example) and the software then takes care of jogging. That would allow for swapping axis, trouble is, I leave it to the pokeys to
manage its own MPG capabilities, so it limits it to 1 MPG per axis with no swapping as far as I can tell.
  I will look into adding it to Auggie to do this, but it would be a complex upgrade as Auggie woudl have to deal with the MPg on its own and I havent added any code as yet to support that.

Art
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4592
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: auggie with mpg

Post by ArtF »

Richard:

  In re-reading, it looks like if you connect your encoder as the one encoder input to the pendent connector,
and then use the axis switch inputs so select what axis will mpg jog, then it should work when in State 10
as the pokeys is then in full control.
  As I read it, when wired up that way, Auggie will switch to the pendent when you select MPG mode. I think
you need only have the "control switch" input on the pendent set to on as well.

Do you have the pokeys PulseEngine.pdf, it shows the wiring of it?

Art




Post Reply

Who is online

Users browsing this forum: No registered users and 76 guests