Atcan Posted January 27, 2017 Report Share Posted January 27, 2017 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. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.