Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: Scale and Normalize Instructions in PLC
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Scale and Normalize Instructions in PLC

Scale and Normalize Instructions in PLC

Last updated: March 4, 2021 3:17 pm
Editorial Staff
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

Scale Instruction

SCALE_X scales the normalized real parameter VALUE where ( 0.0 <= VALUE <= 1.0 ) in the data type and value range specified by the MIN and MAX parameters:

Contents
Scale InstructionNormalize InstructionNORM_X and SCALE_X instructions. Explain the instructions with example.PLC ladder program explanationList of Inputs/OutputsPLC Ladder ProgrammingNETWORK 1 :-NETWORK 2 :-

OUT = VALUE ( MAX – MIN ) + MIN

For SCALE_X, parameters MIN, MAX, and OUT must be the same data type. NORM_X normalizes the parameter VALUE inside the value range specified by the MIN and MAX parameters:

OUT = ( VALUE – MIN ) / ( MAX – MIN ), where ( 0.0 <= OUT <= 1.0 )

Normalize Instruction

For NORM_X, parameters MIN, VALUE, and MAX must be the same data type.

Note: SCALE_X parameter VALUE should be restricted to ( 0.0 <= VALUE <= 1.0 )

If parameter VALUE is less than 0.0 or greater than 1.0:

The linear scaling operation can produce OUT values that are less than the parameter MIN value or above the parameter MAX value for OUT values that fit within the value range of the OUT data type. SCALE_X execution sets ENO = TRUE for these cases.

It is possible to generate scaled numbers that are not within the range of the OUT data type. For these cases, the parameter OUT value is set to an intermediate value equal to the least-significant portion of the scaled real number prior to final conversion to the OUT data type. SCALE_X execution sets ENO = FALSE in this case.

If parameter VALUE is less than MIN or greater than MAX, the linear scaling operation can produce normalized OUT values that are less than 0.0 or greater than 1.0. NORM_X execution sets ENO = TRUE in this case.

NORM_X and SCALE_X instructions. Explain the instructions with example.

How to use Scale and Normalize Instructions in PLC

PLC ladder program explanation

General NORM_X and SCALE_X instructions are used for scaling the value or we can use this instruction in analog value scaling.

By using NORM_X instruction we can normalize the actual value in leaner scale within the value range.

For example, here the input value is 0 to 27648 and this value needs to be normalized in linear scaled value range from 0.0 to 1.0.

After this normalization of the value we can use this output as input value of the SCALE_X instruction. This instruction maps the value in required range (here 0 to 100). This instructions generally used in Siemens S7-1200 PLC.

List of Inputs/Outputs

  • Register A :- For analog value (0 to 27648).
  • Register B :- Out of NORM_X
  • Register C :- Output value of SCALE_X instruction.

PLC Ladder Programming

NETWORK 1 :-

Norm X Instruction

Here define MIN value and MAX value of the actual input.

For example if analog sensor is connected in the analog channel, MIN value is 0 and MAX value is 27648.

The instruction will scale the actual input value into normalized value (0.0 to 1.0).

NETWORK 2 :-

Scale X Instruction

Here SCALE_X instruction is used. After normalization of the actual value, we can convert it into desired value range (0 to 100).

For example purpose, we have taken here 0 to 100 range but we can take other value also.

Note :- Above application may be different from actual application. This example is only for explanation and educational purpose only. We can implement this logic in other PLC also. This is the simple concept of NORM_X and SCALE_X, we can use this concept in other examples also.

All parameters and graphical representations considered in this example are for explanation purpose only, parameters or representation may be different in actual applications. Also all interlocks are not considered in the application.

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

Siemens Comparator Logic

How scaling works in PLC ?

Motor Logic with Push buttons

Basics of Interlocking in PLC

Ladder Logic with Timers

Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !
How to use JUMP Instruction in PLC Ladder Logic?
PLC Programming Example on Bottle Line Control
Finding the Best PLC for Your Project – Tips and Tricks
Procedure for Reading or Searching the Tag number in Siemens PLC
Statement List (STL) to Find Highest Value
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers

Related Articles

Redundant Power Supply

How Does Redundant Power Supply Work?

PLC Program for Conveyor System

PLC Conveyor Ladder Logic Program

D flip flop in PLC

D Flip Flop PLC Ladder Logic

Coil Type Timers in Siemens PLC Programming

Coil Type Timers in Siemens PLC Programming

Free Download PLC Book

Free Download Programmable Logic Controller (PLC) Book

Motor Clock Wise Operation using PLC

CW and CCW Operation of Motor from Same Push button

Advanced PLC Programming Training Course

Advanced PLC Course with Programming and Simulation

PLC Demo Software

PLC Trainer Demo Download

More Articles

Online Analyzers Questions & Answers

Online Analyzers Questions & Answers

Glass Cutting and Polishing Machine PLC Automation Solution

Glass Cutting and Polishing Machine: PLC Automation Solution

Solve Pressure Control System Problems

Pressure Control System Problems

Typical Switchyard Layout

Electrical Substation – Busbar Arrangements and Layouts

On-OFF Valve Animation

What is ON/OFF Valve ?

Types of Pressure Measuring Scales

Types of Pressure Measuring Scales

Thermocouple Questions

Thermocouple Terminal block Questions

How to set password in Siemens HMI

How to Password Protect HMI in Siemens TIA Portal?

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?