Make a 48v M19 to MC4 cable for the AC200L

I would like to plug the 48v 8a M19 on the front of the AC200L into the solar input of the AC200P so I can charge both with one set of solar panels.

How exactly would you accomplish that?