Charging AC200P while connected to B230

Have Ac200P. ordered B230. Confused on best way to hook up. AC200P has only 2 input ports. Want to charge both B230 and AC200 while in use. Do I connect B230 to PV port of AC200 and then solar array to AC port via d050s. Then another solar array to B230 ac port via D050S. Other option is B230 to AC200 ac port via D050S then solar array to pv port. Thanks in advance for information.