Function blocks
Function blocks for TwinSAFE logic components 143
3.20.3 FB COMPARE configuration in TwinCAT 3
Figure 3-85: FB Compare configuration
Figure 3-86: FB Compare properties
Figure 3-87: FB Compare port properties
A mouse click next the FB port, here CompIn1 to CompIn5, can be used to create variables that can be
linked to input signals. Input settings, such as changing the data type or activation of the input, can be
made via the properties of the FB port.
The MapState and MapDiag entries define which diagnostic functions of the FB are mapped to the cyclic
process image.
The Architecture option field can be used to choose between 1oo2, 2oo3 or 3oo5 evaluation. The
parameter field Allowed Deviation defines the deviation of the input values from each another. The
parameter field Tolerance time (ms) defines the time within which a valid result must be present at the
inputs, in order to avoid a shutdown.