Features and writing steps of PLC instruction table programming language

Publisher:cxx7848653Latest update time:2023-06-30 Source: elecfansKeywords:PLC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

PLC instruction table programming language is a low-level programming language that uses symbols and instructions to control the operation of the program. It is mainly used to write PLC programs to achieve industrial automation control. The language contains a set of instructions, such as logic, comparison, calculation, etc., and is combined into programs according to specific rules. Due to the poor readability and maintainability of the instruction table language, it has now been replaced by higher-level programming languages, such as structured text language, flow charts, and function blocks.


The basic unit of the PLC instruction table programming language is the instruction. Each PLC instruction table statement consists of three parts: instruction code, operand, and comment. The instruction code is used to determine the type of operation of the instruction, the operand specifies the address and type of the operation object, and the comment is used to explain the function of the instruction. The instruction statement is the basic unit of the PLC program. According to the different functions of the instructions and the different types of operation objects, the PLC instruction table instructions can be divided into multiple types such as input and output instructions, logic control instructions, arithmetic calculation instructions, timer and counter instructions, etc.


The characteristics of PLC instruction table programming language are as follows:

1. Sequential execution: PLC instruction table programming language is a sequential execution language. The program is executed in the specified order without jump statements and loop statements.

2. Low level: PLC instruction table programming language does not have a high level of abstraction and complex grammatical structure like high-level languages. Its instruction table is written directly for the specific operation of the equipment.

3. Strong capabilities: PLC instruction table programming language can perform many real-time control operations, such as calculation, control, motion control, etc.

4. Strong flexibility: PLC instruction table programming language can be programmed according to different needs.

5. Low readability: The syntax of the PLC instruction table programming language is relatively simple, often using abbreviations, and has poor readability.

6. Difficult to debug: Debugging of the PLC instruction table programming language requires a deep understanding of the specific operating principles of the equipment and needs to be verified in actual operation.


The PLC instruction table programming language can be written using the following steps:

1. Confirm the specific specifications and syntax of PLC model and PLC instruction table programming language.

2. Define the PLC addresses of input and output and map them to the actual devices.

3. Design a program flow chart or state diagram based on actual control requirements, and write the PLC instruction table programming language corresponding to each step of the operation into code.

4. Debug and test the program to ensure its correctness and stability.

5. In actual application, real-time monitoring and adjustment procedures are carried out as needed.

The specific way to write the PLC instruction table programming language varies depending on the PLC manufacturer and different PLC models. It is recommended to refer to the PLC device's documentation before writing, or refer to the PLC programming textbook for learning. At the same time, during the writing process, it is necessary to make detailed comments on each line of code to facilitate the reconstruction and maintenance of the program.


Keywords:PLC Reference address:Features and writing steps of PLC instruction table programming language

Previous article:What is a permanent magnet synchronous motor? How is the rotating magnetic field generated?
Next article:Advantages and testing of electromagnetic relays

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

Function, structure and counting process of counter C of FX series PLC
l Function: Count the signals of internal components X, Y, M, S, T, C. l Structure: coil, contact, set value register, current value register. l Address number: letter C+(decimal) address number (C0~C255) l Set value: Equal to the number of count pulses. Set with constant K. l 16-bit low-speed co
[Embedded]
Function, structure and counting process of counter C of FX series PLC
PLC input and output are all gone, and the touch screen parameters disappear. What is the problem?
The indicator light PR0G of Mitsubishi FX2NPLC flashes, the input and output signal indications are all off, the parameters set on the touch screen disappear, and the data PROG shows a program error. The program is called out on the computer and is complete and has no problems. The PLC input program of the same mode
[Embedded]
5 standard programming languages ​​for Siemens PLC
PLC currently has 5 standard programming languages, including graphical programming language and textual programming language. Graphical programming languages ​​include: Ladder Diagram (LD); Function Block Diagram (FBD); Sequential Function Chart (SFC). Text-based programming languages ​​include: Ins
[Embedded]
5 standard programming languages ​​for Siemens PLC
PLC instruction encyclopedia details the 26 basic PLC instructions
1. PLC instructions PLC instructions are machine instructions used by programmable logic controllers (PLCs). It is a series of low-level instructions used to control the internal calculation, logical operation, timing, counting, jump and other functions of PLC. There are so many PLC instructions that
[Embedded]
PLC instruction encyclopedia details the 26 basic PLC instructions
How should the PLC program electrical system be debugged?
Many electrical novices are not sure how to start debugging after designing electrical control cabinets and PLC programs. Or some people have caused problems such as PLC burnout due to inappropriate debugging methods. So how should the designed electrical system be debugged? You can follow the following seven steps.
[Embedded]
What are the characteristics of PLC? What should I do if PLC has no output signal?
What are the characteristics of PLC PLC (Programmable Logic Controller) is a common industrial automation control device with the following characteristics: Programmability: PLC can realize various control logics and functions through programming, implement flexible control strategies, and adapt to differe
[Embedded]
Implement S7 communication between Siemens S7-200SMART PLCs through a wizard
Introduction: PUT/GET instruction programming can use the PUT/GET wizard to simplify the programming steps. The wizard allows configuration of up to 16 independent PUT/GET operations and generates code blocks to coordinate these operations. CPU1 (192.168.2.1) transfers VB100~107 data to CPU2 (192.168.2.2) VB0~7
[Embedded]
Implement S7 communication between Siemens S7-200SMART PLCs through a wizard
C# realizes the communication technology between host computer and PLC
1. Download and install Mitsubishi MX COMPONENT 2. Communication test and data monitoring Open the PLC monitoring program: You can see the previously set communication configuration and reset it: Click OK On the right side, you can enter the address to monitor the PLC data.
[Embedded]
C# realizes the communication technology between host computer and PLC
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号