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 housekeeping; and they are executing sequentially. Hence, I can't see a need of an RTOS on a PLC. But I know that PLCs (or at least some of them) are using RTOSes like VxWorks and RTLinux.
So, I'm confused about what RTOSes doing in a PLC. Can someone explain to me what does the RTOSes doing in PLCs?
So, I'm confused about what RTOSes doing in a PLC. Can someone explain to me what does the RTOSes doing in PLCs?