Ml-1400 (cat #1766-l32bwaa) encoder not counting fully
Good morning to you! I hope this Thursday finds you well.
I have connected an encoder to I:0/0 on my ML-1400 (1766-L32BWAA)---specifically a Red Lion 100PPR Single-Channel Encoder (the WHITE lead for Data A) to I:0/0 and made the following changes below to my RS-LOGIX 500 program.
I removed the I:0/0 (encoder input-- A) XIC bit that drove the C5:0 CTU---that rung I took out. Not necessary any more I thought since I am to use the HSC.
Then I made the configuration changes in the Function Files. That seemed pretty straight forward---and set it to "Count Up" ---Mode 0.
I created another file---LAD 3 - HSC_SUB (even though there isn't any logic within it) so the PFN could execute that subroutine when the HIP was reached.
I then routed my words (N7's) with Move instructions so they could still place a length value in the HIP and vice versa for my PVc Touch-panel's screen indicators.
So, I checked it and no errors---and then I ran it. Still doing the same thing as before (which is that it can count when the encoder shaft turns really slow---but becomes sporadic if it speeds up at all, like faster than 1 rpm.) The maximum speed the encoder shaft should be able to do is 300 rpm's. It did the same thing before I incorporated any HSC logic---but it does count and go through cut cycle after it reaches full length count. So, some of it is working even after I had initially removed the I:0/0 (encoder signal) and the CTU C5:0 (length count) from the logic.
Is this a sampling rate issue?
What I do notice is that the HSC:0.ACC does not reset after it finishes a cycle. Also, it can not count up accurately when the machine goes above 5 or 10 cycles on the drive---like the speed I mentioned earlier (1 rpm of the encoder shaft). In the Quick Start guide I notice that the ACC should reset once the HIP is reached. Puzzling.
If you would, let me know your thoughts and THANK YOU IN ADVANCE for reading this.