FUNCTION_BLOCK E_SEL_xxx
  • An instance of this type provides event-driven selection of data between two inputs whose type is specified by the xxx suffix in the FB type name. Data at the OUT variable is copied from the data (IN0 or IN1, respectively) associated with the most recent event at the EI0 or EI1 input, followed by an event at the EO output.
  • These FB types are found in the src/select folder of the FBDK.
  • An example of this family of FB types is shown below, where xxx = REAL.
Test Procedure
  1. Open and run select/E_SEL_xxx in the FBDK.
  2. Enter data for the input variables.
  3. Exercise the FB by clicking on the event inputs.

Last updated: 2016-05-09.
©2016 Holobloc Inc.
Reuse is permitted under the Academic Free License version 3.0
with attribution to http://www.holobloc.com/doc/navigator.htm