- This topic has 3 replies, 3 voices, and was last updated 1 month, 2 weeks ago by nbogdanovic.
- January 14, 2021 at 5:42 am #19922nbogdanovicParticipantKarma: 16Rank: 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: 16Rank: Padawan
Will you attach the plc file to take a lookJanuary 14, 2021 at 11:36 am #19928Tim SmithParticipantKarma: 15Rank: 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: 16Rank: 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.
- You must be logged in to reply to this topic.