7/29/2016 7:03 PM | |
Posts: 38 Rating: (0) |
OK but I have 2 unclear points here: 1/ BUSY & STATUS outputs. 2/ At the Hardware inputs, clock generators A&B. Kindly explain. |
7/29/2016 7:59 PM | |
Posts: 38 Rating: (0) |
Here you go.. Plus the BUSY and STATUS at the HSC function what should be assign there. Regards AttachmentHSC.pdf (313 Downloads) |
7/29/2016 8:22 PM | |
Posts: 38 Rating: (0) |
Thank you very much William. Yes that is very easy and I've already done it with FBD. But my only problem now is that how to measure the RPM? |
7/29/2016 9:45 PM | |
Posts: 38 Rating: (0) |
This a simple project, I wish I understand what you want. Clock wise direction for 4s and stop for 4s and then unti-clockwise for 4 second as well. please check and feedback cause this what I've understood from your post. AttachmentExp1.zip (302 Downloads) |
7/29/2016 11:30 PM | |
Posts: 5225 Rating: (1185)
|
Hi.
AttachmentQuick & Dirty_HSC for frequency indicator.pdf (246 Downloads) |
Last edited by: William_B at: 7/29/2016 11:31:08 PMLast edited by: William_B at: 7/30/2016 7:26:11 AM |
|
7/29/2016 11:30 PM | |
Posts: 5225 Rating: (1185)
|
Hi. Attached is a modified version of your program.
AttachmentExp1x1.zip (274 Downloads) |
Last edited by: William_B at: 7/30/2016 7:21:29 AMLast edited by: William_B at: 7/30/2016 12:58:37 PMRe-attach the project file... but note it is replaced by next posting. |
|
7/30/2016 1:15 PM | |
Posts: 5225 Rating: (1185)
|
Hi. Attached is a follow-up project. Added in this project the PWM is controlled as set by the analog input. The DC motor now has direction and speed control. User <engco> will also benefit from this sample, The design was done with TIA Portal V13 SP1 Update 9 but set to compatibility mode for TIA Portal V13 SP0. The code is untested. Highlights to note.. B - NOT SPECIFIC TO TOPIC Some instructions on loading the project into the PLC.. Project is made available under Creative Commons Licensing - with the request that the licensing be kept in place and it to be stated where the base code originated from (web site & author). The community is welcome to make additions and add to the authoring list. Forum members are encouraged to make contributions. Good luck. AttachmentExp1x2.zip (275 Downloads) |
Last edited by: William_B at: 7/30/2016 2:28:18 PMAdd instructions on loading PLC |
|
7/30/2016 8:14 PM | |
Posts: 5225 Rating: (1185)
|
Some more general (hand drawn) notes ..AttachmentPWM_usage.pdf (324 Downloads) |
This contribution was helpful to1 thankful Users |
8/1/2016 1:42 PM | |
Posts: 38 Rating: (0) |
Hi Wiliam, Thank you for your time and the valuable contribution. As per the attached pic the configured code for reading the speed is not working as I downloaded the project and test it. Please advice if the project need any addition. Regards.. Okod. AttachmentExp1x2 back.pdf (255 Downloads) |
8/1/2016 1:55 PM | |
Posts: 38 Rating: (0) |
Also see this.
Attachmentmotor speed.pdf (278 Downloads) |
Follow us on