Recently I have been wanting to use a WAIT command in Yasakwa programing (YRC1000) with multiple input signals, is this possible? As a work around I have either been using two waits in a row or been making small if loops, that works fine just wondering if there is a better method I could be using to improve my code.
example of desired command:
WAIT IN(1)=ON AND IN(2)=ON
next steps...
current code:
WAIT IN(1)=ON
WAIT IN(2)=ON
next steps
other example i sometime use:
*Label1
if IN(1)=ON AND IN(2)=ON
Jump *Label2
Jump *Label1
*Label2
next steps..