Optical encoders with DC motors
- cptX
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 2
31 Mar 2018 13:31 #108176
by cptX
Replied by cptX on topic Optical encoders with DC motors
Hi Mike, I don't understand what you mean?
How can you connect Enable, step, dir of all drivers together?
How can you connect Enable, step, dir of all drivers together?
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1128
- Thank you received: 184
31 Mar 2018 14:23 #108177
by Mike_Eitel
Replied by Mike_Eitel on topic Optical encoders with DC motors
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
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19474
- Thank you received: 6524
31 Mar 2018 22:47 #108190
by tommylight
Replied by tommylight on topic Optical encoders with DC motors
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.
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.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5009
- Thank you received: 1443
31 Mar 2018 23:55 #108197
by Todd Zuercher
Replied by Todd Zuercher on topic Optical encoders with DC motors
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19474
- Thank you received: 6524
01 Apr 2018 23:14 #108239
by tommylight
Replied by tommylight on topic Optical encoders with DC motors
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.
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.
- cptX
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 2
02 Apr 2018 20:43 #108266
by cptX
Replied by cptX on topic Optical encoders with DC motors
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19474
- Thank you received: 6524
02 Apr 2018 22:28 #108271
by tommylight
Replied by tommylight on topic Optical encoders with DC motors
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.
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.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10759
- Thank you received: 3543
03 Apr 2018 01:21 #108279
by rodw
Replied by rodw on topic Optical encoders with DC motors
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?
What do you guys think?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19474
- Thank you received: 6524
03 Apr 2018 17:03 #108326
by tommylight
Replied by tommylight on topic Optical encoders with DC motors
What model where they?
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10759
- Thank you received: 3543
03 Apr 2018 20:44 #108338
by rodw
That Tommy is a very good question! But I can't answer it until I find them!
Replied by rodw on topic Optical encoders with DC motors
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.125 seconds