Nancygogogo Posted June 28, 2018 Report Posted June 28, 2018 Hi everyone, I have a question about the 2.5ms interrupt subroutine, the PLC I have right now is SM35-J-T20 which only has 10ms as the minimum resolution. However, I want to reach the 1ms, so I found a 2.5ms interrupt subroutine to control the output which can control the output with the immediate elements, But I cannot find the example, or how to combine the 2.5ms interrupt subroutine with the main routine. Can anyone give some advice? Thanks.
MVP 2023 Ausman Posted June 28, 2018 MVP 2023 Report Posted June 28, 2018 Hi Nancy, perhaps it would be helpful to look at all of this topic, but specifically my post here that has an example: But this still isn't going to get you 1ms.....only 1.25ms at best. cheers, Aus
MVP 2023 Joe Tauser Posted June 29, 2018 MVP 2023 Report Posted June 29, 2018 Open the Help and search for "Interrupt". If you name a subroutine "_Interrupt 1.25 mS" it will automatically be called every 1.25 ms. Use Immediate instructions to read inputs and write outputs outside of the normal scan. Post your code if you have more questions. Joe T.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now