Ideas and methods for learning PLC programming

Publisher:夜色迷离Latest update time:2023-10-23 Source: elecfansKeywords:PLC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Electric workers will come into contact with PLC in their actual work. With the development of industrial automation and intelligent technology, PLC has replaced complex relay control cabinets and contactor control cabinets in many complex occasions and has been widely used. PLC is not only simple to wire, easy to wire and control, but more importantly, PLC troubleshooting is very convenient, eliminating the trouble of tedious wire management and circuit management. Therefore, PLC has been widely used in industrial automation and intelligence!


How to learn PLC

Some requirements for learning PLC

First, there is the circuit foundation

Only then can we understand the essence of the problem, discover errors and solve problems.

Second practical

It is necessary to learn and operate with real objects to improve the combination of real objects and theory, and better master knowledge points and practical application capabilities.

The third one is interested

Only in this way can you persist. Interest is the driving force that drives you to persevere. When you encounter problems and difficulties, ask if you don’t understand, check more information and use your brain more.

First, you must have a basic understanding of circuits. It is enough to be able to understand ordinary circuits. It would be best if you have maintenance experience, because programming mostly relies on logical thinking. There are skills, but not many, because human thinking is diverse.

It can be said that for the same set of movements, a hundred people may come up with a hundred different programs, but the movements they produce will all be the same.

Second, practice, which is the best way to learn. If you have a physical object, you will know how the soft component works, which is many times better than reading a book. If someone asks me which PLC is good to learn, I will say that I should choose one of Mitsubishi and Siemens to start learning. Siemens is more comprehensive and has more forum information. Mitsubishi is not weak either. Why do I recommend these two models? First, the programming ideas are more prominent. Basically, these two categories are imitated in China. For example, Delta, Fengwei, Yonghong, and Xinjie are basically copies of Mitsubishi. These have their own software. There are also many that are directly put on a shell, affixed with a trademark, and can be used directly with Mitsubishi GX Developer software. For example, Huichuan, although it also has its own software, it can also directly use Mitsubishi's software. In some cases, they do not have their own software and directly use Mitsubishi's software.

No matter which PLC it is, they all seem to be similar to me, except for a different programming method, and the principles are almost the same.

In order to enable everyone to master the basic PLC applications in the shortest possible time, we have compiled a list of ideas and methods about PLC programming for those who are new to PLC. From the most basic to the most complex, we have extracted the essence to make a leap forward in your understanding of PLC. We hope that this material will be helpful to everyone in learning PLC.

1. Understand the basic hardware knowledge of PLC

From a hardware perspective, PLC is mainly composed of a central processing unit (CPU), memory (ROM/RAM), input and output interfaces, power supply, expansion interface, and external device interfaces such as programmers.

d266888c-05ee-11ee-962d-dac502259ad0.png

2. Understand the software programming language of PLC

1. Ladder Diagram (LD): The most commonly used programming language in PLC programming. It is a programming language similar to relay circuits.

2. Instruction List (IL): A mnemonic programming language similar to assembly language, which consists of opcodes and operands like assembly language.

3. Functional Block Diagram (FBD): A PLC programming language similar to digital logic circuits. It uses a functional block diagram to represent the functions of a module. Different functional blocks have different functions.

4. Sequential Function Flowchart (SFC): A programming language designed to meet sequential logic control.

5. Structured Text (ST): A programming language that uses structured description text to describe programs. It is mainly used for user program compilation that is difficult to implement in other programming languages.

3. Combined with practical operation

When most people first learn PLC, they will choose to buy a related book, and then think about small projects based on what they have learned from the book, and then do PLC projects on their own after implementing some small functions. In the self-study stage of reading books, it will be relatively easy to get started with special guidance or further study. Everyone has different habits and characteristics when programming. Although we cannot force them to be consistent, good habits are still worth following.

4. Understand the process flow

PLC programming requires understanding the on-site process requirements, what signals to read, how to control the on-site equipment, and how to achieve the best control effect. The entire control process is controlled and executed according to the program designed in advance according to the process requirements, so the core content is to understand the process requirements.

5. Good programming habits

Everyone has different habits and characteristics when programming. Although we cannot force them to be consistent, good habits are still worth following.

1. Reasonable allocation of main program, subroutine and interrupt program

2. Sort out the programming logic relationship, timing relationship, and compile program flowcharts

3. Reasonably allocate registers and compile register symbol tables

After reading the summary of the above methods, do you feel that you have a general plan for learning PLC?


Keywords:PLC Reference address:Ideas and methods for learning PLC programming

Previous article:What is a rotary encoder? How does a rotary encoder work?
Next article:Classic inverter troubleshooting: parameter error

Recommended ReadingLatest update time:2024-11-16 09:27

Brief Analysis of PLC Flashing Circuit
PLC flashing circuit Press the start button I0.0, and the relay M0.0 is turned on. M0.0 is energized and its normally open point is closed to form a self-locking state. The other normally open point connects the coil Q0.0 and the timer T1. When timer T1 ends, relay M0.1 is turned on.
[Embedded]
Brief Analysis of PLC Flashing Circuit
Application of PLC analog quantity acquisition in industrial automation control
In complex industrial sites, it is often necessary to collect data on analog quantities such as temperature, voltage, current, pressure, etc., which can be controlled and collected with the help of PLC. However, there are many PLC analog quantity acquisition modules on the market. Different manufacturers and differe
[Embedded]
Detailed explanation of the common instructions of Mitsubishi PLC
Mitsubishi PLC (Programmable Logic Controller) is a control device widely used in the field of industrial automation. It controls mechanical equipment through programming and has the characteristics of high reliability, high flexibility and easy operation. This article will introduce the common instructions of Mitsu
[Embedded]
How to use PLC to realize the positioning function of encoder
Strictly speaking, the encoder will only tell you how to position and execute. It needs to rely on controllers such as PLC or stepper motors to achieve positioning. The encoder is like a person's eyes, knowing that the motor shaft or load is at a certain position. The industrial encoder is generally photoelectric en
[Embedded]
How to use PLC to realize the positioning function of encoder
LEXCOM participated in the CharIN ASIA webinar and delivered a keynote speech on HomePlug® GreenPHY PLC chip
LEXCOM participated in the CharIN ASIA webinar and delivered a keynote speech on HomePlug® GreenPHY PLC chip Hangzhou City – October 25, 2022 – The CharIN ASIA webinar was held online on October 24. The conference's keynote speeches covered important issues, industry trends, challenges and opportunities for the elec
[Network Communication]
LEXCOM participated in the CharIN ASIA webinar and delivered a keynote speech on HomePlug® GreenPHY PLC chip
Mitsubishi PLC high-speed counter and motor application cases
Case 1 Motor speed measurement application How to measure the speed of the motor below (the encoder resolution is 400 pulses per revolution) (unit: revolutions per minute). This encoder has NPN output and outputs low level. The AB phase output is connected to X0 and X1 of the plc, and the common end
[Embedded]
Mitsubishi PLC high-speed counter and motor application cases
Design of gypsum board production system based on CC-Link network PLC device
1. Introduction With the development of communication technology and control technology, as well as the popularization of industrial fieldbus, the previous analog speed regulation has been gradually eliminated in gypsum board manufacturers, and replaced by more advanced fieldbus control technology. Fieldbus con
[Embedded]
Design of gypsum board production system based on CC-Link network PLC device
Common wiring of PLC input and output terminals
At present, PLC is a highly used centralized control device in industrial production and automation control. PLC has replaced heavy relay cabinets, AC contactor cabinets, etc., and has gradually become popular in production and control. The correct wiring of PLC is a prerequisite for PLC to function. It is necessary
[Embedded]
Common wiring of PLC input and output terminals
Latest Embedded Articles
Change More Related Popular Components
Guess you like

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号