Ladder Logic Scale with Parameter Function

KronoTech

PLC

Ladder Logic

Basic

Counters

Timer

Arithmetic

Comparison

Functions

ABS

CLR

CPT

SCL

SCP

SQR

SWP

XPY

Trig Functions

RSLogix 5000

Structured Text

HMI

Instruments

SCP - Scale with Parameter

Produces a scaled output value that has a linear relationship between the input and scaled values. The scaled result is returned to the address indicated by the output parameter.

Example

Equation: Scale 4 - 20 ma to 0 - 100 % = F8:101

Ladder Logic Solution:

Convert 4 - 20 ma to 0 - 100 % signal.

SCP - SLC 500 Beginners Guide

Example

Equation: Scale 0 - 100 to 0 - 1000 = F8:101

Ladder Logic Solution

Convert a parameterized min / max to a scaled min / max

SCP - SLC 500 Beginners Guide

Note

  • If the scaled min = max, then the scaled output is forced to the scaled output min.
  • If the input, input min, and input max are all equal, then the output = scaled output min value.
  • If the input min > input max, then the scaled output = scaled output min value.
  • If the scaled min > scaled max, then the output = scaled output min value.

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