Ladder Logic Natural Log / Log Functions

KronoTech

PLC

Ladder Logic

Basic

Counters

Timer

Arithmetic

Comparison

Functions

Trig Functions

Cosine

Arc Cosine

Sine

Arc Sine

Tangent

Arc Tangent

Log

Natural Log

RSLogix 5000

Structured Text

HMI

Instruments

LN - Natural Log

Takes the natural log of value in the source and stores it in the destination

Example

Equation: F8:9 = ln (20)

Ladder Logic Solution:

LN - SLC 500 Beginners Guide

Note

  • If an overflow is generated or an invalid source is detected, a minor error will be generated. This error should be cleared to avoid a major error.

LOG - Log to the Base 10

Takes the log base 10 of the value in the source and stores the result in the destination.

Example

Equation: F8:11 = log (10)

Ladder Logic Solution:

LOG - SLC 500 Beginners Guide

Note

  • If an overflow is generated or an invalid source is detected, a minor error will be generated. This error should be cleared to avoid a major error.

Quick Links

PLC Languages

Ladder Logic
Function Block
Structure Text
SFC
Mnemonic

Ladder Logic

Basic
Counters
Timer
Arithmetic
Comparison
Functions
Trig Functions

Instruments

Switches

HMI

Advantages
Alarms
Trends

Other

Bottle Application