Structured text vs ladder logic