[KongchangAI]
ConceptFunction Block / 功能块

FB

A functional unit in PLC programming that has an associated instance data block and must retain internal state. Its main difference from an FC (Function) is that it requires instantiation.

Timeline (last 90 days)

Oct 15

FB (function block) is a functional unit with background data; its difference from FC is that it needs to preserve internal state; instantiation means allocating an independent background data area for each FB call, which in 200SMART is usually embodied as one variable.

Unverified50%
Oct 15

In the new version of 200SMART, all FBs need to be instantiated, and a variable must be declared in advance, otherwise the program will report an error after import because the instance cannot be found.

Unverified50%
Oct 12

An FB (Function Block)'s internal static variables are stored in a separate instance data block (Instance DB); if multiple production lines share the same instance DB, timer states overwrite each other, creating a multi-instance race condition.

Unverified50%

All Facts (3)

Source Articles