311
edits
Line 20: | Line 20: | ||
Rule1 ON Power1#state=1 DO backlog Delay 50; Power1 0 ENDON | Rule1 ON Power1#state=1 DO backlog Delay 50; Power1 0 ENDON | ||
rule1 1 | rule1 1 | ||
Rule2 ON Power2#state=1 DO backlog Delay 50; Power2 0 ENDON | |||
rule2 1 | |||
Rule3 ON ANALOG#Voltage1>150 DO Power1 0; Power2 0 ENDON | |||
rule3 1 | rule3 1 | ||
(100 is too low, limit sometimes trips before motor starts moving, 200 is a lot) | (100 is too low, limit sometimes trips before motor starts moving, 200 is a lot) | ||
Line 33: | Line 33: | ||
CMD: rule1 | CMD: rule1 | ||
RSL: RESULT = {"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":54,"Free":457,"Rules":"ON Power1#state=1 DO backlog Delay 100; Power1 0 ENDON"}} | RSL: RESULT = {"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":54,"Free":457,"Rules":"ON Power1#state=1 DO backlog Delay 100; Power1 0 ENDON"}} | ||
CMD: | CMD: rule3 | ||
RSL: RESULT = {" | RSL: RESULT = {"Rule3":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":40,"Free":471,"Rules":"ON ANALOG#Voltage1>100 DO Power1 0 ENDON"}} | ||
CMD: adcparam | CMD: adcparam | ||
RSL: RESULT = {"AdcParam1":[33,0,4095,0,1024]} | RSL: RESULT = {"AdcParam1":[33,0,4095,0,1024]} |