Timer does not work when restarting

Hello everybody!

I created a timer with the following configuration:
{"modbus_polling": {"autostart": true, "period": 10, "repeat": 5}}

At the first start, the timer counted from 0 to 5 and stopped (this is OK).
When I tried to start it again with the “start” or “restart” commands, the timer started counting from 0 to 1 and stopped (and should count to 5).
I was able to start the timer count to 5 only after reconfiguration. To start the timer again, you need to reconfigure again, otherwise it counts from 0 to 1. The “autostart” field does not affect the result.

Tested on FX30S firmware 3.1.0

Hello,
Thanks for reporting this.
I am also able to reproduce the issue. I apologize for the inconvenience.
This will be fixed in the next release.
Regards,
Nicolas

1 Like

In version 3.2.0, the problem is fixed!