How to wire up step/dir
- tecno
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
17 Jun 2017 10:06 #94639
by tecno
How to wire up step/dir was created by tecno
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5009
- Thank you received: 1443
17 Jun 2017 11:34 #94642
by Todd Zuercher
Replied by Todd Zuercher on topic How to wire up step/dir
Seems obvious,
TB2-2 -> pin 2
TB2-3 -> pin 4
TB2-4 -> pin 1
TB2-5 -> pin 3
Before when you were using Mach3 you only had single ended outputs from a parallel port breakout. That is why you used the 5v to one of the pin pairs.
TB2-2 -> pin 2
TB2-3 -> pin 4
TB2-4 -> pin 1
TB2-5 -> pin 3
Before when you were using Mach3 you only had single ended outputs from a parallel port breakout. That is why you used the 5v to one of the pin pairs.
The following user(s) said Thank You: tecno
Please Log in or Create an account to join the conversation.
- tecno
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
17 Jun 2017 12:12 #94643
by tecno
Replied by tecno on topic How to wire up step/dir
Never had anything else = single ended. Better to ask
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- tecno
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
25 Jun 2017 18:38 #94936
by tecno
Replied by tecno on topic How to wire up step/dir
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17875
- Thank you received: 4778
25 Jun 2017 19:17 #94941
by PCW
Replied by PCW on topic How to wire up step/dir
probably something like:
TB2-2 -> pin 5
TB2-3 -> pin 6
TB2-4 -> pin 7
TB2-5 -> pin 8
Though this is just guessing that drive pins 5 and 6 are step and 7,8 are direction
when the drive is in step/dir mode. If the drive does not have a step/dir mode
the 7I76E stepgen for the drive can be set in CW/CCW mode
Also you probably would not want these connected to stepgen-0
if this is an A axis that would normally be mapped to stepgen-3
This mapping of stepgens/axis is arbitrary, but random assignments tend
to lead to harder to understand hal files
TB2-2 -> pin 5
TB2-3 -> pin 6
TB2-4 -> pin 7
TB2-5 -> pin 8
Though this is just guessing that drive pins 5 and 6 are step and 7,8 are direction
when the drive is in step/dir mode. If the drive does not have a step/dir mode
the 7I76E stepgen for the drive can be set in CW/CCW mode
Also you probably would not want these connected to stepgen-0
if this is an A axis that would normally be mapped to stepgen-3
This mapping of stepgens/axis is arbitrary, but random assignments tend
to lead to harder to understand hal files
Please Log in or Create an account to join the conversation.
- tecno
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
25 Jun 2017 19:27 #94943
by tecno
Replied by tecno on topic How to wire up step/dir
Not sure but it could very well be CW/CCW, hard for me to understand all different wording used from different manufacturers. The complete manual pdf file is too big to include here on the forum.
Please Log in or Create an account to join the conversation.
- tecno
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
26 Jun 2017 09:44 #94969
by tecno
Replied by tecno on topic How to wire up step/dir
Is it better to convert step dir to CW/CCW via a board like this?
www.electronics-lab.com/project/stepdir-...ion-control-systems/
www.electronics-lab.com/project/stepdir-...ion-control-systems/
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5009
- Thank you received: 1443
26 Jun 2017 11:38 #94979
by Todd Zuercher
Replied by Todd Zuercher on topic How to wire up step/dir
There is no need for any conversion. The Mesa card can output that type of signal (and some others) directly. The type of stepgen signal is configured via a hal pin. The exact name of the pin will be determined by the Mesa board you are using, but it will end with step_type. Use a setp line in your hal file to set it to one of 0 = Step/Dir, 1 = Up/Down (aka.CW/CCW), or 2 = Quadrature.
Please Log in or Create an account to join the conversation.
- derekmccoy
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
21 May 2020 20:22 - 21 May 2020 20:27 #168525
by derekmccoy
Hi there, did you ever get these Sanyo Denki PY2 servos going?
Replied by derekmccoy on topic How to wire up step/dir
Is it better to convert step dir to CW/CCW via a board like this?
www.electronics-lab.com/project/stepdir-...ion-control-systems/
Hi there, did you ever get these Sanyo Denki PY2 servos going?
Last edit: 21 May 2020 20:27 by derekmccoy.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19420
- Thank you received: 6513
21 May 2020 20:33 #168528
by tommylight
Replied by tommylight on topic How to wire up step/dir
There is no need for that board if using Linuxcnc as it can output several types of steps ,
forum.linuxcnc.org/16-stepconf-wizard/39...ration-for-mdrive-17
forum.linuxcnc.org/16-stepconf-wizard/39...ration-for-mdrive-17
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.136 seconds