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

I am currently am in a PLC class and need urgent help on how the ladder logic would be laid out. I understand how to get the traffic lights to...
Replies
19
Views
449
Hello, If the date on the license manager of tia Portal has expired, can I still work with it? or is this just to keep the program up to date...
Replies
7
Views
216
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,531
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
1,200
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
1,184
Back
Top Bottom