relay

Block Category: Nonlinear

Description: The relay block simulates a tri-state relay operator. This block is useful for simulation switches or switching operators.

Dead Band: Indicates the width of the zone of lost motion about the input signal’s 0 value, thereby creating a tri-state relay operator (-1, 0, 1). When input is less than half the negative Dead Band value, the relay block outputs -1. When input is greater than half the positive Dead Band value, the relay block outputs +1. When input lies within the range (-Dead Band/2, +Dead Band/2), the relay block outputs 0. You cannot specify a negative value for this parameter. The default is 0. You can also enter a value as a C expression.

Label: Indicates a user-defined block label that appears when View > Block Labels is activated.