10/16/2011 11:24 AM | |
Posts: 10 Rating:
|
Hi all, i have a question. I want to create pulse 1s. but i dont know how. Please help me. Thanks so much. |
10/16/2011 12:19 PM | |
Joined: 9/8/2009 Last visit: 7/17/2023 Posts: 1410 Rating:
|
one of possible ways: |
This contribution was helpful to
2 thankful Users |
10/16/2011 12:50 PM | |
Joined: 1/28/2009 Last visit: 5/2/2024 Posts: 6838 Rating:
|
Dear trungchanhvo Check the other ways proposed here! Self reset timer, or blinking Best regards |
10/16/2011 2:42 PM | |
Posts: 10 Rating:
|
Tks everyone, but my teacher ask me with the following diagram with one timer and comparator command. I try to create pulse 1s for this but he disagree. [IMG]http://i412.photobucket.com/albums/pp204/chanhcdt05/timer.jpg[/IMG] and i wrote one code paragraph but it not true. can u point this wrong in my project. i dont know how to loop it with 1 timer. AttachmentOB1.pdf (1026 Downloads) |
10/16/2011 3:05 PM | |
Joined: 1/28/2009 Last visit: 5/2/2024 Posts: 6838 Rating:
|
Dear trungchanhvo Simply reset the timer(R) with a comparator,the cycle will start again. Best regards |
10/16/2011 6:11 PM | |
Joined: 1/28/2009 Last visit: 5/2/2024 Posts: 6838 Rating:
|
Dear trungchanhvo Simply use flank negative(negative edge) of corresponding timer to the enable signal of it.I think it is better to use "Extended Pulse timer" because of your application .Check the attachment to see my online test. [code] A( O I 0.0 O( A T 0 FN M 100.0 ) ) L S5T#10S SE T 0 A I 0.1 R T 0 NOP 0 NOP 0 [/code] Best regards Attachmentextended_pulse.zip (355 Downloads) |
Last edited by: hdhosseini at: 10/16/2011 9:20 PMLast edited by: hdhosseini at: 10/16/2011 6:13 PM |
|
10/16/2011 9:05 PM | |
Joined: 1/28/2009 Last visit: 5/2/2024 Posts: 6838 Rating:
|
Dear trungchanhvo Check the attachment for a sample implementation,you just complete the comparators to activate the outputs in times you want. Best regards AttachmentTimer.zip (739 Downloads) |
10/17/2011 3:01 PM | |
Posts: 10 Rating:
|
Thanks a lot |
This contribution was helpful to
1 thankful Users |
Follow us on