Hmm that’s not good. Can you export your blocks?
When a PID goes inactive it sets it’s output to zero only once to allow you to set the pwm manually later. Settings for the PWM block were stored when it was last configured, not when the PID changed the setting.
I suspect that on reboot the pwm was created after the inactive PID and included a setting.
I’ll try to reproduce it.
Can you confirm this theory by:
- confirming that the PWM setting is constant since the reboot
- setting it to zero and confirming that it stays at zero, also after a reboot
A possible fix is perhaps to split manual and PID applied setting of the pwm and only store a manually applied setting. I’ll have to think if this is also possible in other places.