The block sets the bits of output based on the values of the input. The inputs have the following values when true:
ADVISORY = 0x1000
COMMFAIL = 0x2000
FAILED = 0x4000
MAINT = 0x8000
The value of the output is the sum of the values for the inputs that are true.