S900 motor no, motor return and servo output settings

Hello to everyone. I have s900 and pixhawk 2.1. How should the engine number motor rotation and servo output settings be? In addition, the engine in the motor section of the engine will be a motor b motor c motor d and motor e which motors will be. Thanks in advance. also wonder pid settings. how do I adjust the parameters? please help