viewOn Animation

I am using one of the built in HVAC fan animations that I want to spin only when all motors are running. What would the script look like to have an AND statement that will look at multiple Boolean tags so once all of them are true the fan animation spins?

You could do something like this in the BASIC IDE section of the Flexy and then tie the motor to the output tag

image

Thanks for the pointer, getting closer.

See below. Once I turn the motors on it seemingly goes into the function but “Group1_Motors_On” does not come on. This is a MEM tag:

image.png

Ignore me… user error.

image.png

Hi @bvorrie,

Glad to hear that it’s working, but I’d recommend that you move the code from the cyclic section to the init section. If it’s in the cyclic section, the device is running that section of code every processor cycle which can be a lot for the Ewon to handle. You shouldn’t need to change any of the code and should be able to just push the code into the Init section below.

-Tim