Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Search

Jump to a Date

Sponsored Communities
Cool stuff
Select a topic of interest:
...and press:
Neat Stuff
Control.com Stuff

Visit our shop for nerds in control lifestyle products.

Fortune
In Devon, Connecticut, it is unlawful to walk backwards after sunset.
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
advertisement
from the Help with encoder and PLC program bascis department...
Is anyone experienced with Omron PLC?
Information resources, documentation. topic
Posted by DLB54 on 31 July, 2008 - 12:05 am
I have experience with Omrom PLCs (company only uses Omron) and mostly have used them with on/off control. If we used an encoder it fed into another unit and output to an input when the desired length was reached. Now we are using Omron CQM1 and recently got a CP1H modular PLC that can count using an encoder. We have a 500PPR encoder that works on DC24V. We want to measure a straight piece of plastic product to verify if the length is cut correctly.

I would like a basic outline of how/or where to bring in the pulses (DM??) from the encoder and measure the linear product to see if the length is correct. We are using a 2 channel quad encoder with an A and B channel. The reset will have to be by a switch after on piece is checked. The plastic part is straight and looks like a ruler. The operator will put the part in the small check and there will be a sensor to reset the counter, then it will feed forward and the encoder will check the length in millimeters with a small plus or minus tolerance. We will have a small Omron HMI to verify good or bad. I just need help getting started with where/how to we bring in the pulses, scale it to calculate length, sampling rate, etc. Basically an outline of encoders/PLC 101 for measuring a straight liner product for checking length and good or no good output. Is there anyone here who has Omron encoder programming experience for measuring? I have read the manuals and the one example and its not much help. PLEASE HELP ME!


Posted by Jim Miller on 12 August, 2008 - 10:49 pm
I haven't had any experience with Omron controllers, but I programmed AB SLC-500s and PLC-5s for a while and now work for an encoder company as an Application Engineer, so I may be able to help.

The application sounds straight forward enough. zero controller, count pulses till you hit limit, factor in pulse to millimeter ratio, compare to preset and display go/no go

Typically you can wire directly into the controllers' DC inputs, as long as the power rail for the encoder and controller have a common signal ground.

How many pulses per millimeter are you scaled to? (or mm/Rev)
What is your desired tolerance?

If it is loose enough, and you are running in one direction, you may not even need to bring in the B channel.

Feel free to contact me directly with any questions.

Jim Miller
Application Engineer
Quantum Devices Inc.

jmiller at quantumdev. com
www.quantumdev.com


Posted by Pattrek on 16 August, 2008 - 1:28 pm
The frequency of the pulse train from the encoder will determine the programming approach. If the frequency is reasonable low you can use the count and compare functions and give a yes/no output or if the frequency input is high then you will have to use the high speed counter/interrupt functions. The high speed counter is available in CQM1 CPU43 models.


Posted by Al on 17 September, 2008 - 2:20 am
Hello DLB54,

Did you get any help with the Omron encoder issue? I have to do much the same as you were asking about, and also have never done it before. If you got anything useful I would be grateful for a copy.

Many thanks,

Al

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Internet Explorer 6.0 Fix

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!