- This topic has 4 replies, 4 voices, and was last updated 2 years, 5 months ago by BabbRust.
- January 14, 2021 at 5:42 am #19922nbogdanovicParticipantKarma: 17Rank: Padawan
I have one Micro 850 controller and also I have one flowmeter with pulse output. I need to create a program that will count the pulses and after a certain number of pulses the program should stop the pump. I was configure the high speed counter and set High point of pulses to 1500. The problem is that the program does not stop the pump when the counter counts 1500 pulses. I haven’t worked with these controllers so far and any help would mean anything to me.
Kind regardsJanuary 14, 2021 at 8:51 am #19926Ahmedkhalefa_AK47ParticipantKarma: 17Rank: Padawan
Will you attach the plc file to take a lookJanuary 14, 2021 at 11:36 am #19928smithtParticipantKarma: 18Rank: Padawan
Did you use an = to instruction or >= instruction? The scan time may miss an = to, so I usually make it >=, so it catches it every time.January 15, 2021 at 2:13 am #19934nbogdanovicParticipantKarma: 17Rank: Padawan
I think I solved the problem, you cak take a look the attached files. I scaled the integer data and convert it to real data and now it works. I will test program a little more and inform you. Thank you in advance.
RegardsJune 18, 2021 at 4:19 am #20236BabbRustParticipantKarma: 13Rank: Padawan
Hi….you should give power from a DC Power Supply. You will interface the sign to the HSC + and the HSC Gnd to the Power Supply Ground.
Next you should discover the Meter’s K-Factor. That is the quantity of heartbeats per unit volume. So it will be communicated as XXX heartbeats per gallon or liter or ??
Ordinarily you would set the Preset of the HSC to the K-Factor (say 100 for this model). So every time the HSC tallies to 100 it will set some sort of Done Bit. You can utilize that Done Bit to tally Gallons or Liters or any units you need.
- You must be logged in to reply to this topic.