The production and application of embedded PLC

Publisher:QuantumPulseLatest update time:2015-04-29 Source: 51heiKeywords:Embedded Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Embedded programmable controller, which embeds the ladder diagram language commonly used in PLC into the development of single-chip microcomputer, realizes the single-chip microcomputerization of PLC. There are currently two ways. One is to directly embed the ladder diagram compiler into the single-chip microcomputer. The user can communicate directly with the single-chip microcomputer system through the ladder diagram editor and download the saved PMW file directly to the single-chip microcomputer system; the other is to separate the ladder diagram compiler, convert the PMW file into the target code of the single-chip microcomputer through the conversion software, and then burn it into the single-chip microcomputer. The instructions of the PLC used in these two methods are restricted by the ladder diagram compiler or conversion software. The former is like the conventional way of using PLC, and can be monitored and operated through the ladder diagram editing software, but the pin allocation of the single-chip microcomputer used in the PLC hardware cannot be changed once the hardware system design is finalized. The latter is more flexible, and the pin allocation of the single-chip microcomputer can be changed as needed as long as it is within the range allowed by the conversion software. Different hardware circuits can be customized according to application requirements, and the PMW file can be converted into target code according to the actual system. The development of single-chip microcomputer products has changed from using assembly language or C51 language to using ladder diagram language, so that front-line personnel who have no assembly language or C51 computer language programming foundation and understand the relay-contactor control principle can learn and apply single-chip microcomputer control technology through various powerful application functions provided by the ladder diagram programming platform. This article adopts the latter method and takes a 16-point input and 14-point output switch embedded programmable controller as an example to introduce its hardware composition, software resources, and application cases.

......
 

This section introduces the application examples of embedded PLC in escalator control, including the preparation of ladder diagram program, PMW-HEX conversion, downloading and operation of target code. An
escalator is a fixed electric drive device with circular running steps, used to transport passengers up or down. There are many types of escalators. According to the power supply method, there are two types: direct power supply and power supply by static components. The common dragging methods are Y-Δ switching type and inverter drive type. According to the lifting height, there are ordinary types below 6 meters and high-height types above 6 meters. According to whether the running speed changes, there are three types: fixed speed, variable speed energy saving, and multi-speed intelligent.


Keywords:Embedded Reference address:The production and application of embedded PLC

Previous article:51 MCU H-bridge circuit controls motor forward and reverse rotation and PWM speed regulation
Next article:Talk about the low power consumption of SN (Songhan MCU)

Recommended ReadingLatest update time:2024-11-16 13:42

Analysis of the conditions and causes of internal reset in PIC16F87X series microcontrollers
The reset function of the PIC16F87X series microcontrollers is relatively well designed. The conditions and reasons that cause the internal reset of the microcontroller can be roughly summarized into the following five types. 1. Power-on reset Every time the microcontroller is powered on, the power-on reset circuit
[Microcontroller]
Analysis of the conditions and causes of internal reset in PIC16F87X series microcontrollers
How to read the existing program in PLC?
PLC (Programmable Logic Controller) is an important automation device used to control and monitor various industrial processes. Programs in PLC are written by users and they define the behavior of the PLC in operation. This article will detail how to read the programs that already exist in the PLC. Reading the
[Embedded]
Ultrasonic distance measurement with voice broadcast based on 51 single chip JQ6500
Function Description: 1. This design uses STC89C52 microcontroller as the main controller; 2. LCD1602 liquid crystal displays the measured distance and temperature; 3. With temperature compensation function (DS18B20 sensor); 4. The measuring range is 0.02m~4m, and the accuracy is 0.01m; 5. With real-time voice broadca
[Microcontroller]
Ultrasonic distance measurement with voice broadcast based on 51 single chip JQ6500
Detailed instructions for using microcontroller to realize dynamic digital display
As shown in the figure, the P0 port of the AT89S51 microcontroller is connected to the font code pen section of the dynamic digital tube, the P2 port is connected to the digital selection terminal of the dynamic digital tube, and P1.7 is connected to a switch. When the switch is connected to high level, the word "1234
[Microcontroller]
Detailed instructions for using microcontroller to realize dynamic digital display
MCU dual-machine communication Very detailed UART serial port asynchronous communication
1. Overall design 1. Design requirements: Serial communication is carried out between the two microcontrollers. The sending end sends 0~f loop to the receiving end, and it is displayed on the receiving end. 2. Design plan: In this design, for two 89C51 chips, RS232 is used for dual-machine communication. The data of
[Microcontroller]
MCU dual-machine communication Very detailed UART serial port asynchronous communication
Using the 51 series single chip microcomputer timer function to measure pulse width
The STC12C series enhanced MCU expands the functions of the basic 51 MCU on-chip, such as providing a PCA/PWM interface, and the timer can work in 1T mode (the clock of the basic 51 MCU is 12-divided by Fosc, and 1-divided in 1T mode). PCA can be used to measure pulse width. However, protues does not currently support
[Microcontroller]
Using the 51 series single chip microcomputer timer function to measure pulse width
Automatic measurement of tiny length based on single chip microcomputer-based reconstruction of Michaelis interferometer
0 Introduction Thin film thickness is an important indicator of thin film performance parameters. How to measure film thickness accurately, quickly and conveniently is of great significance in experiments. Measuring laser wavelength with Michelson interferometer is an important part of university physics experiments.
[Microcontroller]
Automatic measurement of tiny length based on single chip microcomputer-based reconstruction of Michaelis interferometer
Use of MCU Timer 0
The function of this program is to make the PA port flash every 0.5 seconds. The program is as follows   include avr/io.h #include avr/interrupt.h #define F_CPU 8000000UL int k; int main(void) {    DDRA=0XFF;    PORTA=0xff;    TCCR0=0X05;    TCNT0=256-F_CPU/1024*0.5;    TIMSK=0X01;    sei();    while(1
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

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号