REST APIs on Industrial PLCsMay 27, 2022
APIs allow for easy interfacing between two different applications and in this article a basic implementation of a Python REST API¹ will be used to manage various SQL commands from a PLC².
In this example, data will be sampled from a network of Sigma-7 Servo Drives that are connected to MP3300iec Controllers. The data will be used for training and evaluating an Anomaly Detection³ model that will be used across the network of similarly configured machines. For this reason, a good design would be to have one central server communicating with all of these machines, storing all of the data, calculating the weights of the model, and distributing the weights back to the controllers in real-time.