For PLCs where you have very simple operations and loops, Siemens has Ladder Logic. It works fine for simple stuff, but implementing anything more complicated than
if input 1 then output 1
becomes cumbersome very quickly.
Things like scratch are made to teach you enough to graduate to a more complicated language. Realistically it’s all just methods/functions and the inputs and outputs, but using text instead of pictures.
Latest Answers