12/9/2022 10:44 AM | |
Joined: 10/16/2007 Last visit: 2/6/2023 Posts: 570 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: 2/7/2023 Posts: 3085 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? |
This contribution was helpful to
2 thankful Users |
12/9/2022 12:11 PM | |
Joined: 1/21/2013 Last visit: 2/7/2023 Posts: 1362 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