I don't know in your terminology.
Maybe this helps:
I replaced Gen6 by Ramps on Mega
The Gen6 connector was: blue / red / green / black
The Ramps connector was: Red / Black / Blue / Green
I had to cross connect for ramps as:
Gen6 blue to Ramps black
Gen6 red to Ramps red
Gen6 green to Ramps green
Gen6 black to Ramps blue
to get it all work.
Thomas
www.3daybreaker.blogspot.com
Orca V4.4 rebuild to Ramps with Mk8 and E3D, as well as a Rostock Delta Mini and an OLO in backorder :-)