Controlling HAC


#1

How can I read the status from a device into a variable? I want to make a piston that turns on the HAC when the door is closed, but I need to read the status of the HAC in the beginning. I’m new to WC and would be happy for any help.


#2

You need to define the variable. Next is to create the task that will set the variable, something similar to below.

or using an Expression:

image