I have been implementing a real-time scheduler for a project and now I want to use this in STM32 microcontroller and ultimately that will be used as the brain of a PLC. But when I learned about PLCs, I found out that PLCs has 4 steps in PLC scan cycle: input scan, program scan, output scan and...