1. Find an S7-1200PLC with RS485 communication module and a V20 inverter.
2. Connect the RS485 module to the V20 inverter. The wiring method is to connect the red wire to P+ and the green wire to N-.
picture
3. Set the inverter parameters of V20.
picture
4. Create a TIA Portal project and upload the S7-1200PLC hardware configuration.
picture
picture
picture
picture
5. Set the parameters of the RS485 module. The communication parameters of the module must be consistent with the communication parameters set in V20. I set them to 9600, 8, even.
picture
6. Add Modbus communication instructions.
picture
7. Change the mode parameter in the initialization instruction background DB to 4.
picture
8. Program test, motor Normal start and stop, where the modbus address 40100 is the command source, 047E is stop, 047F is forward, 0C7F is reverse, the address 40100 is the frequency source, 16#0-16#4000 corresponds to 0Hz-50Hz.
9. You can check whether the communication is successful by observing the communication indicator light of the module. If TX and RX flash alternately, the communication is successful.
1. Find an S7-1200PLC with RS485 communication module and a V20 inverter.
2. Connect the RS485 module to the V20 inverter. The wiring method is to connect the red wire to P+ and the green wire to N-.
picture
3. Set the inverter parameters of V20.
picture
4. Create a TIA Portal project and upload the hardware configuration of the S7-1200PLC.
picture
picture
picture
picture
5. Set the parameters of the RS485 module. The communication parameters of the module must be consistent with the communication parameters set in V20. I set them to 9600, 8, even.
picture
6. Add Modbus communication instructions.
picture
7. Change the mode parameter in the initialization instruction background DB to 4.
picture
8. Program test, the motor starts and stops normally, where the modbus address 40100 is the command source, 047E is stop, 047F is forward, 0C7F is reverse, the address 40100 is the frequency source, 16#0-16#4000 corresponds to 0Hz-50Hz.
9. You can check whether the communication is successful by observing the communication indicator light of the module. If TX and RX flash alternately, the communication is successful.
Previous article:Operating Principle of Three-Phase Induction Motor
Next article:What is the servo drive? The role and function of the servo drive
Recommended ReadingLatest update time:2024-11-16 12:49
- 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
- Request: DC-DC small package chip similar to LM2596
- What is the reason! Another wind turbine fire accident! And caused a ground wildfire
- 【Iprober 520 current probe】Practical use in motor control
- Can you please help me find out where is the problem with the program?
- How to add c files in esp32 idf components to compile
- Have you noticed the LPDSP32 audio codec inside RSL10? Does your project use this resource?
- Will the push-pull circuit be straight through?
- Award-winning live broadcast: Third-generation TI C2000 new features resource update
- EEWORLD University - Industrial Internet of Things using CC1310 sub-1 GHz wireless MCU
- A simple way to distinguish between broadband FM and narrowband FM