Page 2 of 4

Re: auggie with mpg

Posted: Thu Jun 28, 2018 2:02 am
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

Re: auggie with mpg

Posted: Thu Jun 28, 2018 2:10 am
by Richard Cullin
looking at the pendant connector gives the impression that its possible somehow

Re: auggie with mpg

Posted: Thu Jun 28, 2018 4:31 am
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

Re: auggie with mpg

Posted: Thu Jun 28, 2018 12:16 pm
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

Re: auggie with mpg

Posted: Thu Jun 28, 2018 12:24 pm
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





Re: auggie with mpg

Posted: Thu Jun 28, 2018 12:42 pm
by Richard Cullin
I will give it a try , is this what you think

Re: auggie with mpg

Posted: Thu Jun 28, 2018 3:34 pm
by ArtF
Looks to me like the pendent should work as long as its turned on, and auggie is in state 10 expecting mpg use.
Ill send a note to the developer to ask..

Art

Re: auggie with mpg

Posted: Thu Jun 28, 2018 7:26 pm
by ArtF
Richard:

No, sorry, wont work.

  The pendent inputs are like IO for an application. Id have to add a pendent module to
take advantage of it. I can probably add axis script calls to set an axis's mpg though. Im
looking into it.

Thx
Art

Re: auggie with mpg

Posted: Mon Jul 02, 2018 9:53 am
by Richard Cullin
I have set up a pic chip to emulate quadrature re signals on the pokey encoder pins for x y axis , another pic sends in positioning data wirelessly. its all on bread boards but looks good functionally . have not tried x1 x10 x100 pulse multiplying yet or control of jogging speed by clocking quadrature output pulse rate  

I think I can live with this solution , one pg can now control multiple axis' and its cordless .  a nice touch would be an axis set zero button on the pendant

Re: auggie with mpg

Posted: Mon Jul 02, 2018 11:12 am
by ArtF
Good idea. Well done.

  The ratios may be harder to handle, they sound it anyway. At some point Ill get there.

Art