- Posts: 1850
- Thank you received: 0
How to wire up step/dir
9 years 4 months ago #94639
by tecno
How to wire up step/dir was created by tecno
As I have some rewiring to do I need some advice.
Below how step/dir is on the AC Servo drive
So, how do I wire up this? Had pins 3 and 4 go to 5VDC on my Mach3 setup earlier.
Still same so pin 1 to pin 4 on 7i76E and pin 2 to pin 2 ?
Below how step/dir is on the AC Servo drive
Attachment not found
Attachment not found
So, how do I wire up this? Had pins 3 and 4 go to 5VDC on my Mach3 setup earlier.
Still same so pin 1 to pin 4 on 7i76E and pin 2 to pin 2 ?
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
9 years 4 months ago #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.
Please Log in to join the conversation.
9 years 4 months ago #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 to join the conversation.
9 years 4 months ago #94936
by tecno
Replied by tecno on topic How to wire up step/dir
I have another driver that I have never used, this is for my A-axis.
This is a Sanyo Denki PY2 driver and I want to set it up for step/dir.
So what pins go where on 7i76E is my question?
TB2-2 -> pin ?
TB2-3 -> pin ?
TB2-4 -> pin ?
TB2-5 -> pin ?
Attachment not found
This is a Sanyo Denki PY2 driver and I want to set it up for step/dir.
So what pins go where on 7i76E is my question?
TB2-2 -> pin ?
TB2-3 -> pin ?
TB2-4 -> pin ?
TB2-5 -> pin ?
Please Log in to join the conversation.
9 years 4 months ago #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 to join the conversation.
9 years 4 months ago #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 to join the conversation.
9 years 4 months ago #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 to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
9 years 4 months ago #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 to join the conversation.
- derekmccoy
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
6 years 5 months ago #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
tecno wrote: 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?
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
6 years 5 months ago #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 to join the conversation.
Time to create page: 0.256 seconds
