Until someone can confirm mackie control protocol working with Sonar, a solution is to use Sonar ACT and program the ACT template for maschine with midi learn.. I have used the following assignments
B1: Maschine "Restart" to Sonar "go to start"
B2: Maschine "Play" to Sonar "play/stop"
B3: Maschine "<" to Sonar "go to previous marker", or "go to previous measure"
B4: Maschine ">" to Sonar "go to next marker", or "go to next measure"
B5: Maschine "Erase" to Sonar "record"
B4 is dependent on whether you use Markers or not
B5 depends on your workflow...
regards,