Function blocks
Function blocks for TwinSAFE logic components 213
Table 3-193: State information
RUN
The FB XOR module assumes the RUN state if the input FbRun is TRUE.
The outputs assume the following values, depending on the active input pairs
(configuration: FB Input Active):
XorOutY = (Xor1InY XOR Xor2InY) AND FB Input Active(Y) with Y = {1,2 .. 8}
STOP
The FB XOR module assumes the STOP state if the input FbRun is FALSE.
The outputs assume the following values:
XorOutY = 0 with Y = {1,2 .. 8}
3.30.3 Configuration of the FB XOR in TwinCAT 3
Figure 3-137: FB XOR configuration
A mouse click next to the respective FB Port can be used to create variables that can be linked to input or
output signals. The properties of the FB Port can be used for settings such as port activation.
The MapState and MapDiag entries define which diagnostic functions of the FB are mapped to the cyclic
process image.