Attention

IronPLC can only run very simple programs. The steps described are accurate but many language features are not yet supported.

EXP

Returns the natural exponential of a numeric input.

IEC 61131-3

Section 2.5.1.5.2

Support

Supported

Signatures

#

Input (IN)

Return Type

Support

1

REAL

REAL

Supported

2

LREAL

LREAL

Supported

Description

Returns e raised to the power of IN, where e is Euler’s number (approximately 2.71828). This is the inverse of the LN function.

Example

See Also

  • LN — natural logarithm

  • EXPT — exponentiation