Back to Browse

Directlogic PLC connected to MySQL using Kepware and data plotting using Python

134 views
Oct 6, 2024
6:27

This evening I continued working on the #Directlogic PI control system. I connected to it using #Kepware and its DirectNET protocol. And also created a local data logger by connecting #MySQL thru #ODBC connector in the DSN settings. Then created a simple table with a timestamp, and two floating point values (setpoint and temperature) and wrote a #Python script to read the entire table and then using #PythonMatplotlib and #PythonPandas plotted a chart to illustrate how the Proportional + Integral control behaves.

Download

0 formats

No download links available.

Directlogic PLC connected to MySQL using Kepware and data plotting using Python | NatokHD