S7-300 FC block getting values from another block

DenZ_P

Member
Join Date
Jun 2016
Location
SomeWhere
Posts
64
Hello everyone,

This FC block i made for siemens s7-300 would be my generic block and will have logic inside with local variables. I called it in different FBs but the flow in the first FB is going inside also in the other FB even though I put different addresses of the flow? I don't understand why? I have called the FBs in OB1 by UC - Unconditional call.

please help. thanks!
 
How do you know this "I called it in different FBs but the flow in the first FB is going inside also in the other FB even though I put different addresses of the flow" ?
 
I think you are running into a monitoring issue. If you open your FC and monitor it, you really don't know which call of the FC your are monitoring. Unless you select monitor with call up path.
 
Hello L D[AR2,P#0.0],

The FC is called in different FBs mainly in FB56, FB57, and FB58. Now i have running flow in FB56 and that running flow is being seen when I monitor my FC in the opened FB57 online.

and this FBs is called in OB1 via Unconditional Call

UC "ByPass_504A" -FB56
UC "ByPass_504B" - FB57
UC "ByPass_104" - FB58
 
How do you know this "I called it in different FBs but the flow in the first FB is going inside also in the other FB even though I put different addresses of the flow" ?

Hello everyone,

This FC block i made for siemens s7-300 would be my generic block and will have logic inside with local variables. I called it in different FBs but the flow in the first FB is going inside also in the other FB even though I put different addresses of the flow? I don't understand why? I have called the FBs in OB1 by UC - Unconditional call.

please help. thanks!

I think you are running into a monitoring issue. If you open your FC and monitor it, you really don't know which call of the FC your are monitoring. Unless you select monitor with call up path.

Hello Boneless,

Thanks for your response. I have searched this Call Up path procedure and found this:

Follow the below Steps for Monitoring the FC/FB (multiple instance) with called up path.

1.Open the location where multiple instance is called.
2.Go to Menu-->Debug -->Select Test Operation Mode
3.Save the Block and Download
4.Now Go Online..Right Click on the multiple instance 'Called Block'-->Monitor with Callup path.

is the above instruction correct?
 
Additional Information about this.

My flow for each input in the FC is coming from the instance DB parameter of a Function Block with FC analog input scaler inside.
 

Similar Topics

Hello.We are trying to convert a program written with S7-300 Simatic Manager to S7-1200 V16.Unfortunately, there is only LAD,FBD option in S7-1200...
Replies
2
Views
771
HI.I REVIEWED A PROJECT DONE. THIS FB41 PID BLOCK WAS USED FOR THE PASTEURIZATION PROCESS. THE PROCESS I CAN'T UNDERSTAND IS THE ACTION. WHILE THE...
Replies
2
Views
1,117
The matter is im facing a BB alarm while i try to communicate yaskawa A1000 & S7-300 by profibus PPO type 5 method. I have changed my first...
Replies
3
Views
3,134
Hello all, Newbie in Siemens, I want to ask if there will be any issue when I download the instance datablock of a certain Function block? Also...
Replies
6
Views
4,440
Hello guys, I am very new to PLC's. I have made data block with my s7 program. I want to display few of the variables on my wonderware Intouch. I...
Replies
8
Views
4,008
Back
Top Bottom