- Posts: 17533
- Thank you received: 5334
7i98 and 5abobx3 firmware
5 years 8 months ago #197499
by PCW
Replied by PCW on topic 7i98 and 5abobx3 firmware
Sounds like you have the x axis connected to stepgen 1
Please Log in or Create an account to join the conversation.
5 years 8 months ago #197501
by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
I thought that also but y step is P1 pin6. I checked the hal and checked the bit file and the hal reads x axis is joint 0, y is1, z is 2 etc.
is that indeed referance to the particular numerical value of the axis?
The bit seems to reflects this too. I will double check though. Still very new to this so thank you for your patience.
is that indeed referance to the particular numerical value of the axis?
The bit seems to reflects this too. I will double check though. Still very new to this so thank you for your patience.
Please Log in or Create an account to join the conversation.
5 years 8 months ago - 5 years 8 months ago #197502
by PCW
That would make sense if you mapped
X = joint0 --> stepgen1
Y = joint 1 --> stepgen2
Replied by PCW on topic 7i98 and 5abobx3 firmware
I thought that also but y step is P1 pin6.
That would make sense if you mapped
X = joint0 --> stepgen1
Y = joint 1 --> stepgen2
Last edit: 5 years 8 months ago by PCW.
Please Log in or Create an account to join the conversation.
5 years 8 months ago #197537
by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
i would agree but it doesnt explain why the dir pins are what they are
x dir = p14
y dir = p16
z dir = p17
again i found these by trial and error. i found step first by pressing jog and jumping the stepper drive step pin to the bob output pins.
then secured the step wire and jumpered the dir signal checking each pin and jogging back and forward looking for the motor reversing direction.
x dir = p14
y dir = p16
z dir = p17
again i found these by trial and error. i found step first by pressing jog and jumping the stepper drive step pin to the bob output pins.
then secured the step wire and jumpered the dir signal checking each pin and jogging back and forward looking for the motor reversing direction.
Please Log in or Create an account to join the conversation.
5 years 8 months ago #197538
by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
and i have realised that x is set as stepgen1 in hal so 4 is technically correct however the breakout board normally uses pin2
if i can understand how the direction pins are going where they are i can always look into writing a new bit file to better suit my needs
if i can understand how the direction pins are going where they are i can always look into writing a new bit file to better suit my needs
Please Log in or Create an account to join the conversation.
5 years 8 months ago #197558
by PCW
Replied by PCW on topic 7i98 and 5abobx3 firmware
I think I would renumber the stepgens
starting with 0 first so
X=joint0=stepgen0
Y=joint1=stepgen1
Z=joint2=stepgen2
starting with 0 first so
X=joint0=stepgen0
Y=joint1=stepgen1
Z=joint2=stepgen2
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.257 seconds