3 hours ago
(Yesterday, 12:33)Daniel Wrote: Why don't you just create event script and control it via normal Scheduler? You can then trigger such script any time you want.
The schedule script needs to run every hour to compare the electricity price of the current hour with the average cost for the day, and then control a PLC based on this comparison. We also want to be able to enable or disable this script from the BMS system when it’s not needed. To achieve this, a 1-bit object with
Code:
script.disable/enable
I was wondering if there’s a command like
Code:
script.run()