Posted 30 Jun 2014 Hi guys, I have a PLC that can be slow when doing online edits. There is an STI called but all of the code in this routine is obsolete. How do I make sure that this routine is not called? I see that there is an Enable bit S:2/1, and this is set to 1. If I set this to Zero will this stop the routine from being called? Thanks Conor Share this post Link to post Share on other sites
Posted 30 Jun 2014 (edited) If you no longer need the subroutine then set the STI setpoint and file number ( S:30 & S:31) to zero and delete the subroutine. See picture. Edited 30 Jun 2014 by Mickey Share this post Link to post Share on other sites
Posted 30 Jun 2014 Programmatically you can disable the STI with the STI Disable (STD) instruction, but you should also be able to poke a zero into S:2/1 using the Status Table view when online with the controller. You are correct that the STI Routine does not execute when this bit is clear, which should free up controller resources for other tasks. Share this post Link to post Share on other sites