Hello! This is my first post. Being a beginner in the subject, I am facing some troubles on doing a coding for a Samba PLC. I understood that the Main Routine always runs along with any other subroutine that was loaded by the "While Displayed" function in a loaded display. So, here coes my question:
What if a subroutine is called from the Main Routine by the Call Subroutine (say Sub1) and, besides that, a new display is loaded and this displays contains a While Displayed subroutine (Sub2) that is not the same one that was called by the Call Subroutine? Would they run simultaneously? I mean, the three routines, Main, Sub1 and Sub2?
Thanks for any help.