Connecting 24 V supply voltage with 2-row setup

Supply the main row and the auxiliary row separately with 24 V. Connect the 24 V supply in both rows to the last module on the far right.