Here we use Mitsubishi FX-3U PLC and Panasonic A5 servo drive. We design stop command, far point return, near point signal, interrupt signal, forward and reverse limit etc. on PLC. Because we have introduced similar wiring diagrams to you before, we will not introduce them one by one now.
Servo drive parameter settings:
Pr0.01=0; Position control mode,
Pr0.00=1; motor rotation direction setting, Pr0.05=0; photoelectric coupling input, (the servo drive has two input modes: one is photoelectric coupling input, the other is differential input.)
Pr0.06=0; command pulse polarity setting, Pr0.07=3; pulse + direction input mode,
Pr0.08=3000; the number of command pulses per motor revolution,
Pr4.06=3847 (00000F07H); Set S17 as the reset input terminal,
Pr4.11=131586 (0002020202H); Set S02 as the servo ready output terminal,
Pr4.00=131586 (0002020202H); Set I1 as the reverse limit 2 switch input terminal,
Pr4.01=65793 (00010101H); Set SI2 as the forward limit 2 switch input terminal.
Pr5.04=0; forward and reverse limit switch 2 is valid,
Pr5.05=2; forward and reverse limit sequence setting, and clear the pulse deviation counter to zero
Input and output signal description:
●X0-Stop Positioning instruction execution,
● X1- switch is turned on instantly, and the origin return command (DSZR) can be executed
● When X2 returns to the origin, the near point signal input terminal,
●X7--When returning to the origin, it receives the encoder Z-phase signal input terminal output by the servo driver, that is, the zero point signal.
●Y000 - pulse output terminal,
●Y003- - Motor rotation direction signal output terminal
●Y005- Clear signal output terminal.
illustrate:
1. Use the X001 input terminal to start the DSZR origin return instruction
2. Use M22 forward jog to execute the DRVI relative positioning instruction.
3 Use M23 to reverse jog and execute the DRVI relative positioning instruction.
4. Use M24 to start forward and execute the DRVA absolute positioning instruction.
5 Use M25 to start reverse and execute DRVA absolute positioning instruction.
6 Use M31 to start and execute the ZRN origin return instruction.
7 Use M32 to start and execute the DVIT interrupt fixed-length instruction.
program:
Previous article:Wiring method between sensor and PLC controller
Next article:The basic principle of variable frequency speed regulation of asynchronous motor
Recommended ReadingLatest update time:2024-11-16 09:36
- 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
- SHT31 review + sharing an mdk5 engineering code file
- TMS320F280049C Learning-GPIO
- Do you have any suggestions for long-term sitting? Do you have any recommendations for long-term sitting tools?
- Embedded RK3399/RK3568 PCIE interface M2 solid state drive debugging
- Implementation and understanding of Ethernet communication principles through FPGA
- The meaning and measurement method of noise
- The experience and IQ of the elderly are not proportional
- Summary of filter reliability test items, a must for designers!
- [GD32E231 DIY Contest] Part 3: Submit videos and documents
- Please make ST's hal library more rigorous!!!