- Posts: 17524
- Thank you received: 0
7i98 and 5abobx3 firmware
5 years 8 months ago #197330
by PCW
Replied by PCW on topic 7i98 and 5abobx3 firmware
The pinout listed by mesaflash is correct though it will not match your
breakout unless you are using the common "5 Axis Mach" breakout
(That's what 5abob in the bitfile name refers to)
breakout unless you are using the common "5 Axis Mach" breakout
(That's what 5abob in the bitfile name refers to)
Please Log in to join the conversation.
5 years 8 months ago #197494
by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
I have realised that my previous post was inaccurate. I've gone back over the mesa pin assignments using --readhmid and it should work with the bob I have. However when I try to test with a motor and drive Its still incorrect.
For example: x step should be Port1 pin 2 but no, It's actually P1 pin 4.
I have even ruled out the bob and wired P1 pin2 to the stepper drive. It stayed high so the motor just stepped as expected and held.
Then I tried pin 4 and it worked fine with the x axis jog buttons.
Truly stumped by this.
For example: x step should be Port1 pin 2 but no, It's actually P1 pin 4.
I have even ruled out the bob and wired P1 pin2 to the stepper drive. It stayed high so the motor just stepped as expected and held.
Then I tried pin 4 and it worked fine with the x axis jog buttons.
Truly stumped by this.
Please Log in to join the conversation.
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 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.
Attachment not found
Please Log in to join the conversation.
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
Please Log in 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.
Attachment not found
Attachment not found
Please Log in 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 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 to join the conversation.
5 years 8 months ago #197560
by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
That would indeed be much simpler, thanks
Any thoughts as to why the direction pins are not where I'd expect them?
Any thoughts as to why the direction pins are not where I'd expect them?
Please Log in to join the conversation.
Time to create page: 1.207 seconds
