MPG controller hack

tayloredtech

TayloredTech
Hey, just a quick question about the MPG,
I'm looking at creating my own controller for the Masso and was wondering how the turn wheel signals each direction. Is the 5v+ just switched between A+ and B+ and their relative 0v when the wheel changes direction or is their more to it?
Thanks mate
 

Attachments

  • MPG-Wiring-for-generic-Pendant-v2-1024x590-1.png
    MPG-Wiring-for-generic-Pendant-v2-1024x590-1.png
    310.2 KB · Views: 14

clover

clover
#TayloredTech, no it is not as simple as that. One could write a complete explanation here but it is easier to refer you to a web page with diagrams. But very simplified, A and B are turned off and on when rotated either CW or CCW. Direction is ascertained by the leading edge (a rise of voltage from 0V to +5V) of the one that rises first - A or B. The explanation and diagrams here under "Quadrature Outputs" will give you the full story.

The work of decoding all of this is done by the Masso.
 

tayloredtech

TayloredTech
Quote from clover on September 25, 2018, 11:04 pm

#TayloredTech, no it is not as simple as that. One could write a complete explanation here but it is easier to refer you to a web page with diagrams. But very simplified, A and B are turned off and on when rotated either CW or CCW. Direction is ascertained by the leading edge (a rise of voltage from 0V to +5V) of the one that rises first - A or B. The explanation and diagrams here under "Quadrature Outputs" will give you the full story.

The work of decoding all of this is done by the Masso and the workings inside the MPG are completely passive.

Thanks @clover,

So a pulsed 5v signal on then off to either a or b indicates a direction and single increment? The pulses are steps so have no acceleration characteristics just number of steps to move right?

So is this example correct;

Wheel turns 10 steps really fast, the Masso would see 10 pulses on the rising edge moves instantly 10x set resolution but if the jog rate is slow, moving the wheel fast or slow would be irrelevant as either way it just acknowledges moving the 10 steps?

Could a PWM controller be used to input the same kind of signal into the Masso?

Cheers
 

eti

eti
@tayloredtech

both A and B need to pulse in a differential format for both CW and CC direction, pulse width sets speed or number of steps for set resolution

you could use an arduino or PLC to emulate the MPG

but a better solution would be to have masso enable these inputs
Jog/Rapid X+ & X- Inputs Not released
Jog/Rapid Y+ & Y- Inputs Not released
Jog/Rapid Z+ & Z- Inputs Not released
Jog/Rapid Mode Input Not released
 

masso-support

MASSO Support
Staff member
as @clover mentioned that the A and B signals have to be in phase, the signal leading defines the direction, its a very common way of sending direction and movement signals and a lot of info online.

 
Top