Moeller Easy software

iansmiler

Member
Join Date
Oct 2004
Location
North America - For Now....
Posts
58
I have got a Moeller MFD Titan on a clients site. He also has an incremental encoder that runs directly onto a pully. What I am trying to do is read the counts off the encoder and store it in a data table as a rev per min. I have never had to do this before, if someone could explain how to do it within any ladder language I would be able to use the same method for the Moeller software. please help!

Ian :rolleyes:
 
If you are trying to get rpm then you want to look at the CF instruction which is a frequency counter block.

The MFD has 4 frequency counter blocks. Each is associated with one hard input so you can't do quadrature or anything fancy like that but it will be able to give you rate. In the help for the CF instruction it says that the limits on the frequency are from 4Hz to 5kHz so hopefully, your encoder output will be in this range.

So, if your A signal from your encoder is wired to input 1 then use CF 01 and store the output value in a marker word, lets say MW10. This number will be the number of Hz that the encoder is producing on the A channel.

Then you need to turn this number into RPM. For that I would use the LS or value scaling block and then store the scaled value into another marker word, say MW11. It works a lot like the SLC/500 SCP function except that the output value is clipped as shown below.

As an example, if you have a 100 pulses per rev encoder, then at 4Hz you have 2.4 rpm and at 5000Hz you have 3000 rpm. Since everything here is in integer, use the LS block to scale the 4 Hz to 24 and the 5000 Hz to 30000. Then you can add a decimal point when you display the number.

Note that I haven't tried this but I do have MFD experience. One interesting thing from the help on the frequency counter block states:
Measuring procedure: The pulses at the input are counted for one second, irrespective of the cycle time, and the frequency determined. The measurement result is provided at the function block output QV.
So, you may have to re-trigger the block each second. I don't have the hardware to test this rght now. Also, you may need to flash the scale block with a flash timer to keep the display updating.

I hope this helps.

scaling.gif
 

Similar Topics

friends, plz give me cable pint out for Moeller EASY 800 USB CABLE . my old cable broken, want to repair that. thank you all
Replies
2
Views
1,947
As the title - are there any? What I mean by this in particular is special flashing bits or always on/off bits and maybe first scan. Not my...
Replies
4
Views
2,059
I desperately need cable pinout for Moeller easy 822 DC TC! Can anybody help me?
Replies
4
Views
7,399
hello Gentelmans, Is there a first scan bit in Klockner Moeller EASY PLC?
Replies
4
Views
2,811
Hi guys. How do I on Power up set this plc to a spesific rung without push button?:scratch:
Replies
1
Views
1,763
Back
Top Bottom