amirm Posted August 22, 2014 Report Share Posted August 22, 2014 I have an application that requires 6 encoder inputs, all of them are 1 channel (1 signal output, not quadrature encoder). Maximum pulse rate is 460Hz, let´s make it 500Hz At this rate, I have a square wave that is 1mS high and 1mS low. On my tests, a V350 can run at 1400 scans/second, which is barely enough to see a high input level on a PLC scan, and a low input level on the next scan. Is there any hardware limitation to keep me from doing this? A low-pass filter? Software debounce? These encoders will be used to measure flow, but not total volume. In other words, I can miss a pulse once in a while, or make CLP run faster by not calling subroutines that are not important during flow measurement, which will take 100mS or 200mS, once or twice a second. After I measure the flow, I call these subroutines again (linearization, table write, SD write, Modbus scan, etc.) Thanks Quote Link to comment Share on other sites More sharing options...
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.