we have a festo single valve connected to an actuator.
once we turn on everything, the compressor goes on and then the actuator just goes out and stays out!
how do we program it so we can press a button to extend and retract?
can someone please post what their code looks like?
right now we have tried:
relay1_fwd = p2_sw_trig
relay1_rev = 0
and----
relay1_fwd = p2_sw_trig;
relay1_fwd = 0; relay1_rev=0;
relay1_fwd = 1; relay1_rev=0;