Hi, everyone,
I have a 30PPM (30 pulses per minute) flowmeter, I connected the pulse input to a controlLogix plc's DI module, in the plc program, I need to convert the pulses received to a flow reading, now I count the pulses I received every minute and convert it to flow reading (GPM) and send to a HMI machine, it works, but the flow data only updates once every minute at the HMI machine, it's too slow, someone in my office suggests that I should count the time interval between two pulses, so I can update flow reading fast, but I'm not sure how to do this. Is there anybody can give me some suggestions ? Thanks.
I have a 30PPM (30 pulses per minute) flowmeter, I connected the pulse input to a controlLogix plc's DI module, in the plc program, I need to convert the pulses received to a flow reading, now I count the pulses I received every minute and convert it to flow reading (GPM) and send to a HMI machine, it works, but the flow data only updates once every minute at the HMI machine, it's too slow, someone in my office suggests that I should count the time interval between two pulses, so I can update flow reading fast, but I'm not sure how to do this. Is there anybody can give me some suggestions ? Thanks.