Attention
IronPLC can only run very simple programs. The steps described are accurate but many language features are not yet supported.
LOG¶
Returns the base-10 logarithm of a numeric input.
IEC 61131-3 |
Section 2.5.1.5.2 |
Support |
Supported |
Signatures¶
# |
Input (IN) |
Return Type |
Support |
|---|---|---|---|
1 |
|
|
Supported |
2 |
|
|
Supported |
Description¶
Returns the common logarithm (base 10) of IN. The input must be
positive; the result of LOG applied to zero or a negative value
is undefined.