EN / USD
25 Items
 Home
Blog
Simulating Advanced Logic Gates using Ladder Logic Programming
Simulating advanced logic gate, NAND logic gate, The NANA ladder logic in two ways, NAND ladder logic when both inputs are false, NAND ladder logic when input A is false and input B is true, NAND ladder logic when input A is true and input B is false, NAND ladder logic when both inputs are true, NOR logic gate, XOR logic gate, XNOR logic gate, XNOR ladder logic when input A is true and input B is false, XNOR ladder logic when input A is false and input B is true
Hello friends! I hope you are all very well! I am so happy to meet you today to continue learning and practicing PLC ladder logic programming. In an earlier part, we already have gone through the very basic logic gates of “AND”. “OR”, and “NOT”. Today we are going to resume the simulation of logic gates. We have started and gone through simulating the basic logic gates which are “AND”, “OR”, and “NOT” as they are the most important basic logic gates by which we can form other logic gates. However, because the logic of large-scale projects is getting more and more complicating, a lot of time we have to use the other functions to do tasks faster. For example, we have shown in the logic gates article that, XOR can be used to compare two inputs and ch ...
Blog
Introduction to Ladder Logic for PLC
Introduction to PLC, Fatek PLC Introduction, Getting Started With PLC, Getting Started With Fatek PLC
Hello everyone, I hope you all are doing great. In today's tutorial, I am going to share the detailed fIn the previous post, we have seen Introduction to PLC, which was quite simple and has the basic introduction to PLC. To day we are gonna have a look at Getting Started With Ladder Logic For PLC. Ladder Logic, also named as Ladder Logic Programming, is the programming language for PLCs. Its normally considered as the most difficult language among the engineers because of its complex structure, but if you ask me then I will say its the most interesting programming language. Ladder Logic is different from the usual programming language of Microcontrollers like Arduino, PIC Microcontroller etc. Microcontrollers programming usually compiled from top ...
Blog
Introduction to PLC
Introduction to PLC, Fatek PLC Introduction, Getting Started With PLC, Getting Started With Fatek PLC
Hello friends, I hope you all are fine and enjoying good health. Today's tutorial, as the name shows, is on Introduction to PLC. PLC is an abbreviation of Programmable Logic Controller. Recently I worked on a project in which I have to design a Automated coffee Mixing Machine Using PLC. It worked quite good and I had a great time while working on it. After completing that project, it occurred to me that I haven't posted any tutorial on PLC. So I thought of starting this tutorial. This tutorial is not gonna cover in single post so my plan is to divide it in parts. Today. I am gonna give an overview about PLC. We will have a look on basics i.e. what is PLC? Why we use PLC instead of microcontroller like Arduino or PIC Microcontroller? What's its adv ...
Blog
Comparator Operators in Ladder Logic Programming
PLC Comparator Operators: Comparator operators in ladder logic, plc comparator operators, comparator operators in plc, comparator operator plc, comparator operator ladder logic, ladder logic comparator operators, not equal operator plc, greater than plc, less than in plc
Hi friends. Today we are going to go through one of the most commonly used topics in writing ladder logic programming which is using comparator operations. This includes the logical and mathematical comparison between variables to decide where the logic goes. There are many comparator operations like equal (==), not equal (<>), less than (<), greater than (>), less than or equal (<=), greater than or equal (>=). All these comparator operations might be used in different logic scenarios while writing a ladder logic program. In this tutorial, we are going to go over each operator showing the input operators and output as well. In addition, we will practice some examples with the simulator to familiarize how to use them flexibly whi ...
Blog
Latching in Ladder Logic Programming
Latching in ladder logic programming, how does latching works, latching in plc, plc latching, latching in ladder logic, plc latching code, ladder logic latching code
Hi friends! I hope you are doing well! Today we are going to learn and practice a new topic which is a very crucial technique in plc programming. the topic is called “latching”. We mean by Latching to keep the output running starting from the instance of giving a kick-off command until we hit a command to stop running of the motor. Imagine my friends, operator wants to start a motor by hitting a start push button and want the motor to keep running and leave and go for doing another task or job. And then it keeps running until the operator wants to stop it. The problem here is that, once the operator releases his hand away from the push button, the motor automatically stopped and that is not like what the operator wants to do with the motor. To clear the problem that we are going to solve, ...
Blog
JMP & LBL Instructions in Ladder Logic Programming
branching logic in Ladder logic, jump in ladder logic, label in ladder logic, jmp ladder logic, lbl ladder logic
Hi friends, I hope you are very well; today in this tutorial, we will practice conditional jumping for performing some code at the occurrence of some conditions. Like any other programming language, jumping is one of the most common approaches to transfer the execution from its sequential mode to run different processes or instructions marked by a label and bypassing the lines of codes in between the last executed transaction before the jump instruction and the labeled instruction whom the program is going to move to. The good thing about this technique is shortening the scan cycle of the program due to not running the whole program. However, using jumping techniques in coding is very dangerous. It would help if you were careful of missing some op ...
Blog
Subroutine in Ladder Logic Programming
Subroutine in ladder logic programming, types of subroutine in plc programming, subroutine in plc ladder logic, subroutine ladder logic, subroutine plc ladder logic
Hello friends, after completing that basic part of ladder logic programming, let us today go through one topic which is not essential to know to complete a PLC ladder program but it is important t have our code readable program and reusable pieces of code. That could happen by using what so-called a subroutine. So what is a subroutine? Well, it is a piece of code that includes a few rungs to perform specific tasks. that piece of code can be reused numerous times through the program when we need to call it for performing that task. That subroutine enables us to structure our code like building blocks so that the program will be readable very easy and also reusable later in other projects. The idea of dividing the program into routines to apply the divide and conquer technique is very crucia ...
Blog
Analog Input Scaling in Ladder Logic Programming
Scaling analog inputs, Scaling with parameters, analog input scaling, analog input scaling in plc simulator, ladder logic analog input scaling, analog input scaling in ladder logic
Hi friends and hope you are doing very well. Today we would like to take one tutorial which is very essential in the industry which is analog input processing for handling analog measurements of physical signals like temperature, humidity, pressure, distance, flow and level of liquids, etc. Typically, sensors produce two types of analog signals to represent the equivalent measured signal which is current and voltage signals. The currently produced signals would be within the range of 4-20 mAwhile voltage signals are in the range of 0-10 v. because, that output signals represent physical signals, the limits of output signals are 0 to 10 v for voltage based sensors and 4 to 20 mA for current-based sensors, these values should be scaled to represent ...
Blog
Sequencer Output Instruction in PLC Ladder Logic Programming
Sequencer output instruction in PLC ladder programming, Sequencer output instruction in ladder logic programming, Sequencer output instruction in PLC simulator
Hi friends, today we are going to learn a good technique to run multi outputs in sequence. In another word, when we have some output that is repeatedly run in sequence. In the normal or conventional technique of programming we deal with them individually or one by one which takes more effort in programming and much space of memory. So instead we can use a new technique to trigger these outputs in sequence using one instruction which will save the effort of programming and space of memory. In this article, we are going to introduce how to implement sequencer output instruction. And practice some examples with the simulator as usual. Before starting the article, we need to mention that, some controllers like Allen Bradley have sequencer output instruction and some has not like Siemens. So we ...
Blog
Designing Logic Gates in PLC Simulator
Ladder logic contact, Normally open contact, Normally close contact, The coil, Create our very first ladder program, Creating a new project on the TIA portal, Writing the first program on the TIA portal software, Simulating the first ladder logic program, Simulating our first program, Simulating ANR, OR, and NOT logic, AND logic, OR logic, NOT logic, Enjoying simulation of the latching ladder program, Latching output, Latching ladder code simulation, Latching using set and reset, The signal edges
Hello friends, I hope you all are doing great. In today's tutorial, we are going to design logic gates in PLC Simulator. It's our 4th tutorial in Ladder Logic Programming Series. We come today to elaborate the logic gates with comprehensive details for their importance in PLC programming. you can consider logic gates as the building blocks of ladder logic programming. Like every time we start with telling what you guys are going to have after completing this session? For those who like to buy their time and calculate for feasibility, I’d like to say by completing this article, you are going to know everything about what types of logic gates, how they are designed and how they work, how you can translate the logic in your head into the logic gate a ...