Join us today!
Notifications
Clear all
Catching infinite loops in TwinCAT
Tips & Tricks
1
Posts
1
Users
1
Reactions
489
Views
Aug 31, 2022 12:29 pm
(@beckhoffsupport)
Member
Joined: 2 years ago
IPC usage goes to 100% load and it can no longer operate because of an infinite loop in the plc logic. You can enable watchdog monitoring in the plc settings. Adjust the 'watchdog cycles' in accordance with your application so that PLC Run-up excess doesn't get triggered.
After enabling these options, if an endless loop gets triggered again, an exception will occur and corresponding exception position will be displayed in TwinCAT.
In case you want to say thank you !)
We'd be very grateful if you could share this community with your colleagues and friends. You can also buy us a coffee to keep us fueled 😊 This is the best way to say thank you to this project and support your community.
twinControls - https://twincontrols.com/
Reply
rruiter reacted
Topic Tags
Forum Jump:
Forum Information
- 17 Forums
- 267 Topics
- 942 Posts
- 1 Online
- 722 Members
Our newest member: giordano.ceccarini
Latest Post: Beckhoff Automation at SPS 2024
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed