easy-forum

English Support - Hardware => easy topics (general) => Thema gestartet von: Garp am September 07, 2007, 20:26:35 Nachmittag

Titel: Variable pulsed output
Beitrag von: Garp am September 07, 2007, 20:26:35 Nachmittag
Hello All,

Could i be so bold as to ask for your assistance, I am new to programming, however not to instrumentation.
i have an apppication that requires the use of the Moeller Easy.

I have two pumps (require pulsed inputs) I would like to vary the pulsed outputs to these pumps from 0-180 pulses a minute. I can get the pulsed output to function, however I cannot seam to get a function block to manipulate the variable by either a analogue input or stepped input.

This makes my problem more difficult as I need to compare the output pulses to a flowmeters incoming pulses. After a defined number of missed inout pulses it must go into error mode.

the balance of my programme is functioning as it should (even though it took me two weeks to get there, and another two trying to get the above to work with no luck)

Any assistance would be greatly appreciated

 ;D
Titel: Re: Variable pulsed output
Beitrag von: KressSwiss am September 08, 2007, 15:39:46 Nachmittag
Hi
Have a solution for the first task. It is a Easy 800 necessary because the functions bloc "Wertskalierung" is used.
Analoginput IA1 controls output Q01 between 0 and 180 Impulses a minute. The Program 180_IMP.zip on the appendix works like this:
If IA1 = 0V output Q01 OFF
If IA1 = 10V Output Q01 180 pulses per minute
I hope it helps to solve your problem
Regards
Hermann

Titel: Re: Variable pulsed output
Beitrag von: Garp am September 08, 2007, 16:04:59 Nachmittag
Many Tanks for your help from sunny South Africa!

I managed to get it done, however my scaling on the modulator was not quite correct. Thanks for your assistance.

Could i ask for a little more advice,

I need to compare a pulsed input (0-180pulses/min) - feedback from the pump. If I dont get a feedback after 8 output pulses I need to shut the unit down. However if the output pulses = input pulses then the unit can run.

I have tried CP, Cf and C however I cannot seam to get a handl on it.

Any further help is appreciated.

thanks

Best Regards

Garreth
Titel: Re: Variable pulsed output
Beitrag von: KressSwiss am September 08, 2007, 22:09:29 Nachmittag
Hi Garreth
Not so easy. I tried to count the pulses by counters to compare them. For simulation I used I01 and I02. If the numbers of Impulses are similar, Q01 is OFF. If the pulses are different, then Q01 is ON. Maybe this exampel helps to solve your problem.
See appendix Special_CP.zip

Hello from Switzerland. Today it was sunny bat only 19 degree.
Hermann
Titel: Re: Variable pulsed output
Beitrag von: Garp am September 09, 2007, 08:33:52 Vormittag
Hello Herman,

Thank you very much for your effort, I will let you know how I get on.

Best regards

Garreth
Titel: Re: Variable pulsed output
Beitrag von: KressSwiss am September 09, 2007, 19:31:44 Nachmittag
Hi Garreth
There's an other solution to compare two values. The Function-Bloc A (Analogwertvergleicher - Schwellwertschalter). The advantage is, you can determind a Hysterese. It means it can be a diferenz between the two values. In the example the Hysterese is 5 digits. See the appendix "Compare.jpg".
Regards
Hermann