Relay Setup on Pixhawk 4 and PM07 module

Check this post PixHawk Aux Relay Parameters setting Confusions - SOLVED