markus506
Member
Hi Everyone,
New PLC programmer here (13 years of embedded experience), so please bear with me....
Building a cell using a Compactlogix L24-QB1B. I have a couple of quick questions:
1/ If you have multiple programs within a task, does each main program get executed sequentially?
2/ Is it possible to have 'global' subroutines? I have 3 different stations in my cell, each using the same stepper/drive. I wanted to create 3 programs to clarify the code, however, the routines to home, execute records, etc. are the same for each drive. Is there a way to have a 'global' subroutine, or does the subroutine code need to exist within each separate program?
Thanks!
New PLC programmer here (13 years of embedded experience), so please bear with me....
Building a cell using a Compactlogix L24-QB1B. I have a couple of quick questions:
1/ If you have multiple programs within a task, does each main program get executed sequentially?
2/ Is it possible to have 'global' subroutines? I have 3 different stations in my cell, each using the same stepper/drive. I wanted to create 3 programs to clarify the code, however, the routines to home, execute records, etc. are the same for each drive. Is there a way to have a 'global' subroutine, or does the subroutine code need to exist within each separate program?
Thanks!