An instance of this type provides sampling of an input variable
IN
whose type is specified by the
xxx
suffix in the FB type name. Upon the occurrence of a
REQ
event:
- If the value of the
OUTvariable is already equal to that of theINvariable, no action is taken. - Otherwise, the value of
OUTis copied from the value ofIN, and an event is issued at theCNFoutput.
These FB types are found in the
src/sample
folder of the FBDK.
An example of this family of FB types is shown below, where
xxx = REAL.