FUNCTION_BLOCK FB_SUB_REAL

Upon the occurrence of an event at its REQ input, an instance of this function block type sets the value of its OUT variable to the difference of the two input variables IN1-IN2 and then issues an event at the CNF output.

NOTE: Arithmetic overflow may produce a result of ±infinity as defined in IEEE 754.