BOOL_TO_FLOAT

BOOL_TO_FLOAT 1:

Obsolete function

This function is obsolete. Please use the functions "..._TO_LREAL" or "LREAL_TO_..." instead, which give the same result.

BOOL_TO_FLOAT 2: Return value

Name

Type

Description

BOOL_TO_FLOAT

LREAL

.

BOOL_TO_FLOAT 3: Inputs

VAR_INPUT
    in    : BOOL;
END_VAR

Name

Type

Description

in

BOOL

Number to be converted.

Requirements

Development environment

Target platform

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

PC or CX (x86, x64, Arm®)

Tc2_Utilities (System)