11/25/2015 9:48 AM | |
Joined: 7/9/2015 Last visit: 9/28/2023 Posts: 3542 Rating:
|
Hi,
did you also have a look in the device manual of you module? Please look here: https://support.industry.siemens.com/cs/de/en/view/59192896
Regards, Towome
|
If my post was useful, please rate me - thank you! |
|
11/25/2015 1:57 PM | |
Posts: 4 Rating:
|
Hi, Yes, i did. But it isn't helping me. |
11/26/2015 9:38 AM | |
Joined: 4/28/2015 Last visit: 9/30/2023 Posts: 9832 Rating:
|
Hello, I don't have my relevant answer to you this time, but I saw very helpfull topic, maybe giving you some idea
Give pls response. Edit: found another very helpfull info:
|
Last edited by: Duris_I at: 11/26/2015 9:59:03 AMWith best regards... |
|
This contribution was helpful to
1 thankful Users |
11/26/2015 2:10 PM | |
Posts: 4 Rating:
|
Hi Duris, Yes, this gave me some inspiration. I fixed it the following: I used an hardware interrupt on the positive edge of my puls signal. In the interrupt i read the systemclock and stored it. And then compare it to the systemclock of my previous interrupt. Then take the difference and store my new systemclock value so it can be used for the next interrupt. You can find a screenshot in attachment. I also measured the actual time with a scoop and the difference between the PLC value and the Scoopvalue is less than a ms. Thank you very much for the help and inspiration ! With friendly regards, Remco |
This contribution was helpful to
1 thankful Users |
Follow us on