The critical part of programming in industry is being able to write and debug robust code. This means that we must always be thinking of ways to make the code fail in order to fix it so it cannot happen again. This allows us to build robust code that will stand up to scrutiny and not fail, reducing the downtime of machinery.
This is a companion discussion topic for the original entry at https://www.solisplc.com/tutorials/siemens-plc-function-block-programming-and-opc-server-configuration