Webhead
Member
I am currently looking at a program done by a colleague from another company and I am trying to figure out why he used a specific math function for flow and why. He was trying to calculate Flow per Second of a given flow meter. The thing I don’t really get is he used the scan time of the PLC to get the flow per second calculation. Has anyone ever done this before and if so can you explain why the scan time was used. Below is a copy of the math.
Flo/Sc,0 = GPM,0 / 60 * ScanTm / 100
GPM,0 is the flow of the meter
ScanTm is the Scan Time of the PLC in milliseconds
I’m sure there is a reason for it but I’ve never used the Scan Time in a PLC other than to check for system faults etc.
Thank in advance.
Flo/Sc,0 = GPM,0 / 60 * ScanTm / 100
GPM,0 is the flow of the meter
ScanTm is the Scan Time of the PLC in milliseconds
I’m sure there is a reason for it but I’ve never used the Scan Time in a PLC other than to check for system faults etc.
Thank in advance.