An instance of this type provides multiplexing of inputs IN0...IN3, whose type is specified by the xxx suffix in the FB type name. Upon the occurrence of an REQ event, data at the input selected by the K variable is copied to the OUT variable, followed by an event at the CNF output.
Input selection is done according to the following rules:
  1. INk is selected for K = 0,1,2, or 3.
  2. IN3 is selected for K>3.
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.
Last updated: 2011-01-31.
©2011 Holobloc Inc.
Licensed under the Academic Free License version 3.0.