12/9/2022 10:44 AM | |
Joined: 10/16/2007 Last visit: 2/11/2025 Posts: 642 Rating:
|
Hello, what you could do is count the signals a certain period and divide through a fixec number. Scott |
12/9/2022 11:52 AM | |
Joined: 3/30/2020 Last visit: 3/13/2025 Posts: 5050 Rating:
|
S7-1200: Application Examples for High-Speed Counters (HSC) Have a look at 'example 1' of the above linked application example. Is this what you are looking for? |
Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
This contribution was helpful to
2 thankful Users |
12/9/2022 12:11 PM | |
Joined: 1/21/2013 Last visit: 3/14/2025 Posts: 3650 Rating:
|
Hi R_SV, you can use the TOF instruction to generate a off-delay signal. Since - as you mentioned - the sensor signal can also be TRUE, you must use edge signals for the IN parameter. To do this, you can for example use P_TRIG and N_TRIG. Kind regards |
This contribution was helpful to
1 thankful Users |
Follow us on