Sign in to follow this  
Followers 0
Conor

Disable STI

3 posts in this topic

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
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 by Mickey

Share this post


Link to post
Share on other sites
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0