The tutorial mission on how to use the grinder machine is not very in-depth. It has you put in three of the same rarity weapons (in this case, white), and it gives you a better, blue gun.
Other than that it mentions that you have to experiment with different recipes and that if you grind with moonstone you are more likely to get better results.
I have tried the grinder quite a few times and sometimes I put in three weapons of the same rarity, and it does not allow me to grind them.
I have listed a number of specific questions, but would like to just know as much as possible about how exactly the grinder works.
What other requirements must be met in order for you to be able to grind weapons?
Is it just that some weapons don't mix, such as different elemental weapons?
Does the weapon class have anything to do with it (pistol, shotgun, etc.)?
Is it possible to grind purple weapons (or higher)?