ok corrected Version
Green- 2 pin ( mpg A+)
White- 3 pin ( mpg B+ )
Config -> Ports&Pins -> Encoder/MPS -> MPG1 Enabled | A-Port = 2 | A-Pin = 2 | B-Port = 2 | B-Pin = 3
Green&black- 1 pin ( jog on led +5v )
White&black- gnd ( jog on led gnd)
this is only the led, we will take care later
Yellow- 4 pin ( select x axis )
Config -> Ports&Pins -> Input Signal -> OEMTrigger#1 Enabled | Port = 2 | Pin = 4
System Hotkeys -> Trigger#1 OEM Code = 259
Yellow&black- 5 pin ( select y axis )
Config -> Ports&Pins -> Input Signal -> OEMTrigger#2 Enabled | Port = 2 | Pin = 5
System Hotkeys -> Trigger#2 OEM Code = 260
Brown- 6 pin ( select z axis )
Config -> Ports&Pins -> Input Signal -> OEMTrigger#3 Enabled | Port = 2 | Pin = 6
System Hotkeys -> Trigger#3 OEM Code = 261
Brown&black- 7pin ( select a axis )
Config -> Ports&Pins -> Input Signal -> OEMTrigger#4 Enabled | Port = 2 | Pin = 7
System Hotkeys -> Trigger#4 OEM Code = 262
Gray- 8pin ( x1 )
Config -> Ports&Pins -> Input Signal -> OEMTrigger#5 Enabled | Port = 2 | Pin = 8
System Hotkeys -> Trigger#5 OEM Code = 265
Gray&black- 9pin ( x10 )
Config -> Ports&Pins -> Input Signal -> OEMTrigger#6 Enabled | Port = 2 | Pin = 9
System Hotkeys -> Trigger#6 OEM Code = 266
Orange- 10pin ( x100 )
Config -> Ports&Pins -> Input Signal -> OEMTrigger#7 Enabled | Port = 2 | Pin = 10
System Hotkeys -> Trigger#7 OEM Code = 267
Orange&black- +5v ( com for selector )
this is wrong, Needs to be connected to GND