Skip to main content

Posts

What is Master Control Relay in PLC?

A PLC's Master Control Relay (MCR) is defined by experts as a unique relay utilized in ladder logic programming to regulate the operation of several rungs or parts of a ladder diagram. In essence, it uses certain conditions to determine whether to enable or disable particular software sections. All rungs between the MCR and the associated end instruction are executed when the MCR is turned on. These rungs cannot run if the MCR is deactivated because they are circumvented. Large portions of a program can be controlled with a single condition because to this functionality, which enhances program organization and efficiency. In first photo, Master Control Relay is used as normally opened coil, called Master Coil. As you can see when the "Start" is triggered, Master Coil will be closed contact and executes the multiple rungs. If "Stop" is triggered, Master Coil is disable the execution of the other rungs. Similarly, in second figure, I...
Recent posts

Latch and Unlatch with Instruction and Sealing

All of the PLC come along with Latch and Unlatch in built. These instructions have been given different names by various manufacturers. Siemens PLCs have (S) for Set and (R) for Reset, while Allen Bradley PLCs have -(L)- for Latching and -(U)- for Unlatching commands. Likewise, KEEP instruction is used for latching in Omron PLCs. So, let's define what is latch and what is unlatch. The definition given by professionals, in PLC programming, a latch is a way to hold onto a state until an explicit command modifies it. In essence, a latch stays active even if the initial activating condition is removed once it has been set. The unlatch command, on the other hand, flips the latch's status and deactivates it until it is triggered once more. There are two major types of using Latch and Unlatch. By using the manufacturer's given instructions or Sealing also known as without using instructions. In this scenario, I'm using Omron's Sysmac Studio. As shown the fig...

Multiplexer

(This article is only for education purposes about Factory and Industrial Automation engineering. All references are shown below at the end of the article.) A multiplexer is a device that chooses amongst several input signals; it is frequently just called a "mux." It will have one output, one input control, and two signal inputs in its most basic configuration. According to another definition, a multiplexer is a combinational circuit that relies on control or select inputs and has numerous data inputs and a single output. There are different types of mux but the major types of mux are: 1. 2:1 Mux 2. 4:1 Mux But in here i only show you how 2:1 Mux works because 4:1 Mux has similar function but more inputs than 2:1 Mux. Nevertheless, i will explain about that. 2:1 Mux A basic circuit called a 2-to-1 multiplexer, or 2×1, is used to select one signal from two inputs and send it to the output. The output of the 2×1 Mux will depend on the selection line S, -When S is 0(lo...

Minterm vs Maxterm

Note : This post is only for education purpose. When you use the PLC program, you might see some equations in programming more or the less. Most of of the projects, in PLC work based on logical control such as ON and OFF. Sometimes we need to use some mathematics equation to control the process or system. Like Minterm and Maxterm, they are important parts of Boolean Algebra which can solve somehow in digital circuit and practical problems. According to experts definition, Minterm means that is the product of N distinct literals where each literal occurs exactly once. The output of the minterm functions is 1. Minterm is represented by m. In the other hand, Maxterm is the sum of N distinct literals where each literals occurs exactly once. The output of the maxterm functions is 0. Maxterm is represented by M. A sum of minterms is called the Sum Of Products (SOP) and a product of maxterms also called Product of Sum (POS). Example of SOP is shown as below; A’B + AC + BC And then Example of ...

PLC Program to Implement a Combinational Logic Circuit

      ဒီ Program ရဲ့ (Combination Logic Circuit) Input ကတော့ 4-binary number တွေပေါ့။ Output က Y1 နဲ့ Y2 ဖြစ်တယ်။ ဒီ Program ရဲ့ အဓိက Function ကဘာလည်းဆိုတော့။ " အကယ်၍ Input Binary ဟာ 5 သို့မဟုတ် 5‌ အောက်ထက်ငယ်မယ်ဆိုရင် Y1 ဟာ On ပါမယ်။" " အကယ်၍ Input Binary ဟာ 9 သို့မဟုတ် 9 ထက်ကြီးမယ်ဆိုရင် Y2 ဟာ On ပါမယ်။"  ဒါကတော့သူ့ရဲ့လုပ်ဆောင်ချက်ပေါ့။ မှတ်ထားရမှာက ကျွန်တော်တို့က Decimal နဲ့ Comparison လုပ်နေတာမဟုတ်ပဲ Binary နဲ့ Comparison လုပ်နေတာ သတိချပ်စေလိုပါတယ်။     PLC Instruction တွေပိုင်အောင်လုပ်နိုင်ရင်ပြသာနာမရှိနိုင်ပေမယ့် ဒီနေရာမှာ အဆိုပါ Post ရဲ့ စာရေးသူက အဓိကဖော်ပြချင်တဲ့ အရာတစ်ခုရှိပါတယ်။ အဲ့တာကတော့ "Karnaugh-Map" ကို အသုံးပြုထားပါတယ်။   Karnaugh-Map အကြောင်းကို အကျယ်တဝင့်မပြောတော့ပါဘူး။ အဓိကက ဘာလို့သုံးချင်တာလည်းဆိုရင်  " Input နဲ့ Output Table ကိုသုံးပြီး Equation ကိုအသုံးချပြီး Control System မှာအလွယ်တကူသုံးနိုင်တယ်ဆိုတာပါပဲ။" အဲ့တာက အဓိကအချက်ပါ။  Karnaugh မှာ Boolean Function နဲ့သုံးလို့ရသလို Boolean Don't Car...