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.
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.
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
- Popular Resources
- Popular amplifiers
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- I'm a newbie in your place, please take care of me, thank you!
- MSP430G2553 clock system configuration
- Silicon Labs EFM32PG22 Development Kit enables you to create whatever you want! Application in progress!
- Verilog state machine programming skills
- Review summary: Qinheng RISC-V core BLE 5.3 wireless MCU CH582
- MSP-EXP430F5529LP Development Board 002-GPIO Library Function
- Lederui specializes in Type-C interface and HOST solution for laptops/tablets
- Domestic FPGA Gaoyun GW1N-4 series development board evaluation - unboxing + hardware part 2
- Please help me take a look at this strange MICRO BIT board
- Free simulation software SimulIDE