5 ln function, 6 exp (e**x) function, 7 sqrt function – Rockwell Automation 57C610 Enhanced Basic Language, AutoMax User Manual

Page 91: 8 abs function, 9 chr$ function

Advertising
background image

7Ć3

7.5

LN Function

Format:

LN(expression)

where:

expression must be of numeric (integer or real) type.

The function returns a real value equal to the natural log of the input.

The result is in real format.

7.6

EXP (e**x) Function

Format:

EXP(expression)

where:

expression must be of numeric (integer or real) type.

The function returns a real value equal to (e**expression) where e is

2.71828. The result is in real format.

7.7

SQRT Function

Format:

SQRT(expression)

where:

expression must be of numeric (integer or real) type.

The function returns a real value equal to the square root of the

input and the same data type as the input.

7.8

ABS Function

Format:

ABS(expression)

where:

expression must be of numeric (integer or real) type.

The function returns a real or integer value equal to the absolute

value of the input and the same data type as the input.

7.9

CHR$ Function

Format:

CHR$(expression)

where:

expression must be of integer type (hexadecimal is also

considered integer).

Advertising
This manual is related to the following products: