11/25/2015 9:48 AM | |
Joined: 7/9/2015 Last visit: 1/21/2025 Posts: 4114 Rating: (620) |
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
|
|
|
11/25/2015 1:57 PM | |
Posts: 4 Rating: (1) |
Hi, Yes, i did. But it isn't helping me. |
11/26/2015 9:38 AM | |
Joined: 4/28/2015 Last visit: 1/20/2025 Posts: 10759 Rating: (835) |
Hello, I don't have my relevant answer to you this time, but I saw very helpfull topic, maybe giving you some idea : Totalizer Block for 4 flow meters Give pls response. Edit: found another very helpfull info: Why this doesn't work? S7-1200 |
Last edited by: Duris_I at: 11/26/2015 9:59:03 AMWith best regards... |
|
This contribution was helpful to1 thankful Users |
11/26/2015 2:10 PM | |
Posts: 4 Rating: (1) |
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 to1 thankful Users |
Follow us on