AI Powered Product Design, Analysis & Simulation

Siemens S7-1200 PLC Tutorial Ep.15 – MOV, Math and Analogue Scaling Instructions Explained

Episode 15 of our PLC & SCADA series covers data handling and math instructions — the instructions that process, move, and calculate values inside a PLC. Learn MOV, ADD, SUB, MUL, DIV, CMP, and data conversion instructions used in real industrial applications.

AB
ABC Trainings Team
June 7, 2026 — 9 min read

Siemens S7-1200 PLC Tutorial Ep.15 – MOV, Math and Analogue Scaling Instructions Explained (Updated June 2026)

PLC programming is not just about turning outputs on and off. Real automation systems calculate speeds, compare temperatures, scale sensor readings, and move data between memory areas hundreds of times per second. This is where data handling and math instructions come in — and what most people don't realise is that these instructions are what make the difference between a basic sequence controller and a real process automation system. With AURIC Industrial City near Sambhajinagar attracting ₹71,343 crore in investment and 62,405 manufacturing jobs in Maharashtra, engineers who can program PLC data operations are in serious demand. Episode 15 covers the full range: MOV, FILL, ADD, SUB, MUL, DIV, comparison instructions, and analogue sensor scaling — with real applications from the automotive and process industries.

TL;DR
  • Data handling instructions (MOV, FILL, BLKMOV) move values between PLC memory locations and registers
  • Math instructions (ADD, SUB, MUL, DIV) perform calculations on integer and real number data types
  • Comparison instructions (EQ, NE, GT, LT, GE, LE) trigger outputs based on value conditions
  • Scaling instructions adapt raw sensor signals (4-20 mA) to engineering units (degrees C, RPM, bar)
  • These skills are used daily at Bajaj Auto, Endurance, Skoda VW, and every automated plant in Maharashtra

What Are Data Handling Instructions in PLC Programming

Data handling instructions are the instructions that manipulate values stored in PLC memory — moving them from one place to another, filling arrays with preset values, or copying blocks of data for recipe management. What most people don't realise is that a modern PLC does not just turn output coils on and off — it manages hundreds of data words (16-bit integers), double words (32-bit), and real numbers (32-bit floating point) simultaneously. In a Siemens S7-1200 PLC, data is stored in Data Blocks (DB) or memory bits (M area), and instructions like MOVE, FILL_BLK, and UMOVE are the tools you use to manipulate that data. Understanding data types — INT, DINT, REAL, BOOL, WORD — and how PLC memory is organised is the foundation for everything in this episode.

Siemens S7-1200 PLC Tutorial Ep.15 – MOV, Math and Analogue Scaling Instructions Explained
Real student workshop at ABC Trainings

MOV, FILL, and Block Move – Managing PLC Memory Values

The MOV (Move) instruction copies a value from a source address to a destination address in PLC memory. For example, MOVE MW10 to MW20 copies the value stored in Memory Word 10 into Memory Word 20. This is used to transfer recipe setpoints from a database register to an active setpoint register when an operator selects a new recipe at the HMI. The FILL instruction fills a range of memory locations with the same value — useful for initialising arrays or clearing recipe buffers. BLKMOV (Block Move) copies a continuous block of memory addresses at once — for example, copying 10 consecutive setpoint values from a recipe area to an active production area in a single instruction. In Siemens TIA Portal for S7-1200, these are available in the standard instruction set under Move Operations. We program all of these in live lab sessions at ABC Trainings Pune and Sambhajinagar.

InstructionCategoryFunctionIndustrial Use Case
MOVData MoveCopy value from source to destinationRecipe setpoint transfer at HMI
ADDMathSource1 + Source2 to DestinationAccumulate flow totals in pipe
MULMathSource1 x Source2 to DestinationSpeed-to-position calculation
CMP GTCompareTRUE if Source1 greater than Source2High-temperature alarm trigger
SCALE_XConversionScale raw ADC value to engineering unitPT100 temp sensor 0-200 degrees C
FILLData MoveFill memory range with constant valueInitialise recipe buffer at startup

Math Instructions – ADD, SUB, MUL, DIV, MOD in the PLC

Math instructions perform arithmetic on PLC data values in real time during every scan cycle. ADD adds two source values and stores the result in a destination register. SUB subtracts, MUL multiplies, DIV divides. MOD gives the remainder after division — used for detecting even/odd parts in a packaging sequence. For flow rate calculations, a plant like Lubrizol (₹1,680 crore plant, Shendra MIDC) might use ADD and MUL to calculate total fluid dispensed from pulse-count inputs and known pipe geometry. Real number (REAL/FLOAT) data types allow fractional calculations for temperature conversions, speed ramping, and PID setpoints. Trust me — once you understand how to chain ADD and MUL instructions to calculate process variables in real time, you think differently about every piece of machinery you look at.

Siemens S7-1200 PLC Tutorial Ep.15 – MOV, Math and Analogue Scaling Instructions Explained
Real student workshop at ABC Trainings

Comparison Instructions and Their Role in Process Control

Comparison instructions evaluate a condition between two values and set a Boolean result bit TRUE or FALSE. CMP EQ (Equal): TRUE if Source1 equals Source2. CMP GT (Greater Than): TRUE if Source1 is greater than Source2. CMP LT (Less Than): TRUE if Source1 is less than Source2. GE (Greater or Equal) and LE (Less or Equal) are also standard. In practice: if the accumulated product count (MW30) equals the batch preset (MW32), trigger a CMP EQ output to stop the filling nozzle — this is how a bottling machine at Whirlpool Ranjangaon (Plot D-1, MIDC) works. If a motor temperature word (MW50) exceeds the limit constant representing 85.0 degrees C, a CMP GT output triggers an alarm to the SCADA system. Comparison instructions are the decision-makers in every data-driven PLC control program.

Scaling Analogue Sensor Signals to Engineering Units

Raw sensor signals in industrial automation are typically 4-20 mA current or 0-10 V voltage, which the PLC analogue input module converts to a 16-bit integer (0 to 27648 in Siemens S7-1200 format). But operators need to see actual engineering units: degrees C for temperature, bar for pressure, m/s for conveyor speed. Scaling converts the raw ADC value to an engineering unit using a linear formula. In Siemens TIA Portal, the NORM_X and SCALE_X instructions handle this in one step. In Episode 15 we program a complete temperature scaling example: a PT100 sensor input scaled from raw 0-27648 to 0-200 degrees C, displayed on both the PLC program and the WinCC HMI simultaneously. This is a skill used at every plant with any analogue process variable — from Bajaj Auto to Lubrizol to Endurance Technologies.

Where These Skills Make You Employable in Maharashtra

Data handling and math skills differentiate an operator-level PLC technician from an automation engineer. In Pune: Bajaj Auto Akurdi (164+ automation openings) and Tata Motors Ranjangaon both run PLC systems with complex recipe management and real-time calculations — exactly what you learn in Ep.15. In Sambhajinagar: Skoda VW (Plot A-1/1, Shendra MIDC) uses SIMATIC S7-1500 PLCs with extensive DB-based recipe handling for body paint lines. Bajaj Auto Waluj (Plot G-137) and Endurance Technologies (Plot E-92, Waluj) need engineers who can read and modify data handling rungs without shutting down production. In Sangli: Kupwad MIDC industrial cluster and SMMMA's 250+ member firms include process industries that use PLC-based control with analogue scaling daily. ABC Trainings placement cell is directly connected to hiring managers at all these locations.

CMYKPY Scholarship: Maharashtra's CMYKPY scheme offers ₹6,000–₹10,000 for skill training for eligible youth. PMKVY 4.0 has certified 2.1 crore candidates — PLC and industrial automation are priority government skill sectors. Ask about your eligibility before enrolling. Call 7039169629 or WhatsApp 7774002496.

Get the AI Powered Product Design, Analysis & Simulation Brochure + Fees + Batch Dates on WhatsApp

Free 1:1 counselling. Placement track record. CMYKPY/PMKVY eligibility check.

💬 Get Brochure on WhatsApp📞 Call 7039169629

About the author: Rahul Patil. 12 yrs experience training engineers across Maharashtra.

Visit Our Centers

  • Wagholi (Pune): 1st Floor, Laxmi Datta Arcade, Pune-Ahilyanagar Highway. Call 7039169629
  • Hadapsar (Pune HQ): 1st Floor, Shree Tower, opp. Vaibhav Theater, Magarpatta. Call 7039169629
  • Cidco (Chh. Sambhajinagar): Kalpana Plaza, opp. Eiffel Tower, N-1 Cidco. Call 7039169629
  • Osmanpura (Chh. Sambhajinagar): S.S.C Board to Peer Bazar Road, near Jama Masjid. Call 7039169629
  • Sangli: Shubham Emphoria, 1st Floor, Above US Polo Assn., Sangli-Miraj Rd, Vishrambag. Weekend batches available. Call 7039169629

💬 WhatsApp 7774002496

FAQs

What are data handling instructions in PLC programming?

Data handling instructions in PLC programming are instructions that read, move, copy, or modify values stored in PLC memory. They include MOVE (copy one value to another address), FILL (write the same value to multiple addresses), BLKMOV (copy a block of consecutive addresses), and data conversion instructions. Unlike contact and coil instructions that work with binary TRUE/FALSE values, data handling instructions work with integer, double-integer, and real (floating point) numeric values stored in PLC data registers.

What is the MOV instruction in PLC and when is it used?

The MOV (Move) instruction copies a value from a source memory address or constant to a destination memory address during each PLC scan cycle where the rung condition is TRUE. For example, MOV 250 to MW20 writes the constant 250 into Memory Word 20. It is used to transfer recipe setpoints when an operator selects a new product at the HMI, to initialise register values at PLC startup, and to pass data between different sections of a program. In Siemens TIA Portal for S7-1200, it is called MOVE and handles all data types including INT, DINT, REAL, and WORD.

How do you scale a sensor signal in a Siemens S7-1200 PLC?

In a Siemens S7-1200 PLC, analogue inputs are converted to 16-bit integers in the range 0 to 27648 (for 0 to 10 V or 4 to 20 mA signals). To scale this to engineering units like degrees C, use the NORM_X instruction to normalise the raw value to a 0.0 to 1.0 floating-point range, then use SCALE_X to scale that to your engineering range. You can also calculate manually: EU = (Raw minus RawMin) multiplied by (EUMax minus EUMin), then divided by (RawMax minus RawMin), then add EUMin.

What industries in Pune and Sambhajinagar use PLC data handling and math instructions?

Virtually every automated plant in Maharashtra uses PLC data handling and math instructions daily. In Pune: Bajaj Auto Akurdi, Tata Motors Ranjangaon, and Force Motors Akurdi run complex PLC programs with recipe management and real-time calculations. In Sambhajinagar: Skoda VW (Plot A-1/1, Shendra MIDC), Endurance Technologies (Plot E-92, Waluj), and Bajaj Auto Waluj (Plot G-137) all use S7-1500 and S7-1200 PLCs with extensive data block and math instruction usage in their production lines.

A

ABC Trainings Team

Expert insights on engineering, design, and technology careers from India's trusted CAD & IT training institute with 11 years of experience and 2000+ trained professionals.