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: What is Masking 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 > What is Masking in PLC?

What is Masking in PLC?

Masking means to filter the data which you don’t want to use while execution of the PLC programming.

Last updated: March 4, 2021 11:12 am
Editorial Staff
PLC Tutorials
No Comments
Share
4 Min Read
SHARE

This article is about the function of the masking in the PLC. Here, I will use Siemens TIA PORTAL.

Masking helps us to cover something or mask which you don’t want to see. In the PLC terms Masking means to filter the data which you don’t want to use while execution of the PLC programming.

You may have noticed when you make a purchase, At the time of payment when you enter your ATM card number, it won’t allow you to use any alphabet that what you can call is masking.

Masking in PLC

Let’s understand the function of masking with an example. Do follow the below example and also play around with the different values to understand it.

For example, let say I have a temperature transmitter. As this is an analog signal data type, so we need a word or doubleword data type.

I want that if PLC receives a signal from a temperature transmitter, I need some data to masked off. The bit which I want to mask off is “00FF” which in binary represented as “0000 0000 1111 1111”.

Now we will implement the above example. Open TIA PORTAL.

In the logic operation, add AND instruction.

I already have covered an article on logic instruction. Please find it from somewhere down and read it.

Word Logic Operations

In this below window I added AND instruction to mask off some data coming from the temperature transmitter.

In “IN1”, IW0 is an input signal which is coming from the temperature transmitter. In “IN2”, I have used “00FF” which is a value that I want to mask off. The output of ANDing will be written to a memory word MW2.

You can use other logic instructions too and also you can play with a value to know the function of the masking.

function of the masking

If I run the logic, you can see the result in the below window.

In IN1, I have used “FFFF” which in binary represented by 1111 1111 1111 1111.

In IN2, I have used “00FF” which in binary represented by 0000 0000 1111 1111.

As I have used ANDing operation, we know that when both inputs are “1” then the only output will be energized.

The ANDing result in the output you can get is “0000 0000 1111 1111”. Which you can see in the simulation window.

Masking in PLC

This is how masking can be done. If you still have any question or any doubt then put your question in the comment section.

Author: Suhel Patel

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:

  • Midline Instruction in PLC
  • Create a Project in LabVIEW
  • Turbine Temperature Alarms
  • Communication Processor Module
  • Delete the Siemens CPU Memory
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 !
AI, AO, DI, DO Questions (PLC I/O Types)
Structured Text PLC Programming for Two-Tanks Level Application
PLC Programming Best Practices and Tips
Example of Flip-Flop PLC Program for Lamps Application
Attendance System PLC Program using CX-Programmer
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

  • Kamli on Top Free PLC Software
  • 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

Related Articles

OSI Reference model

SCADA Communication and Protocols

S7 Organizational blocks

Siemens PLC Tia Portal – OB100 Start-up Organization Block

LES and GRT Blocks in PLC Programming

Allen Bradley Math Functions

Trolley and hoist PLC control

PLC Crane Movement Control with Limit Switches

Light Tower in Industrial Automation

What is a Tower Lamp? – Light Tower in Industrial Automation

PLC Program for Automatic Parameter initialization

PLC Program for Automatic Parameter Initialization When Power UP

PLC Conveyor Forward and Reverse Logic

Advanced PLC Conveyor Control: Forward and Reverse Rotation

Multi Way Switches using PLC

Making Multi Way Switches using PLC

More Articles

Electrical Machines Questions and Answers

Permanent Magnet DC Motor (PMDC) Questions

Dall Tube Flow Meter Working Principle

Dall Tube Flow Meter – Principle, Advantages, Disadvantages

Digital Electronics Multiple Choice Questions

Read Only Memory (ROM) Objective Questions – Part 3

Step by step guide for Gas Flow Meter Calibration

Step by Step Guide for Gas Flow Meter Calibration

Two-Conveyor PLC Control System

Basic Conveyor System for Product Handling in Omron PLC

Limit Switch Questions and Answers

Top 50 Limit Switch Questions and Answers

Electronic Devices & Circuits Objective Questions

Electronic Devices & Circuits Quiz – Set 11

What is Fail-safe in Siemens PLC?

What is Fail-safe in Siemens PLC?

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?