
adccommunitymod (AutomationDirect) asked a question.
Created Date: November 18,2013
Created By: FedyaV
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Is not because I do not like I not because I do not like DLs. It just because I already build a few machines using CLICK. And really like it, for small size, for many opportunities when using additional modules, just because it is cute. I use it in conjunction with C-More Micro and would like make them to display some data on the screen, to work some of devices to work more accurate. For that I believe, I have to use an encoder. I tried, but did not got a result to be satisfied. I hope, there is somebody, who has a experience to use a CLICK in conjunction with an encoder and will shear the knowledge. Thanks a lot. FedyaV.
Created Date: November 20,2013
Created by: kewakl
We would need info for encoder, which Click /modules and how you wired the encoder.
Created Date: January 24,2014
Created by: JLG
ah yes.... I confess I 've used encoders with click. The problem is click PLC's (at least the ones I 've used) don't have any designated high speed inputs. I'm not certain if there is a module you can buy, but wouldn't that be cool? You can make it work if the encoder doesn't have to turn very fast.
So the coarsest encoder I 've found is TRD-S100BD which is 100 pulses per revolution per phase. So I wired A and B to discrete X inputs (ie. X1 and X2) and set up the logic like this:
X1 X2(positive diff)
-------||------|^|---------(math instruction to increment variable)
X2 X1(positive diff)
-------||------|^|---------(math instruction to decrement variable)
(I apologize if that comes out obscured).
How fast the encode can turn without missing pulses depends on the program scan time.
So keeping in mind 100 pulses per rev per phase means 200 pulses per revolution.
If you have a scan time of 5ms (= 0.005s), that means the PLC will scan 200 times per second meaning the encoder can only turn a maximum of 1 rev/sec before the plc starts missing pulses.
It's pretty MacGyver, but I 've used this setup to make a measure wheel for material on a conveyor.
Created Date: January 25,2014
Created by: bcarlton
Investigate the use of the 'Interrupt ' function. It can be used to count more often than the scan. Be careful to keep the interrupt program very short (for example, just increment one number).
Created Date: November 18,2013
Created by: FedyaV
Is not because I do not like
I not because I do not like DLs. It just because I already build a few machines using CLICK. And really like it, for small size, for many opportunities when using additional modules, just because it is cute. I use it in conjunction with
C-More Micro and would like make them to display some data on the screen, to work some of devices to work more accurate. For that I believe, I have to use an encoder. I tried, but did not got a result to be satisfied. I hope, there is somebody, who has a experience to use a CLICK in conjunction with an encoder and will shear the knowledge.
Thanks a lot.
FedyaV.