Electro-mechanical systems operating in periodic cycles are pivotal in the Industry 4.0, enabling automated processes that enhance efficiency and productivity. Early detection of failures and anomalies in duty cycles of these machines is crucial to ensure uninterrupted operation and prevent costly downtimes. Although the wear and damage of machines have been extensively studied, a significant proportion of these problems can be traced back to operator errors, underlining the importance of continuously monitoring the machine activity to ensure optimal performance. This work presents an automatic algorithm designed to identify improper duty cycles of industrial machines, exemplified on a mining conveyor belt. To enable the identification of duty cycles, the operational states of the machine are first categorized using machine learning (ML). The study compares six tiny ML techniques on two resource-constrained microcontrollers, reporting an f1-score of 87.6% for identifying normal and abnormal duty cycles and 96.8% for the internal states of the conveyor belt system. Deployed on both low-power microcontrollers, the algorithm processes input data in less than 106 μs, consuming less than 1.16 μJ. These findings promise to facilitate integration into more comprehensive preventive maintenance algorithms.