S7 - is it possible to indirectly call an FC?

uptown47

Lifetime Supporting Member
Join Date
Feb 2008
Location
Over there, next to those boxes
Posts
1,146
Hi all,

I'm looking through some software that has LOTS of FCs that are 'orphaned' in the Program Structure (they have a cross through the box as though they aren't being called).

There's loads of them and I suspect that some/all of them *are* actually called?

Is there a way of hiding a call from the system so that it thinks the block isn't called but, actually, it is? Maybe some way of indirectly calling the block or something?

Any ideas welcome? Thanks :)
 
Yes its possible!

Example of indirect call

Code:
L     999
T myFcNumber
UC    FC [myFcNumber] // Call FC 999
 
Create a source file of the complete project and search for the text "UC FC" or "UC"

Great stuff Bratt. Thanks for the advice. I'll do that.

Do you know if there's another ways apart from a UC or CC to indirectly call a block? Is there any SFC's or SFB's etc that will execute calls that you know of ?

Thanks :)
 
Is there any SFC's or SFB's etc that will execute calls that you know of ?

No i am not aware of any SFC/SFB that can do this. Maybe someone else does? But it looks like you found your culprit so 🍻 to that!
 

Similar Topics

Hello All, I need the ability to remotely reboot a Red Lion CR3000 HMI. Due to some graphics issues when the database is updated the HMI must be...
Replies
4
Views
230
Hello The plant is running and there is no shutdown nowadays therefore I can add 1734- AENTR and its card while PLC is in Run? I do not wanna...
Replies
8
Views
355
Folks, I have a client with an old ABB Advant / MOD300 system (v14.4). Around y2k I installed the ABB Industrial IT MOD300 OPC Server 1.1/2...
Replies
1
Views
186
Hi all so i have a robot project im working on were i need to set the layers. using the hmi screen i would like to use the numeric data display to...
Replies
11
Views
831
I have a FactoryTalk View Se project, Is it possible to export Direct Reference tags to edit in a CSV file or Excel? I know I can export HMI...
Replies
1
Views
294
Back
Top Bottom