I have a basic understanding of the ladder logic programming structure. I understand that its possible to program subsets that enclose certain rungs. I’m confused as to how a “if-then” structure of programming would work. As an example: if x0 = 170 degrees F then turn on y0, y02, y22 (This would be a subset, one input to control various outputs). That subset would run until the next input became true (i.e. x1 = 180 degrees F and then turn on some other outputs.) This subset would run until a timer kicked the program to the next subset. Is this the best way to program the PLC? Am I correct in assuming that once the program has ran a subset it won’t go back and try to run it again?