6/10/2014 3:17 PM | |
Posts: 13 Rating:
|
@Jens_app This is the place where I stopped. S7-1200 do not haveTIME_TCK function and I can not find any other function like that (maybe I am not looking where I should). All I can find is TON,TOF and TP nothing else. As I wrote in my first post: To all this is related, as a problem to me, measuring time duration of impulses. I do not know how to do this on S7-1200.
|
6/10/2014 3:32 PM | |
Joined: 1/5/2011 Last visit: 4/6/2023 Posts: 814 Rating:
|
Dear drgry, sorry I did not know youwere using s7-1200. Then I'd suggest using IEC timers like you did before. They also have milisecond accuracy. Let me add; functions like T_CONV, T_ADD,... might simplefy your logic. Kind regards, Jens |
Last edited by: Jens_app at: 6/10/2014 3:43 PMKeep it simple and on-topic. |
|
6/10/2014 6:09 PM | |
Joined: 7/7/2010 Last visit: 5/23/2023 Posts: 13339 Rating:
|
You can use a 2 ms time interrupt OB to check if a time has expired for your registration sensor and activate if required any diverter gate or other action as required by your logic. Just make anything in the interrupt OB very quick so it does not interfere with your normal scan. |
science guy |
|
Follow us on