We have 2 main types of single phase ACTPM boards an eight pole and a six pole
The eight pole does not engage the i0 or N2 connections 
Black and Red wires are always fed to the Minus and Plus signs
White wires or white and brown wires are always fed to the L1 and L2 connectors
Depending on model of unit the N1 and P can be either Blue and Yellow as above or Purple and White shown below.

If any are incorrect you may end up with a comms error!