Discrete Control Condition function block configuration and execution

Detect force setpoint conditions

The DCC block detects when one or more force setpoint conditions evaluate to True and sets the block force setpoint outputs accordingly.

F_OUT is the named state (F_STATEn) of the force setpoint condition (F_OUT_D_n = True) becoming active that has the smallest condition number of the force setpoint conditions becoming active.

The force setpoint discrete output F_OUT_D is based on the logical PED (Positive Edge Detection) and the logical OR of the F_OUT_D_n parameters. When one or more F_OUT_D_n transitions from False to True, the block sets F_OUT_D to True for one scan even if other conditions are already True. Otherwise, F_OUT_D is False.

Another force setpoint output F_OUT_INT is the unsigned 16-bit binary weighted output value that represents the bit combination of all F_OUT_D_n parameters. F_OUT_INT is non-zero when at least one F_OUT_D_n is True.