I want to implement over current protection through microbasic scripting. The actuator should stop as soon as the current crosses a threshold level.
My scripting looks like this.
current1 = getconfig(_A,1)
if current1 > 50
But the actuator is not stopping resulting in tripping of circuit breaker. pls advice.