Beremiz_cli.py
changeset 3812 92e528718733
parent 3775 5780e7c13fd8
--- a/Beremiz_cli.py	Sat May 20 00:37:31 2023 +0200
+++ b/Beremiz_cli.py	Mon May 22 14:37:15 2023 +0200
@@ -117,7 +117,8 @@
         click.echo("Press Ctrl+C to quit")
         try:
             while True:
-                time.sleep(1)
+                session.controller.UpdateMethodsFromPLCStatus()
+                time.sleep(0.5)
         except KeyboardInterrupt:
             pass