9 PLC programming program debugging and result analysis

Publisher:Chunjie2022Latest update time:2022-11-28 Source: elecfansKeywords:PLC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

8. Sequential start-up control of blowers and induced draft fans

2365ce5a-698c-11ed-8abf-dac502259ad0.png

237b9d34-698c-11ed-8abf-dac502259ad0.png

I/O Allocation Table

238fde84-698c-11ed-8abf-dac502259ad0.png

Ladder Diagram Programming

23a87ef8-698c-11ed-8abf-dac502259ad0.png

PLC Wiring Diagram

23b94738-698c-11ed-8abf-dac502259ad0.png

23c955b0-698c-11ed-8abf-dac502259ad0.png

▲Program monitoring diagram when PLC is powered on, blue indicates connection

Program debugging and result analysis

The characteristic of Sm0.1 is that it is connected in the first cycle of the scan and not connected afterwards. When i0.0f on the online control panel is pressed, i0.0 is connected, and at this time Q0.0 is connected to output (i.e. indicator light Q0.0 is on), the induced draft fan starts, and at the same time timer T37 is connected and starts timing. When the timer counts to 50 (i.e. indicator light Q0.1 is on), the blower starts. At this time, both fans are running. When I0.1f on the online control panel is pressed, I0.1 is connected, and the blower stops running (i.e. indicator light Q0.1 is off). At the same time, timer T38 is connected and starts timing. After 5s of timing, the induced draft fan stops running. (i.e. indicator light Q0.0 is off).

9. Liquid Mixing

Use S7-200 to realize automatic control of liquid mixing. When the start button is pressed, liquid valve A opens and liquid A flows into the mixer. When the liquid level reaches the middle limit, valve A closes and liquid valve B opens at the same time, and liquid B flows into the mixer. When the liquid level reaches the upper limit, valve B closes and the motor is started for stirring. After stirring for one minute, the motor stops and valve C opens, and the mixed liquid flows out. When the liquid level reaches the lower limit, the container is emptied after another 5S, and valve C is closed. At the same time, valve A is opened and liquid A is injected. This cycle repeats periodically. If the stop button is pressed, it must wait for a cycle to complete before stopping.

23dbbf20-698c-11ed-8abf-dac502259ad0.png

I/O Allocation Table

23f005c0-698c-11ed-8abf-dac502259ad0.png

240011cc-698c-11ed-8abf-dac502259ad0.png

Ladder Diagram Programming

24120918-698c-11ed-8abf-dac502259ad0.png

242291b6-698c-11ed-8abf-dac502259ad0.png

PLC Wiring Diagram

243655fc-698c-11ed-8abf-dac502259ad0.png

Program debugging and result analysis

When I0.03f on the online control panel is pressed (I0.3 is closed), valve A opens (Q0.0 is on), when I0.0f on the online control panel is pressed (I0.0 is closed in the middle limit), valve A closes, valve B opens (Q0.0 is off, Q0.1 is on), when I0.1f on the online control panel is pressed (I0.1 is closed in the upper limit), valve B closes, the motor starts to stir (Q0.1 is off, Q0.2 is on), and timer T37 starts timing for one minute. After one minute, the mixer stops stirring, valve C opens (Q0.2 is off, Q0.3 is on), and when the liquid level reaches the lower limit, valve C continues to open (Q0.3 is on), and timer T38 starts timing. After 5s, valve C closes. Valve A opens (Q0.3 is off, Q0.0 is on), and enters the next cycle. Press I0.4f on the online control panel (that is, I0.4 is closed, which means stop). The system will not stop immediately, but will stop after running a cycle.


[1] [2]
Keywords:PLC Reference address:9 PLC programming program debugging and result analysis

Previous article:What should I pay attention to when customizing R-type transformers?
Next article:Siemens S7-1500 MODBUS communication technology

Recommended ReadingLatest update time:2024-11-16 12:49

Introduction to Siemens PLC programming language
PLC currently has 5 standard programming languages, including graphical programming languages ​​and textual programming languages. Graphical programming languages ​​include: Ladder Diagram (LD), Function Block Diagram (FBD), Sequential Function Chart (SFC). Textual programming languages
[Embedded]
Introduction to Siemens PLC programming language
What protocol type does Mitsubishi PLC use?
Mitsubishi PLC (Programmable Logic Controller) is a controller widely used in the field of industrial automation. It controls mechanical equipment by receiving input signals, executing user-written programs, and then outputting control signals. In the communication process of Mitsubishi PLC, different communication
[Embedded]
"Redundant Design" of PLC Control System
The "redundant design" of the PLC control system is mainly used in two aspects: one is the "redundant design" of the control circuit, such as the emergency disconnection circuit, etc.; the other is the "redundant design" of the PLC itself. The so-called "redundant design" of the control circuit is to ensu
[Embedded]
Mitsubishi FX (Q) series PLC connects CHNet-FX and KingView Ethernet communication
Mitsubishi FX1S/1N/2N/3S/3G/3GC/3U/3UC series PLC, and Kingview software Ethernet communication. Convert to Ethernet with Xingda Easy Control CHNet-FX 1. Create a new project and open it. 2. Click "COM1", select "New", select "FX3u_16M_Ethernet----TCP" in the pop-up dialog box, and click "Next".
[Embedded]
Mitsubishi FX (Q) series PLC connects CHNet-FX and KingView Ethernet communication
Embedded PLC System Design Based on LPC2294 Processor
1 Hardware structure design of embedded PLC 1.1 Selection of microcontroller chip The CPU is the core of the PLC . It can recognize various instructions input by the user in a specific format, and according to the provisions of the instructions and the current state of the field I/O signal, it issues corresponding c
[Power Management]
Embedded PLC System Design Based on LPC2294 Processor
What is a cold start and a hot start? What is the difference between a hot start and a cold start of a Siemens PLC?
Siemens' OB100, OB101, and OB102 represent warm start, hot start, and cold start respectively. Let us explain these methods. 01 Warm start (complete restart) Complete restart startup type, when starting, the process image and non-retentive flag memory, timer and counter are cleared, the retentive flag
[Embedded]
CNC machine tool PLC data acquisition Internet of Things gateway
The Internet access of CNC machine tools is one of the key technologies of the intelligent digital factory of Industry 4.0. In the process of production management, machine tools are often "information islands" in the workshop. The equipment communication interface is closed, the processing program cannot be central
[Embedded]
CNC machine tool PLC data acquisition Internet of Things gateway
What are the external factors that cause S7-1500 PLC failures?
Generally, PLC failures are mainly caused by external failures or internal errors. External failures are caused by external sensor or actuator failures, which may cause the entire system to shut down or even burn out the PLC. Internal errors are caused by functional errors or programming errors inside the
[Embedded]
What are the external factors that cause S7-1500 PLC failures?
Latest Embedded Articles
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号