11/21/2012 4:35 PM | |
Posts: 11 Rating: (0) |
Hello, I am new to the entire system and I have a work involving the use of HSC. Now, I have gone through this enttire thread and i still dont understand. i have 2 inputs A and B from my quadrature encoder. I need to not only count but specify if A is leading or |B is leading to clarify the direction of motion. I dont even understand where all the MW,MD and ID are coming from. With thr HSC DC, where can i get the output count for and also to retrieve the former value of 1 of the input points, how do i do that? Please, I really need this. Thanks for the help in advance
|
Last edited by: O_Moderator at: 11/22/2012 9:35 AMnew subject after splitting from /tf/WW/en/Posts/72458#top |
|
11/21/2012 7:57 PM | |
Posts: 11 Rating: (0) |
Thanks , I've tried it but the hs counter is just not activating |
11/22/2012 1:56 PM | |
Posts: 11 Rating: (0) |
Attached is the sample code i tried initially for single phase after my quadrature encoder did not work. the HSC counter is still not activated. I also attached screenshots of it when online. Please help.. And is there any special module needed for feeding in the pulse inputs? or is the digital input of CPU 1212C okay for that? I am sorry if i seem a bit unknowing, I am just confused and every thing is getting more difficult.
AttachmentHELPPP.zip (429 Downloads) |
Follow us on