ziadsaka Posted March 18, 2004 Report Posted March 18, 2004 how could I find out the direction of rotation in an encoder connected to plc,need example program Quote
Seppo Alanen Posted March 20, 2004 Report Posted March 20, 2004 1'st draw the channels 'pulses' cahannel A above and Channel B under it as 90 deg offset. 2n'd go from left to right and when B goes up take one-shot for it. If Channel A is true, you are going to fwd. then go from right to left and when B goes up take one-shot for it. If Channel A is false, you are going to rev. Now you have one shot/pulse for both direction. Think more! You can do 2 shots/pulse and you can do 4 shots/pulse-cycle indeed for both direction. So if you have encoder f.e. 20 impulses/round, you can get 80 shots/round and you have 4 times preciser resolution ! Quote
jacekd Posted March 26, 2004 Report Posted March 26, 2004 However if you have this encoder connected to a card supporting incremental encoders then this is usually done for you by hardware. Quote
Seppo Alanen Posted March 26, 2004 Report Posted March 26, 2004 (edited) Usually Counter-units are 'expencive'. If you don't have any need for fast counting, use digital Inputs and save your money. Edited March 26, 2004 by Seppo Alanen Quote
jacekd Posted April 5, 2004 Report Posted April 5, 2004 So please explain what you mean by "fast counting" or how to find out if counting is fast. <> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.