LtoN ---- .. figure:: ../media/image905.png :figwidth: 4.80208in :align: center **Purpose** Outputs a constant value or table value, depending on whether the input is TRUE or FALSE. Mathematical description None **Parameters** ==================== ============ ==== ========== ======= ========= Parameter input unit range default remarks ==================== ============ ==== ========== ======= ========= Output when TRUE scalar/table scalar Output value TRUE real [-] [-1e8,1e8] if scalar Action table (TRUE) table if table Output when FALSE scalar/table scalar Output value FALSE real [-] [-1e8,1e8] if scalar Action table (FALSE) table if table ==================== ============ ==== ========== ======= ========= **Remarks** The time in the action table is relative to the instant at which the input signal becomes True(1) or False(0) In contrast with the TAB2 component there is no continuous transition from TRUE to FALSE and vice versa. A table will not have any relation with the other table or constant scalar. **Examples** .. figure:: ../media/image906.png :figwidth: 1.375in :align: center Control scheme Input of LtoN component: Output when TRUE: Table ===== ===== 0 0 ===== ===== 5.000 10.00 10.00 30.00 15.00 100.0 ===== ===== Output when FALSE: Scalar = 50 .. figure:: ../media/image907.png :figwidth: 2.38542in :align: center Time dependent logical input signal and numeric output signal .. figure:: ../media/image908.png :figwidth: 2.38542in :align: center Time dependent logical input signal and numeric output signal .. include:: substitutions_control.rst