In order to solve the problem that there is a huge amount of port machinery operating state data, the traditional fault diagnosis method is difficult to effectively obtain the mechanical fault information from the massive data and also cannot accurately diagnose the fault. This paper presents a fault diagnosis method for port machinery based on the FastAP algorithm. By analyzing the characteristics of the FastAP algorithm, the algorithm is introduced into port machinery fault diagnosis, and a port machinery fault diagnosis model based on FastAP is proposed. Through simulation experiments, the algorithm and its application in port machinery fault diagnosis are verified. The experimental results show that compared with the standard AP algorithm, the FastAP algorithm performs well in the sum of similarity, clustering accuracy, and clustering calculation time and has better performance, which is more suitable for fault diagnosis. The fault diagnosis method based on the FastAP algorithm has a high diagnosis accuracy of port machinery fault, reaching more than 92%, and can accurately diagnose the normal state, inner and outer ring fault state, and rolling element fault state of the actual port mechanical belt conveyor. The research on remote control and fault diagnosis of port machinery equipment based on wireless communication technology can effectively solve the problem that there is a huge amount of port machinery operating state data, and the traditional fault diagnosis methods are difficult to effectively obtain mechanical fault information from the massive data and thus cannot accurately diagnose the fault.