TO_SAFEREAL block

Short summary

Name

TO_SAFEREAL

→POU type

→function

Category

IEC-block, Safe-Convert

Conform to →IEC-standard

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/add.svg not defined in IEC-standard

Graphical interface

images/download/thumbnails/502858153/TO_SAFEREAL-version-1-modificationdate-1664370331788-api-v2.png

Available since

  • version 3.2.10 (for library Standard) – initial variant

  • version 3.2.11 (for library Standard) – moved to global →namespace

Functionality

The blocks serves for explicitly converting the REAL value connected to input IN into a value of data type SAFEREAL.

Inputs, return value


Identifier

→Data type

Description

Inputs:

IN

REAL

value to be converted

Return value:

SAFEREAL


Input EN and output ENO are available when →calling the block. See "Execution control: EN, ENO" for information on input EN and output ENO.

See:

Example for usage within ST-editor

At present, there is no example

When creating your application within the ST-editor, enter a call of a block by typing the text as requested by the syntax or use Content Assist.