Siemens S7 TIA Portal - FC / FB

So passing this information to the FC/FB input parameter would be copied [Note 1], whereas alternatively using the InOut data type means that the FLC fluctuations will still be captured during [Note 2] manipulation within the FC/FB's logic?
Yes.

Note 1: with the values in place at the time of the FC/FB call, and I don't know for sure if it could happen, but in theory an update (see Note 2) could come in and stir the pot during the copy.

Note 2: "during" assumes updates are asynchronous with, and/or higher priority than, program scan.
 
using the InOut data type means that the FLC fluctuations will still be captured during manipulation within the FC/FB's logic?


That said, the core and design assumption of a digital PLC is that its scan time is, in effect, infinitely fast, i.e. the code being executed behaves, for all practical purposes, the same as analog logic. I heard that the original PLC spec was something like 100ms scan times because the typical relays implementing the logic they were replacing changed state no faster than that anyway.

If you are applying PLCs to a process where a 1-100ms scan cycle is not fast enough, understanding Input, Output, and InOut is the least of your worries.
 
Yes.

Note 1: with the values in place at the time of the FC/FB call, and I don't know for sure if it could happen, but in theory an update (see Note 2) could come in and stir the pot during the copy.

Note 2: "during" assumes updates are asynchronous with, and/or higher priority than, program scan.

Ok, get it. Thank you.
 

Similar Topics

Hi everyone I've created an FC that includes the blocks TCON, TDISCON, TSEND and TRCV. This block has to be as generic as possible across...
Replies
15
Views
1,411
Hello, i can find the CPU when searching for it. But when I go Online i just get the icon for "Not compatible" everywhere. I get no additional...
Replies
4
Views
885
Hi, I want to initialise some tags on first scan only. As they are related to wall-clock time, I want to do the initialisation when the PLC first...
Replies
4
Views
968
good , how do i calculate the instantaneous flow according to the flow totalizer in the tia portal ? 1 pulse = 1m3/h
Replies
18
Views
1,411
Good, Code Totalizer: IF ( Hour = 23) and ( Minute = 59) and ( Second = 59) THEN totalizerDay_previous : = totalizerDay; totalizerDay= 0; End_IF...
Replies
8
Views
1,518
Back
Top Bottom