Skip to content

Shows how to use the TcCOM PLC wrapper function block to catch exceptions without stopping TwinCAT

License

Notifications You must be signed in to change notification settings

Beckhoff-USA-Community/TE1400-Exception-handling-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About This Repository

This sample is created by Beckhoff Automation LLC., and is provided as-is under the Zero-Clause BSD license.

This example shows how to catch an exception within a TE1400 generated PLC function block, create a memory dump file, and reset the TcCOM object. TwinCAT continues to run through the exception. Analysis of the exception/memory dump file is done offline using Windows debugger.

image image

image

image

How to get support

Should you have any questions regarding the provided sample code, please contact your local Beckhoff support team. Contact information can be found on the official Beckhoff website at https://www.beckhoff.com/en-us/support/.

Further Information

Further Information on Exception handling in TE1400 can be found at the Beckhoff Infosys under the TE1400 -> From version 2.x.xxxx.x -> Application of modules in TwinCAT -> Exception handling

Requirements

  • TE1000 TwinCAT 3 Engineering version 3.1.4024.22 or higher
  • TwinCAT XAR version >= 3.1.4024.22
  • Beckhoff TwinCAT Tools for Matlab version >= 2.4.1.0
  • Matlab version >= 2019a
  • See setup notes from Exception handling Exception handling

About

Shows how to use the TcCOM PLC wrapper function block to catch exceptions without stopping TwinCAT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages