Join us today!

Catching infinite l...
 
Notifications
Clear all

Catching infinite loops in TwinCAT

1 Posts
1 Users
1 Reactions
544 Views
TwinControls
Posts: 71
Admin
Topic starter
(@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.

watchdog

 After enabling these options, if an endless loop gets triggered again, an exception will occur and corresponding exception position will be displayed in TwinCAT. 

exception

 

Reply
Share: