|
Re: PROGRAMMING PNEUMATICS
But how would you program to turn the switch on and off with the click of the trigger
Would it be
if (p1_sw_trig == 1)
{
relay2_fwd = 1; //to go
}
else
{
relay3_fwd = 0; //to stop
}
would this work for having the switch be in relay2 for on and relay3 is for the switch off. Thanks
|