EasyManuals Logo

JUMO LOGOSCREEN 700 User Manual

JUMO LOGOSCREEN 700
64 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #35 background imageLoading...
Page #35 background image
35
8 Functions
8 Functions
The ST module supports the following functions:
Type conversion
Arithmetic functions
Numerical functions
Bit sequence functions (shift functions)
Logical functions
Selection (statistics)
Comparison
Date and time
Other functions
8.1 Type conversion
Admissible data types
Argument: UINT, UDINT
Result: BOOL, UINT, UDINT, REAL
INT_TO_REAL
Converts an INTEGER into a REAL number.
Example:
a := INT_TO_REAL(10); (* a := 10.0 *)
INT_TO_DINT
Converts an INTEGER into a DOUBLE INTEGER.
Example:
a := INT_TO_DINT(10); (* a := 10 *)
INT_TO_BOOL
Converts an INTEGER into a BOOL value.
The result is FALSE if the argument is 0. In all other cases, the result is TRUE.
Examples:
a := INT_TO_BOOL(0); (* a = FALSE *)
b := INT_TO_BOOL(1); (* b = TRUE *)
c := INT_TO_BOOL(8); (* c = TRUE *)
DINT_TO_REAL
Converts a DOUBLE INTEGER into a REAL number.
Examples:
a := DINT_TO_REAL(100000); (* a = 100000.0 *)

Other manuals for JUMO LOGOSCREEN 700

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the JUMO LOGOSCREEN 700 and is the answer not in the manual?

JUMO LOGOSCREEN 700 Specifications

General IconGeneral
BrandJUMO
ModelLOGOSCREEN 700
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals