That is a very simplified drawing, and not all panels are the same. Also, you're push buttons don't appear to be wired. Neither do the terminal blocks, if that's what those are. It appears you decided to show some wiring, and not all And the "program" as you call it is usually called a Processor. The Program is what is stored in the processor. The processor executes according to what you've told it to do in your program.