PDA

View Full Version : Encoder Input


Rooster
06-25-00, 04:43 PM
Its me again guys. Slowly but surely my project is taking shape. My problem for this discussion group is in regards to the 68C11. I am using the NMIY-20 board and driving a 1800 rpm AC motor with a reducer.I also use an Allen Bradley encoder generating about 3000 pulses per second. Does Any-one have any info about receiving and processing pulses with Max-Forth or can tell me where I can find this information. Thanks again.<br> Jerry

Steve
06-26-00, 03:35 PM
I wrote some words that COMPARED two encoders in Max-Forth. It was mainly just an excercise so it wasn't done very well. The encoders were connected through the inputs of a NMIS-7000 OPTO INPUT board (that has a couple of inputs that don't work). I polled the encoders so it doesn't work very well at high speed.<br>If/when I make this a commercial product I will put a few optos on the proto area and use interupts and finite state machine concepts.<br>If you would like to see my code, email me at chiphead@jps.net.<p>Steve<p>P.S. Read http://www.jfar.org/article001.html for an excellent solution to this problem.<br>