PLC timing pulse signal standard program

Publisher:stampieLatest update time:2022-03-09 Source: elecfansKeywords:PLC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

In PLC programming, it is often required to maintain a timing pulse signal for a scanning cycle, as shown in the figure. Due to the different resolutions of timers, the refresh changes of the current value of the timing and the status flag are different, which can easily cause programming errors. Sometimes, due to the limited conditions of the debugging site, it is difficult to make a judgment even though it is known that the timer is the cause. In this way, a timing pulse signal program suitable for different resolutions is required, as shown in the figure.

o4YBAGBa_viAfs_9AAAmVOKAjz0098.png

Figure 1. Timing pulse standard procedure

Although the program shown in the figure is very simple, it is fully adaptable to timers with different resolutions such as 1ms, 10ms, and 100ms, ensuring that M0.0 can generate a pulse signal that can last for a scan cycle after 1s. It is a universal standard timing pulse signal program.


Keywords:PLC Reference address:PLC timing pulse signal standard program

Previous article:How to modify the PLC timer setting value
Next article:Methods for Shortening PLC Program Scanning Cycle

Recommended ReadingLatest update time:2024-11-16 10:51

Design of PLC fountain system based on S7-200SMART
Fountain refers to the spring water that sprays out from the ground to the ground; it specifically refers to artificial water spraying equipment. Fountains are probably familiar to everyone. They are everywhere in our daily lives, such as fountains of flowers, plants and trees in parks, fountain centers in major com
[Embedded]
Design of PLC fountain system based on S7-200SMART
Professional explanation of S7-1500PLC communication principle
Siemens S7-1500PLC is used in medium and large projects. It is an upgraded version of S7-300/400PLC. Compared with 200/200 SMART PLC, 1500 is a little more difficult. Communication is a more important part and it involves advanced applications. Today we will talk about the communication knowledge of 1500PLC.
[Embedded]
Professional explanation of S7-1500PLC communication principle
Several most commonly used PLC programming control circuits
The most frequently used PLC programming languages ​​are structured text and ladder diagram. For technicians who have no basic knowledge, it is quickest to start learning PLC programming from ladder diagram. Regardless of the brand of PLC, the structure of its ladder diagram is very similar to the actual electrical
[Embedded]
Several most commonly used PLC programming control circuits
How to remotely upload and download programs for OMRON PLC?
Omron is a powerful brand among Japanese PLCs, with a market share second only to Mitsubishi. It combines the advantages of Mitsubishi in motion control and Siemens in bus control, and is very popular among engineers in small and medium-sized occasions and multi-axis control. Currently, Omron PLCs on the
[Embedded]
How to remotely upload and download programs for OMRON PLC?
The significance of PLC output and how to implement it
The input of PLC, the so-called input, is people commanding PLC to do things, and these commands are implemented through switches, buttons, proximity switches, etc. The output is that PLC drives machinery and equipment, which is achieved by relays, thyristors, and transistors. And these are the three types of PLC ou
[Embedded]
The significance of PLC output and how to implement it
Introduction to three PLC programming algorithms
PLC programming algorithm (1) There are only three quantities in PLC: switch quantity, analog quantity and pulse quantity. If you can figure out the relationship between the three, you can master PLC skillfully. 1. Switch quantity is also called logic quantity, which means that there are only two val
[Embedded]
Introduction to three PLC programming algorithms
Solution to the problem that Siemens PLC cannot be programmed online with a laptop
1. Try turning the CPU to the STOP position. 2. Close all software, especially the software occupying the communication port, and only keep the 200plc programming software. 3. To communicate normally with the latest S7-200CNCPU launched by Siemens, the following conditions must be met: Use progr
[Embedded]
Siemens S7-200 SMART PLC Knowledge Popularization
1. The data of S7-200 SMART is mainly divided into: 1. Input/output image area related to actual input/output signals: I: Digital input (DI). Q: Digital output (DO). AI: Analog input. AQ: Analog output. 2. Internal data storage area V: Variable storage area. Data in the V area can
[Embedded]
Siemens S7-200 SMART PLC Knowledge Popularization
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号