A timing diagram is a graph showing the change of a signal over time. The horizontal axis is the time axis, and the vertical axis is the signal value, which is 0 or 1. The method of designing PLC programs based on this graph is called the timing diagram method. The timing diagram is derived from the work of using an oscilloscope to analyze electrical hardware. It can be used to analyze and determine the timing relationship between related logical quantities. The general steps of designing a PLC program using the timing diagram method are as follows:
1) Draw a timing diagram. Draw the timing diagram of the input and output signals according to the requirements and establish an accurate time correspondence.
2) Determine the time interval. Find the critical points of time change, that is, the time points when the output signal should change, and divide the time period into several time intervals based on these points.
3) Design timing logic. You can use multiple timers to establish different time intervals.
4) Determine the action relationship. According to the corresponding relationship between each action and time interval, establish the corresponding action logic and list the logical expressions of each output variable.
5) Draw a ladder diagram. Draw a ladder diagram based on the expressions of timing logic and output logic.
The premise of using the timing diagram method is that there is a corresponding time sequence relationship between the input and output, and their respective changes are carried out in time sequence. Therefore, if this premise is not met, it is impossible to draw a timing diagram, let alone use this method.
The above briefly introduces 6 common programming methods. In addition, there are matrix design method, subroutine design method and high-level language design method.
Previous article:Design principles of PLC application system
Next article:Functions and working principles of human-machine interface
- Popular Resources
- Popular amplifiers
- Red Hat announces definitive agreement to acquire Neural Magic
- 5G network speed is faster than 4G, but the perception is poor! Wu Hequan: 6G standard formulation should focus on user needs
- SEMI report: Global silicon wafer shipments increased by 6% in the third quarter of 2024
- OpenAI calls for a "North American Artificial Intelligence Alliance" to compete with China
- OpenAI is rumored to be launching a new intelligent body that can automatically perform tasks for users
- Arm: Focusing on efficient computing platforms, we work together to build a sustainable future
- AMD to cut 4% of its workforce to gain a stronger position in artificial intelligence chips
- NEC receives new supercomputer orders: Intel CPU + AMD accelerator + Nvidia switch
- RW61X: Wi-Fi 6 tri-band device in a secure i.MX RT MCU
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- 【Chuanglong TL570x-EVM】HDMI data cable adapter
- Newcomer Report
- I would like to ask for the implementation principle and logic of Bluetooth senseless unlocking of electric vehicles
- About MSP430 Miscellaneous Talks --Precise Delay of delay_cycles
- One article to understand the RF chip industry chain and its domestic status!
- Qorvo's View on WiFi 6 Opportunities and Challenges
- Low-cost DIY nano-level lithography machine! This post-95s boy is popular...
- Type-C interface display solution
- Is there any module similar to Yiweilian?
- How to choose the right operational amplifier