title: What's the difference between plc's scan cycle and code surrended by while(1){ ... }?
body: <p>I'm confusing that whether the plc's cyclic execution can be seen as a program surrounded by the endless loop. If not, what's the difference between them? </p>