tuenhi.n2012 Junior


Joined: 30 Nov 2017 Posts: 2
|
Posted: 30/11/2017 08:39 Post subject: CPU 314C-2DP pulse width modulation with DC servo motor |
|
|
Hi, everyone. I've just tested integrated PWM function on CPU314C-2DP. The B.O.M demo kit is including:
1. CPU 314C-2DP.
2. L298N - DUAL H-BRIDGE DRIVER
3. TWO DC SERVO MOTORS (NISCA NF5475, in my case).
4. POWER SUPPLY 5V & 24V.
5. SOME SWITCHES TO CONTROL DIRRECTION
This demo is based on integrated PWM function in CPU314C-2DP. To control pulse width modulation via the user program, we use SFB 49 "PULSE". The following operations are available:
* Starting/stopping via software gate SW_EN
* Enabling/controlling the output DO
* Retrieving the status bits STS_EN, STS_STRT and STS_DO
* Input of the output value
* Jobs for reading/writing the registers
Two motors are controlled separately through L298N Dual H-Bridge Module. Their speed can be adjusted on VAT table in PLC program & PWM pulse output can be monitored during adjustment.
More information, you can refer at address:
[url]https://www.youtube.com/watch?v=n4CE4kNpBfE&index=4&list=PLfrr5s2He43ArVIW6d-CRHrKJaKwS4j6X[/url] |
|