Document20

Embed Size (px)

DESCRIPTION

ghj

Citation preview

  • KronoTech RSLogix 5000 Ladder Logic Structured Text HMI Search Contact us

    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.

    Example

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

    Ladder Logic Solution

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

    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 LogicFunction BlockStructure TextSFCMnemonic

    Ladder Logic

    BasicCountersTimerArithmeticComparisonFunctionsTrig Functions

    Instruments

    Switches

    HMI

    AdvantagesAlarmsTrends

    Other

    Bottle Application

    Page 1 of 1Ladder Logic Scale with Parameter Function

    11-Nov-13http://www.kronotech.com/LadderLogic/function/ex-scp.htm