Calculation of switch quantity
Switching quantity, also known as logic quantity, has only two values, 0 or 1, ON or OFF. It is the most commonly used control. Controlling it is the advantage of PLC and also the most basic application of PLC.
The purpose of switch quantity control is to make the PLC generate corresponding switch quantity output according to the current input combination of the switch quantity and the historical input sequence, so that the system can work in a certain order. Therefore, the control of switch quantity is also called sequential control.
The advantages of sequential control are as follows:
First, it can distribute the program actions more clearly and concisely, making programming easier;
Secondly, when monitoring a program, you can clearly monitor the operation of the program, quickly find the fault point, and facilitate maintenance.
Calculation of analog quantities
Analog quantities are frequently used in industrial automation, and are generally used to detect and control digital quantities such as voltage, current, pressure, speed, temperature, and force. Advanced ones are also used in combination with PID. Since continuous production processes often involve analog quantities, analog quantity control is sometimes also called process control.
01. Characteristics of analog quantity
Analog quantities are mostly non-electrical quantities, while PLC can only process digital quantities and electrical quantities. Therefore, to achieve the conversion between them, a sensor is required to convert the analog quantity into a digital quantity. If the quantity is not standard, it must pass through a transmitter to convert the non-standard quantity into a standard electrical signal, such as 4-20mA, 1-5V, 0-10V, etc.
02. Calculation of analog quantity
1. -10—10V. When the voltage is -10V—10V, it is converted to F448—0BB8Hex (-3000—3000) at 6000 resolution; it is converted to E890—1770Hex (-6000—6000) at 12000 resolution.
2. 0-10V. When the voltage is 0-10V, it is converted to 0-1770Hex (0-6000) at a resolution of 12000; it is converted to 0-2EE0Hex (0-12000) at a resolution of 12000.
3. 0-20mA. When the current is 0-20mA, it is converted to 0-1770Hex (0-6000) at 6000 resolution; it is converted to 0-2EE0Hex (0-12000) at 12000 resolution.
4. 4-20mA: When the current is 4-20mA, it is converted to 0-1770Hex (0-6000) at 6000 resolution; it is converted to 0-2EE0Hex (0-12000) at 12000 resolution.
Of course, different PLCs have different resolutions, so we still have to set them according to actual conditions.
03. Requirements for analog input wiring
1. Use shielded twisted pair cables, but do not connect the shielding layer.
2. When an input is not used, short-circuit the V IN and COM terminals.
3. The analog signal line is isolated from the power line (AC power line, high-voltage line, etc.).
4. When there is interference on the power line, install a filter between the input part and the power unit.
5. After confirming the correct wiring, first power on the CPU unit and then power on the load.
6. When powering off, first cut off the power to the load, and then cut off the power to the CPU.
Calculation of pulse quantity 01. What is pulse quantity
Pulse quantity is a digital quantity whose value is always changing between 0 (low level) and 1 (high level). The number of pulse changes per second is called frequency.
02. Characteristics of pulse quantity
The control purpose of PLC pulse quantity is mainly position control, motion control, trajectory control, etc.
03. Pulse quantity control method
The control of pulse quantity is mostly used for angle control, distance control, position control, etc. of stepper motors and servo motors. Take servo motors as an example:
1. Basic control idea: The total amount of pulses determines the motor displacement, and the pulse frequency determines the motor speed. Pulses are used to control the servo motor. When you open the user manual of the servo motor, you will generally find a table like the following:
2. Servo motor pulse control implementation method:
(1) The driver receives two high-speed pulses (A and B), and the phase difference between the two pulses determines the direction of rotation of the motor.
(2) The driver still receives two high-speed pulses, but the two high-speed pulses do not exist at the same time. When one pulse is in the output state, the other must be in the invalid state.
(3) Only one pulse signal is needed to be given to the driver, and the forward and reverse running of the motor is determined by one direction IO signal.
Previous article:Working principle of permanent magnet synchronous motor Structure of permanent magnet synchronous motor
Next article:Advantages and disadvantages of permanent magnet synchronous motor Parameters of permanent magnet synchronous motor
Recommended ReadingLatest update time:2024-11-16 09:54
- 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
- SD/TF card usage issues
- Download address of Arteli technical resources
- MSP430F249 external interrupt P1.3 port
- J-linK connection problem
- New uses for old phones (1) - Basic method
- How to make the Type-C mobile phone fast charge and listen to music at the same time? Try adding a Type-C PD chip
- GD32E231 DIY Competition - Indoor Environment Monitoring Terminal
- The problem of large fluctuation in stm32ADC conversion output
- Please tell me if this function is achievable.
- Section 3 LMR33630-Q1: An excellent choice for primary power supply