Optical encoders with DC motors

More
31 Mar 2018 13:31 #108176 by cptX
Hi Mike, I don't understand what you mean?
How can you connect Enable, step, dir of all drivers together?

Please Log in or Create an account to join the conversation.

More
31 Mar 2018 14:23 #108177 by Mike_Eitel
Nop..naturaly not in that way!

Connect all 3 driver-enable signals together.

Plus 3 times the two signals for each motor.
Naturally each motor needs his own step and his own dir.

In sum you control the three motors with 7 output signals..

Mike

Please Log in or Create an account to join the conversation.

More
31 Mar 2018 22:47 #108190 by tommylight
In bios the port remains EPP, you do not need to change that. To change the mode you just have to add that to the HAL file at the part where it loads the parallel port driver, something like:
loadrt paraport "0x387 out" for normal operation, 8+4 out/5 in
loadrt paraport "0x387 in" for 13 in and 4 out
loadrt paraport "0x387 x" for 9in and 8 out

You have to double check that as it has been quite some time since i messed with that.
You can also add another pci or pci-ex card with parallel port so you can double the in/out pins as you like.
Then again, a Mesa 5i25 or 6i25 has two such ports and can operate at a much higher speed for a bit more money, worth every dime. I have nearly 4000$ of mesa boards installed on several machines, one 5i25 is still sitting in the box but not for long and a complete set consisting of 6i25, 7i77, 7i74, 2x 7i84 and a THCAD on a piece of wood with a PC wired and used for testing and making PyVCP panels as needed for machines i retrofit.

Please Log in or Create an account to join the conversation.

More
31 Mar 2018 23:55 #108197 by Todd Zuercher
With the motherboards I have tried X-mode will not work with the parallel port set to EPP.

Please Log in or Create an account to join the conversation.

More
01 Apr 2018 23:14 #108239 by tommylight
Hmmmm sorry for that EPP misshap, i set parallel port to ECP and 1.4 version whenever possible.
I also have several PCI cards that can do X mode with NetMos chips on them, manufactured cicra 2008-2012.
Again, sorry.

Please Log in or Create an account to join the conversation.

More
02 Apr 2018 20:43 #108266 by cptX
Guys, here is the result of my work over optical encoders and PID control in LinuxCNC the last days:

Please Log in or Create an account to join the conversation.

More
02 Apr 2018 22:28 #108271 by tommylight
Just a small correction, it should say :
Simplest SERVO controlled CNC machine ever !
Glad you got it working, just goes to show how versatile Linuxcnc is.
Just in case you missed it, there is another thread for using 4 darlington transistors and 4 resistors for controlling a stepper motor, a total of 2$ in parts.
Regards,
Tom.

Please Log in or Create an account to join the conversation.

More
03 Apr 2018 01:21 #108279 by rodw
Hmm, I've got a couple of small Yaskawa servos with their drivers here. So could these be driven from a parallel port too?

What do you guys think?

Please Log in or Create an account to join the conversation.

More
03 Apr 2018 17:03 #108326 by tommylight
What model where they?

Please Log in or Create an account to join the conversation.

More
03 Apr 2018 20:44 #108338 by rodw

What model where they?


That Tommy is a very good question! But I can't answer it until I find them!

Please Log in or Create an account to join the conversation.

Time to create page: 0.186 seconds
Powered by Kunena Forum