Join us today!

Finding out where a...
 
Notifications
Clear all

Finding out where a function block or a program is being called in TwinCAT

1 Posts
1 Users
1 Reactions
466 Views
TwinControls
Posts: 71
Admin
Topic starter
(@beckhoffsupport)
Member
Joined: 2 years ago

If you want to find out in which parts of the program a function block or a program is being called, you can use the Call Tree window. You don't need to be online with the PLC to use this feature.

Open the call tree window. 

calltree

 

Type the name of the function block and click the right green arrow.

calltreeinfo

 

It also shows the POUs that are being called from that POU. In the image below, we can see that MAIN program is being called only in the PlcTask and MAIN program is calling fbFillArray function block and Prg_Test program. 

calledandcalls

 

Reply
Share: