R_SEL

Selects between two REAL analog values.
r_sel_block
Parameter values for the R_SEL function:
Parameter
Data Type
Description
SEL
BOOL
Select signal.
When TRUE, OUT=PV2
When FALSE, OUT=PV1
PV1
REAL
Process variable having a REAL value.
PV2
REAL
Process variable having a REAL value.
OUT
REAL
REAL value PV1 or PV2. This output is a finite value when the selected process variable has a finite value.
Function Block Diagram Example
r_sel_fbdexample
Structured Text Example
blink_1(Run, Cycle1); Result := R_SEL(blink_1.Q, Process1, Process2;)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal