Abstract: Smart manufacturing is a development tendency in the manufacturing industry. Thus, this study aimed to construct a desktop smart production line using a virtual and a real system. The data measured by various sensors were collected and combined with an intelligent predictive diagnosis system to achieve online diagnosis, analysis, and prediction of the health status of the machine. We designed an interactive information collection service for the convenience of users. We allowed users to obtain specific information easily and quickly, improve the convenience of controllers and devices, and meet the need for long-term monitoring. Moreover, we focused on reducing production scenarios from cell manufacturing to factory product inspection using robotic arms, three-dimensional printers, and small and complex processing machines with intelligent predictive diagnostic systems. In this regard, the visual recognition function of the robotic arm can perform a product appearance inspection. Finally, in the machine network platform integrating all the controllers, when the machine fails, the information is sent to the user in real time through the communication service software, and the operator can take corresponding measures depending on the warning actions received, such as remote control of the machine, to ensure production efficiency and quality.