Hello All,
Does any one know a good way to calculate pump strokes in SPM using a limit switch to count the number of strokes. I have tried this a few different ways but cannot get the resolution that my customer needs.
My first though of doing this was counting the number of strokes every 10 seconds and multiplying the number of strokes by 6. The prblem with this is that you only get a resolution of 6.
I have also tried taking the time between strokes and dividing 60000 by this number. I gives good resolution but jumps around.
I am using Siemens S7-300 with Step 7. Any suggestions and /or solutions are greatly appreciated. Thank you.
Does any one know a good way to calculate pump strokes in SPM using a limit switch to count the number of strokes. I have tried this a few different ways but cannot get the resolution that my customer needs.
My first though of doing this was counting the number of strokes every 10 seconds and multiplying the number of strokes by 6. The prblem with this is that you only get a resolution of 6.
I have also tried taking the time between strokes and dividing 60000 by this number. I gives good resolution but jumps around.
I am using Siemens S7-300 with Step 7. Any suggestions and /or solutions are greatly appreciated. Thank you.