PLC programming is different from other computer software programming. The written program will not run automatically on the computer. It needs to be combined with external circuits and mechanical equipment to realize the value of the program. This is also the characteristic of automation technology. Theory + practice, the combination of software and hardware, is the correct direction of automation development. This article summarizes several basic ways to connect PLC with computer.
1. Serial port
Serial port is the earliest and most convenient way. It uses the computer's own serial port and the PLC's serial port to establish a connection. Early PLCs all adopted this download method. For example, Mitsubishi FX series, Siemens S7-200 and S7-300 series. Even in the new century, many computers have cancelled serial ports, but there are few PLCs without serial ports.
The serial port of PLC is usually used to establish a connection with the touch screen. However, computers nowadays do not have serial ports, and are generally implemented using USB to serial port cables, especially USB to 485 serial ports, which are not only used for PLCs, but also widely used for the connection of various inverters and servo drives. Don't think that inverters and servo drives only have a few parameters to set, and there is no need to connect them to the machine. When dealing with load problems, it is very necessary to monitor the parameters and various states of the inverter online.
USB to RS485 is a common tool for industrial control personnel. For example, when doing serial communication, we can use the serial assistant to monitor data. The early Siemens PLC download cable can be replaced with this cable, and it can also be used for many inverters, servo drives and all download cables that use RS485 communication. Generally, original cables are very expensive. Using a universal USB to RS485 cable can save a lot of money.
The connecting cables of Siemens S7-200, GE PLC series, Danfoss, CT, Fuji, Schneider, Lenze and other drives can be replaced by USB to 485 cables, while their original cables are extremely expensive.
2. USB
Although serial ports have many advantages, they also have many disadvantages, the biggest disadvantage being slow speed. With the advancement of technology, USB has gradually taken over half of the market, and now PLCs all support USB. The most commonly used program is the MICRO USB interface, which is the T-shaped port of old mobile phones and mobile hard disks. Not only PLCs, but also most touch screens and text displays use this interface to download programs.
As shown in the figure above, it is a Mitsubishi FX3 series PLC. Look at the interface in the red circle. Many industrial control products have this interface. Almost all touch screens have this download interface.
There is another interface, which is the square USB interface, which is the interface on the printer. Omron PLC uses this interface, so the printer's connection cable is the download cable of Omron PLC.
As shown in the figure above, the red circle part is the download interface of Omron PLC, which is the same as the interface of the printer.
Serial port and USB are the two most commonly used connection methods, which are not only suitable for PLC, but also widely used in touch screen, servo, inverter, etc. Many PLCs support both connection methods at the same time.
As shown in the figure above, this is the connection option of Mitsubishi PLC programming software GX WORKS2. We can see that it supports two methods.
3. Network cable
With the development of Internet technology, Ethernet is increasingly used in the industrial automation industry, so many PLCs also support network connection, such as Siemens' latest TIA platform, S7-1200 series. Even the low-end S7-200smart series supports network connection.
Summary: In the field of industrial control, some people are very wise: by learning one product, they can draw inferences about other products, and by learning one problem, they can think of solutions to other problems. It is important to know how many brands of products and how many instructions to remember, but the most important thing is to use them flexibly. On the premise of understanding the principles and basic knowledge, understanding the essence of various connection methods will save you a lot of unnecessary trouble and achieve twice the result with half the effort.
Previous article:40 Frequently Asked Questions about Inverters
Next article:A brief discussion on the self-locking and interlocking functions of PLC ladder diagram programs
Recommended ReadingLatest update time:2024-11-16 09:37
- 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
- Electric energy measurement solution based on C2000 built-in 12-bit ADC
- How many memory wafers are used in STM32F0 and STM32F1 series?
- The stm32f103c8t6 core board is powered by two USB cables, and the program cannot start automatically
- [NUCLEO-F746ZG Learning] Construction Project-Based on RT-Thread
- Occupation and age
- I need help from a master who can use ADS software to make filters
- [Technical Tips] GigaDevice GD32VF103C-START Getting Started
- How to assign initial values to a continuous RAM range in C2000 chip
- What is 4G DTU and what are its specific functions?
- CadenceLIVE China 2022 China Online User Conference invites you to attend