5/22/2023 5:53 AM | |
Joined: 1/21/2013 Last visit: 4/26/2024 Posts: 2714 Rating: (440)
|
Hi JK.Seo, Your "Assignment" instruction is on a separate rung with no contact or other bit operation before the instruction. That's why the instruction will always be TRUE. However, since your time-of-day interrupt OB is only executed at the specified time, you can use this functionality to signal a completed operation for your cyclic program. In this case, however, you must write the value to FALSE in your cyclic program after you have detected a new TRUE value, otherwise you will not be able to detect a subsequent execution of your time-of-day interrupt OB. Kind regards |
This contribution was helpful to1 thankful Users |
Follow us on