esp400

MrPLC Member
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About esp400

  • Rank
    Hi, I am New!

Profile Information

  • Country United States
  1. Timed Interrupt (STI)

    The STI can be configured to interrupt the scan using the STE and STD instructions. In this way you could create zones all over your subroutines that would interrupt the main scan. These STI routines are time based rather than event based. The other useful thing about the STI is that you can configure the time interval that the STI looks at the selected zone. This would be useful if you had to capture information/make calculations etc. If you want more than one subroutine file to be scanned you can use the STS instruction to feed info to S:30 and S:31 to input the interval and the file number. This instruction can add to the total scan time depending on what you set the interval to and there is some latency between the STI timeout and the start of the interrupt routine and also is dependent on what processor you are running.